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