李志伟 3 年之前
父節點
當前提交
90480e149c

+ 1
- 1
src/components/foodCards/foodCards.jsx 查看文件

@@ -31,7 +31,7 @@ export default (props) => {
31 31
     <view className='foodCard'>
32 32
       <view className='fCleft'>
33 33
         <view className='fCleft_header'>
34
-          <view>
34
+          <view style={{flex:"none"}}>
35 35
             <view className='backMoney'>
36 36
               返现¥{(item.cashback / 100).toFixed(2)}
37 37
             </view>

+ 1
- 2
src/components/foodCards/style.less 查看文件

@@ -44,7 +44,6 @@
44 44
 
45 45
     .appraise {
46 46
       display: inline-block;
47
-
48 47
       image{
49 48
         width: 21px;
50 49
         height: 21px;
@@ -90,7 +89,7 @@
90 89
         color: #333;
91 90
         .rmb{
92 91
           font-size: 24px;             
93
-          margin: 0 8px 0 7px;
92
+          margin-right:8px;
94 93
         }
95 94
         .p1{
96 95
           font-size: 24px;     

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

@@ -159,14 +159,14 @@ export default withLayout((props) => {
159 159
         >
160 160
           <view className="storeDetails">
161 161
             <Swiper
162
-              className=".swiper"
162
+              className="swiper"
163 163
               circular
164 164
               current={index}
165 165
               onChange={handchange}
166 166
             >
167 167
               {imglist.map((item) => (
168 168
                 <SwiperItem>
169
-                  <image src={item.url} className="storeImage">
169
+                  <image src={item.url} mode='aspectFit' className="storeImage">
170 170
                     <view className="tpPage">
171 171
                       <text>
172 172
                         {index + 1}/{imglist.length}

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

@@ -142,7 +142,7 @@ background-size: auto 50%;
142 142
   color: #202020;
143 143
   text-align: center;
144 144
   position: absolute;
145
-  bottom: -40px;
145
+  bottom: -100px;
146 146
   padding-top: 77px;
147 147
   padding-bottom: 20px;
148 148
   .moreTip{

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

@@ -102,7 +102,7 @@ export default withLayout((props) => {
102 102
         <scroll-view scrollY style={{ height: '100%' }}>
103 103
           <view className='storeDetails'>
104 104
             <Swiper
105
-              className='.swiper'
105
+              className='swiper'
106 106
               circular
107 107
               current={index}
108 108
               onChange={handchange}
@@ -110,7 +110,7 @@ export default withLayout((props) => {
110 110
               {
111 111
                 imglist.map((item) =>
112 112
                   <SwiperItem>
113
-                    <image src={item.url} className='storeImage' >
113
+                    <image src={item.url}  mode='aspectFit' className='storeImage' >
114 114
                       <view className='tpPage'>
115 115
                         <text>{index + 1}/{imglist.length}</text>
116 116
                       </view>

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

@@ -48,7 +48,6 @@
48 48
     }
49 49
     .wz{
50 50
       font-size: 24px;      
51
-      line-height: 0;
52 51
       padding: 30rpx 0 32rpx 0;
53 52
       font-weight: bold;
54 53
       color: #404040;
@@ -127,7 +126,7 @@
127 126
   color: #202020;
128 127
   text-align: center;
129 128
   position: absolute;
130
-  bottom: -40px;
129
+  bottom: -100px;
131 130
   padding-top: 77px;
132 131
   padding-bottom: 20px;
133 132
   .moreTip{

+ 0
- 5
src/shop/components/Sparead/spreadMoney.jsx 查看文件

@@ -53,11 +53,8 @@ export default (props) => {
53 53
 
54 54
   return (
55 55
     <view>
56
-      <view>
57
-      </view>
58 56
       <ToggleRole showCutover={showCutover} maskClosable={showCutover} onClose={onClose} role='shop' />
59 57
       <view style={{ padding: '30rpx', height: '100%' }}>
60
-        <scroll-view scrollY style={{ height: 'calc(100vh - 120px)' }}>
61 58
           <view className='storexx'>
62 59
             <view className='storeName'>店名:<Picker style={{ display: 'inline-block' }} placeholder="请选择商铺" value={shop?.shopId} kv={['shopName', 'shopId']} dicts={shopList} onChange={handleHotelChange} /></view>
63 60
             <view onClick={ShowMoldeOn} className='User-info-cutover'>
@@ -90,9 +87,7 @@ export default (props) => {
90 87
             render={({ item, index }) => <ShopCommission key={(index)} item={item} />}
91 88
           >
92 89
           </List>
93
-        </scroll-view>
94 90
       </view>
95
-
96 91
     </view>
97 92
   )
98 93
 }