From 2c3b890ef176f27222400f72ec697778c3b844ef Mon Sep 17 00:00:00 2001 From: qiaojiale Date: Tue, 15 Jul 2025 17:35:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E9=A1=B5=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/areaPopup/areaPopup.vue | 6 - packages/shop/addAddress/index.css | 64 ++++++- packages/shop/addAddress/index.vue | 166 ++++++++++++++++-- packages/shop/address/index.vue | 19 +- .../dev/mp-weixin/project.private.config.json | 11 +- 5 files changed, 233 insertions(+), 33 deletions(-) diff --git a/components/areaPopup/areaPopup.vue b/components/areaPopup/areaPopup.vue index 868f2376..c487f639 100644 --- a/components/areaPopup/areaPopup.vue +++ b/components/areaPopup/areaPopup.vue @@ -21,9 +21,6 @@ style="line-height: 50px; text-align: center;">{{ item.short_name }} - - - @@ -47,10 +44,8 @@ export default { provList: [], // 省 cityList: [], //市 distList: [], // 区 - defaultCity: [], // 默认展示的市区数据 defaultDist: [], // 默认展示的县/区数据 - confirmProv: {}, // 默认选中省 confirmProv1: {}, confirmCity: {}, // 默认选中市 @@ -102,7 +97,6 @@ export default { this.defaultDist = res.rows; this.confirmDist = res.rows[0] // 区的第一条信息 }, - async init() { uni.showLoading({ title: '加载中', diff --git a/packages/shop/addAddress/index.css b/packages/shop/addAddress/index.css index 1a9c4b14..d406da14 100644 --- a/packages/shop/addAddress/index.css +++ b/packages/shop/addAddress/index.css @@ -1,11 +1,16 @@ -.container {} +page { + background-color: #f6f7fb; +} + +.container { + background-color: #fff; +} .row { display: flex; align-items: flex-start; margin: 0 30rpx; - margin-top: 30rpx; - + padding-top: 30rpx; } .row_label { @@ -72,7 +77,6 @@ background: #F6F6FA; border-radius: 10rpx 10rpx 10rpx 10rpx; padding: 30rpx 24rpx; - margin-top: 20rpx; } @@ -104,4 +108,56 @@ font-size: 26rpx; color: #999999; margin-top: 6rpx; +} + +.choseAddress { + font-size: 28rpx; + color: #999999; + padding-bottom: 20rpx; +} + +.isdef { + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx 20rpx; + background-color: #fff; +} + +.isdef_left1 { + font-size: 32rpx; + color: #222222; +} + +.isdef_left2 { + font-size: 28rpx; + color: #999999; + margin-top: 10rpx; +} + +.isdef_right { + width: 28rpx; + height: 28rpx; +} + +.noneborder { + border-bottom: none; +} + + + +.btn { + width: 600rpx; + height: 90rpx; + background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%); + border-radius: 100rpx 100rpx 100rpx 100rpx; + font-size: 36rpx; + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + position: fixed; + left: 50%; + transform: translateX(-50%); + bottom: 120rpx; } \ No newline at end of file diff --git a/packages/shop/addAddress/index.vue b/packages/shop/addAddress/index.vue index 18635853..e0a090ac 100644 --- a/packages/shop/addAddress/index.vue +++ b/packages/shop/addAddress/index.vue @@ -19,35 +19,82 @@
地区选择
-
-
地址
-
- -
-
-
当前定位:和平里社区综合 服务站
-
使用
+
+
+
地址
+
+
+ 请选择地址
-
河北衡水市桃城区
+ +
+
+
当前定位:和平里社区综合 服务站
+
使用
+
+
河北衡水市桃城区
+
+ +
+
+
+
门牌号
+
+ +
+
+ + + + {{ item.short_name }} + + + {{ item.short_name }} + + + {{ item.short_name }} + + + -
-
门牌号
-
- -
记得完善门牌号
+
+
*详细地址
+
+ +
+ +
+
+
+
设置默认地址
+
提醒:下单时会优先选择
+
+
+ + +
+
+ +
确定
+