李志伟 hace 3 años
padre
commit
e69b8f7d53

+ 1
- 1
src/components/CompoentsOrder/OrderCard/index.jsx Ver fichero

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
           <CouponCard onClick={() => { Taro.navigateTo({ url: `/pages/details/foodDetails/foodDetails?id=${item.shopId}` }) }} action={PayAction}>
121
           <CouponCard onClick={() => { Taro.navigateTo({ url: `/pages/details/foodDetails/foodDetails?id=${item.shopId}` }) }} action={PayAction}>
122
             <CouponMedia>
122
             <CouponMedia>
123
               <CouponMedia.Header
123
               <CouponMedia.Header

+ 5
- 1
src/components/CompoentsOrder/OrderCard/style.less Ver fichero

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

+ 1
- 1
src/components/SlideView/index.jsx Ver fichero

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

+ 1
- 1
src/pages/details/foodDetails/foodDetails.jsx Ver fichero

227
                     display: extend == "" ? "none" : "",
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
                     <image src={titlezs} />
231
                     <image src={titlezs} />
232
                     <text>本店指南</text>
232
                     <text>本店指南</text>
233
                   </view>
233
                   </view>