吃个甘蔗嚼一年 3 年前
父节点
当前提交
27b8a33497

+ 2
- 2
src/components/OrderMolded/style.less 查看文件

@@ -8,7 +8,7 @@
8 8
     padding-bottom: 21px;
9 9
     display: flex;
10 10
     border-radius: 15px 0px 0px 15px;
11
-    align-items: center;    
11
+    align-items: center;
12 12
     .left-viewText-payOrder {
13 13
       background: url(../../assets/icons/ProCard/ProCard_hot.png) no-repeat;
14 14
       background-size: 100% 100%;
@@ -24,8 +24,8 @@
24 24
     //图片
25 25
     .title-image-cardOrder {
26 26
       width: 100%;
27
-      margin-left: 20px;
28 27
       border-radius: 24px;
28
+      display: flex;
29 29
       overflow: hidden;
30 30
       position: relative;
31 31
       .image-1-cardOrder {

+ 8
- 4
src/pages/MineUserAll/ContactMe/index.jsx 查看文件

@@ -24,15 +24,19 @@ export default withLayout((props) => {
24 24
         content
25 25
       }).then(() => {
26 26
 
27
-        Taro.navigateBack({
28
-          delta: 1
29
-        })
30 27
         Taro.showToast({
31 28
           title: '反馈成功',
32 29
           icon: 'success',
33 30
           duration: 2000
31
+
32
+        }).then(x => {
33
+
34
+          Taro.navigateBack({
35
+            delta: 1
36
+          })
37
+          setLoading(false)
38
+
34 39
         })
35
-        setLoading(false)
36 40
       })
37 41
     }
38 42
     else {

+ 6
- 2
src/pages/MineUserAll/RefundMoney/index.jsx 查看文件

@@ -29,9 +29,11 @@ export default withLayout((props) => {
29 29
         pageNum === 1 ? res.records || [] : list.concat(res.records || [])
30 30
       );
31 31
       setHasNextPage(res.current < res.pages);
32
-      Taro.hideLoading();
32
+      setLoading(false)
33 33
 
34
-    });
34
+    }).catch(e => {
35
+      setLoading(false)
36
+    })
35 37
   };
36 38
 
37 39
 
@@ -62,12 +64,14 @@ export default withLayout((props) => {
62 64
         <SpinBox loading={loading} className='index-container' >
63 65
 
64 66
           <view className='View-box-Card'>
67
+
65 68
             {(list || []).map((item) => {
66 69
               return (
67 70
                 <OrderCard item={item} key={item.orderId} sh='1' />
68 71
               )
69 72
             })}
70 73
             <view className='foot'>这是我的底线</view>
74
+
71 75
           </view>
72 76
         </SpinBox>
73 77
 

+ 13
- 9
src/pages/PayOrder/style.less 查看文件

@@ -98,16 +98,20 @@
98 98
           margin-right: 5px;
99 99
           width: 10px;
100 100
           height: 10px;
101
-          background: #999999;
101
+          font-weight: 800;
102
+
103
+          background: #000;
102 104
           border-radius: 50%;
103 105
         }
104 106
         .ul-li-textname {
107
+          font-weight: 800;
108
+
105 109
           font-size: 25px;
106
-          color: #999999;
110
+          color: #000;
107 111
         }
108 112
       }
109 113
     }
110
-    .payorder{
114
+    .payorder {
111 115
       margin: 40px 30px;
112 116
       color: #fff;
113 117
       background-color: #274190;
@@ -118,12 +122,12 @@
118 122
       align-items: center;
119 123
       //垂直居中
120 124
       justify-content: center;
121
-      .paytext{
125
+      .paytext {
122 126
         font-size: 30px;
123 127
       }
124
-      .paycontent{
125
-        margin:0 40px 0 20px;
126
-        .paybuttontop{
128
+      .paycontent {
129
+        margin: 0 40px 0 20px;
130
+        .paybuttontop {
127 131
           background: url(../../assets/icons/ProCard/ProCard_hot.png) no-repeat;
128 132
           background-size: 100% 100%;
129 133
           padding: 5px 25px 8px 6px;
@@ -134,7 +138,7 @@
134 138
           color: @whiteColor;
135 139
           font-weight: 600;
136 140
         }
137
-        .paybuttonbottom{          
141
+        .paybuttonbottom {
138 142
           font-size: 18px;
139 143
           text-decoration: line-through;
140 144
           line-height: 17px;
@@ -142,4 +146,4 @@
142 146
       }
143 147
     }
144 148
   }
145
-}
149
+}

+ 10
- 16
src/pages/TobeShop/index.jsx 查看文件

@@ -1,22 +1,16 @@
1 1
 import Taro from "@tarojs/taro";
2
-import { Button, Icon, Text, Textarea, View } from "@tarojs/components";
2
+import { Button, View } from "@tarojs/components";
3 3
 import { useState, useEffect } from "react";
4 4
 import withLayout from "@/layouts";
5 5
 import CustomNav from "@/components/CustomNav";
6
-import { getShopDetail, getShopPackage, getExtendContent } from '@/services/home';
6
+import { getShopDetail } from '@/services/home';
7 7
 import { getVerifyTargetList, putVerifyTarget } from "@/services/payOrder";
8
-import formatTime from '@/utils/formatTime'
9 8
 import Popup from "@/components/Popup";
10 9
 import SpinBox from "@/components/Spin/SpinBox";
11
-import formatPrice from "@/utils/formatPrice";
12 10
 
13 11
 import LocationBig from "@/assets/icons/UserCenter/LocationBig.png";
14 12
 import Perfection from "@/assets/icons/UserCenter/Perfection.png";
15
-import Check_OK from "@/assets/icons/UserCenter/Check_OK.png";
16
-import Check_NO from "@/assets/icons/UserCenter/Check_NO.png";
17 13
 import BlackSpot from "@/assets/icons/GuideCheck/BlackSpot.png";
18
-import food from "@/assets/icons/ProCard/food.png";
19
-import ProCard_hot from "@/assets/icons/ProCard/ProCard_hot.png";
20 14
 import TBCard from './Card'
21 15
 
22 16
 import "./style.less";
@@ -105,20 +99,17 @@ export default withLayout((props) => {
105 99
   };
106 100
   const ButtonOK = (e) => {
107 101
     if (!submiting) {
108
-      Taro.showLoading({
109
-        title: '核销中'
110
-      })
111 102
 
112 103
       setSubmiting(true);
113 104
       Promise.all(checked.map(verifyNo => putVerifyTarget(verifyNo)))
114 105
         .then(res => {
115
-          Taro.hideLoading()
106
+
116 107
           setSubmiting(false);
117 108
           setShowDialog(false);
118 109
           setConsumption(true);
119 110
         })
120 111
         .catch(e => {
121
-          Taro.hideLoading()
112
+
122 113
           setShowDialog(false);
123 114
           setSubmiting(false);
124 115
           getList();  // 刷新数据
@@ -136,7 +127,10 @@ export default withLayout((props) => {
136 127
     if (list?.length > 1) {
137 128
       getList()
138 129
     } else {
139
-      Taro.navigateBack({ delta: 1 })
130
+      Taro.redirectTo({
131
+        url: '/pages/MineUserAll/AllOrder/index?tabJump=3',
132
+      });
133
+      // Taro.navigateBack({ delta: 1 })
140 134
     }
141 135
   };
142 136
 
@@ -190,8 +184,8 @@ export default withLayout((props) => {
190 184
         <SpinBox loading={loading}>
191 185
           {(list || []).map((item) => {
192 186
             return (
193
-              <TBCard item={item} key={item.verifyNo} checked={checked} handleCheck={handleCheck} />             
194
-            )           
187
+              <TBCard item={item} key={item.verifyNo} checked={checked} handleCheck={handleCheck} />
188
+            )
195 189
           })}
196 190
         </SpinBox>
197 191
         <view className='button-info'>

+ 9
- 7
src/pages/index/tabs/GuideCss/style.less 查看文件

@@ -8,8 +8,8 @@
8 8
   .room-box-info-ROOM {
9 9
     width: 97%;
10 10
     display: flex;
11
-    margin: 60px auto;
12
-
11
+    margin-top: 35px;
12
+    margin: auto;
13 13
     .room-bi-name-ROOM {
14 14
       width: 100%;
15 15
 
@@ -34,7 +34,8 @@
34 34
   .room-box-info-HouLocation {
35 35
     width: 97%;
36 36
     display: flex;
37
-    margin: 60px auto;
37
+    margin-top: 35px;
38
+    margin: auto;
38 39
 
39 40
     .room-bi-name-HouLocation {
40 41
       width: 100%;
@@ -91,8 +92,8 @@
91 92
   .room-box-info-Parking {
92 93
     width: 97%;
93 94
     display: flex;
94
-    margin: 60px auto;
95
-
95
+    margin-top: 35px;
96
+    margin: auto;
96 97
     .room-bi-name-Parking {
97 98
       width: 100%;
98 99
 
@@ -148,8 +149,8 @@
148 149
   .room-box-info-WIFIContent {
149 150
     width: 97%;
150 151
     display: flex;
151
-    margin: 60px auto;
152
-
152
+    margin-top: 35px;
153
+    margin: auto;
153 154
     .room-bi-name-WIFIContent {
154 155
       width: 100%;
155 156
 
@@ -270,6 +271,7 @@
270 271
     }
271 272
   }
272 273
   .Guide-Content-box {
274
+    margin-top: 2em;
273 275
     .title-image {
274 276
       display: flex;
275 277
       // width: 270px;