Blame view
src/pages/purchaseLenses/purchaseLenses.vue
29 KB
9ff2df1bf 文件名称规范 |
1 |
<template> |
323398550 若干功能添加 |
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<view class="content"> <view class="goodInfo"> <view class="imageWrap"> <image src="../../static/img/detail/d1.png" mode="aspectFill" style="width: 188rpx;height: 168rpx;" ></image> </view> <view class="infoRight"> <text class="goodName">商品名称商品名称商品名称名称名称商品名称名商品名称名</text> <text class="remarks">支持7天无理由退货 顺丰发货</text> <view class="priceBox"> <view class="price">¥198</view> <text>(限购{{maxCount}}副)</text> <view class="counter"> <view class="btn" disabled="this.addDisabled" type="default" @click="counter(false)" >-</view> <text>{{count}}</text> <view class="btn" disabled="this.desDisabled" type="default" @click="counter(true)" >+</view> </view> </view> </view> </view> |
7d6833f2c 地址列表 |
35 36 37 38 39 40 |
<view class="goods-data"> <view class="opCollapse"> <view class="body"> <template v-if="opIsOpen"> <view class="goods-form"> <view class="data-title"> |
323398550 若干功能添加 |
41 |
<image src="../../static/icon-data.png"></image> |
7d6833f2c 地址列表 |
42 43 44 |
<text class="p1">填写验光数据</text> </view> <text class="p2">没有验光数据?请到线下眼镜店验光哦~</text> |
323398550 若干功能添加 |
45 |
<view class="picker"> |
7d6833f2c 地址列表 |
46 47 48 49 |
<view class="picker-choice"> <view class="choice-left"> <text class="p11">验光单取名:</text> </view> |
323398550 若干功能添加 |
50 51 |
<input class="choice-name uni-input" |
87eade409 验光数据填充检测 |
52 53 |
:value="dataName" @blur="fillData" |
323398550 若干功能添加 |
54 55 |
placeholder="下系" /> |
7d6833f2c 地址列表 |
56 57 |
</view> </view> |
323398550 若干功能添加 |
58 |
<view class="picker"> |
7d6833f2c 地址列表 |
59 60 61 62 63 64 65 |
<view class="picker-choice"> <view class="choice-left"> <text class="p11">{{pickerInfoList[0].nameC}}</text> <text class="p12">{{pickerInfoList[0].nameE}}</text> </view> <text class="p13">左 (OD)</text> <text class="p14">{{pickerInfoList[0].nameArray1[pickerInfoList[0].nameIndex1]}}</text> |
323398550 若干功能添加 |
66 67 68 69 70 71 |
<picker @change="bindPickerChange01" :value="pickerInfoList[0].nameIndex1" :range="pickerInfoList[0].nameArray1" > <image src="../../static/detail-tabicon.png"></image> |
7d6833f2c 地址列表 |
72 73 74 |
</picker> <text class="p13">右 (OS)</text> <text class="p14">{{pickerInfoList[0].nameArray2[pickerInfoList[0].nameIndex2]}}</text> |
323398550 若干功能添加 |
75 76 77 78 79 80 |
<picker @change="bindPickerChange02" :value="pickerInfoList[0].nameIndex2" :range="pickerInfoList[0].nameArray2" > <image src="../../static/detail-tabicon.png"></image> |
7d6833f2c 地址列表 |
81 82 83 |
</picker> </view> </view> |
323398550 若干功能添加 |
84 |
<view class="picker"> |
7d6833f2c 地址列表 |
85 |
<view class="picker-choice"> |
323398550 若干功能添加 |
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
<view class="choice-left"> <text class="p11">{{pickerInfoList[1].nameC}}</text> <text class="p12">{{pickerInfoList[1].nameE}}</text> </view> <text class="p13">左 (OD)</text> <text class="p14">{{pickerInfoList[1].nameArray1[pickerInfoList[1].nameIndex1]}}</text> <picker @change="bindPickerChange11" :value="pickerInfoList[1].nameIndex1" :range="pickerInfoList[1].nameArray1" > <image src="../../static/detail-tabicon.png"></image> </picker> <text class="p13">右 (OS)</text> <text class="p14">{{pickerInfoList[1].nameArray2[pickerInfoList[1].nameIndex2]}}</text> <picker @change="bindPickerChange12" :value="pickerInfoList[1].nameIndex2" :range="pickerInfoList[1].nameArray2" > <image src="../../static/detail-tabicon.png"></image> </picker> |
7d6833f2c 地址列表 |
108 109 |
</view> </view> |
323398550 若干功能添加 |
110 |
<view class="picker"> |
7d6833f2c 地址列表 |
111 |
<view class="picker-choice"> |
323398550 若干功能添加 |
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
<view class="choice-left"> <text class="p11">{{pickerInfoList[2].nameC}}</text> <text class="p12">{{pickerInfoList[2].nameE}}</text> </view> <text class="p13">左 (OD)</text> <text class="p14">{{pickerInfoList[2].nameArray1[pickerInfoList[2].nameIndex1]}}</text> <picker @change="bindPickerChange21" :value="pickerInfoList[2].nameIndex1" :range="pickerInfoList[2].nameArray1" > <image src="../../static/detail-tabicon.png"></image> </picker> <text class="p13">右 (OS)</text> <text class="p14">{{pickerInfoList[2].nameArray2[pickerInfoList[2].nameIndex2]}}</text> <picker @change="bindPickerChange22" :value="pickerInfoList[2].nameIndex2" :range="pickerInfoList[2].nameArray2" > <image src="../../static/detail-tabicon.png"></image> </picker> |
7d6833f2c 地址列表 |
134 135 |
</view> </view> |
323398550 若干功能添加 |
136 |
<view class="picker"> |
7d6833f2c 地址列表 |
137 |
<view class="picker-choice"> |
323398550 若干功能添加 |
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
<view class="choice-left"> <text class="p11">{{pickerInfoList[3].nameC}}</text> <text class="p12">{{pickerInfoList[3].nameE}}</text> </view> <text class="p13">左 (OD)</text> <text class="p14">{{pickerInfoList[3].nameArray1[pickerInfoList[3].nameIndex1]}}</text> <picker @change="bindPickerChange31" :value="pickerInfoList[3].nameIndex1" :range="pickerInfoList[3].nameArray1" > <image src="../../static/detail-tabicon.png"></image> </picker> <text class="p13">右 (OS)</text> <text class="p14">{{pickerInfoList[3].nameArray2[pickerInfoList[3].nameIndex2]}}</text> <picker @change="bindPickerChange32" :value="pickerInfoList[3].nameIndex2" :range="pickerInfoList[3].nameArray2" > <image src="../../static/detail-tabicon.png"></image> </picker> |
7d6833f2c 地址列表 |
160 161 |
</view> </view> |
323398550 若干功能添加 |
162 |
<view class="picker"> |
7d6833f2c 地址列表 |
163 |
<view class="picker-choice"> |
323398550 若干功能添加 |
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 202 |
<view class="choice-left"> <text class="p11">{{pickerInfoList[4].nameC}}</text> </view> <text class="p13-date">年 (Y)</text> <text class="p14" style="width: 34px;" >{{pickerInfoList[4].nameArray1[pickerInfoList[4].nameIndex1]}}</text> <picker @change="bindPickerChange41" :value="pickerInfoList[4].nameIndex1" :range="pickerInfoList[4].nameArray1" > <image src="../../static/detail-tabicon.png"></image> </picker> <text class="p13-date">月 (M)</text> <text class="p14" style="width: 30px;" >{{pickerInfoList[4].nameArray2[pickerInfoList[4].nameIndex2]}}</text> <picker @change="bindPickerChange42" :value="pickerInfoList[4].nameIndex2" :range="pickerInfoList[4].nameArray2" > <image src="../../static/detail-tabicon.png"></image> </picker> <text class="p13-date">日 (D)</text> <text class="p14" style="width: 30px;" >{{pickerInfoList[4].nameArray3[pickerInfoList[4].nameIndex3]}}</text> <picker @change="bindPickerChange43" :value="pickerInfoList[4].nameIndex3" :range="pickerInfoList[4].nameArray3" > <image src="../../static/detail-tabicon.png"></image> </picker> |
7d6833f2c 地址列表 |
203 204 205 |
</view> </view> <view class="confirm"> |
323398550 若干功能添加 |
206 207 208 209 |
<image :src="tablist.confirm ? tabicon[0] : tabicon[1]" @click="changeConfirm" ></image> |
7d6833f2c 地址列表 |
210 211 212 |
<text>确认以上输入信息来源于我的验光数据!</text> </view> </view> |
323398550 若干功能添加 |
213 |
|
7d6833f2c 地址列表 |
214 215 |
</template> <template v-else> |
323398550 若干功能添加 |
216 217 218 219 220 |
<view v-for="item in pickerInfoList" :key="item.key" class="bodyBox" > |
7d6833f2c 地址列表 |
221 222 223 224 225 226 227 228 229 230 |
<template v-if="item.nameC==='验光日期'"> <text class="names">{{item.nameC}}</text> <text style="margin-right: 5px;">{{item.nameArray1[item.nameIndex1]}}年</text> <text style="margin-right: 5px;">{{item.nameArray2[item.nameIndex2]}}月</text> <text>{{item.nameArray3[item.nameIndex2]}}日</text> </template> <template v-else> <template v-if="item.nameC==='度数'"> <text style="display: inline;">*</text> </template> |
323398550 若干功能添加 |
231 232 233 234 |
<text class="names">{{item.nameC}}</text> <text style="margin-right: 10px;">左 {{item.nameArray1[item.nameIndex1]}}</text> <text>右 {{item.nameArray2[item.nameIndex2]}}</text> |
7d6833f2c 地址列表 |
235 236 237 238 239 240 |
</template> </view> </template> </view> </view> </view> |
323398550 若干功能添加 |
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 |
<view class="choose"> <view class="chooseItem_1_content" v-for="(item,index) in attrList" :key="index" > <UniCollapse @change="change(index)"> <UniCollapseItem :open="show[index]" :title="item.meta_name" showAnimation=false > <view class="chooseItem_1_content"> <view class="itemsWrap"> <view class="item2" v-for="(one,i) in item.attr" :key="i" :class="{ active2: current[index] === i }" @click="onClickItem(index, i)" >{{one.name}}</view> </view> </view> </UniCollapseItem> </UniCollapse> <view class="chooseRes" v-show="!show[index]" >* {{attrList[index].attr[current[index]].name}}</view> </view> <!-- <view class="chooseItem_1 chooseItem"> <UniCollapse @change="change(1)"> <UniCollapseItem open=true title="款式挑选" showAnimation=false > <view class="chooseRes" v-show="show[1]" >* {{chooseRes1}}</view> |
7d6833f2c 地址列表 |
282 283 |
<view class="chooseItem_1_content"> <view class="itemsWrap"> |
323398550 若干功能添加 |
284 285 286 287 288 289 290 |
<view class="item1" v-for="(item,index) in chooseItem1" :key="index" :style="item.style" :class="{ active1: current1 === index }" @click="onClickItem1(index)" |
7d6833f2c 地址列表 |
291 292 293 294 |
></view> </view> </view> </UniCollapseItem> |
323398550 若干功能添加 |
295 296 297 298 299 300 301 302 303 304 305 306 307 |
</UniCollapse> <view class="chooseRes" v-show="show[1]" >* {{chooseRes1}}</view> </view> <view class="chooseItem_2 chooseItem "> <UniCollapse @change="change(2)"> <UniCollapseItem open=true title="直径" showAnimation=false > |
7d6833f2c 地址列表 |
308 309 |
<view class="chooseItem_1_content"> <view class="itemsWrap"> |
323398550 若干功能添加 |
310 311 312 313 314 315 |
<view class="item2" v-for="(item,index) in chooseItem2" :key="index" :class="{ active2: current2 === index }" @click="onClickItem2(index)" |
7d6833f2c 地址列表 |
316 317 318 319 |
>{{item.num}}</view> </view> </view> </UniCollapseItem> |
323398550 若干功能添加 |
320 321 322 323 324 325 326 327 328 329 330 331 332 |
</UniCollapse> <view class="chooseRes" v-show="show[2]" >* {{chooseRes2}}</view> </view> <view class="chooseItem_3 chooseItem"> <UniCollapse @change="change(3)"> <UniCollapseItem open=true title="度数" showAnimation=false > |
7d6833f2c 地址列表 |
333 334 |
<view class="chooseItem_1_content"> <view class="itemsWrap"> |
323398550 若干功能添加 |
335 336 337 338 339 340 |
<view class="item2" v-for="(item,index) in chooseItem3" :key="index" :class="{ active2: current3 === index }" @click="onClickItem3(index)" |
7d6833f2c 地址列表 |
341 342 343 344 |
>{{item}}</view> </view> </view> </UniCollapseItem> |
323398550 若干功能添加 |
345 346 347 348 349 350 351 352 353 354 355 356 357 358 |
</UniCollapse> <view class="chooseRes" v-show="show[3]" >* {{chooseRes3}}</view> </view> --> </view> <view class="button" @click="toComfirmOrder" > 立即结算 </view> </view> |
9ff2df1bf 文件名称规范 |
359 360 |
</template> |
71166190e add purchase |
361 |
<script> |
323398550 若干功能添加 |
362 363 364 |
import UniCollapse from '@/components/UniCollapse/UniCollapse.vue' import UniCollapseItem from '@/components/UniCollapseItem/UniCollapseItem.vue' import store from '@/store' |
7d6833f2c 地址列表 |
365 |
|
323398550 若干功能添加 |
366 367 368 369 370 371 372 373 374 375 |
export default { components: { UniCollapse, UniCollapseItem }, data() { return { count: 1, pid: 0, maxCount: 20, |
87eade409 验光数据填充检测 |
376 377 |
dataName: '', // 验光数据人员名称 isDataName: false, |
323398550 若干功能添加 |
378 379 380 381 382 383 384 385 386 387 388 389 |
opIsOpen: true, addDisabled: false, desDisabled: false, current1: 0, current2: 0, current3: 0, current: [], show: [], chooseRes1: { sku_name: 'Miss 黑二代【减龄自然】', sk_id: '128' }, |
87eade409 验光数据填充检测 |
390 391 392 |
checkedData: { }, |
323398550 若干功能添加 |
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 |
chooseRes2: '14.0', chooseRes3: 0, chooseItem1: [ { style: 'opacity: 0.7;background-image: radial-gradient(50% 148%, #ECEAEA 50%, #8D8C8C 100%);', describ: 'Miss 黑1代【减龄自然】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #624B3F 100%);', describ: 'Miss 黑二代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 148%, #FDF8F6 50%, #94380B 100%);', describ: 'Miss 黑3代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 148%, #FFFFFF 50%, #324A05 100%);', describ: 'Miss 黑4代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #624B3F 100%);', describ: 'Miss 黑5代【防紫外线】' }, { style: 'opacity: 0.7;background-image: radial-gradient(50% 150%, #F0EEE7 50%, #6F0838 100%);', describ: 'Miss 黑6代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #370B4E 100%);', describ: 'Miss 黑7代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 148%, #FFFFFF 50%, #324A05 100%);', describ: 'Miss 黑4代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #624B3F 100%);', describ: 'Miss 黑5代【防紫外线】' }, { style: 'opacity: 0.7;background-image: radial-gradient(50% 150%, #F0EEE7 50%, #6F0838 100%);', describ: 'Miss 黑6代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #370B4E 100%);', describ: 'Miss 黑7代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 148%, #FFFFFF 50%, #324A05 100%);', describ: 'Miss 黑4代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #624B3F 100%);', describ: 'Miss 黑5代【防紫外线】' }, { style: 'opacity: 0.7;background-image: radial-gradient(50% 150%, #F0EEE7 50%, #6F0838 100%);', describ: 'Miss 黑6代【防紫外线】' }, { style: 'background-image: radial-gradient(50% 143%, #AEA8A8 45%, #370B4E 100%);', describ: 'Miss 黑7代【防紫外线】' } ], chooseItem2: [ { num: '14.0' }, { num: '14.2' }, { num: '14.4' }, { num: '14.5' } ], chooseItem3: [0, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 470, 500, 525, 550, 575, 600, 1000], // 度数相关数据 pickerInfoList: [ { nameC: '度数', nameE: '(SPH)', nameArray1: [1.5, 2.5, 3.5, 4.5], nameIndex1: 0, nameArray2: [1.5, 2.5, 3.5, 4.5], nameIndex2: 0, key: 0 }, { nameC: '散光', nameE: '(CYL)', nameArray1: [1.5, 2.5, 3.5, 4.5], nameIndex1: 0, nameArray2: [1.5, 2.5, 3.5, 4.5], nameIndex2: 0, key: 1 }, { nameC: '散光轴位', nameE: '(AXI)', nameArray1: [1.5, 2.5, 3.5, 4.5], nameIndex1: 0, nameArray2: [1.5, 2.5, 3.5, 4.5], nameIndex2: 0, key: 2 }, { nameC: '双眼瞳距', nameE: '(PD)', nameArray1: [1.5, 2.5, 3.5, 4.5], nameIndex1: 0, nameArray2: [1.5, 2.5, 3.5, 4.5], nameIndex2: 0, key: 3 }, { nameC: '验光日期', nameE: '', nameArray1: [2017, 2018, 2019, 2020, 2021], nameIndex1: 0, nameArray2: [1, 2, 3, 4, 5, 6, 7], nameIndex2: 0, nameArray3: [1, 2, 3, 4, 5, 6], nameIndex3: 0 } ] } }, computed: { attrList() { return this.$store.state.read.goodInfo.attrList }, skuList() { return this.$store.state.read.goodInfo.skuList |
87eade409 验光数据填充检测 |
435 436 437 |
}, mpList() { return this.$store.state.myLoveList.loveList |
323398550 若干功能添加 |
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 |
} }, onLoad({ pid }) { this.pid = pid store.dispatch('read/fetch', { pid }).then(() => { const current = [] const show = [] for (let index = 0; index < this.attrList.length; index++) { current.push(0) show.push(true) } this.current = current this.show = show }) |
87eade409 验光数据填充检测 |
454 |
store.dispatch('myLoveList/getLoveList') |
323398550 若干功能添加 |
455 456 |
}, methods: { |
87eade409 验光数据填充检测 |
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 |
// 是否填充人员数据 fillData(e) { this.isDataName = false console.log('e---->', e) const mpList = this.mpList for (let index = 0; index < mpList.length; index++) { if (e.detail.value === mpList[index].name) { this.isDataName = true uni.showModal({ title: '提示', content: `是否填充已有的${e.detail.value}的数据`, success: ({ confirm }) => { if (confirm) { this.checkedData = mpList[index] console.log('checkedData', this.checkedData) } } }) } } }, |
323398550 若干功能添加 |
479 480 481 482 483 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 514 |
change(num) { this.show[num] = !this.show[num] this.$forceUpdate() }, onClickItem(index, i) { if (this.current[index] !== i) { this.current[index] = i } this.$forceUpdate() }, onClickItem1(index) { if (this.current1 !== index) { this.current1 = index this.chooseRes1 = this.chooseItem1[index].describ } }, onClickItem2(index) { if (this.current2 !== index) { this.current2 = index this.chooseRes2 = this.chooseItem2[index].num } }, onClickItem3(index) { if (this.current3 !== index) { this.current3 = index this.chooseRes3 = this.chooseItem3[index] } }, counter(isadd) { if (isadd) { this.count >= this.maxCount ? this.addDisabled = true : this.count++ } else { this.count <= 1 ? this.desDisabled = true : this.count-- } }, toComfirmOrder() { |
87eade409 验光数据填充检测 |
515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
let i = 0 // 判断出是哪一个sku被选中 for (let index = 0; index < this.current.length; index++) { console.log('index', index, i, index !== this.current.length - 1) if (index !== this.current.length - 1) { console.log('----', this.current[index], this.attrList[1].attr.length, this.attrList) i = this.current[index] * this.attrList[1].attr.length } else { i += this.current[index] } console.log('i', i) } console.log('i------>', i) // 判断是否其输入的人员数据是否已存在 |
323398550 若干功能添加 |
529 |
store.dispatch('order/saveParams', { |
87eade409 验光数据填充检测 |
530 |
sk_id_arr: this.skuList[i], |
323398550 若干功能添加 |
531 532 |
current: this.current }) |
87eade409 验光数据填充检测 |
533 |
|
323398550 若干功能添加 |
534 535 536 537 538 539 |
uni.navigateTo({ url: `../confirmOrder/confirmOrder?pid=${this.pid}` }) } } } |
9ff2df1bf 文件名称规范 |
540 541 542 |
</script> <style lang="scss"> |
323398550 若干功能添加 |
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 |
.content { min-height: 100vh; background-color: #f2f2f2; // padding-top: 20rpx; .goodInfo { width: 100%; height: 272rpx; border-radius: 16rpx; background-color: #ffffff; box-sizing: border-box; padding: 36rpx; display: flex; flex-direction: row; justify-content: flex-start; .imageWrap { height: 188rpx; width: 188rpx; margin-right: 28rpx; image { height: 188rpx; width: 188rpx; } } .infoRight { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; .goodName { font-size: 28rpx; color: #333333; } .remarks { font-size: 20rpx; color: #999999; } .priceBox { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 14px; color: #999999; .price { color: #ff6b4a; |
7d6833f2c 地址列表 |
588 |
font-size: 28rpx; |
323398550 若干功能添加 |
589 590 |
} .counter { |
7d6833f2c 地址列表 |
591 |
display: flex; |
323398550 若干功能添加 |
592 |
flex-direction: row; |
7d6833f2c 地址列表 |
593 594 |
justify-content: space-between; align-items: center; |
323398550 若干功能添加 |
595 596 597 598 |
font-size: 28rpx; color: #333333; width: 122rpx; .btn { |
7d6833f2c 地址列表 |
599 |
display: flex; |
323398550 若干功能添加 |
600 601 602 603 604 605 |
justify-content: center; line-height: 32rpx; height: 32rpx; width: 32rpx; background-color: #f2f2f2; color: #cfcfcf; |
7d6833f2c 地址列表 |
606 607 608 609 |
} } } } |
323398550 若干功能添加 |
610 611 612 613 614 615 616 617 |
} .goods-data { width: 100%; box-sizing: border-box; padding: 37rpx 40rpx 0 40rpx; background: #ffffff; border-radius: 12rpx; .opCollapse { |
7d6833f2c 地址列表 |
618 |
width: 100%; |
323398550 若干功能添加 |
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 |
padding-bottom: 28rpx; margin-top: 7px; border-bottom: 1px solid #e9e9e9; .head { display: flex; justify-content: space-between; height: 24px; // font-family: PingFangSC-Medium; font-size: 16px; color: #333333; letter-spacing: -0.3px; text-align: justify; line-height: 24px; margin-bottom: 18rpx; .headRighted { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 4px solid #cfcfcf; transform: scaleY(-1); margin-top: 10px; |
7d6833f2c 地址列表 |
641 |
} |
323398550 若干功能添加 |
642 |
.headMid { |
7d6833f2c 地址列表 |
643 |
// font-family: PingFangSC-Regular; |
323398550 若干功能添加 |
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 672 673 674 675 676 677 678 679 680 |
font-size: 10px; color: #999999; letter-spacing: -0.19px; margin-left: -120rpx; } .headRight { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 4px solid #cfcfcf; margin-top: 10px; } } .body { // font-family: PingFangSC-Regular; font-size: 12px; color: #666666; letter-spacing: 0; .bodyBox { margin-top: 15px; .names { // font-family: PingFangSC-Regular; font-size: 12px; color: #151515; letter-spacing: 0; text-align: justify; line-height: 17px; margin-left: 5px; margin-right: 10px; } text { // font-family: PingFangSC-Regular; font-size: 12px; color: #666666; letter-spacing: 0; text-align: justify; |
7d6833f2c 地址列表 |
681 682 |
} } |
323398550 若干功能添加 |
683 684 685 686 687 688 689 690 |
} .goods-form { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #fff; width: 100%; |
7d6833f2c 地址列表 |
691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
.p1 { font-size: 16px; color: #333333; letter-spacing: -0.3px; text-align: justify; line-height: 24px; margin: 4px 0; } .p2 { font-size: 12px; color: #999999; letter-spacing: -0.23px; margin-bottom: 18rpx; } |
323398550 若干功能添加 |
705 |
image { |
7d6833f2c 地址列表 |
706 707 708 709 710 711 712 713 714 715 |
width: 28rpx; height: 26rpx; } .confirm { display: flex; align-items: center; font-size: 12px; color: #666666; letter-spacing: -0.23px; width: 684rpx; |
323398550 若干功能添加 |
716 717 |
image { margin-right: 25rpx; |
7d6833f2c 地址列表 |
718 719 |
} } |
323398550 若干功能添加 |
720 |
.picker { |
7d6833f2c 地址列表 |
721 722 723 724 725 |
display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; |
323398550 若干功能添加 |
726 |
image { |
7d6833f2c 地址列表 |
727 728 729 730 |
width: 10px; height: 10px; margin-right: 5px; } |
323398550 若干功能添加 |
731 |
.picker-choice { |
7d6833f2c 地址列表 |
732 733 734 735 |
display: flex; width: 684rpx; align-items: center; margin-bottom: 40rpx; |
323398550 若干功能添加 |
736 |
.choice-left { |
7d6833f2c 地址列表 |
737 738 739 740 741 742 743 744 745 746 |
width: 210rpx; .p11 { font-size: 14px; color: #333333; letter-spacing: -0.26px; text-align: justify; line-height: 24px; } .p12 { font-size: 10px; |
323398550 若干功能添加 |
747 |
color: #3f3f3f; |
7d6833f2c 地址列表 |
748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 |
letter-spacing: -0.19px; text-align: justify; line-height: 24px; } } .p13 { font-size: 10px; color: #999999; letter-spacing: -0.19px; margin-right: 10px; } .p13-date { font-size: 10px; color: #999999; letter-spacing: -0.19px; margin-right: 5px; } .p14 { font-size: 14px; color: #666666; letter-spacing: -0.26px; text-align: center; width: 124rpx; |
323398550 若干功能添加 |
771 |
border-bottom: 1px solid #cfcfcf; |
7d6833f2c 地址列表 |
772 773 774 |
} } } |
323398550 若干功能添加 |
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 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 |
} } } .choose { width: 100%; background: #ffffff; border-radius: 12rpx; margin-top: 20rpx; padding: 40rpx 40rpx 112rpx 40rpx; box-sizing: border-box; .chooseItem { width: 100%; padding-bottom: 32rpx; border-bottom: 1px solid #e9e9e9; margin-bottom: 28rpx; } .chooseRes { font-size: 12px; color: #666666; } .itemsWrap { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; padding-top: 24rpx; .item1 { width: 64rpx; height: 64rpx; border-radius: 32rpx; margin: 0 36rpx 24rpx 0; transition: all 0.3s; border: 1px solid #ffffff; } .item2 { // width: 100rpx; padding: 0 30rpx; height: 60rpx; margin: 0 20rpx 20rpx 0; transition: all 0.3s; background: #f2f2f2; border-radius: 2px; border-radius: 2px; line-height: 60rpx; text-align: center; color: #666666; font-size: 12px; } .active1 { opacity: 0.7; border: 1px solid #ff6b4a; } .active2 { background: rgba(255, 107, 74, 0.15); color: #ff6b4a; } } } .button { width: 100%; height: 112rpx; background-color: #ff6b4a; font-size: 16px; color: #ffffff; line-height: 112rpx; text-align: center; position: fixed; bottom: 0; left: 0; } } |
9ff2df1bf 文件名称规范 |
847 |
</style> |