From 498d0a367e36e510cd0a4402b17ab38869537d0e Mon Sep 17 00:00:00 2001 From: cheng.xu Date: Mon, 23 Sep 2019 11:11:29 +0800 Subject: [PATCH] 门店地址样式调整 --- pages/goods/goodsInfo/goodsInfo.js | 6 ++++-- pages/goods/goodsInfo/goodsInfo.wxml | 12 ++++++------ pages/goods/goodsInfo/goodsInfo.wxss | 16 ++++++++++++---- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index 8232795..b3df843 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -916,6 +916,9 @@ Page({ }); }, openSpecModel: function(t) { + this.setData({ + store: 0, choice_sort_store: 0, sort_store: 0 + }) //--先判断会员状态-- var user_info=getApp().globalData.userInfo; if(user_info==null || user_info.mobile==undefined || user_info.mobile=="" || user_info.mobile==null){ @@ -2729,8 +2732,7 @@ Page({ //关闭选择门店 close_popup:function(){ this.setData({ - store: 0, choice_sort_store: 0,sort_store:0} - ) + store: 0, choice_sort_store: 0,sort_store:0}) }, //选择更多门店 more_store:function(){ diff --git a/pages/goods/goodsInfo/goodsInfo.wxml b/pages/goods/goodsInfo/goodsInfo.wxml index 6ba1b06..a55916a 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxml +++ b/pages/goods/goodsInfo/goodsInfo.wxml @@ -301,7 +301,7 @@ - + @@ -318,7 +318,7 @@ {{def_pick_store.pickup_name}} - + 距离:{{filters.toFix(def_pick_store.distance,0)}}m @@ -798,7 +798,7 @@ - 地址:{{def_pick_store.fulladdress}} + 地址:{{def_pick_store.fulladdress}} @@ -1055,7 +1055,7 @@ - {{choice_sort_store==0?'附近的门店':'门店分类'}} + {{choice_sort_store==0?'附近的门店':region_name}} @@ -1174,9 +1174,9 @@ - + - {{item.name}} + {{item.name}} diff --git a/pages/goods/goodsInfo/goodsInfo.wxss b/pages/goods/goodsInfo/goodsInfo.wxss index 62dc024..3958538 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxss +++ b/pages/goods/goodsInfo/goodsInfo.wxss @@ -2244,9 +2244,14 @@ right:17rpx; top:55rpx; .xc-address_frame{ border-top:1rpx solid #eee; width: 100%; - min-height: 90rpx; height: auto; } +.on_height{ +height: 90rpx; +} +.sn_height{ + height: 170rpx; +} .xc-address_frame .address_frame{ width: 92%; padding-left: 10rpx; @@ -2387,17 +2392,18 @@ line-height: 30rpx; .store-bottom{ width: 85%; margin: auto; - height: 105rpx; + height: 90rpx; + } .determine{ - width: 280rpx; + width: 260rpx; height: 44rpx; border-radius: 50rpx; line-height: 44rpx; } .default{ - width: 280rpx; + width: 260rpx; height: 44rpx; border:3rpx solid #c8c8c8; border-radius: 50rpx; @@ -2407,6 +2413,8 @@ line-height: 30rpx; width: 95%; border-top: 3rpx solid #eee; margin: auto; + margin-top: 10rpx; + } /* 门店分类列表 */ .sort_store_list{ -- libgit2 0.21.4