소스 검색

首页轮播修改

zuypeng 1 년 전
부모
커밋
e7b5bf5f78

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

@@ -10,7 +10,7 @@
         </view>
       </view>
       <view class="device-header_fun">
-        <uv-tags plain size="mini" type="primary" :text="fmtDictName('WashDevice.state',state.device?.state)"></uv-tags>
+        <uv-tags plain size="mini" type="error" :text="fmtDictName('WashDevice.state',state.device?.state)"></uv-tags>
       </view>
 
     </view>

+ 3 - 2
src/pages.json

@@ -11,8 +11,9 @@
       "path": "pages/index/index",
       "style": {
         "navigationBarTitleText": "Yeswash洗车",
-        "enablePullDownRefresh": true,
-        "disableScroll": true
+        "enablePullDownRefresh": false,
+        "disableScroll": true,
+        "navigationStyle": "custom"
       }
     },
     {

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

@@ -1,6 +1,6 @@
 <template>
-  <uv-navbar placeholder leftIcon="" title="Yeswash洗车"
-             :border="false"></uv-navbar>
+<!--  <uv-navbar placeholder leftIcon="" title="Yeswash洗车"
+             :border="false"></uv-navbar>-->
   <view class="content" :style="containerStyle">
     <!--    <image class="logo" src="/static/logo.png"/>
         <view class="text-area">
@@ -86,7 +86,7 @@ const initState = () => ({
   swiperList: [],
   menuList: [
     {name: "photo", title: "洗车", icon: '/static/iconfont/default/fastwash.svg'},
-    {name: "lock", title: "充值", icon: '/static/iconfont/default/chongzhi_1.svg'},
+    {name: "lock", title: "充值", icon: '/static/iconfont/default/recharge.svg'},
     {name: "star", title: "卡券", icon: '/static/iconfont/default/coupon.svg'},
     {name: "red-packet", title: "停车", icon: '/static/iconfont/default/parking.svg'},
   ],
@@ -115,7 +115,7 @@ const state = reactive(initState())
 onLoad((e: any) => {
   const bound = uni.getMenuButtonBoundingClientRect();
   containerStyle.value = {
-    top: `${bound.bottom + 10}px`,
+    // top: `${bound.bottom + 10}px`,
   };
   /*  if (query) {
       uni.showToast({
@@ -354,7 +354,7 @@ page {
 }
 
 .swiper-content {
-  height: 300rpx;
+  height: auto;
   overflow: hidden;
 }
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
src/static/iconfont/default/coupon.svg


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
src/static/iconfont/default/fastwash.svg


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
src/static/iconfont/default/parking.svg


+ 1 - 0
src/static/iconfont/default/recharge.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1742389788960" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12033" xmlns:xlink="http://www.w3.org/1999/xlink" width="72" height="72"><path d="M693.095316 281.760857l-131.632817 223.935003 103.718481 0 0 49.478312-120.846571 0 0 68.193688 120.846571 0 0 50.115659-120.846571 0 0 99.276514-62.164435 0L482.169975 673.483519 356.88022 673.483519l0-50.115659 125.289755 0 0-68.193688L356.88022 555.174172l0-49.478312 106.893053 0-130.364204-223.935003 70.099647 0c60.895822 111.230417 97.898433 181.748475 111.012698 211.562689l1.268612 0c4.441967-12.262847 16.596562-37.002611 36.474732-74.219292l74.536749-137.343396L693.095316 281.760857 693.095316 281.760857zM693.095316 281.760857" fill="#C6171E" p-id="12034"></path><path d="M784.470674 621.448522c-15.061578 0-27.247797 12.187435-27.247797 27.247797s12.187435 27.247797 27.247797 27.247797l71.98128 0c-61.204765 128.843816-192.338895 217.986027-344.464118 217.986027-210.6687 0-381.478892-170.782216-381.478892-381.475243 0-210.696675 170.810191-381.465512 381.478892-381.465512 192.121175 0 350.635679 142.189179 377.137878 326.968701l55.08064 0C917.333181 242.953241 734.255278 76.493794 511.987837 76.493794 271.197197 76.493794 76.012135 271.688586 76.012135 512.456117c0 240.762665 195.185062 435.972053 435.975702 435.972053 164.236031 0 307.128238-90.894915 381.475243-225.064956l0 61.57574c0 15.061578 12.187435 27.247797 27.276989 27.247797 15.004412 0 27.247797-12.187435 27.247797-27.247797L947.987865 648.697535c0-3.297419 0-27.247797-27.247797-27.247797L784.470674 621.449738 784.470674 621.448522zM784.470674 621.448522" fill="#C6171E" p-id="12035"></path></svg>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.