李志伟 3 vuotta sitten
vanhempi
commit
e69b8f7d53

+ 1
- 1
src/components/CompoentsOrder/OrderCard/index.jsx Näytä tiedosto

@@ -117,7 +117,7 @@ export default (props) => {
117 117
       }
118 118
       {
119 119
         //待支付可以左滑删除
120
-        item.status === 0 ? <SlideView del onDelete={() => handeDelete(item)} >
120
+        item.status === 0 ? <SlideView del onDelete={() => handeDelete(item)}  className='dzf'>
121 121
           <CouponCard onClick={() => { Taro.navigateTo({ url: `/pages/details/foodDetails/foodDetails?id=${item.shopId}` }) }} action={PayAction}>
122 122
             <CouponMedia>
123 123
               <CouponMedia.Header

+ 5
- 1
src/components/CompoentsOrder/OrderCard/style.less Näytä tiedosto

@@ -41,7 +41,11 @@
41 41
     }
42 42
   }
43 43
 }
44
-
44
+.dzf{
45
+  .slideview-content{
46
+    margin:20px 0;
47
+  }
48
+}
45 49
 .OrderNumber {
46 50
   font-size: 20px;
47 51
   color: #666666;

+ 1
- 1
src/components/SlideView/index.jsx Näytä tiedosto

@@ -56,7 +56,7 @@ export default (props) => {
56 56
             const { height } = res[0]
57 57
             if (height && height !== contentHeightRef.current) {
58 58
               setActStyle({
59
-                height: `calc(${height}px - 10px)`,
59
+                height: `calc(${height}px - 30px)`,
60 60
               })
61 61
               contentHeightRef.current = height
62 62
             }

+ 1
- 1
src/pages/details/foodDetails/foodDetails.jsx Näytä tiedosto

@@ -227,7 +227,7 @@ export default withLayout((props) => {
227 227
                     display: extend == "" ? "none" : "",
228 228
                   }}
229 229
                 >
230
-                  <view className='title' style={{ margin: '50px 0 0 0' }} >
230
+                  <view className='title' style={{ margin: '50px 0 40px 0' }} >
231 231
                     <image src={titlezs} />
232 232
                     <text>本店指南</text>
233 233
                   </view>