|
@@ -138,9 +138,9 @@ export default withLayout((props) => {
|
138
|
138
|
});
|
139
|
139
|
|
140
|
140
|
return (
|
141
|
|
- <view className="page-index">
|
142
|
|
- <view className="index-navbar">
|
143
|
|
- <CustomNav title="十公里" />
|
|
141
|
+ <view className='page-index'>
|
|
142
|
+ <view className='index-navbar'>
|
|
143
|
+ <CustomNav title='十公里' />
|
144
|
144
|
</view>
|
145
|
145
|
<view
|
146
|
146
|
style={{ overflow: "hidden", padding: "0 30rpx", height: '100%', background: "#F8F8F8" }}
|
|
@@ -149,17 +149,17 @@ export default withLayout((props) => {
|
149
|
149
|
scrollY
|
150
|
150
|
style={{ height: '100%' }}
|
151
|
151
|
>
|
152
|
|
- <view className="storeDetails">
|
|
152
|
+ <view className='storeDetails'>
|
153
|
153
|
<Swiper
|
154
|
|
- className="swiper"
|
|
154
|
+ className='swiper'
|
155
|
155
|
circular
|
156
|
156
|
current={index}
|
157
|
157
|
onChange={handchange}
|
158
|
158
|
>
|
159
|
159
|
{imglist.map((item) => (
|
160
|
160
|
<SwiperItem>
|
161
|
|
- <image src={item.url} mode='aspectFit' className="storeImage">
|
162
|
|
- <view className="tpPage">
|
|
161
|
+ <image src={item.url} mode='aspectFit' className='storeImage'>
|
|
162
|
+ <view className='tpPage'>
|
163
|
163
|
<text>
|
164
|
164
|
{index + 1}/{imglist.length}
|
165
|
165
|
</text>
|
|
@@ -168,13 +168,13 @@ export default withLayout((props) => {
|
168
|
168
|
</SwiperItem>
|
169
|
169
|
))}
|
170
|
170
|
</Swiper>
|
171
|
|
- <view className="storeJs">
|
|
171
|
+ <view className='storeJs'>
|
172
|
172
|
<view style={{ overflow: "hidden" }}>
|
173
|
|
- <view className="storeName">{detail.shopName}</view>
|
174
|
|
- <view className="sprice">
|
175
|
|
- <text className="t1">¥</text>
|
|
173
|
+ <view className='storeName'>{detail.shopName}</view>
|
|
174
|
+ <view className='sprice'>
|
|
175
|
+ <text className='t1'>¥</text>
|
176
|
176
|
{detail.averagePrice / 100}/人
|
177
|
|
- <view className="bzRight">
|
|
177
|
+ <view className='bzRight'>
|
178
|
178
|
<image
|
179
|
179
|
src={baozan}
|
180
|
180
|
style={{
|
|
@@ -188,25 +188,25 @@ export default withLayout((props) => {
|
188
|
188
|
</view>
|
189
|
189
|
</view>
|
190
|
190
|
</view>
|
191
|
|
- <view className="appraise">
|
|
191
|
+ <view className='appraise'>
|
192
|
192
|
<Star star={star} />
|
193
|
193
|
{star}
|
194
|
194
|
<view style={{ float: "right", marginTop: "5px" }}>
|
195
|
|
- <text className="comment">点评:</text>
|
196
|
|
- <text className="t1">口味:{detail.sweetScore}</text>
|
197
|
|
- <text className="t1">环境:{detail.environmentScore}</text>
|
198
|
|
- <text className="t1">服务:{detail.serviceScore}</text>
|
|
195
|
+ <text className='comment'>点评:</text>
|
|
196
|
+ <text className='t1'>口味:{detail.sweetScore}</text>
|
|
197
|
+ <text className='t1'>环境:{detail.environmentScore}</text>
|
|
198
|
+ <text className='t1'>服务:{detail.serviceScore}</text>
|
199
|
199
|
</view>
|
200
|
200
|
</view>
|
201
|
|
- <view className="yysj">
|
202
|
|
- <image src={yysj} className="yysjImg" />
|
|
201
|
+ <view className='yysj'>
|
|
202
|
+ <image src={yysj} className='yysjImg' />
|
203
|
203
|
营业时间:{detail.businessHours}
|
204
|
204
|
</view>
|
205
|
|
- <view className="dpPosition" onClick={openMap}>
|
206
|
|
- <image src={dw} className="dwTip" />
|
|
205
|
+ <view className='dpPosition' onClick={openMap}>
|
|
206
|
+ <image src={dw} className='dwTip' />
|
207
|
207
|
<view>
|
208
|
208
|
{detail.address}
|
209
|
|
- <image src={zhuandao} className="zhuandao" />
|
|
209
|
+ <image src={zhuandao} className='zhuandao' />
|
210
|
210
|
</view>
|
211
|
211
|
</view>
|
212
|
212
|
</view>
|
|
@@ -221,7 +221,7 @@ export default withLayout((props) => {
|
221
|
221
|
display: spackage == "" ? "none" : "",
|
222
|
222
|
}}
|
223
|
223
|
>
|
224
|
|
- <view className="title">
|
|
224
|
+ <view className='title'>
|
225
|
225
|
<image src={titlezs} />
|
226
|
226
|
<text>返现套餐</text>
|
227
|
227
|
</view>
|
|
@@ -229,12 +229,12 @@ export default withLayout((props) => {
|
229
|
229
|
<Cards key={item.packageId} st={star} item={item} det={detail} />
|
230
|
230
|
))}
|
231
|
231
|
<view
|
232
|
|
- className="showMore"
|
|
232
|
+ className='showMore'
|
233
|
233
|
style={{ display: newpgNum == AllpgNum ? "none" : "" }}
|
234
|
234
|
onClick={pgMore}
|
235
|
235
|
>
|
236
|
236
|
<view>查看更多</view>
|
237
|
|
- <image src={showMore} className="moreTip" />
|
|
237
|
+ <image src={showMore} className='moreTip' />
|
238
|
238
|
</view>
|
239
|
239
|
</view>
|
240
|
240
|
<view
|
|
@@ -244,7 +244,7 @@ export default withLayout((props) => {
|
244
|
244
|
display: extend == "" ? "none" : "",
|
245
|
245
|
}}
|
246
|
246
|
>
|
247
|
|
- <view className="title">
|
|
247
|
+ <view className='title'>
|
248
|
248
|
<image src={titlezs} />
|
249
|
249
|
<text>本店指南</text>
|
250
|
250
|
</view>
|
|
@@ -252,16 +252,16 @@ export default withLayout((props) => {
|
252
|
252
|
<Extend key={item.extId} item={item} />
|
253
|
253
|
))}
|
254
|
254
|
<view
|
255
|
|
- className="showMore"
|
|
255
|
+ className='showMore'
|
256
|
256
|
style={{ display: newextNum == AllextNum ? "none" : "" }}
|
257
|
257
|
onClick={extendMore}
|
258
|
258
|
>
|
259
|
259
|
<view>查看更多</view>
|
260
|
|
- <image src={showMore} className="moreTip" />
|
|
260
|
+ <image src={showMore} className='moreTip' />
|
261
|
261
|
</view>
|
262
|
262
|
</view>
|
263
|
263
|
<view
|
264
|
|
- className="botton"
|
|
264
|
+ className='botton'
|
265
|
265
|
style={{ display: newextNum == AllextNum ? "" : "none" }}
|
266
|
266
|
>
|
267
|
267
|
这是我的底线
|
|
@@ -270,20 +270,20 @@ export default withLayout((props) => {
|
270
|
270
|
}
|
271
|
271
|
</scroll-view>
|
272
|
272
|
</view>
|
273
|
|
- <view className="bottomTab">
|
274
|
|
- <Button openType="share" className="sharebtn">
|
|
273
|
+ <view className='bottomTab'>
|
|
274
|
+ <Button openType='share' className='sharebtn'>
|
275
|
275
|
分享
|
276
|
276
|
</Button>
|
277
|
|
- <view className="tab">
|
278
|
|
- <image className="share" src={share} />
|
|
277
|
+ <view className='tab'>
|
|
278
|
+ <image className='share' src={share} />
|
279
|
279
|
分享
|
280
|
280
|
</view>
|
281
|
|
- <view className="tab" onClick={toggleLike}>
|
282
|
|
- <image className="good" style={{ top: '1px' }} src={isLike > 0 ? baozan : weibaozan} />
|
|
281
|
+ <view className='tab' onClick={toggleLike}>
|
|
282
|
+ <image className='good' style={{ top: '1px' }} src={isLike > 0 ? baozan : weibaozan} />
|
283
|
283
|
{isLike > 0 ? "已爆赞" : "爆赞"}
|
284
|
284
|
</view>
|
285
|
|
- <view className="tab" onClick={toggleSave}>
|
286
|
|
- <image className="collection" src={isSaved > 0 ? ax : good} />
|
|
285
|
+ <view className='tab' onClick={toggleSave}>
|
|
286
|
+ <image className='collection' src={isSaved > 0 ? ax : good} />
|
287
|
287
|
{isSaved > 0 ? "已收藏" : "加入收藏"}
|
288
|
288
|
</view>
|
289
|
289
|
</view>
|