| | |
| | | class="front-page-item"
|
| | | v-for="(item, index) in tempList"
|
| | | :key="index"
|
| | | @click="checkDetail(item, 'Appcenter')"
|
| | | @click="checkDetail(item)"
|
| | | :class="{
|
| | | disabled: activeName == '应用中心' && !item.canUpOrIns,
|
| | | }"
|
| | |
| | | type="primary"
|
| | | class="other-btn"
|
| | | round
|
| | | @click="checkDetail(item, 'Appcenter')"
|
| | | @click="checkDetail(item)"
|
| | | v-if="activeName == '应用中心' && item.price > 0"
|
| | | >激活</el-button
|
| | | >
|
| | |
| | | }
|
| | | },
|
| | | checkDetail(item, typ) {
|
| | | if (!item.canUpOrIns && typ == "Appcenter") {
|
| | | /* if (!item.canUpOrIns && typ == "Appcenter") {
|
| | | return false;
|
| | | }
|
| | | } */
|
| | |
|
| | | this.inDetail = true;
|
| | | this.detailProductID = item.id;
|
| | |
| | | }
|
| | | })
|
| | | .catch((e) => {
|
| | | _this.$notify.warning(e.data);
|
| | | _this.$notify.warning(e.msg);
|
| | | clearInterval(timer);
|
| | | app.upgradeLoading = false;
|
| | | });
|
| | |
| | | height: 76px;
|
| | | border-radius: 4px;
|
| | |
|
| | | &.disabled {
|
| | | /* &.disabled {
|
| | | cursor: default;
|
| | | }
|
| | | } */
|
| | |
|
| | | .icon-img {
|
| | | width: 58px;
|