柒零 1 год назад
Родитель
Сommit
823edd7060

+ 6 - 8
project.config.json

@@ -1,9 +1,5 @@
 {
   "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
-  "packOptions": {
-    "ignore": [],
-    "include": []
-  },
   "setting": {
     "ignoreDevUnusedFiles": false,
     "ignoreUploadUnusedFiles": true,
@@ -45,9 +41,6 @@
     "useCompilerPlugins": false
   },
   "compileType": "miniprogram",
-  "libVersion": "2.25.3",
-  "appid": "wx6fa2f78933195e72",
-  "projectname": "%E6%99%BA%E8%83%BD%E5%AE%B6%E5%B1%85%E5%B0%8F%E7%A8%8B%E5%BA%8F",
   "simulatorType": "wechat",
   "simulatorPluginLibVersion": {},
   "editorSetting": {
@@ -65,5 +58,10 @@
         }
       ]
     }
-  }
+  },
+  "packOptions": {
+    "ignore": [],
+    "include": []
+  },
+  "appid": "wx6fa2f78933195e72"
 }

+ 6 - 2
subpages/addMattresses/addMattresses.wxml

@@ -14,10 +14,14 @@
         <van-field model:value="{{ usingHuman }}" center title-width="150rpx" label="使用人:" placeholder="可填写本人或者其他人名称"
             clearable border="{{ true }}" maxlength="8" />
         <van-field model:value="{{ sn }}" center title-width="150rpx" clearable label="SN:" placeholder=""
-            border="{{ true }}" use-button-slot>
-            <view slot="button" class="lysb-btn" bindtap="bindViewBlue">
+            border="{{ true }}" readonly="{{ true }}" use-button-slot>
+            <!-- <view slot="button" class="lysb-btn" bindtap="bindViewBlue">
                 <image src="/subpages/images/ic_ly.png" class="ly-icon"></image>
                 <text>蓝牙识别</text>
+            </view> -->
+            <view slot="button" class="lysb-new-btn" bindtap="bindViewBlue">
+                <text>蓝牙识别</text>
+                <van-icon name="arrow" />
             </view>
         </van-field><van-field model:value="{{ ssid }}" center title-width="150rpx" label="WIFI:" placeholder="AIDSLEEP"
             clearable border="{{ true }}" />

+ 12 - 0
subpages/addMattresses/addMattresses.wxss

@@ -86,6 +86,18 @@ page {
     justify-content: center;
 }
 
+.lysb-new-btn {
+    font-size: 24rpx;
+    padding: 4rpx 0;
+    height: fit-content;
+    color: #323233;
+    border-radius: 30rpx;
+    display: flex;
+    flex-direction: row;
+    align-items: center;
+    justify-content: center;
+}
+
 .van-field__label {
     font-size: 28rpx !important;
     color: #3E3D44 !important;