Bläddra i källkod

提交分享详情

wangming 1 månad sedan
förälder
incheckning
37b8de0b5b
2 ändrade filer med 13 tillägg och 27 borttagningar
  1. 11 25
      src/pagesA/deviceSetting/deviceSetting.vue
  2. 2 2
      src/pagesA/shareDetail/shareDetail.vue

+ 11 - 25
src/pagesA/deviceSetting/deviceSetting.vue

@@ -44,11 +44,18 @@
                     style="width: 30rpx; height: 30rpx"
                 ></image>
             </view>
+
+            <view class="wifItem" @click="unbindDevice">
+                <text>解绑设备</text>
+                <image
+                    src="../../static/rightArrow.png"
+                    style="width: 30rpx; height: 30rpx"
+                ></image>
+            </view>
         </view>
         <view class="box">
             <view class="handle-btn">
                 <view class="btn1" @click="goMoreSetting">更多设置</view>
-                <view class="btn2" @click="unbindDevice">解绑设备</view>
             </view>
         </view>
         <alarModel v-if="isInitAlarm" />
@@ -203,35 +210,14 @@ export default {
                 display: flex;
                 align-items: center;
                 justify-content: center;
-                width: 328rpx;
+                width: 700rpx;
                 height: 94rpx;
-                background: #ffebe4;
+                background: #7d5346;
                 border-radius: 28rpx;
                 font-weight: 500;
-                color: #111111;
-                font-size: 32rpx;
-                text-align: center;
-            }
-
-            .btn2 {
-                display: flex;
-                align-items: center;
-                justify-content: center;
-                width: 328rpx;
-                height: 94rpx;
-                background: linear-gradient(
-                    105.95deg,
-                    #a27867 0%,
-                    #74483d 100%
-                );
-                border-radius: 28rpx;
-                box-shadow: 0rpx 4.69rpx 18.75rpx rgba(72, 41, 29, 0.15),
-                    0rpx 9.38rpx 9.38rpx rgba(154, 132, 89, 0.2),
-                    0rpx -4.69rpx 28.13rpx 4.69rpx #a16647 inset;
-                font-family: MiSans;
-                font-weight: 500;
                 color: #ffffff;
                 font-size: 32rpx;
+                text-align: center;
             }
         }
     }

+ 2 - 2
src/pagesA/shareDetail/shareDetail.vue

@@ -97,7 +97,7 @@ export default {
                             .then((res) => {
                                 if (res.data.code == 200) {
                                     uni.showToast({
-                                        title: "撤销分享设备成功",
+                                        title: "撤销成功",
                                         icon: "success",
                                         duration: 1500,
                                     });
@@ -108,7 +108,7 @@ export default {
                                     }, 1000);
                                 } else {
                                     uni.showToast({
-                                        title: "撤销分享设备失败",
+                                        title: "撤销失败",
                                         icon: "none",
                                         duration: 1500,
                                     });