李志伟 3 years ago
parent
commit
be5dfbf8e0

+ 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;