Răsfoiți Sursa

样式修改

skyline 1 an în urmă
părinte
comite
b739f2b1a1
2 a modificat fișierele cu 9 adăugiri și 9 ștergeri
  1. 5 5
      src/pages-wash/device/index.vue
  2. 4 4
      src/pages/user/index.vue

+ 5 - 5
src/pages-wash/device/index.vue

@@ -14,8 +14,8 @@
     </view>
     <view class="device-body">
       <view class="device-body_ops" @click="debounceStartStopDevice">
-        <text v-if="state.device.state==='idle'">启动</text>
-        <text v-else>停止</text>
+        <text v-if="state.device.state==='idle'">启动设备</text>
+        <text v-else>停止设备</text>
       </view>
 <!--      <view class="device-body_ops-time">{{ state.time }}</view>-->
     </view>
@@ -88,7 +88,7 @@ const handleClickDevice = () => {
       post(`/wash-device/startDevice/${state.device.shortId}`).then((res:any)=>{
         uni.hideLoading();
         uni.showToast({
-          title:'启动成功,请到洗车机面板选择服务项目'
+          title:'设备启动成功'
         })
       })
     }else{
@@ -161,8 +161,8 @@ const countTime = () => {
     justify-content: center;
     align-items: center;
     align-content: center;
-    width: 240rpx;
-    height: 240rpx;
+    width: 300rpx;
+    height: 300rpx;
     border-radius: 50%;
     background-color: $uni-color-primary;
     color: white;

+ 4 - 4
src/pages/user/index.vue

@@ -23,12 +23,11 @@
             <view class="money-left">
               <image src="/static/iconfont/chongzhi.svg"  mode="widthFit"  style="width: 40rpx;height: 40rpx"></image>
 <!--              <uv-icon name="red-packet" size="24" color="#19A497"></uv-icon>-->
-              <view style="font-size: 13px;margin-left: 10rpx;">钱包|充值</view>
+              <view style="font-size: 16px;margin-left: 10rpx;">钱包 | 充值</view>
             </view>
 
             <view class="money-right">
-              <view>¥</view>
-              <view class="money-right_balance">{{ ((user.balance || 0) / 100).toFixed(2) }}</view>
+              <view class="money-right_balance">¥ {{ ((user.balance || 0) / 100).toFixed(2) }}</view>
             </view>
 
           </view>
@@ -284,7 +283,7 @@ page{
       //position: absolute;
       //left: 0;
       //bottom: 0;
-      width: 690rpx;
+      width: 600rpx;
       height: 118rpx;
       background: #feffff;
       border-radius: 120rpx;
@@ -312,6 +311,7 @@ page{
         &_balance {
           font-weight: 600;
           font-size: 20px;
+          margin-right: 10px;
         }
       }
     }