소스 검색

优化各种细节UI

wzh 2 년 전
부모
커밋
6a866762bf
1개의 변경된 파일32개의 추가작업 그리고 32개의 파일을 삭제
  1. 32 32
      pages/device/detail.vue

+ 32 - 32
pages/device/detail.vue

@@ -141,7 +141,7 @@
 
         </view>
         <view class="control" v-if="boardType ==4">
-          <view class="control_item" style="height: 370rpx" @click="modifyName">
+          <view class="control_item" style="height: 370rpx">
             <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
             <view style="text-align: center;position: absolute;height: 370rpx;line-height: 370rpx;right:0px;left:0px;font-size: 14px;">
               {{deviceInfo.deviceName}}
@@ -529,7 +529,7 @@
       </view>
     </view>
 
-    <u-popup :show="false" @close="closePop" mode="center" bgColor="transparent" :closeable="true">
+    <u-popup :show="false" @close="closePop" mode="center" bgColor="transparent" :closeable="true" :round="10">
       <view style="position: relative;width: 500rpx;height:300rpx;background: none">
         <view class="control_item" style="width: 100%" v-if="fengbianDlgShow">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
@@ -578,7 +578,7 @@
       </view>
     </u-popup>
 
-    <u-popup :show="planPopDlg" @close="closePlanPop" mode="center"  :closeable="true">
+    <u-popup :show="planPopDlg" @close="closePlanPop" mode="center"  :closeable="true" :round="10">
       <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
@@ -619,8 +619,8 @@
       </view>
     </u-popup>
 <!--    预约框-->
-    <u-popup :show="yuyueIngPop" @close="closeYuyueIngPop" mode="center"  :closeable="true">
-      <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
+    <u-popup :show="yuyueIngPop" @close="closeYuyueIngPop" mode="center"  :closeable="true" :round="10">
+      <view style="position: relative;width: 400rpx;background: none;;padding:30rpx;padding-top:60rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
           <view class="control_item_detail">
@@ -638,7 +638,7 @@
               </view>
       </view>
     </u-popup>
-    <u-popup :show="planIngPopDlg" @close="closePlanIngPop" mode="center"  :closeable="true">
+    <u-popup :show="planIngPopDlg" @close="closePlanIngPop" mode="center"  :closeable="true" :round="10">
       <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
@@ -708,12 +708,12 @@
 <!--              </view>-->
 <!--            </view>-->
 <!--          </view>-->
-          <view class="prop-item" v-if="firstTab">
+          <view class="prop-item" @click="showJiaozhunProp" v-if="firstTab">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/oper_temp.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">温度校准</view>
-            <view class="prop-item-right" @click="showJiaozhunProp">
+            <view class="prop-item-right" >
               {{jiaozhunTemp}}℃<uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
@@ -726,22 +726,22 @@
               {{validCurrent}}
             </view>
           </view>
-          <view class="prop-item" v-if="firstTab && boardType == 5">
+          <view class="prop-item" @click="showLiuProp" v-if="firstTab && boardType == 5">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/current_icon5.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">扭力设置</view>
-            <view class="prop-item-right" @click="showLiuProp">
+            <view class="prop-item-right" >
               {{turnCurrent}}<uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
 
-          <view class="prop-item"  v-if="firstTab">
+          <view class="prop-item" @click="showWorkPicker"  v-if="firstTab">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/list.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">工作模式</view>
-            <view class="prop-item-right" @click="showWorkPicker">
+            <view class="prop-item-right" >
               <view v-if="workMode == 1">
                 1<uni-icons type="forward" size="16"></uni-icons>
               </view>
@@ -772,57 +772,57 @@
               <text class="text-right">{{deviceInfo.serialNumber}}</text>
             </view>
           </view>
-          <view class="prop-item">
+          <view class="prop-item" @click="skip(1)">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/learn.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">使用教程</view>
-            <view class="prop-item-right" @click="skip(1)">
+            <view class="prop-item-right" >
               <uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
-          <view class="prop-item">
+          <view class="prop-item"  @click="skip(1)">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/video.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">维修视频</view>
-            <view class="prop-item-right"  @click="skip(1)">
+            <view class="prop-item-right" >
               <uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
-          <view class="prop-item">
+          <view class="prop-item" @click="getUpdateInfo">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/upload.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">在线升级</view>
-            <view class="prop-item-right" @click="getUpdateInfo">
+            <view class="prop-item-right" >
               <uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
-          <view class="prop-item">
+          <view class="prop-item"  @click="skip(2)">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/shou.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">售后服务</view>
-            <view class="prop-item-right"  @click="skip(2)">
+            <view class="prop-item-right" >
               <uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
-          <view class="prop-item">
+          <view class="prop-item" @click="reset">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/reset.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">恢复出厂</view>
-            <view class="prop-item-right" @click="reset">
+            <view class="prop-item-right" >
               <uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
-          <view class="prop-item">
+          <view class="prop-item" @click="modifyName">
             <view class="prop-item-image">
               <image :src="imgUrl+'/setting/runinfo.png'" style="width: 100%;height:100%;"/>
             </view>
             <view class="prop-item-left">修改名称</view>
-            <view class="prop-item-right" @click="modifyName">
+            <view class="prop-item-right" >
               <uni-icons type="forward" size="16"></uni-icons>
             </view>
           </view>
@@ -835,8 +835,8 @@
       </scroll-view>
     </uni-drawer>
 
-    <u-popup :show="jiaozhunPopDlg" @close="closejiaozhunPop" mode="center"  :closeable="true">
-      <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
+    <u-popup :show="jiaozhunPopDlg" @close="closejiaozhunPop" mode="center"  :closeable="true" :round="10">
+      <view style="position: relative;width: 400rpx;background: none;padding:30rpx;padding-top:60rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
           <view class="control_item_detail">
@@ -859,8 +859,8 @@
         </view>
       </view>
     </u-popup>
-    <u-popup :show="deviceYuyueIngPop" @close="closeDeviceYuyueIngPop" mode="center"  :closeable="true">
-      <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
+    <u-popup :show="deviceYuyueIngPop" @close="closeDeviceYuyueIngPop" mode="center"  :closeable="true" :round="10">
+      <view style="position: relative;width: 400rpx;background: none;padding:30rpx;padding-top:60rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
           <view class="control_item_detail">
@@ -878,8 +878,8 @@
         </view>
       </view>
     </u-popup>
-    <u-popup :show="devicePlanPopDlg" @close="closeDevicePlanPop" mode="center"  :closeable="true">
-      <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
+    <u-popup :show="devicePlanPopDlg" @close="closeDevicePlanPop" mode="center"  :closeable="true" :round="10">
+      <view style="position: relative;width: 400rpx;background: none;padding:30rpx;padding-top:60rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
           <view class="control_item_detail">
@@ -902,8 +902,8 @@
         </view>
       </view>
     </u-popup>
-    <u-popup :show="liuzhuanPopDlg" @close="closeliuzhuanPop" mode="center"  :closeable="true">
-      <view style="position: relative;width: 400rpx;background: none;padding:40rpx;">
+    <u-popup :show="liuzhuanPopDlg" @close="closeliuzhuanPop" mode="center"  :closeable="true" :round="10">
+      <view style="position: relative;width: 400rpx;background: none;padding:30rpx;padding-top:60rpx;">
         <view class="control_item" style="width: 100%">
           <image :src="imgUrl+'/detail/bg_mid.png'" style="width: 100%;height:100%;position: absolute;top:0px;"/>
           <view class="control_item_detail">