李志伟 преди 3 години
родител
ревизия
6b4630c5c4

+ 1
- 6
src/pages/details/foodDetails/foodDetails.jsx Целия файл

84
               <image src={titlezs}></image>
84
               <image src={titlezs}></image>
85
               <text>返现套餐</text>
85
               <text>返现套餐</text>
86
             </view>
86
             </view>
87
+            
87
             <view className='foodCard'>
88
             <view className='foodCard'>
88
               <view className='fCleft'>
89
               <view className='fCleft'>
89
                 <view className='backMoney'>
90
                 <view className='backMoney'>
124
                 <image src={pay} />
125
                 <image src={pay} />
125
                 <view>支付</view>
126
                 <view>支付</view>
126
               </view>
127
               </view>
127
-              <view className='circleTop'></view>
128
-              <view className='circleBottom'></view>
129
               <view className='columnLine'></view>
128
               <view className='columnLine'></view>
130
             </view>
129
             </view>
131
             <view className='foodCard'>
130
             <view className='foodCard'>
168
                 <image src={pay} />
167
                 <image src={pay} />
169
                 <view>支付</view>
168
                 <view>支付</view>
170
               </view>
169
               </view>
171
-              <view className='circleTop'></view>
172
-              <view className='circleBottom'></view>
173
               <view className='columnLine'></view>
170
               <view className='columnLine'></view>
174
             </view>
171
             </view>
175
             <view className='showMore'>
172
             <view className='showMore'>
238
                 <image src={pay} />
235
                 <image src={pay} />
239
                 <view>支付</view>
236
                 <view>支付</view>
240
               </view>
237
               </view>
241
-              <view className='circleTop'></view>
242
-              <view className='circleBottom'></view>
243
               <view className='columnLine'></view>
238
               <view className='columnLine'></view>
244
             </view>
239
             </view>
245
             <view className='storezn'>
240
             <view className='storezn'>

+ 22
- 23
src/pages/details/foodDetails/foodDetails.less Целия файл

140
     top: 5px;
140
     top: 5px;
141
   }
141
   }
142
 }
142
 }
143
+.cs{
144
+  height: 500px;
145
+  // background: rgb(240, 142, 142);
146
+  // background: radial-gradient(circle at top left, transparent 15px, rgb(240, 142, 142) 0) top left,
147
+  //           radial-gradient(circle at top right, transparent 15px, #58a 0) top right,
148
+  //           radial-gradient(circle at bottom left, transparent 15px, #58a 0) bottom left,
149
+  //           radial-gradient(circle at bottom right, transparent 15px, #58a 0) bottom right;
150
+
151
+
152
+  background: radial-gradient(circle at 82% top,transparent 15px,rgb(240,140,140) 0) top,
153
+              radial-gradient(circle at 82% bottom,transparent 15px,rgb(230,120,120) 0) bottom;
154
+
155
+background-repeat: no-repeat;
156
+background-size: auto 50%;
157
+}
143
 .foodCard{
158
 .foodCard{
144
-  background: #FFFFFF;
159
+  background: #FFF;
145
   box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
160
   box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
146
   border-radius: 12px;
161
   border-radius: 12px;
147
   position: relative;
162
   position: relative;
148
   margin-bottom: 30px;
163
   margin-bottom: 30px;
149
   overflow: hidden;
164
   overflow: hidden;
165
+  background: radial-gradient(circle at 82% top,transparent 20px,#fff 0) top,
166
+              radial-gradient(circle at 82% bottom,transparent 20px,#fff 0) bottom;
167
+  background-repeat: no-repeat;
168
+  background-size: auto 50%;
150
   .fCleft{
169
   .fCleft{
151
     float: left;
170
     float: left;
152
     width: 82%;
171
     width: 82%;
248
     width: 18%;
267
     width: 18%;
249
     line-height: 0;
268
     line-height: 0;
250
     image{
269
     image{
251
-      width: 35px;
270
+      width:35px;
252
       height:32px;
271
       height:32px;
253
-      margin-top: 135%;
272
+      margin-top: 120%;
254
       margin-left:calc(50% - 15px)
273
       margin-left:calc(50% - 15px)
255
     }
274
     }
256
     view{
275
     view{
262
       text-align: center;
281
       text-align: center;
263
     }
282
     }
264
   }
283
   }
265
-  .circleTop{
266
-    width: 30px;
267
-    height: 16px;
268
-    border-radius: 15px 15px 0 0;
269
-    background-color: #F8F8F8;
270
-    position: absolute;
271
-    bottom: 0;
272
-    right: 16%;
273
-    
274
-  }
275
-  .circleBottom{
276
-    width: 30px;
277
-    height: 16px;
278
-    border-radius:0 0 15px 15px;
279
-    background-color: #F8F8F8;
280
-    position: absolute;
281
-    top: 0;
282
-    right: 16%;
283
-    
284
-  }
285
   .columnLine{
284
   .columnLine{
286
     height: 50%;
285
     height: 50%;
287
     border-right: 2px dashed #595959;
286
     border-right: 2px dashed #595959;

+ 0
- 4
src/pages/details/mjDetails/sceneryDetails.jsx Целия файл

132
                 <image src={pay} />
132
                 <image src={pay} />
133
                 <view>支付</view>
133
                 <view>支付</view>
134
               </view>
134
               </view>
135
-              <view className='circleTop'></view>
136
-              <view className='circleBottom'></view>
137
               <view className='columnLine'></view>
135
               <view className='columnLine'></view>
138
             </view>
136
             </view>
139
             <view className='foodCard'>
137
             <view className='foodCard'>
176
                 <image src={pay} />
174
                 <image src={pay} />
177
                 <view>支付</view>
175
                 <view>支付</view>
178
               </view>
176
               </view>
179
-              <view className='circleTop'></view>
180
-              <view className='circleBottom'></view>
181
               <view className='columnLine'></view>
177
               <view className='columnLine'></view>
182
             </view>
178
             </view>
183
             <view className='showMore'>
179
             <view className='showMore'>

+ 7
- 23
src/pages/details/mjDetails/sceneryDetails.less Целия файл

115
   }
115
   }
116
 }
116
 }
117
 .foodCard{
117
 .foodCard{
118
-  background: #FFFFFF;
118
+  background: #FFF;
119
   box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
119
   box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
120
   border-radius: 12px;
120
   border-radius: 12px;
121
   position: relative;
121
   position: relative;
122
   margin-bottom: 30px;
122
   margin-bottom: 30px;
123
   overflow: hidden;
123
   overflow: hidden;
124
+  background: radial-gradient(circle at 82% top,transparent 20px,#fff 0) top,
125
+              radial-gradient(circle at 82% bottom,transparent 20px,#fff 0) bottom;
126
+  background-repeat: no-repeat;
127
+  background-size: auto 50%;
124
   .fCleft{
128
   .fCleft{
125
     float: left;
129
     float: left;
126
     width: 82%;
130
     width: 82%;
222
     width: 18%;
226
     width: 18%;
223
     line-height: 0;
227
     line-height: 0;
224
     image{
228
     image{
225
-      width: 35px;
229
+      width:35px;
226
       height:32px;
230
       height:32px;
227
-      margin-top: 135%;
231
+      margin-top: 120%;
228
       margin-left:calc(50% - 15px)
232
       margin-left:calc(50% - 15px)
229
     }
233
     }
230
     view{
234
     view{
236
       text-align: center;
240
       text-align: center;
237
     }
241
     }
238
   }
242
   }
239
-  .circleTop{
240
-    width: 30px;
241
-    height: 16px;
242
-    border-radius: 15px 15px 0 0;
243
-    background-color: #F8F8F8;
244
-    position: absolute;
245
-    bottom: 0;
246
-    right: 16%;
247
-    
248
-  }
249
-  .circleBottom{
250
-    width: 30px;
251
-    height: 16px;
252
-    border-radius:0 0 15px 15px;
253
-    background-color: #F8F8F8;
254
-    position: absolute;
255
-    top: 0;
256
-    right: 16%;
257
-    
258
-  }
259
   .columnLine{
243
   .columnLine{
260
     height: 50%;
244
     height: 50%;
261
     border-right: 2px dashed #595959;
245
     border-right: 2px dashed #595959;