diff --git a/pages/plugins/distribution/extraction-apply/extraction-apply.vue b/pages/plugins/distribution/extraction-apply/extraction-apply.vue index 8efd0124..ab127739 100644 --- a/pages/plugins/distribution/extraction-apply/extraction-apply.vue +++ b/pages/plugins/distribution/extraction-apply/extraction-apply.vue @@ -246,9 +246,6 @@ method: "POST", data: {}, dataType: "json", - header: { - 'content-type': 'application/x-www-form-urlencoded' - }, success: res => { if (res.data.code == 0) { var data = res.data.data; @@ -277,9 +274,6 @@ pid: self.province_id }, dataType: "json", - header: { - 'content-type': 'application/x-www-form-urlencoded' - }, success: res => { if (res.data.code == 0) { var data = res.data.data; @@ -310,9 +304,6 @@ pid: self.city_id }, dataType: "json", - header: { - 'content-type': 'application/x-www-form-urlencoded' - }, success: res => { if (res.data.code == 0) { var data = res.data.data; @@ -333,7 +324,6 @@ // 省份事件 select_province_event(e) { var index = e.detail.value || 0; - if (index >= 0) { var data = this.province_list[index]; this.setData({ @@ -351,7 +341,6 @@ // 市事件 select_city_event(e) { var index = e.detail.value || 0; - if (index >= 0) { var data = this.city_list[index]; this.setData({ @@ -367,7 +356,6 @@ // 区/县事件 select_county_event(e) { var index = e.detail.value || 0; - if (index >= 0) { var data = this.county_list[index]; this.setData({ @@ -404,7 +392,6 @@ lng: result.longitude || null }; } - this.setData({ user_location: data }); diff --git a/pages/plugins/distribution/extraction-order/extraction-order.css b/pages/plugins/distribution/extraction-order/extraction-order.css new file mode 100644 index 00000000..45fb356f --- /dev/null +++ b/pages/plugins/distribution/extraction-order/extraction-order.css @@ -0,0 +1,36 @@ +/* +* 导航 +*/ +.nav { + background: #eee; + height: 80rpx; + line-height: 80rpx; +} +.nav .item { + width: 33.33%; +} + +/* +* 列表 +*/ +.scroll-box { + height: calc(100vh - 80rpx); +} +.data-list .item .operation button { + padding: 0 35rpx; + display: inline-flex; +} + +/* +* 搜索 +*/ +.search-drag { + width: 35px; + height: 35px; + line-height: 44px; + background: hsla(0, 0%, 0%, 0.01); + margin-top: calc(100vh - 260rpx); + margin-left: calc(50% - 17px); + box-shadow: 0px 3rpx 16rpx rgba(0, 0, 0, 0.2); + padding: 5px; +} \ No newline at end of file diff --git a/pages/plugins/distribution/extraction-order/extraction-order.vue b/pages/plugins/distribution/extraction-order/extraction-order.vue index a47ff748..10db3c25 100644 --- a/pages/plugins/distribution/extraction-order/extraction-order.vue +++ b/pages/plugins/distribution/extraction-order/extraction-order.vue @@ -1,500 +1,383 @@ - - - - \ No newline at end of file diff --git a/pages/plugins/distribution/extraction-switch/extraction-switch.css b/pages/plugins/distribution/extraction-switch/extraction-switch.css new file mode 100644 index 00000000..1dd821a8 --- /dev/null +++ b/pages/plugins/distribution/extraction-switch/extraction-switch.css @@ -0,0 +1,22 @@ +.address-logo { + width: 140rpx; + height: 140rpx !important; +} +.address .item-icon { + width: 30rpx; + height: 35rpx !important; +} +.address-alias { + padding: 2rpx 10rpx; +} +.address .text { + line-height: 44rpx; + width: calc(100% - 40rpx); +} +.operation .button-list button { + padding: 0 35rpx; + display: inline-flex; +} +.operation .button-list button:not(:last-child) { + margin-right: 20rpx; +} \ No newline at end of file diff --git a/pages/plugins/distribution/extraction-switch/extraction-switch.vue b/pages/plugins/distribution/extraction-switch/extraction-switch.vue index 5a980479..efa84874 100644 --- a/pages/plugins/distribution/extraction-switch/extraction-switch.vue +++ b/pages/plugins/distribution/extraction-switch/extraction-switch.vue @@ -1,350 +1,297 @@ -