浏览代码

Merge branch 'dev' of http://git.ycjcjy.com/shigongli/miniapp-v2 into dev

张延森 3 年前
父节点
当前提交
75fd3214e9

+ 2
- 2
src/pages/RoomOrder/index.jsx 查看文件

@@ -45,8 +45,8 @@ export default withLayout((props) => {
45 45
       //   url: `/pages/index/index?tab=1&roomId=${roomId}`
46 46
       // })
47 47
       personSubmit(roomOrderId, formData).then(a => {
48
-        Taro.reLaunch({
49
-          url: `/pages/index/index?tab=1&roomId=${roomId}`
48
+        Taro.navigateBack({
49
+          delta: 1
50 50
         })
51 51
       })
52 52
     })

+ 2
- 2
src/pages/details/foodDetails/foodDetails.jsx 查看文件

@@ -243,11 +243,11 @@ export default withLayout((props) => {
243 243
                 <view
244 244
                   style={{
245 245
                     position: "relative",
246
-                    marginTop: '5em',
246
+                    marginTop: '1em',
247 247
                     display: extend == "" ? "none" : "",
248 248
                   }}
249 249
                 >
250
-                  <view className='title'>
250
+                  <view className='title' style={{ margin: '50px 0 0 0' }} >
251 251
                     <image src={titlezs} />
252 252
                     <text>本店指南</text>
253 253
                   </view>

+ 1
- 3
src/pages/details/foodDetails/foodDetails.less 查看文件

@@ -89,7 +89,6 @@
89 89
         font-size: 24px;
90 90
         color: #666666;
91 91
         padding-left: 34px;
92
-        padding-bottom: 40px;
93 92
         .zhuandao {
94 93
           width: 14px;
95 94
           height: 24px;
@@ -103,7 +102,6 @@
103 102
   }
104 103
 }
105 104
 .title {
106
-  margin: 59px 0 41px 0;
107 105
   image {
108 106
     width: 30px;
109 107
     height: 30px;
@@ -181,4 +179,4 @@
181 179
   text-align: center;
182 180
   padding: 40px 0 68px 0;
183 181
   background-color: #f8f8f8;
184
-}
182
+}

+ 1
- 5
src/pages/details/mjDetails/sceneryDetails.jsx 查看文件

@@ -46,15 +46,11 @@ export default withLayout((props) => {
46 46
   //指南当前页数
47 47
   const [epage, setepage] = useState(2)
48 48
   const extendMore = () => {
49
-    setLoading(true)
50 49
     setepage(epage + 1)
51 50
     getExtendContent('tourist', id, { pageNum: epage }).then((res) => {
52 51
       setExtend([...extend, ...res.records])
53 52
       setNewextNum(newextNum + res.records.length)
54 53
       setLoading(false)
55
-    }).catch(e => {
56
-      setLoading(false)
57
-
58 54
     })
59 55
   }
60 56
 
@@ -177,7 +173,7 @@ export default withLayout((props) => {
177 173
           <view className='bottom'>这是我的底线</view>
178 174
         </scroll-view>
179 175
       </SpinBox>
180
-      
176
+
181 177
       <view className='index-tabber weui-tabbar' style={{ background: '#fff' }}>
182 178
         <view className='weui-tabbar__item'>
183 179
           <Button openType='share' className='purebtn'><TabIcon icon={share} text='分享' /></Button>

+ 1
- 1
src/pages/details/mjDetails/sceneryDetails.less 查看文件

@@ -108,7 +108,7 @@
108 108
   }
109 109
 }
110 110
 .title {
111
-  margin: 60px 0 40px 0;
111
+  margin: 40px 0 40px 0;
112 112
   font-size: 34px;
113 113
   font-weight: bold;
114 114
   color: #202020;

+ 1
- 1
src/pages/index/tabs/Guide.jsx 查看文件

@@ -59,7 +59,7 @@ export default (props) => {
59 59
     if (roomOrderId) {
60 60
       goToRoomForm(roomOrderId).then((res) => {
61 61
         if (res.status !== 1 && res.personNum > 0) {
62
-          Taro.reLaunch({
62
+          Taro.navigateTo({
63 63
             url: `/pages/RoomOrder/index?roomOrderId=${roomOrderId}&status=${res.status}&roomId=${roomId}`,
64 64
           })
65 65
         }