| | |
| | | class="front-page-item"
|
| | | v-for="(item, index) in tempList"
|
| | | :key="index"
|
| | | @click="checkDetail(item)"
|
| | | @click="checkDetail(item, 'Appcenter')"
|
| | | :class="{
|
| | | disabled: activeName == '应用中心' && !item.canUpOrIns,
|
| | | }"
|
| | | >
|
| | | <div class="icon-img">
|
| | | <span class="icon iconfont" v-if="item.isUpgrade"
|
| | |
| | | type="primary"
|
| | | class="other-btn"
|
| | | round
|
| | | @click="checkDetail(item)"
|
| | | @click="checkDetail(item, 'Appcenter')"
|
| | | v-if="activeName == '应用中心' && item.price > 0"
|
| | | >激活</el-button
|
| | | >
|
| | |
| | | }
|
| | | },
|
| | | checkDetail(item, typ) {
|
| | | if (!item.canUpOrIns && typ == "Appcenter") {
|
| | | return false;
|
| | | }
|
| | |
|
| | | this.inDetail = true;
|
| | | this.detailProductID = item.id;
|
| | | this.detailPrice = item.price;
|
| | |
| | | });
|
| | | },
|
| | | actived(item) {
|
| | | if (!item.canUpOrIns) {
|
| | | return false;
|
| | | }
|
| | |
|
| | | let _this = this;
|
| | | if (this.activeTab == "sdk") {
|
| | | actPageAlg(item.id, "")
|
| | |
| | | height: 76px;
|
| | | border-radius: 4px;
|
| | |
|
| | | &.disabled {
|
| | | cursor: default;
|
| | | }
|
| | |
|
| | | .icon-img {
|
| | | width: 58px;
|
| | | height: 58px;
|