@alu008/test_yuanqikaixiang 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/App.vue +294 -0
  2. package/Local/en.json +3 -0
  3. package/Local/indian.json +3 -0
  4. package/Local/zh-Hans.json +3 -0
  5. package/Local/zh-Hant.json +3 -0
  6. package/README.md +1 -0
  7. package/androidPrivacy.json +28 -0
  8. package/components/ball/ball.vue +230 -0
  9. package/components/cardDetails/cardDetails.vue +273 -0
  10. package/components/confirmModal/confirmModal.vue +125 -0
  11. package/components/fillInfo/fillInfo.vue +255 -0
  12. package/components/header/header.vue +92 -0
  13. package/components/selectAddress/selectAddress.vue +156 -0
  14. package/components/signDetail/signDetail.vue +33 -0
  15. package/components/skeleton/skeleton.vue +62 -0
  16. package/index.html +20 -0
  17. package/index.template.html +35 -0
  18. package/jsconfig.json +9 -0
  19. package/main.js +48 -0
  20. package/manifest.json +159 -0
  21. package/package.json +14 -0
  22. package/pages/index/index.vue +5421 -0
  23. package/pages.json +173 -0
  24. package/project.config.json +25 -0
  25. package/project.private.config.json +14 -0
  26. package/static/fonts/Alibaba-PuHuiTi-Bold.ttf +0 -0
  27. package/static/fonts/Alibaba-PuHuiTi-Medium.ttf +0 -0
  28. package/static/fonts/Alibaba-PuHuiTi-Regular.ttf +0 -0
  29. package/static/fonts/fxlh.ttf +0 -0
  30. package/static/img/R.png +0 -0
  31. package/static/img/SR.png +0 -0
  32. package/static/img/SSR.png +0 -0
  33. package/static/img/bottomBgc1.png +0 -0
  34. package/static/img/centerBgc.png +0 -0
  35. package/static/img/goldBgc.png +0 -0
  36. package/static/img/goldText.png +0 -0
  37. package/static/img/home/calendar/bgc0.png +0 -0
  38. package/static/img/home/calendar/bgc1.png +0 -0
  39. package/static/img/home/calendar/bgc2.png +0 -0
  40. package/static/img/home/calendar/bgc3.png +0 -0
  41. package/static/img/home/calendar/progress0.png +0 -0
  42. package/static/img/home/calendar/progress1.png +0 -0
  43. package/static/img/home/calendar/progress2.png +0 -0
  44. package/static/img/home/calendar/progress3.png +0 -0
  45. package/static/img/kuang.gif +0 -0
  46. package/static/img/luckyBgc.png +0 -0
  47. package/static/img/lucyText.png +0 -0
  48. package/static/img/top_Bgc.png +0 -0
  49. package/subpackages/article/article.vue +64 -0
  50. package/subpackages/confirmSendLogistics/confirmSendLogistics.vue +1035 -0
  51. package/subpackages/coupon/coupon.vue +276 -0
  52. package/subpackages/fragment/fragment.vue +1592 -0
  53. package/subpackages/myAddress/myAddress.vue +656 -0
  54. package/subpackages/myCards/myCards.vue +1250 -0
  55. package/subpackages/myOrder/myOrder.vue +779 -0
  56. package/subpackages/myOrderDetail/myOrderDetail.vue +659 -0
  57. package/subpackages/poster/poster.vue +130 -0
  58. package/subpackages/selectCoupon/selectCoupon.vue +251 -0
  59. package/subpackages/sendLogistics/sendLogistics.vue +1097 -0
  60. package/subpackages/vote/vote.vue +877 -0
  61. package/uni.promisify.adaptor.js +10 -0
  62. package/uni.scss +114 -0
  63. package/uni_modules/qf-image-cropper/changelog.md +72 -0
  64. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.render.js +855 -0
  65. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue +749 -0
  66. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.wxs +727 -0
  67. package/uni_modules/qf-image-cropper/package.json +81 -0
  68. package/uni_modules/qf-image-cropper/readme.md +97 -0
  69. package/uni_modules/uni-data-select/changelog.md +51 -0
  70. package/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue +837 -0
  71. package/uni_modules/uni-data-select/package.json +106 -0
  72. package/uni_modules/uni-data-select/readme.md +8 -0
  73. package/uni_modules/uni-icons/changelog.md +44 -0
  74. package/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue +91 -0
  75. package/uni_modules/uni-icons/components/uni-icons/uni-icons.vue +110 -0
  76. package/uni_modules/uni-icons/components/uni-icons/uniicons.css +664 -0
  77. package/uni_modules/uni-icons/components/uni-icons/uniicons.ttf +0 -0
  78. package/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts +664 -0
  79. package/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js +649 -0
  80. package/uni_modules/uni-icons/package.json +111 -0
  81. package/uni_modules/uni-icons/readme.md +8 -0
  82. package/uni_modules/uni-load-more/changelog.md +23 -0
  83. package/uni_modules/uni-load-more/components/uni-load-more/i18n/en.json +5 -0
  84. package/uni_modules/uni-load-more/components/uni-load-more/i18n/index.js +8 -0
  85. package/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json +5 -0
  86. package/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hant.json +5 -0
  87. package/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue +404 -0
  88. package/uni_modules/uni-load-more/package.json +105 -0
  89. package/uni_modules/uni-load-more/readme.md +14 -0
  90. package/uni_modules/uni-scss/changelog.md +8 -0
  91. package/uni_modules/uni-scss/index.scss +1 -0
  92. package/uni_modules/uni-scss/package.json +82 -0
  93. package/uni_modules/uni-scss/readme.md +4 -0
  94. package/uni_modules/uni-scss/styles/index.scss +7 -0
  95. package/uni_modules/uni-scss/styles/setting/_border.scss +3 -0
  96. package/uni_modules/uni-scss/styles/setting/_color.scss +66 -0
  97. package/uni_modules/uni-scss/styles/setting/_radius.scss +55 -0
  98. package/uni_modules/uni-scss/styles/setting/_space.scss +56 -0
  99. package/uni_modules/uni-scss/styles/setting/_styles.scss +167 -0
  100. package/uni_modules/uni-scss/styles/setting/_text.scss +24 -0
  101. package/uni_modules/uni-scss/styles/setting/_variables.scss +146 -0
  102. package/uni_modules/uni-scss/styles/tools/functions.scss +19 -0
  103. package/uni_modules/uni-scss/theme.scss +31 -0
  104. package/uni_modules/uni-scss/variables.scss +62 -0
  105. package/utils/addressData.js +6042 -0
  106. package/utils/api.js +160 -0
  107. package/utils/fetch.js +548 -0
  108. package/utils/index.js +994 -0
  109. package/utils/navigator.js +17 -0
  110. package/utils/request.js +162 -0
@@ -0,0 +1,656 @@
1
+ <template>
2
+ <view>
3
+ <u-sticky bgColor="#f6f6f6">
4
+ <Header title="地址管理"></Header>
5
+ </u-sticky>
6
+
7
+ <view :style="{
8
+ minHeight:`calc(100vh - ${statusBarHeight + 44}px)`
9
+ }" class="myAddressContent">
10
+ <view v-if="list == 0 && !isFirstLoading" class="noData">
11
+ <image src="https://img.shinemang.com/static/noData.png" mode="scaleToFill" />
12
+ <view>空空如也~快留下你的地址吧!</view>
13
+
14
+ <view class="toShop" hover-class="hoverActive" @click="addAddress"
15
+ >新建地址</view
16
+ >
17
+ </view>
18
+
19
+ <view v-if="list.length > 0" class="addressList">
20
+ <view v-for="value in list" :key="value.id" :class="['addressItem',value.checked ? 'selected':'']">
21
+ <view @click="selectAddress(value)" class="message">
22
+ <view style="display: flex; align-items: center">
23
+ <view class="name">{{ value.name }}</view
24
+ >&nbsp;&nbsp;{{ value.phoneNum }}
25
+ <view v-if="value.isDefault" class="default">
26
+ <text>默认</text>
27
+ </view></view
28
+ >
29
+ <view class="address over" style="width: 600rpx"
30
+ >{{ value.province }}{{ value.city }}{{ value.area
31
+ }}{{ value.subArea }}{{ value.address }}</view
32
+ >
33
+ </view>
34
+ <view
35
+ @click="editAddress(value)"
36
+ hover-class="hoverActive"
37
+ class="action"
38
+ >
39
+ <image src="https://img.shinemang.com/static/img/editAddressIcon.png" mode="scaleToFill" />
40
+ </view>
41
+ </view>
42
+ </view>
43
+
44
+ <view class="confirmBtn">
45
+ <view @click="addAddress" hover-class="hoverActive"
46
+ ><view style="font-size: 48rpx; margin-right: 20rpx">+</view>
47
+ <view>新增收货地址</view></view
48
+ >
49
+ </view>
50
+ </view>
51
+
52
+ <u-popup
53
+ @close="showAdressPopup = false"
54
+ :show="showAdressPopup"
55
+ mode="bottom"
56
+ :round="24"
57
+ :safeAreaInsetBottom="false"
58
+ >
59
+ <view class="editAndAddAddress">
60
+ <view class="title">
61
+ <image @click="showAdressPopup = false" src="https://img.shinemang.com/static/img/closeIcon.png" class="closeIcon" />
62
+ <text> {{ editType == 1 ? "新增地址" : "编辑地址" }}</text>
63
+ </view>
64
+ <view class="addressBox">
65
+ <view class="itemBox">
66
+ <view class="leftDesc">收货人</view>
67
+ <view>
68
+ <input
69
+ v-model="name"
70
+ placeholder-style="color:#999"
71
+ type="text"
72
+ placeholder="请输入收货人姓名"
73
+ />
74
+ </view>
75
+ </view>
76
+ <view class="itemBox">
77
+ <view class="leftDesc">手机号码</view>
78
+ <view>
79
+ <input
80
+ v-model="phoneNum"
81
+ placeholder-style="color:#999"
82
+ type="number"
83
+ placeholder="请输入收货人电话"
84
+ />
85
+ </view>
86
+ </view>
87
+ <view class="itemBox">
88
+ <view class="leftDesc">所在地区</view>
89
+ <view style="height: 100%">
90
+ <selectAddress
91
+ @changeLocation="changeLocation"
92
+ :defaultLocation="location.join(' ')"
93
+ ></selectAddress>
94
+ <!-- <picker value="location" @change="bindRegionChange" mode="region">
95
+ <view
96
+ style="height: 100rpx; display: flex; align-items: center"
97
+ >
98
+ <text v-if="location.length > 0">{{
99
+ location.join(" ")
100
+ }}</text>
101
+ <text v-else style="color: #999999">请选择地址</text>
102
+ </view>
103
+ </picker> -->
104
+ </view>
105
+ </view>
106
+ <!-- grid-template-columns: 200rpx 380rpx; -->
107
+ <view class="itemBox">
108
+ <view class="leftDesc">详细地址</view>
109
+ <view>
110
+ <input
111
+ type="text"
112
+ v-model="address"
113
+ placeholder-style="color:#999"
114
+ placeholder="请输入详细地址"
115
+ />
116
+ </view>
117
+
118
+ </view>
119
+ <view style="justify-content: space-between" class="itemBox">
120
+ <view style="width: 300rpx;" class="leftDesc">设置为默认地址</view>
121
+ <view style="width: auto; border-bottom: 0">
122
+ <u-switch activeColor="rgb(53, 199, 89)" v-model="value"></u-switch>
123
+ </view>
124
+
125
+ </view>
126
+ </view>
127
+ <view v-if="editType == 1" class="confirmBtn">
128
+ <view :class="(name && phoneNum && address && location.length>0)? 'active' : ''" @click="saveAddress">保存</view>
129
+ </view>
130
+ <view v-else class="editConfirmBtn">
131
+ <view @click="deleteAddress" class="delete">删除</view>
132
+ <view @click="saveAddress" class="save">保存</view>
133
+ </view>
134
+ </view>
135
+ </u-popup>
136
+ </view>
137
+ </template>
138
+
139
+ <script>
140
+ import { isMobilePhone, navagatorBack, reportMessage } from "@/utils";
141
+ import selectAddress from "@/components/selectAddress/selectAddress.vue";
142
+ import {
143
+ fetchActionAddress,
144
+ fetchAddressList,
145
+ fetchDeleteAddress,
146
+ } from "@/utils/fetch";
147
+ import Header from "@/components/header/header.vue";
148
+ export default {
149
+ data() {
150
+ return {
151
+ comeType: 0,
152
+ location: [],
153
+ value: false,
154
+ showAdressPopup: false,
155
+ editType: 1, //1 新增 2 编辑
156
+ editAddressDetail: null,
157
+ list: [],
158
+ isFirstLoading: true,
159
+
160
+ name: "",
161
+ phoneNum: "",
162
+ address: "",
163
+ chooseAddress: "",
164
+ hasAddressId: -1,
165
+ statusBarHeight:0,
166
+
167
+ };
168
+ },
169
+ components: {
170
+ selectAddress,
171
+ Header
172
+ // login,
173
+ },
174
+ onLoad(options) {
175
+
176
+ const safeTop = uni.getStorageSync('safeTop')
177
+ this.statusBarHeight = safeTop;
178
+ if (options.isSelect) {
179
+ this.comeType = options.isSelect;
180
+ }
181
+ if (options.hasAddressId) {
182
+ this.hasAddressId = options.hasAddressId;
183
+ }
184
+ this.getAddressList();
185
+ },
186
+ methods: {
187
+ changeLocation(data) {
188
+ this.location = data.location;
189
+ },
190
+ selectAddress(value) {
191
+ console.log(value);
192
+ if (this.comeType) {
193
+ // 选择地址
194
+ // let pages = getCurrentPages();
195
+ // let prevPage = pages[pages.length - 2]; // 上一个页面
196
+ // // 给上个页面设置 data
197
+ // prevPage.$vm.address = value;
198
+ this.chooseAddress = value;
199
+ uni.setStorageSync("address", JSON.stringify(this.chooseAddress));
200
+ navagatorBack();
201
+ // uni.navigateBack({
202
+ // delta: 1,
203
+ // success: () => {},
204
+ // });
205
+ } else {
206
+ return;
207
+ }
208
+ },
209
+
210
+ deleteAddress() {
211
+ fetchDeleteAddress({
212
+ id: Number(this.editAddressDetail.id),
213
+ }).then((res) => {
214
+ uni.showToast({
215
+ title: "删除成功",
216
+ icon: "none",
217
+ });
218
+ this.showAdressPopup = false;
219
+ this.getAddressList();
220
+ });
221
+ },
222
+ saveAddress() {
223
+ if (!this.name) {
224
+ return uni.showToast({
225
+ title: "请输入姓名",
226
+ icon: "none",
227
+ });
228
+ }
229
+ if (!isMobilePhone(this.phoneNum)) {
230
+ return uni.showToast({
231
+ title: "请输入正确的联系电话",
232
+ icon: "none",
233
+ });
234
+ }
235
+ if (!this.location) {
236
+ return uni.showToast({
237
+ title: "请选择位置",
238
+ icon: "none",
239
+ });
240
+ }
241
+ if (!this.address) {
242
+ return uni.showToast({
243
+ title: "请输入详细地址",
244
+ icon: "none",
245
+ });
246
+ }
247
+
248
+ let params = {
249
+ name: this.name,
250
+ phone_num: this.phoneNum,
251
+ province: this.location[0],
252
+ city: this.location[1],
253
+ area: this.location[2],
254
+ address: this.address,
255
+ is_default: this.value ? true : false,
256
+ };
257
+
258
+ if (this.editType == 2 && this.editAddressDetail) {
259
+ params.id = this.editAddressDetail.id;
260
+ }
261
+ fetchActionAddress(this.editType == 1 ? true : false, {
262
+ data: params,
263
+ }).then((res) => {
264
+ uni.showToast({
265
+ title: "保存成功",
266
+ icon: "none",
267
+ });
268
+ this.showAdressPopup = false;
269
+ this.getAddressList();
270
+ this.resetInput(null);
271
+ // this.editAddressDetail = ''
272
+ });
273
+ },
274
+ getAddressList() {
275
+ fetchAddressList({}).then((res) => {
276
+ this.list = res.list;
277
+ if(this.hasAddressId != -1){
278
+ this.list.forEach((item) => {
279
+ if(item.id == this.hasAddressId){
280
+ item.checked = true;
281
+ }
282
+ })
283
+ }
284
+ this.isFirstLoading = false;
285
+ });
286
+ },
287
+ addAddress() {
288
+ reportMessage('集好运-点击地址管理界面-新增地址');
289
+ this.editType = 1;
290
+ this.showAdressPopup = true;
291
+ this.editAddressDetail = "";
292
+ this.resetInput(null);
293
+ },
294
+
295
+ resetInput(value) {
296
+ this.value = value ? value.isDefault : false;
297
+ this.name = value ? value.name : "";
298
+ this.phoneNum = value ? value.phoneNum : "";
299
+ this.location = value ? [value.province, value.city, value.area] : [];
300
+ this.address = value ? value.address : "";
301
+ },
302
+ editAddress(value) {
303
+ reportMessage('集好运-点击地址管理界面-编辑地址');
304
+ console.log(value, "vlau");
305
+ this.editType = 2;
306
+ this.showAdressPopup = true;
307
+ this.editAddressDetail = value;
308
+ this.resetInput(value);
309
+ },
310
+ chooseLocation() {
311
+ uni.chooseLocation({
312
+ useSecureNetwork: true,
313
+ success: function (res) {
314
+ console.log(res);
315
+ },
316
+ fail: function (err) {
317
+ console.log(err);
318
+ },
319
+ });
320
+ },
321
+ bindRegionChange(e) {
322
+ console.log(this.value);
323
+ this.location = e.detail.value;
324
+ console.log("picker发送选择改变,携带值为", e.detail.value);
325
+ },
326
+ },
327
+ onShow() {},
328
+
329
+ onUnload() {
330
+ if (this.comeType) {
331
+ if (this.chooseAddress) {
332
+ uni.setStorageSync("address", JSON.stringify(this.chooseAddress));
333
+ } else {
334
+ if (this.list.length > 0) {
335
+ // if (this.hasAddressId != -1) {
336
+ const address = this.list.find(
337
+ (item) => this.hasAddressId == item.id
338
+ );
339
+ if (address) {
340
+ uni.setStorageSync("address", JSON.stringify(address));
341
+ } else {
342
+ const isDefault = this.list.find((item) => item.isDefault == true);
343
+
344
+ // 给上个页面设置 data
345
+ if (isDefault) {
346
+ uni.setStorageSync("address", JSON.stringify(isDefault));
347
+
348
+ } else {
349
+ uni.setStorageSync("address", JSON.stringify(this.list[0]));
350
+ }
351
+ }
352
+
353
+ } else {
354
+ uni.removeStorageSync("address");
355
+ }
356
+ }
357
+ }
358
+ },
359
+ onShareAppMessage() {},
360
+ onShareTimeline() {},
361
+ };
362
+ </script>
363
+
364
+ <style lang="scss" scoped>
365
+ page {
366
+ background-color: #f6f6f6 !important;
367
+ min-height: 100vh;
368
+ }
369
+
370
+ .myAddressContent {
371
+ padding-bottom: 150rpx;
372
+ border-radius: 48rpx 48rpx 0 0;
373
+ // height: 100vh;
374
+ background-color: #fff;
375
+ .noData {
376
+ text-align: center;
377
+ padding-top: 226rpx;
378
+ color: #999999;
379
+ font-size: 28rpx;
380
+ image {
381
+ width: 370rpx;
382
+ height: 368rpx;
383
+ }
384
+ view {
385
+ margin-top: -10rpx;
386
+ }
387
+
388
+ .toShop {
389
+ width: 322rpx;
390
+ height: 80rpx;
391
+ background: linear-gradient( 90deg, #0BD690 0%, #00B0E0 100%);;
392
+ border-radius: 864rpx 864rpx 864rpx 864rpx;
393
+ display: flex;
394
+ align-items: center;
395
+ justify-content: center;
396
+ color: #fff;
397
+ font-size: 32rpx;
398
+ margin: auto;
399
+ margin-top: 40rpx;
400
+ }
401
+ }
402
+
403
+ .addressList {
404
+ .addressItem {
405
+ width: 100%;
406
+ // height: 160rpx;
407
+ background: rgba(255, 255, 255, 0.01);
408
+ // box-shadow: inset 0rpx -1rpx 0rpx 0rpx #eeeeee;
409
+ border-radius: 0rpx 0rpx 0rpx 0rpx;
410
+ display: flex;
411
+ align-items: center;
412
+ justify-content: space-between;
413
+ padding: 32rpx;
414
+ &.selected{
415
+ background: #EBF3FA;
416
+ .message{
417
+ color: #13B77F;
418
+ .address{
419
+ color: #13B77F;
420
+ }
421
+ }
422
+ }
423
+ .message {
424
+ font-size: 28rpx;
425
+ color: #000;
426
+ .name {
427
+ font-size: 32rpx;
428
+
429
+ font-weight: bold;
430
+ }
431
+ .address {
432
+ font-size: 28rpx;
433
+ color: #505050;
434
+ margin-top: 12rpx;
435
+ }
436
+ .default {
437
+ width: 72rpx;
438
+ height: 36rpx;
439
+ background:#C8E2EA;
440
+ border-radius: 8rpx 8rpx 8rpx 8rpx;
441
+ color: #043661;
442
+ font-size: 24rpx;
443
+ margin-left: 28rpx;
444
+ display: flex;
445
+ line-height: 36rpx;
446
+ align-items: center;
447
+ justify-content: center;
448
+ }
449
+ }
450
+ .action {
451
+ display: flex;
452
+ /* gap: 12rpx; */
453
+ align-items: center;
454
+ justify-content: flex-end;
455
+ image {
456
+ width: 36rpx;
457
+ height: 36rpx;
458
+ }
459
+ }
460
+ }
461
+ }
462
+ .confirmBtn {
463
+ margin-top: 80rpx;
464
+ position: fixed;
465
+ bottom: 0;
466
+ left: 50%;
467
+ transform: translateX(-50%);
468
+ width: 100%;
469
+ height: 140rpx;
470
+ background: #ffffff;
471
+ padding-left: 32rpx;
472
+ z-index: 999;
473
+
474
+ // border-top: 1px solid rgba(0, 0, 0, 0.1);
475
+ padding-top: 16rpx;
476
+ > view {
477
+ width: 686rpx;
478
+ height: 80rpx;
479
+ background: linear-gradient( 90deg, #0BD690 0%, #00B0E0 100%);;
480
+ border-radius: 44rpx;
481
+ display: flex;
482
+ align-items: center;
483
+ justify-content: center;
484
+ font-size: 32rpx;
485
+ color: #fff;
486
+ font-weight: 600;
487
+ view {
488
+ display: flex;
489
+ align-items: center;
490
+ justify-content: center;
491
+ height: 100%;
492
+ line-height: 80rpx;
493
+ }
494
+ }
495
+ }
496
+ }
497
+ .editAndAddAddress {
498
+ position: relative;
499
+ // padding: 20rpx 0rpx 0rpx 0rpx;
500
+ background: #fff;
501
+ /* height: 1172rpx; 24rpx 0rpx 0rpx */
502
+ border-radius: 24rpx 24rpx 0 0;
503
+ .title {
504
+ color: #000000;
505
+ font-size: 36rpx;
506
+ font-weight: 600;
507
+ // padding-left: 32rpx;
508
+ height: 100rpx;
509
+ display: flex;
510
+ align-items: center;
511
+ justify-content: center;
512
+ position: relative;
513
+
514
+ .closeIcon {
515
+ position: absolute;
516
+ top: 26rpx;
517
+ left: 32rpx;
518
+ width: 48rpx;
519
+ height: 48rpx;
520
+ }
521
+ }
522
+
523
+ .confirmBtn {
524
+ margin-top: 40rpx;
525
+
526
+ width: 100%;
527
+ /* height: 140rpx; */
528
+ background: #ffffff;
529
+ display: flex;
530
+ justify-content: center;
531
+
532
+ // border-top: 1px solid rgba(0, 0, 0, 0.1);
533
+ padding: 16rpx 0;
534
+ border-radius: 0 0 24rpx 24rpx;
535
+ padding-bottom: 44rpx;
536
+ view {
537
+ width: 360rpx;
538
+ height: 80rpx;
539
+ background: linear-gradient( 90deg, #0BD690 0%, #00B0E0 100%);;
540
+ border-radius: 40rpx;
541
+ display: flex;
542
+ align-items: center;
543
+ justify-content: center;
544
+ font-size: 32rpx;
545
+ font-weight: bold;
546
+ color: #fff;
547
+ opacity: 0.5;
548
+ &.active {
549
+ opacity: 1;
550
+ }
551
+ }
552
+ }
553
+ .editConfirmBtn {
554
+ margin-top: 40rpx;
555
+
556
+ width: 100%;
557
+ /* height: 140rpx; */
558
+ background: #ffffff;
559
+ /* padding-left: 32rpx; */
560
+
561
+ // border-top: 1px solid rgba(0, 0, 0, 0.1);
562
+ padding: 16rpx 0;
563
+ display: flex;
564
+ /* gap: 20rpx; */
565
+ justify-content: center;
566
+ border-radius: 0 0 24rpx 24rpx;
567
+ padding-bottom: 32rpx;
568
+
569
+ view {
570
+ width: 328rpx;
571
+ height: 80rpx;
572
+ background: #ffffff;
573
+ border-radius: 40rpx 40rpx 40rpx 40rpx;
574
+ border: 2rpx solid #13B77F;
575
+ display: flex;
576
+ align-items: center;
577
+ justify-content: center;
578
+ font-size: 28rpx;
579
+ font-weight: bold;
580
+ line-height: 80rpx;
581
+ }
582
+ .delete {
583
+ color: #13B77F;
584
+ border: 1px solid #13B77F;
585
+ margin-right: 30rpx;
586
+ }
587
+ .save {
588
+ background: linear-gradient( 90deg, #0BD690 0%, #00B0E0 100%);;
589
+ color: #fff;
590
+ }
591
+ }
592
+
593
+ .addressBox {
594
+ /* margin-bottom: 30rpx; */
595
+ .itemBox {
596
+ height: 120rpx;
597
+ width: 100%;
598
+ background: rgba(255, 255, 255, 0.01);
599
+ // box-shadow: inset 0rpx -1rpx 0rpx 0rpx #eeeeee;
600
+ padding: 0 32rpx;
601
+ display: flex;
602
+ /* grid-template-columns: 200rpx 458rpx; */
603
+ align-items: center;
604
+ position: relative;
605
+
606
+ > view {
607
+ &:last-child {
608
+ width: 526rpx;
609
+ border-bottom: 2rpx solid #f6f6f6;
610
+ }
611
+ }
612
+ &:last-child {
613
+ box-shadow: none;
614
+ }
615
+
616
+ .leftDesc {
617
+ color: #000000;
618
+ width: 160rpx;
619
+ font-size: 28rpx;
620
+ font-weight: 600;
621
+ }
622
+ input {
623
+ font-size: 28rpx !important;
624
+ height: 120rpx;
625
+ &::placeholder {
626
+ color: #999999;
627
+ }
628
+ }
629
+ .rightDesc {
630
+ color: #999999;
631
+ font-size: 28rpx !important;
632
+
633
+ input {
634
+ font-size: 28rpx !important;
635
+ font-weight: 600;
636
+ &::placeholder {
637
+ color: #cccccc;
638
+ }
639
+ }
640
+ }
641
+ .chooseLocation {
642
+ position: absolute;
643
+ right: 32rpx;
644
+ display: flex;
645
+ top: 27rpx;
646
+ align-items: center;
647
+ image {
648
+ width: 36rpx;
649
+ height: 36rpx;
650
+ }
651
+ }
652
+ }
653
+ }
654
+ }
655
+ </style>
656
+