Blame view
src/pages/frameDetail/frameDetail.vue
25.7 KB
435c08bd8
|
1 |
<template> |
323398550
|
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
<view class="container"> <view class="D1"> <!-- 轮播图 --> <swiper class="swiperImage" :indicator-dots="true" :autoplay="true" :interval="4000" :duration="500" > <swiper-item v-for="(item, index) in goodInfo.pics" :key="index" > <image :src="item" mode="scaleToFill" ></image> </swiper-item> </swiper> |
089dce19d
|
22 |
<view class="D1_price">¥{{goodInfo.priceArea.Min_Price || '暂无'}}<span class="D1_number">{{goodInfo.trade_num || '暂无'}}人购买过</span></view> |
323398550
|
23 24 25 26 27 28 29 30 31 32 33 |
<view class="D1_name"><span class="D1_name1">{{goodInfo.p_name || '暂无'}}</span></view> <view class="D1_spans"><span>支持7天无理由退货</span><span>顺丰发货</span><span>30天质量保证</span></view> </view> <view class="D2" v-if="updateGoodType == 2 || updateGoodType == 4" > <view><span class="D2_span1">框架材质:</span><span class="D2_span2">{{introduction.material}}</span></view> <view><span class="D2_span1">风格:</span><span class="D2_span2">{{introduction.func}}</span></view> <view><span class="D2_span1">适用性别:</span><span class="D2_span2">{{introduction.rate}}</span></view> </view> |
089dce19d
|
34 |
<!-- <view |
323398550
|
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
class="D2" v-if="updateGoodType == 1" > <view><span class="D2_span1">镜片材质:</span><span class="D2_span2">{{introduction.material}}</span></view> <view><span class="D2_span1">功能:</span><span class="D2_span2">{{introduction.func}}</span></view> <view><span class="D2_span1">使用场景:</span><span class="D2_span2">{{introduction.rate}}</span></view> </view> <view class="D2" v-if="updateGoodType == 3" > <view><span class="D2_span1">材质:</span><span class="D2_span2">{{introduction.material}}</span></view> <view><span class="D2_span1">直径/基弧:</span><span class="D2_span2">{{introduction.func}}</span></view> <view><span class="D2_span1">适用性别:</span><span class="D2_span2">{{introduction.rate}}</span></view> |
089dce19d
|
49 |
</view> --> |
323398550
|
50 51 52 53 54 55 56 57 58 59 60 |
<view class="D3"> <view class="screenBar"> <view v-for="item in screenItems" :key="item.current" @click="tabChange(item.current)" > <view class="screenItem" v-bind:class="{ active: current === item.current }" >{{ item.text || '暂无' }}</view> |
435c08bd8
|
61 |
</view> |
323398550
|
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
</view> <view class="screen-item" v-if="current === 1" > <view class="D3_list"> <view v-for="(item) in parameter" :key="item.key" > <image class="D3_image" v-bind:src="item.img" ></image> <span>{{item.standard || '暂无'}}</span> <span>{{item.slength || '暂无'}}</span> </view> |
435c08bd8
|
79 |
</view> |
323398550
|
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
</view> <view class="screen-item" v-if="current === 0" > <view class="D3_list"> <!-- <block> <view>主体</view> <view>商品产地:韩国</view> <view>包装清单:彩色隐形 * 1</view> </block> --> <!-- 迭代时建议配合接口修改 为数组 --> <view v-if="tag.prod_tag_age && tag.prod_tag_age.length !== 0"> <view class=""> 年龄:<view v-for="(item,index) in tag.prod_tag_age" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_age.length - 1">/</text> </view> |
435c08bd8
|
100 |
</view> |
323398550
|
101 102 103 104 105 106 107 108 109 |
</view> <view v-if="tag.prod_tag_color && tag.prod_tag_color.length !== 0"> <view class=""> 颜色:<view v-for="(item,index) in tag.prod_tag_color" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_color.length - 1">/</text> </view> |
435c08bd8
|
110 |
</view> |
323398550
|
111 112 113 114 115 116 117 118 119 |
</view> <view v-if="tag.prod_tag_face && tag.prod_tag_face.length !== 0"> <view class=""> 脸型:<view v-for="(item,index) in tag.prod_tag_face" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_face.length - 1">/</text> </view> |
435c08bd8
|
120 |
</view> |
323398550
|
121 122 123 124 125 126 127 128 129 |
</view> <view v-if="tag.prod_tag_freesend && tag.prod_tag_freesend.length !== 0"> <view class=""> 赠品:<view v-for="(item,index) in tag.prod_tag_freesend" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_freesend.length - 1">/</text> </view> |
435c08bd8
|
130 |
</view> |
323398550
|
131 132 133 134 135 136 137 138 139 |
</view> <view v-if="tag.prod_tag_insurance && tag.prod_tag_insurance.length !== 0"> <view class=""> 保险:<view v-for="(item,index) in tag.prod_tag_insurance" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_insurance.length - 1">/</text> </view> |
435c08bd8
|
140 |
</view> |
323398550
|
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
</view> <view v-if="tag.prod_tag_metal && tag.prod_tag_metal.length !== 0"> <view class=""> 材质:<view v-for="(item,index) in tag.prod_tag_metal" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_metal.length - 1">/</text> </view> </view> </view> <view v-if="tag.prod_tag_personal && tag.prod_tag_personal.length !== 0"> <view class=""> 个性:<view v-for="(item,index) in tag.prod_tag_personal" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_personal.length - 1">/</text> </view> </view> </view> <view v-if="tag.prod_tag_sense && tag.prod_tag_sense.length !== 0"> <view class=""> 场景:<view v-for="(item,index) in tag.prod_tag_sense" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_sense.length - 1">/</text> </view> </view> </view> <view v-if="tag.prod_tag_sex && tag.prod_tag_sex.length !== 0"> <view class=""> 性别:<view v-for="(item,index) in tag.prod_tag_sex" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_sex.length - 1">/</text> </view> </view> </view> <view v-if="tag.prod_tag_style && tag.prod_tag_style.length !== 0"> <view class=""> 风格:<view v-for="(item,index) in tag.prod_tag_style" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_style.length - 1">/</text> </view> </view> </view> <view v-if="tag.prod_tag_weight && tag.prod_tag_weight.length !== 0"> <view class=""> 重量:<view v-for="(item,index) in tag.prod_tag_weight" :key="index" > {{item.label}}<text v-if="index !== tag.prod_tag_weight.length - 1">/</text> </view> </view> </view> |
435c08bd8
|
202 |
</view> |
323398550
|
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
</view> <view class="screen-item " v-if="current ===2" > <view class="customerService"> <view class="serviceItem"> <view class="title"> <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view> <text class="titleText">卖家服务</text> </view> <view class="itemContent">平台卖家服务,为您在平台获得最优的购买体验</view> </view> <view class="serviceItem"> <view class="title"> <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view> <text class="titleText">平台承诺</text> </view> <view class="itemContent">平台卖家服务,为您在平台获得最优的购买体验阿斯蒂芬的发射点发射点发生的房贷首付的发护法国会国家和国际会更加和</view> </view> <view class="serviceItem"> <view class="title"> <view style="width: 6rpx;height: 6rpx;border-radius: 3rpx;background-color: #FF6B4A;margin-right: 12rpx;"></view> <text class="titleText">正品保证</text> </view> <view class="itemContent">向您保证所售商品均为正品行货</view> </view> <view class="serviceItem2"> <view class="title"> <text class="titleText">权利申明</text> </view> <view class="itemContent">任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知。</view> </view> <view class="serviceItem2"> <view class="title"> <text class="titleText">价格保证</text> </view> <view class="itemContent"> <view class="itemContent-child"> <text class="contentTitle">平台价:</text> <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> </view> <view class="itemContent-child"> <text class="contentTitle">划线价:</text> <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> </view> <view class="itemContent-child"> <text class="contentTitle">平折扣:</text> <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> </view> <view class="itemContent-child"> <text class="contentTitle">异常问题:</text> <text>任何个人或单位如果同时符合以下两个条件:1. 权利人发现网络用户利用网络服务侵害其合法权益;2. 百度的搜索引擎系统以自动检索方式而链接到第三方网站的内容侵犯了上述权利人的合法权益。请上述个人或单位务必以书面的通讯方式向百度提交权利通知</text> </view> |
435c08bd8
|
257 |
|
435c08bd8
|
258 |
</view> |
323398550
|
259 260 261 262 263 264 265 266 267 |
</view> </view> </view> </view> <view class="D4" v-if="current !==2" > <view class="D4_esvalue"> |
54d61dc1c
|
268 |
<view>{{esvalue}} {{goodInfo.judgeInfo.good}}</view> |
323398550
|
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
<view class="D4_2"> <view class="star" v-for="o in starCount" :key="o" > <image src="../../static/img/detail/d_star.png" mode="aspectFill" style="height: 26rpx; width: 28rpx;" ></image> </view> </view> </view> <view class="D4_list"> <view |
54d61dc1c
|
285 |
v-for="(assess) in goodInfo.judge_tag" |
323398550
|
286 |
:key="assess.key" |
54d61dc1c
|
287 |
>{{assess.name}}</view> |
323398550
|
288 289 290 291 292 293 |
</view> </view> <view class="D5" v-if="current !==2" > |
54d61dc1c
|
294 |
<view class="D5_fixed1" @click="consolg(goodInfo.prodIntro1)"> |
323398550
|
295 296 297 298 |
<image src="/static/img/detail/hr.png"></image> <view>商品详细</view> <image src="/static/img/detail/hr.png"></image> </view> |
54d61dc1c
|
299 300 301 302 |
<view class="D5_all" v-html="test"> <!-- <block> <rich-text :nodes="goodInfo.prodIntro1"></rich-text> </block> --> |
323398550
|
303 304 |
</view> </view> |
323398550
|
305 306 307 308 309 310 |
<!-- 底部菜单 --> <view class="botton"> <view @tap="toCart()" class="botton_1" > |
b38a27f3e
|
311 312 313 314 |
<view class="cart_icon"> <image v-bind:src="imgShop.img"/> <text>{{cartNumber}}</text> </view> |
323398550
|
315 316 317 |
<view class="botton_image">购物车</view> </view> <view class="botton_2"> |
54d61dc1c
|
318 319 |
<view class="botton_input" |
22e1420fa
|
320 |
@tap="showBottom(1)" |
54d61dc1c
|
321 |
>加入购物车</view> |
323398550
|
322 323 |
<view class="botton_now" |
607bc3a4d
|
324 |
|
22e1420fa
|
325 |
@click="showBottom(2)" |
323398550
|
326 327 |
>立即购买</view> </view> |
607bc3a4d
|
328 |
</view> |
0bda9efec
|
329 330 |
<BottomSheet v-if="isShowBottom" :isCart="isCart" @addCart="addCart" :pid="pid" :goodInfo="goodInfo" :isShowBottom="isShowBottom" @closeBottom="closeBottom"></BottomSheet> |
323398550
|
331 |
</view> |
435c08bd8
|
332 |
</template> |
323398550
|
333 |
<script> |
607bc3a4d
|
334 |
import store from '@/store' |
22e1420fa
|
335 |
import BottomSheet from '../../components/BottomSheet/BottomSheet.vue'; |
607bc3a4d
|
336 337 338 339 |
export default { components:{ BottomSheet, }, |
323398550
|
340 |
data () { |
607bc3a4d
|
341 |
return { |
22e1420fa
|
342 |
isCart:Number, |
607bc3a4d
|
343 |
isShowBottom : false, //底部弹窗开关 |
54d61dc1c
|
344 |
test: '', |
323398550
|
345 |
goodType: 2, |
323398550
|
346 347 348 |
screenItems: [ { current: 0, text: '商品介绍' }, { current: 1, text: '规格参数' }, |
089dce19d
|
349 |
{ current: 2, text: '售后保障' }, |
323398550
|
350 351 352 353 354 355 356 357 358 |
], current: 0, starCount: 5, parameter: [ { key: 0, img: '/static/img/detail/d2.png', standard: '框架宽', slength: '139mm' }, { key: 1, img: '/static/img/detail/d3.png', standard: '镜片宽', slength: '51mm' }, { key: 2, img: '/static/img/detail/d4.png', standard: '镜片高', slength: '45mm' }, { key: 3, img: '/static/img/detail/d5.png', standard: '鼻架宽', slength: '19mm' }, { key: 4, img: '/static/img/detail/d6.png', standard: '框架耳长', slength: '138mm' }, |
089dce19d
|
359 |
{ key: 5, img: '/static/img/detail/d7.png', standard: '框架重', slength: '19mm' }, |
323398550
|
360 |
], |
54d61dc1c
|
361 |
esvalue: '宝贝好评率', |
323398550
|
362 363 364 |
introduction: { material: '钛合金', func: '抗疲劳/防辐射', |
089dce19d
|
365 |
rate: '男/女', |
323398550
|
366 367 368 369 370 371 |
}, imgAll: '/static/img/detail/d8.png', photoes: [ { value: '日常办公', img: '/static/img/detail/d9.png' }, { value: '上网', img: '/static/img/detail/d10.png' }, { value: '追剧', img: '/static/img/detail/d11.png' }, |
089dce19d
|
372 |
{ value: '玩游戏', img: '/static/img/detail/d12.png' }, |
323398550
|
373 374 375 376 |
], imgDetail: '/static/img/detail/d13.png', imgShop: { img: '/static/tab-cart.png', |
089dce19d
|
377 |
IsShown: false, |
323398550
|
378 379 380 381 |
}, tag: { prod_tag_freesend: [{ label: '眼镜盒', |
089dce19d
|
382 383 |
value: '262', }], |
0bda9efec
|
384 385 |
}, |
22e1420fa
|
386 |
pid: Number, |
0bda9efec
|
387 388 389 390 391 392 393 394 395 396 397 |
// 购物车数据 addCartList: { uid: Number,//用户的唯一识别码 openid: String, mp_id: Number,//使用人 sk_id: Number,//产品的sku_id num: Number,//购买数量 pid: Number,//产品id price: Number,//价格 checkedSKU:Object//产品信息 }, |
323398550
|
398 399 |
} }, |
a3d2beaa8
|
400 |
onLoad: function ({ pid, sk_id: skId }) { |
323398550
|
401 |
this.pid = pid |
5638d36da
|
402 |
// console.log('sk_id=====>',sk_id) |
323398550
|
403 |
store.dispatch('read/fetch', { |
089dce19d
|
404 |
pid, |
22e1420fa
|
405 |
// sk_id: skId, |
323398550
|
406 407 408 409 410 411 412 413 |
}).then(() => { this.parameter[0].slength = `${this.goodInfo.frame_width}mm` this.parameter[1].slength = `${this.goodInfo.glass_width}mm` this.parameter[2].slength = `${this.goodInfo.glass_height}mm` this.parameter[3].slength = `${this.goodInfo.nose_width}mm` this.parameter[4].slength = `${this.goodInfo.leg_long}mm` this.parameter[5].slength = `${this.goodInfo.weight}mm` this.tag = this.goodInfo.tag |
54d61dc1c
|
414 |
this.test = this.goodInfo.prodIntro1 |
cce344b20
|
415 |
this.test = this.test.replace(/\<img/gi, '<img style="max-width:100%;height:auto"') |
0bda9efec
|
416 417 418 419 |
// addCart this.addCartList.uid = this.$store.state.user.userInfo.uid this.addCartList.openid = this.$store.state.user.userInfo.openid this.addCartList.pid = this.goodInfo.pid |
0466216f3
|
420 |
this.addCartList.price = this.goodInfo.priceArea.Min_Price |
323398550
|
421 |
}) |
b38a27f3e
|
422 |
store.dispatch('cart/getCartList') |
006e96547
|
423 |
// console.log(this.$store.state.user.userInfo.uid + 'ssss') |
323398550
|
424 425 426 427 428 429 |
}, computed: { updateGoodType () { return this.goodType }, goodInfo () { |
607bc3a4d
|
430 |
// console.log(this.$store.state.read.goodInfo) |
323398550
|
431 |
return this.$store.state.read.goodInfo |
089dce19d
|
432 |
}, |
b38a27f3e
|
433 434 435 |
cartNumber() { return this.$store.state.cart.cartList.length || 0 }, |
323398550
|
436 |
}, |
607bc3a4d
|
437 438 |
methods: { //底部弹窗开关 |
0bda9efec
|
439 440 |
showBottom(isCart){ this.isCart = isCart; |
607bc3a4d
|
441 442 443 444 445 |
this.isShowBottom = true; }, closeBottom(){ this.isShowBottom = false; }, |
323398550
|
446 447 448 449 450 451 |
// 前往购物车 toCart() { uni.switchTab({ url: '/pages/cart/cart', success: res => {}, fail: (error) => { console.log('跳转购物车失败======>', error) }, |
089dce19d
|
452 |
complete: () => { console.log('toCart') }, |
323398550
|
453 454 |
}) }, |
637a02b07
|
455 |
// 加入购物车 |
0bda9efec
|
456 457 458 459 460 461 462 |
addCart (mp_id,num,checkedSKU,sk_id) { this.addCartList.mp_id = mp_id this.addCartList.sk_id = sk_id this.addCartList.num = num this.addCartList.checkedSKU = checkedSKU console.log('添加购物车的参数',this.addCartList) store.dispatch('cart/addCart', this.addCartList).then((res)=>{ |
22e1420fa
|
463 464 465 466 467 468 |
if(res.code == 1){ uni.showToast({ title:'添加成功~', icon:'success' }) } |
0bda9efec
|
469 470 471 472 473 |
// 再次请求购物车接口,实现实时更新 store.dispatch('cart/getCartList', { uid: this.$store.state.user.userInfo.uid, }) }) |
637a02b07
|
474 |
}, |
323398550
|
475 476 477 478 479 480 481 482 |
goPerchase () { // switch (this.updateGoodType) { // case '1': console.log('goPerchase') uni.navigateTo({ url: `../purchaseLenses/purchaseLenses?pid=${this.pid}`, success: res => {}, fail: (error) => { console.log('跳转参数选择失败======>', error) }, |
089dce19d
|
483 |
complete: () => { console.log('goPerchase') }, |
323398550
|
484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 |
}) // break // case '2': // uni.navigateTo({ // url: '../detailStandard/detailStandard_k', // success: res => {}, // fail: () => {}, // complete: () => {} // }) // break // case '3': // uni.navigateTo({ // url: '../purchaseLenses/purchaseLenses', // success: res => {}, // fail: () => {}, // complete: () => {} // }) // break // case '4': // uni.navigateTo({ // url: '../detailStandard/detailStandard_sun', // success: res => {}, // fail: () => {}, // complete: () => {} // }) // break // default : // break // } }, |
637a02b07
|
514 |
// 加入购物车 |
5638d36da
|
515 516 517 518 519 520 521 522 523 524 525 |
// addCart () { // store.dispatch('cart/addCart', { // uid: this.$store.state.user.userInfo.uid, // openid: this.$store.state.user.userInfo.openid, // pid: this.pid, // checkedSKU: {}, // }) // store.dispatch('cart/getCartList', { // uid: this.$store.state.user.userInfo.uid, // 用户id // }) // }, |
323398550
|
526 527 528 529 |
tabChange (e) { if (this.current !== e) { this.current = e } |
089dce19d
|
530 531 |
}, }, |
435c08bd8
|
532 533 534 |
} </script> <style lang='scss'> |
323398550
|
535 536 537 538 539 540 541 542 543 544 545 546 547 548 |
.container { background-color: #f8f8f8; } .D1, .D2, .D3, .D4, .D6 { background: #ffffff; margin-bottom: 10px; padding: 8px 20px 8px 20px; box-sizing: border-box; .swiperImage { width: 684rpx; |
637a02b07
|
549 |
height: 480rpx; |
323398550
|
550 |
image { |
637a02b07
|
551 552 |
max-width: 100%; max-height: 100%; |
323398550
|
553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 |
border-radius: 16rpx; } } } .D5 { background: #ffffff; padding: 8px 20px 8px 20px; box-sizing: border-box; } .swiperImage { width: 100%; height: 560rpx; .swiper-item { width: 100%; image { width: 100%; |
435c08bd8
|
569 |
} |
323398550
|
570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
} } .D1 { .D1_price { color: #eb5d3b; font-size: 18px; margin-top: 5px; font-family: "PingFangSC-Semibold"; display: flex; justify-content: space-between; .D1_number { color: #999999; font-size: 14px; font-family: "PingFangSC-Regular"; |
435c08bd8
|
584 |
} |
323398550
|
585 586 587 588 589 590 591 592 593 |
} .D1_name { font-size: 16px; font-family: "PingFangSC-Semibold"; margin-top: 5px; .D1_name1 { font-weight: bold; font-size: 16px; color: #333333; |
435c08bd8
|
594 |
} |
323398550
|
595 596 597 598 599 600 601 602 |
} .D1_spans { font-size: 10px; color: #999999; margin-top: 5px; span { height: 14px; margin-right: 10px; |
435c08bd8
|
603 |
} |
323398550
|
604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
} } .D2 { font-size: 14px; font-family: "PingFangSC-Regular"; view { height: 24px; } .D2_span1 { color: #999999; } .D2_span2 { color: #333333; } } .D3 { .screenBar { width: 670rpx; margin-top: 20rpx; margin-bottom: 24rpx; display: flex; flex-direction: row; justify-content: space-between; align-items: center; font-size: 14px; color: #333333; transition: all 0.2s; } .screen-item { font-size: 32rpx; color: #333333; display: flex; transition: all 0.2s; .D3_list { margin-bottom: 4px; } .D3_list view { display: flex; align-content: center; font-size: 14px; color: #333333; } .D3_list image { width: 50px; height: 25px; margin-right: 6px; } .D3_list span { margin-left: 6px; margin-right: 5px; font-family: "PingFangSC-Regular"; } } .active { border-bottom: 4rpx solid #ff6b4a; } .customerService { margin-bottom: 90rpx; .serviceItem { margin-bottom: 32rpx; .title { display: flex; flex-direction: row; align-items: center; .titleText { font-size: 14px; color: #333333; margin-bottom: 12rpx; |
435c08bd8
|
672 |
} |
323398550
|
673 674 675 676 677 678 |
} .itemContent { font-size: 14px; color: #999999; margin-left: 18rpx; } |
435c08bd8
|
679 |
} |
323398550
|
680 681 682 683 |
.serviceItem2 { margin-left: 18rpx; margin-bottom: 32rpx; .titleText { |
435c08bd8
|
684 |
font-size: 14px; |
323398550
|
685 686 687 688 689 690 691 692 693 694 |
color: #ff6b4a; } .itemContent { font-size: 14px; color: #999999; .itemContent-child { margin-bottom: 40rpx; .contentTitle { border-bottom: 1px solid #ff6b4a; } |
435c08bd8
|
695 |
} |
323398550
|
696 |
} |
435c08bd8
|
697 |
} |
323398550
|
698 699 700 701 702 703 704 705 706 707 708 709 710 711 |
} } .D4 { .D4_esvalue { font-size: 14px; color: #333333; display: flex; justify-content: space-between; margin-bottom: 10px; .D4_2 { width: 90px; display: flex; align-items: center; justify-content: space-between; |
435c08bd8
|
712 |
} |
323398550
|
713 714 715 716 717 718 |
} .D4_esvalue view { font-size: 14px; color: #333333; font-weight: bold; } |
54d61dc1c
|
719 720 721 722 723 |
.D4_list{ display: grid; grid-row-gap: 10px; grid-column-gap: 4px; } |
323398550
|
724 |
.D4_list view { |
54d61dc1c
|
725 726 727 |
display: flex; justify-content: center; align-items: center; |
323398550
|
728 |
font-size: 12px; |
54d61dc1c
|
729 |
width: 118px; |
323398550
|
730 |
height: 24px; |
54d61dc1c
|
731 |
border-radius: 2px; |
323398550
|
732 733 |
background: #f2f2f2; color: #666666; |
54d61dc1c
|
734 |
// letter-spacing: 1px; |
323398550
|
735 736 737 738 739 740 741 742 743 744 745 746 747 748 |
} } .D5 { .D5_fixed1 { display: flex; justify-content: space-between; align-content: center; margin-bottom: 12px; view { font-size: 14px; color: #333333; font-weight: bold; font-family: "PingFangSC-Medium"; line-height: 24px; |
435c08bd8
|
749 |
} |
323398550
|
750 751 752 753 |
image { width: 240rpx; height: 3px; margin-top: 10px; |
435c08bd8
|
754 |
} |
323398550
|
755 756 757 |
} .D5_all { width: 100%; |
54d61dc1c
|
758 759 760 |
margin-top: 30rpx; margin-right: 30rpx; margin-bottom: 180rpx; |
323398550
|
761 |
font-family: "PingFangSC-Regular"; |
54d61dc1c
|
762 |
// border: #999999 solid 1.5px; |
323398550
|
763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 |
} } .D6 { width: 100%; height: 430px; background: #f9f6ed; margin-bottom: 74px; view { text-align: center; } .D6_v1 { font-weight: bold; } .D6_v2 { font-size: 14px; margin-bottom: 30px; } .D6_v5 { .D6_v5_s1 { font-weight: bold; } .D6_v5_s2 { font-size: 14px; } } } .botton { position: fixed; bottom: 0; height: 74px; width: 100%; background: #ffffff; padding: 20px 20px 8px 20px; font-family: "PingFangSC-Regular"; box-sizing: border-box; display: flex; justify-content: space-between; align-content: center; .botton_1 { width: 20%; height: 100%; text-align: center; color: #989898; |
b38a27f3e
|
806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 |
.cart_icon { position: relative; image { } text { position: absolute; color: white; font-size: 17px; background-color: red; min-height: 24px; min-width:24px; line-height: 24px; right: -12%; top: -12px; text-align: center; border-radius: 24px; padding:2px; } } |
323398550
|
826 827 |
} image { |
607bc3a4d
|
828 829 |
width: 42%; height: 26px; |
323398550
|
830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 |
} .botton_image { font-size: 12px; text-align: center; } .botton_2 { width: 74%; height: 86%; display: grid; grid-template-columns: 50% 50%; } .botton_input { display: inline-flex; align-items: center; justify-content: space-around; background: #fff0ec; font-size: 16px; color: #ff6b4a; border-radius: 20px 0 0 20px; } .botton_now { display: inline-flex; align-items: center; justify-content: space-around; background: #ff6b4a; font-size: 16px; color: #ffffff; border-radius: 0 20px 20px 0; } |
607bc3a4d
|
859 860 861 862 863 864 865 |
} /* 隐藏滚动条 */ ::-webkit-scrollbar { width: 0; height: 0; color: transparent; } |
323398550
|
866 |
</style> |