heyujie
2021-08-25 2118790fa7ceaa78243ac1e1a29932768142b387
src/pages/desktop/index/components/Desktop.vue
@@ -20,7 +20,7 @@
      >
    </div>
    <el-dialog title="激活SmartAI" :visible.sync="dialogVisible" width="40%">
    <el-dialog title="激活SmartAI" :visible.sync="dialogVisible" width="750px" :show-close="false" :close-on-click-modal="false" :close-on-press-escape="false">
      <div class="ver"><span class="ver-text">版本:</span>{{ version }}</div>
      <div class="ver">
        <span class="ver-text">状态:</span>{{ versionState }}
@@ -147,20 +147,16 @@
  },
  data() {
    return {
      showFreeVersion: true,
      showFreeVersion: false,
      dialogVisible: false,
      version: "SmartAI试用版",
      versionState: "尚未激活",
      secrectKey: "",
      input2: "",
      input4: "",
      input3: "",
      input5: "",
    };
  },
  mounted() {
    getSN().then((res) => {
      this.showFreeVersion = res.data.sn == "";
      this.showFreeVersion = res.data.sn !== "";
    });
  },
  methods: {
@@ -187,7 +183,7 @@
      window.parent.postMessage({ msg: `toVindicate?menu=系统信息` }, "*");
    },
    gotoActive() {
      this.showFreeVersion = false;
      // this.showFreeVersion = false;
      this.dialogVisible = true;
    },
    uploadKey(params) {
@@ -267,7 +263,7 @@
  }
}
.warn-tag {
  width: 35%;
  width: 640px;
  text-align: left;
  box-sizing: border-box;
  padding: 0 25px;
@@ -278,7 +274,7 @@
  display: flex;
  justify-content: space-between;
  top: 55px;
  left: calc(50% - 17.5%);
  left: calc(50% - 320px);
  line-height: 45px;
  border-radius: 5px;
  .go-to {