Bladeren bron

添加修改UI

zhangwf 5 jaren geleden
bovenliggende
commit
dd7032c116

+ 5 - 5
src/views/cnctestlists/cncTestLists.html

@@ -12,11 +12,11 @@
                 <el-button type="primary">{{currentProject}} <i class="el-icon-caret-bottom icon-right"></i>
                 </el-button>
                 <el-dropdown-menu slot="dropdown">
-                    <el-dropdown-item command="黄金糕黄金糕黄金糕">黄金糕黄金糕黄金糕</el-dropdown-item>
-                    <el-dropdown-item command="狮子头">狮子头</el-dropdown-item>
-                    <el-dropdown-item command="螺蛳粉">螺蛳粉</el-dropdown-item>
-                    <el-dropdown-item command="双皮奶">双皮奶</el-dropdown-item>
-                    <el-dropdown-item command="蚵仔煎">蚵仔煎</el-dropdown-item>
+                    <el-dropdown-item command="无锡路劲">无锡路劲</el-dropdown-item>
+                    <el-dropdown-item command="宁波WIII">宁波WIII</el-dropdown-item>
+                    <el-dropdown-item command="香港置地">香港置地</el-dropdown-item>
+                    <el-dropdown-item command="河南建业">河南建业</el-dropdown-item>
+                    <el-dropdown-item command="西安金茂府">西安金茂府</el-dropdown-item>
                 </el-dropdown-menu>
             </el-dropdown>
         </div>

+ 2 - 0
src/views/cnctestlists/cncTestLists.scss

@@ -155,6 +155,7 @@
 
       .watch-test,
       .use-test {
+        cursor:pointer;
         background: rgba(78, 93, 255, 1);
 
         .use-icon {
@@ -222,6 +223,7 @@
     position: relative;
 
     .close {
+      cursor: pointer;
       width: 28px;
       height: 28px;
       position: absolute;

+ 10 - 4
src/views/cnctestlists/cncTestLists.vue

@@ -57,16 +57,22 @@
                     title: "定制你的家居香气",
                 }],
                 loading: true,
-                currentProject:"所属项目",
+                currentProject: "所属项目",
             }
+        },
+        created() {
+
         },
         methods: {
             showQRDialog(index) {
                 this.isShowDialog = true;
+                this.loading = true,
+                    setTimeout(() => {
+                        this.$refs.dialogQR.scroll(0, 0)
+                    }, 1);
                 setTimeout(() => {
-                    this.$refs.dialogQR.scroll(0, 0)
-                }, 1);
-
+                    this.loading = false;
+                }, 3000);
             },
             close() {
                 this.isShowDialog = false;