Browse Source

修复更新

soobin 2 years ago
parent
commit
5fdb70ac04

+ 2 - 3
src/styles/deviceSearch/index.less

@@ -3,12 +3,11 @@
 .deviceSearch {
   .clearBtn {
     border-color: #2c87c8;
-  }
-
-  .van-button--plain.van-button--primary {
     color: #2c87c8;
+    background-color: #fff;
   }
 
+
   .selectBtn {
     background-color: #2c87c8;
     border-color: #2c87c8;

+ 7 - 0
src/styles/deviceSet/index.less

@@ -641,6 +641,13 @@
             // margin: 11px 0 0 35px;
         }
     }
+
+        .input1 {
+            .van-field__body {
+                width: 80%;
+            }
+        }
+
     .van-button--primary {
         background-color: #2c87c8;
         border-color: #2c87c8;

+ 5 - 1
src/styles/robotRanking/index.less

@@ -352,6 +352,10 @@ button:active {
     }
 
     .van-field__control {
-        width: auto;
+        width: 70%;
+    }
+
+    .van-field__body {
+        width: 100%;
     }
 }

+ 1 - 1
src/views/device/deviceSet.vue

@@ -204,7 +204,7 @@
         <van-field colon readonly v-model="deviceDetal.apkVersion" :label="`${$t('device.versionNo')}`" placeholder="" />
         <!-- url -->
         <div v-if="isAdmind" class="cust_vantBorder">
-          <van-field colon clearable v-model="deviceDetal.url" :label="$t('device.url')"
+          <van-field colon clearable class="input1" v-model="deviceDetal.url" :label="$t('device.url')"
                      :placeholder="$t('device.urlPlace')">
             <template #button>
               <van-button @click="updateUrlClk" type="primary">&nbsp;&nbsp;{{ $t("device.update")

+ 5 - 0
vue.config.js

@@ -5,6 +5,11 @@ module.exports = {
   css: {
     extract: false
   },
+  configureWebpack: {
+    output: {
+      filename: '[name].[hash].js'
+    }
+  },
   devServer: {
 		open: true,
     proxy: {