diff --git a/App.vue b/App.vue
index d2204fc..52efa1a 100644
--- a/App.vue
+++ b/App.vue
@@ -1,7 +1,9 @@
\ No newline at end of file
diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue
index d90b595..7dd2f5e 100644
--- a/pages/order/MyOrder/index.vue
+++ b/pages/order/MyOrder/index.vue
@@ -145,9 +145,11 @@ import {cancelOrderHandle, payOrderHandle, takeOrderHandle} from "@/libs/order";
import Loading from "@/components/Loading";
import Payment from "@/components/Payment";
import {mapGetters} from "vuex";
+import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: "MyOrder",
+ mixins: [pageListenMixins],
data() {
return {
webUrl: this.$VUE_APP_RESOURCES_URL,
@@ -172,6 +174,7 @@ export default {
showExtend: false,
delayId: null,
+ pageKeyId: Object.freeze('userOrderIndex')
};
},
components: {
@@ -180,10 +183,10 @@ export default {
},
computed: mapGetters(["userInfo"]),
onShow: function () {
- this.type = parseInt(this.$yroute.query.type) || 0;
+ this.type = this.type || parseInt(this.$yroute.query.type) || 0;
this.changeType(this.type);
this.getOrderData();
- this.getOrderList();
+ this.getOrderListReq();
},
onHide: function () {
this.orderList = [];
@@ -202,7 +205,8 @@ export default {
})
},
goRefund(order) {
- if (this.type === 4) {
+ // fix bug#1631
+ if (this.type === 4 || parseInt(order._status._type) === 3) {
uni.showToast({
title: '订单已收货,如需退款请联系客服',
mask: false,
@@ -300,9 +304,9 @@ export default {
this.page = 1;
this.loaded = false;
this.loading = false;
- this.getOrderList();
+ this.getOrderListReq();
},
- getOrderList() {
+ getOrderListReq() {
if (this.loading || this.loaded) return;
this.loading = true;
const {
@@ -413,7 +417,7 @@ export default {
}
},
onReachBottom() {
- !this.loading && this.getOrderList();
+ !this.loading && this.getOrderListReq();
}
};
diff --git a/pages/order/OrderDetails/index.vue b/pages/order/OrderDetails/index.vue
index 1bc26ae..c4b108e 100644
--- a/pages/order/OrderDetails/index.vue
+++ b/pages/order/OrderDetails/index.vue
@@ -130,7 +130,7 @@
买家留言:
- {{ orderInfo.mark }}
+ {{ orderInfo.mark }}
@@ -233,9 +233,11 @@
删除订单
- 查看物流
+ 查看物流
@@ -263,6 +265,7 @@ import DataFormat from "@/components/DataFormat";
import {copyClipboard} from "@/utils";
import {mapGetters} from "vuex";
import {cancelOrderHandle, delOrderHandle, payOrderHandle, takeOrderHandle, yuePayOrderHandle} from "@/libs/order";
+import { pageListenMixins } from '@/mixins/pageListenMixins'
const STATUS = [
"待付款",
@@ -286,7 +289,7 @@ export default {
DataFormat,
passkeyborad
},
- props: {},
+ mixins: [pageListenMixins],
data: function () {
return {
isShowPayPwdPop: false,
@@ -306,7 +309,8 @@ export default {
mapKay: "",
mapShow: false,
payPassword: null,
- webUrl: this.$VUE_APP_RESOURCES_URL
+ webUrl: this.$VUE_APP_RESOURCES_URL,
+ pageKeyId: Object.freeze('userOrderInfo')
};
},
computed: {
@@ -483,8 +487,8 @@ export default {
},
delOrder() {
delOrderHandle(this.orderInfo.orderId).then(() => {
- setTimeout(() => this.goBack(), 300);
- });
+ this.goBack()
+ })
},
setOfflinePayStatus: function (status) {
var that = this;
@@ -768,4 +772,9 @@ export default {
color: #FE5261;
font-size: 26rpx;
}
+.item {
+ .conttent-left {
+ text-align: left !important;
+ }
+}
diff --git a/pages/order/OrderSubmission/index.vue b/pages/order/OrderSubmission/index.vue
index c219739..55b5a10 100644
--- a/pages/order/OrderSubmission/index.vue
+++ b/pages/order/OrderSubmission/index.vue
@@ -256,6 +256,7 @@ import {isNullOrEmpty, isWeixin} from "@/utils";
import blPaymentPasswordInput from '@/components/blPaymentPasswordInput.vue';
import uniPopup from '@/components/uni-popup/uni-popup.vue';
import CouponsPopup from "@/components/CouponsPopup.vue"
+import { pageListenMixins } from '@/mixins/pageListenMixins'
const NAME = "OrderSubmission",
_isWeixin = isWeixin();
@@ -269,6 +270,7 @@ export default {
passkeyborad,
CouponsPopup
},
+ mixins: [pageListenMixins],
props: {},
data: function () {
return {
@@ -317,7 +319,8 @@ export default {
// 订单是否可以使用积分
canUsePoints: false,
// 订单最大可使用积分数量
- maxPoints: 0
+ maxPoints: 0,
+ pageKeyId: Object.freeze('orderConfirm')
};
},
computed: mapGetters(["userInfo", "storeItems"]),
diff --git a/pages/order/ReturnList/index.vue b/pages/order/ReturnList/index.vue
index 53e3018..2d14f34 100644
--- a/pages/order/ReturnList/index.vue
+++ b/pages/order/ReturnList/index.vue
@@ -48,12 +48,14 @@
+
diff --git a/pages/user/address/AddAddress/index.vue b/pages/user/address/AddAddress/index.vue
index 0d9c7bf..6db7837 100644
--- a/pages/user/address/AddAddress/index.vue
+++ b/pages/user/address/AddAddress/index.vue
@@ -7,7 +7,7 @@
联系电话
-
+
所在地区
@@ -29,6 +29,31 @@
+
+
+
+
+
+
+ 清空
+
+
+ 识别
+
+
+
@@ -48,71 +73,94 @@
diff --git a/pkg_common/views/room.vue b/pkg_common/views/room.vue
index bbe6532..f2debf5 100644
--- a/pkg_common/views/room.vue
+++ b/pkg_common/views/room.vue
@@ -32,8 +32,16 @@
diff --git a/pkg_join/views/index.vue b/pkg_join/views/index.vue
index d9a39f3..a14d938 100644
--- a/pkg_join/views/index.vue
+++ b/pkg_join/views/index.vue
@@ -1,97 +1,101 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/pkg_product/views/famousList.vue b/pkg_product/views/famousList.vue
index 241e030..be3da4f 100644
--- a/pkg_product/views/famousList.vue
+++ b/pkg_product/views/famousList.vue
@@ -39,29 +39,32 @@
diff --git a/pkg_product/views/giftContent.vue b/pkg_product/views/giftContent.vue
index 7434bfc..c23fffc 100644
--- a/pkg_product/views/giftContent.vue
+++ b/pkg_product/views/giftContent.vue
@@ -43,8 +43,10 @@
import {
customizedGiftContent
} from '@/api/product'
+import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: 'GiftContent',
+ mixins: [pageListenMixins],
data() {
return {
data: {
@@ -55,6 +57,7 @@ export default {
mainImage: '',
productList1: [],
productList2: [],
+ pageKeyId: ''
}
}
},
@@ -62,7 +65,9 @@ export default {
uni.setNavigationBarTitle({
title: options.name + '-' + '特色礼品'
})
- this.getPageDataReq(options.id)
+ const id = options.id
+ this.pageKeyId = `customizedGiftContent_id_${id}`
+ this.getPageDataReq(id)
},
methods: {
getPageDataReq(id) {
@@ -90,7 +95,7 @@ export default {
return
}
uni.navigateTo({
- url: `/pages/shop/GoodsCon/index?id=${productId}`
+ url: `/pages/shop/GoodsCon/index?id=${productId}&from=gift`
})
}
}
diff --git a/pkg_product/views/giftList.vue b/pkg_product/views/giftList.vue
index c563bd6..786ed64 100644
--- a/pkg_product/views/giftList.vue
+++ b/pkg_product/views/giftList.vue
@@ -90,14 +90,17 @@
import {
customizedGift
} from '@/api/product'
+import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
name: 'GiftList',
+ mixins: [pageListenMixins],
data() {
return {
provinceList: [],
topBannerHtml: '',
topBannerUrl: '',
- toggleStatus: false
+ toggleStatus: false,
+ pageKeyId: Object.freeze('customizedGiftIndex')
}
},
onLoad() {
@@ -148,7 +151,7 @@ export default {
return
}
uni.navigateTo({
- url: `/pages/shop/GoodsCon/index?id=${productId}`
+ url: `/pages/shop/GoodsCon/index?id=${productId}&from=gift`
})
},
toggleHandle(value) {
diff --git a/pkg_product/views/healthList.vue b/pkg_product/views/healthList.vue
index d3c687d..1c72a82 100644
--- a/pkg_product/views/healthList.vue
+++ b/pkg_product/views/healthList.vue
@@ -2,63 +2,143 @@
-
-
+
+
-
-
-
-
+
+
+
-
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
{{ item.label }}
-
-
-
-
-
+
+
+
+
{{ item.content }}
-
+
{{ item.name }}
-
-
+
{{ item.storeName }}
¥{{ item.price }}
-
-
-
+
+
@@ -66,103 +146,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pkg_product/views/heritageGoods.vue b/pkg_product/views/heritageGoods.vue
index 31d4e3c..8b88e65 100644
--- a/pkg_product/views/heritageGoods.vue
+++ b/pkg_product/views/heritageGoods.vue
@@ -1,39 +1,47 @@
-
-
+
-
+
{{ item.storeName }}
diff --git a/pkg_product/views/heritageVideo.vue b/pkg_product/views/heritageVideo.vue
index 5c77a69..dc8715e 100644
--- a/pkg_product/views/heritageVideo.vue
+++ b/pkg_product/views/heritageVideo.vue
@@ -1,21 +1,25 @@
diff --git a/pkg_product/views/nativeList.vue b/pkg_product/views/nativeList.vue
index 002fbf6..eed2b71 100644
--- a/pkg_product/views/nativeList.vue
+++ b/pkg_product/views/nativeList.vue
@@ -2,143 +2,153 @@
-
-
+
+
-
-
-
+
+
+ 当前城市:{{ cityName }}
+
-
-
- {{ item.cateName }}
-
-
-
-
-
-
- 当前城市:{{ cityName }}
-
-
-
-
-
+
+
+
{{ item.storeName }}
¥{{ item.price }}
-
-
+
+
+
\ No newline at end of file
diff --git a/pkg_product/views/season.vue b/pkg_product/views/season.vue
index bbf0c41..d3742eb 100644
--- a/pkg_product/views/season.vue
+++ b/pkg_product/views/season.vue
@@ -1,9 +1,11 @@
@@ -168,7 +178,7 @@ export default {
-
diff --git a/pkg_product/views/seasonList.vue b/pkg_product/views/seasonList.vue
index 5952102..8bfebec 100644
--- a/pkg_product/views/seasonList.vue
+++ b/pkg_product/views/seasonList.vue
@@ -1,31 +1,34 @@
diff --git a/pkg_product/views/seckill.vue b/pkg_product/views/seckill.vue
index c13205a..334db53 100644
--- a/pkg_product/views/seckill.vue
+++ b/pkg_product/views/seckill.vue
@@ -156,26 +156,27 @@
@@ -287,7 +276,6 @@ export default {
.cell-box {
width: 686rpx;
- height: 406rpx;
margin: -130rpx 32rpx 0;
padding: 0 40rpx 20rpx;
box-shadow: 0 6rpx 12rpx rgba(0, 0, 0, 0.16);
@@ -314,6 +302,9 @@ export default {
color: #999999;
font-size: 32rpx;
line-height: 48rpx;
+ .picker {
+ width: 400rpx;
+ }
}
.icon {
diff --git a/pkg_user/views/withdrawal.vue b/pkg_user/views/withdrawal.vue
index 6b96855..48c988e 100644
--- a/pkg_user/views/withdrawal.vue
+++ b/pkg_user/views/withdrawal.vue
@@ -28,6 +28,7 @@
:customStyle="{
'border': 0
}"
+ :disabled="commissionCount <= 0"
placeholder-style="font-size:28rpx"
type="digit"
autofocus
@@ -35,7 +36,11 @@
@input="balanceInputChange"
/>
- 全部提现
+ 全部提现
@@ -74,8 +79,10 @@ import { getBank, bankCardList, postCashInfo } from "@/api/user";
import NP from "number-precision";
import uniPopup from '@/components/uni-popup/uni-popup.vue';
import blPaymentPasswordInput from '@/components/blPaymentPasswordInput.vue';
+import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
+ mixins: [pageListenMixins],
data() {
return {
webUrl: this.$VUE_APP_RESOURCES_URL,
@@ -89,7 +96,8 @@ export default {
gdAmount: 0, //固定手续费
gdLimit: 0, //最低固定费率额度
feeRate: 0, //手续费费率
- remark: "" //提现说明
+ remark: "", //提现说明
+ pageKeyId: Object.freeze('userExtractIndex')
}
},
components: {
@@ -199,7 +207,7 @@ export default {
},
balanceInputChange(value) {
let v = this.clearNoNum(value)
- if (v > this.commissionCount) {
+ if (v >= this.commissionCount) {
v = this.commissionCount
}
setTimeout(() => {
@@ -207,8 +215,9 @@ export default {
}, 0)
},
balanceInputBlur(value) {
+ console.log(value)
if (String(value).length == 0) {
- this.amout = 0
+ this.amout = ''
return
}
if (value > this.commissionCount) {
@@ -345,7 +354,7 @@ export default {
});
},
withdrawalAll: function () {
- if (this.commissionCount) {
+ if (parseFloat(this.commissionCount) > 0) {
this.amout = this.commissionCount + ''
}
},
@@ -354,7 +363,7 @@ export default {
res => {
this.banks = res.data.extractBank
this.minPrice = res.data.minPrice
- this.commissionCount = this.$force2Decimal(res.data.commissionCount)
+ this.commissionCount = parseFloat(this.$force2Decimal(res.data.commissionCount))
this.gdAmount = parseFloat(res.data.gdAmount)
this.gdLimit = parseFloat(res.data.gdLimit)
this.feeRate = parseFloat(res.data.fl)
@@ -432,6 +441,10 @@ export default {
text-align: center;
box-shadow: none;
background: #28AAF4;
+ &.grey {
+ background-color: #f1f1f1;
+ color: #dcdcdc;
+ }
}
.vline {
diff --git a/pkg_user/views/withdrawalLog.vue b/pkg_user/views/withdrawalLog.vue
index 451a8be..87eb7fb 100644
--- a/pkg_user/views/withdrawalLog.vue
+++ b/pkg_user/views/withdrawalLog.vue
@@ -33,14 +33,17 @@