Browse Source

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

张延森 3 years ago
parent
commit
a9d8b4b060

+ 10
- 10
src/components/MoreGuide/style.less View File

@@ -1,11 +1,11 @@
1
-
2
-.image-content{
3
-  border-radius: 10px
1
+.image-content {
2
+  border-radius: 10px;
3
+}
4
+.storezn {
5
+  font-size: 28px;
6
+  font-weight: 400;
7
+  color: #202020;
8
+  line-height: 64px;
9
+  padding-bottom: 10px;
10
+  overflow-wrap: break-word;
4 11
 }
5
-  .storezn{
6
-    font-size: 28px;
7
-    font-weight: 400;
8
-    color: #202020;
9
-    line-height: 64px;
10
-    padding-bottom: 10px;
11
-  }

+ 1
- 3
src/pages/details/foodDetails/foodDetails.jsx View File

@@ -247,12 +247,10 @@ export default withLayout((props) => {
247 247
                 </view>
248 248
                 <view
249 249
                   style={{
250
-                    position: "relative",
251
-                    marginTop: '1em',
252 250
                     display: extend == "" ? "none" : "",
253 251
                   }}
254 252
                 >
255
-                  <view className='title' style={{ margin: '50px 0 40px 0' }} >
253
+                  <view className='title'>
256 254
                     <image src={titlezs} />
257 255
                     <text>本店指南</text>
258 256
                   </view>

+ 1
- 0
src/pages/details/foodDetails/foodDetails.less View File

@@ -103,6 +103,7 @@
103 103
   }
104 104
 }
105 105
 .title {
106
+  margin: 40px 0;
106 107
   image {
107 108
     width: 30px;
108 109
     height: 30px;

+ 1
- 1
src/pages/details/mjDetails/sceneryDetails.jsx View File

@@ -167,7 +167,7 @@ export default withLayout((props) => {
167 167
               {(extend || []).map((item) => <Extend item={item} />)}
168 168
             </View>
169 169
           </view>
170
-          <view style={{ position: 'relative', marginTop: '6em', display: recommend == '' ? 'none' : '' }}>
170
+          <view style={{ display: recommend == '' ? 'none' : '' }}>
171 171
             <view className='title'>
172 172
               <image src={titlems} />老板推荐好吃的
173 173
             </view>

+ 1
- 0
src/pages/details/mjDetails/sceneryDetails.less View File

@@ -89,6 +89,7 @@
89 89
   color: #202020;
90 90
   line-height: 54px;
91 91
   overflow: hidden;
92
+  margin-bottom: 20px;
92 93
   .line {
93 94
     height: 1px;
94 95
     background: #000;

+ 0
- 1
src/pages/index/index.jsx View File

@@ -83,7 +83,6 @@ export default withLayout((props) => {
83 83
     if (roomId) {
84 84
       getTaRoom(roomId).then((res) => {
85 85
         setExtend(res)
86
-
87 86
         getHotelDetail(hotelId).then((e) => {
88 87
           setTitleRoom(e?.hotelName || '十公里')
89 88
           settitleLogo(e?.logo || logo)

+ 2
- 1
src/pages/index/tabs/Mine.jsx View File

@@ -1,5 +1,6 @@
1 1
 import { useState, useEffect } from 'react'
2 2
 import Taro from '@tarojs/taro'
3
+import { Ad } from '@tarojs/components'
3 4
 import AuthPage from '@/components/AuthPage'
4 5
 import boy from '@/assets/icons/UserCenter/boy.png'
5 6
 import girl from '@/assets/icons/UserCenter/girl.png'
@@ -156,7 +157,7 @@ export default (props) => {
156 157
           </view>
157 158
         </view>
158 159
         <view class='adContainer'>
159
-          <ad unit-id='adunit-e6c9885420df0aff' ad-type='video' ad-theme='white'></ad>
160
+          <Ad unit-id='adunit-e6c9885420df0aff' ad-type='video' ad-theme='white' />
160 161
         </view>
161 162
         <view className='Version-box'  >
162 163
           <view className='Version-box-number'>

+ 0
- 1
src/utils/request.js View File

@@ -45,7 +45,6 @@ export default (url, options) => {
45 45
               icon: 'none',
46 46
             })
47 47
           }
48
-
49 48
           reject(message?.indexOf('java') > -1 ? '系统内部错误' : message)
50 49
         }
51 50
       },