diff --git a/common/api/shop.js b/common/api/shop.js
index 34364d7..9771263 100644
--- a/common/api/shop.js
+++ b/common/api/shop.js
@@ -81,6 +81,14 @@ export default {
getGoodsClassRecommend() {
return vm.$u.post('Goods/getGoodsClassRecommend');
},
+ // goodsListByClassId
+ goodsListByClassId({ gc_id, page, order }) {
+ return vm.$u.post('goods/goodsListByClassId', {
+ gc_id: gc_id,
+ page: page,
+ order: order,
+ });
+ },
// 商品推荐
getGoodsRecommend({page, gc_id}){
return vm.$u.post('Goods/getGoodsRecommend', {
diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue
index 6ae95b9..e9f1c02 100644
--- a/components/mine/order-item/index.vue
+++ b/components/mine/order-item/index.vue
@@ -25,7 +25,8 @@
- 申请退款
+
+ 申请退款
查看物流
确认收货
@@ -66,6 +67,18 @@ export default {
case 4:
state = '待评价';
break;
+ case 5:
+ state = '交易成功';
+ break;
+ case 6:
+ state = '待退款';
+ break;
+ case 7:
+ state = '已退款';
+ break;
+ case 9:
+ state = '拼团中';
+ break;
default:
break;
}
@@ -81,19 +94,6 @@ export default {
this.$u.toast(res.message);
})
},
- applyRefund() {
- let params = {
- order_id: this.order.order_id,
- // goods_id: goods_id,
- // refund_amount: refund_amount,
- }
- this.$u.api.refundOrder(params).then(res => {
- this.$u.toast(res.message);
- if(res.errCode == 0) {
-
- }
- })
- },
confirmReceive() {
this.$u.api.confirmReceive({
order_id: this.order.order_id,
diff --git a/components/shop/group/index.vue b/components/shop/group/index.vue
index 062151c..5c69287 100644
--- a/components/shop/group/index.vue
+++ b/components/shop/group/index.vue
@@ -97,7 +97,11 @@ export default {
box-sizing: border-box;
padding: 0 30rpx;
display: flex;
- justify-content: space-between;
+ &:not(:nth-child(3n)) {
+ > view {
+ margin-right: 20rpx;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/components/shop/recommend/pintuan.vue b/components/shop/recommend/pintuan.vue
index a983347..677c560 100644
--- a/components/shop/recommend/pintuan.vue
+++ b/components/shop/recommend/pintuan.vue
@@ -20,7 +20,7 @@
¥{{ info.goods_price }}
-
+
diff --git a/components/shop/shop-item/index.vue b/components/shop/shop-item/index.vue
index 185b0e8..4cdc45f 100644
--- a/components/shop/shop-item/index.vue
+++ b/components/shop/shop-item/index.vue
@@ -1,5 +1,5 @@
-
+
{{ info.gc_name }}
@@ -9,6 +9,14 @@ export default {
name:"shopItem",
props: {
info: Object,
+ },
+ methods: {
+ toClassifyPage() {
+ this.$u.route('pageC/classify/goods', {
+ cid: this.info.gc_id,
+ cname: this.info.gc_name,
+ });
+ }
}
}
diff --git a/pageC/cart/ConfirmOrder.vue b/pageC/cart/ConfirmOrder.vue
index 1fde47b..de275a3 100644
--- a/pageC/cart/ConfirmOrder.vue
+++ b/pageC/cart/ConfirmOrder.vue
@@ -16,7 +16,7 @@
-
+
{{ item[0].store_name }}
@@ -424,8 +424,8 @@ export default {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
- border: 1rpx solid #000;
margin-right: 15rpx;
+ background-color: aquamarine;
}
> view {
font-size: 28rpx;
diff --git a/pageC/classify/goods.vue b/pageC/classify/goods.vue
new file mode 100644
index 0000000..8499dad
--- /dev/null
+++ b/pageC/classify/goods.vue
@@ -0,0 +1,187 @@
+
+
+
+ 销量
+
+ 价格
+
+
+
+
+
+ 好评
+
+
+
+
+
+ {{ goods.goods_name }}
+ {{ goods.goods_advword }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pageC/classify/index.vue b/pageC/classify/index.vue
index 04285c2..ceb8b91 100644
--- a/pageC/classify/index.vue
+++ b/pageC/classify/index.vue
@@ -15,7 +15,7 @@
{{item.gc_name}}
-
+
@@ -50,6 +50,11 @@
this.getMenuItemTop()
},
methods: {
+ toSearchPage() {
+ this.$u.route({
+ url: "pageB/search/index"
+ })
+ },
// 获取分类列表
getClassifyList() {
this.$u.api.getGoodsClassifyList().then(res => {
@@ -161,6 +166,12 @@
}
}
}, 10)
+ },
+ toClassifyPage(id, name) {
+ this.$u.route('pageC/classify/goods', {
+ cid: id,
+ cname: name,
+ });
}
}
}
diff --git a/pageE/mine/ImageTextCollection.vue b/pageE/mine/ImageTextCollection.vue
index 573dd6d..f9a268d 100644
--- a/pageE/mine/ImageTextCollection.vue
+++ b/pageE/mine/ImageTextCollection.vue
@@ -28,6 +28,7 @@
+
+
\ No newline at end of file
diff --git a/pageE/static/mine/23.png b/pageE/static/mine/23.png
deleted file mode 100644
index cae1a3d..0000000
Binary files a/pageE/static/mine/23.png and /dev/null differ
diff --git a/pageE/static/mine/37.png b/pageE/static/mine/37.png
new file mode 100644
index 0000000..ce0fecb
Binary files /dev/null and b/pageE/static/mine/37.png differ
diff --git a/pageE/tool/Manicure.vue b/pageE/tool/Manicure.vue
index 209e328..c62ea13 100644
--- a/pageE/tool/Manicure.vue
+++ b/pageE/tool/Manicure.vue
@@ -1,9 +1,9 @@
-
+
-
+
@@ -14,7 +14,7 @@
{{ item.status }}
美甲人姓名:{{ item.manicure_name }}
- 时间:{{ item.manicure_time | dateFormat }}
+ 时间:{{ item.manicure_time | date }}
@@ -44,26 +44,20 @@ export default {
orderList: [],
loadStatus: 'loadmore',
timer: true,
+ swiperHeight: '',
}
},
onPullDownRefresh() {
this.getManicureList({ load: 'reload' });
},
+ onLoad() {
+ this.setViewHeight();
+ },
onShow() {
this.current = 0;
this.swiperCurrent = 0;
this.getManicureList({ load: 'reload' });
},
- filters: {
- dateFormat(value) {
- let date = new Date(value * 1000);
- let year, month, day;
- year = date.getFullYear();
- month = date.getMonth() + 1;
- day = date.getDate();
- return year + "-" + month + "-" + day;
- }
- },
methods: {
async getManicureList({ load }) {
const res = await this.$u.api.getManicureList({
@@ -94,6 +88,10 @@ export default {
this.page--;
})
},
+ setViewHeight() {
+ const res = uni.getSystemInfoSync();
+ this.swiperHeight = res.windowHeight - (88 / 2) + 'px';
+ },
tabsChange(index) {
this.swiperCurrent = index;
// this.toApplyPage(index);
diff --git a/pageE/tool/ManicureOrder.vue b/pageE/tool/ManicureOrder.vue
index e53cd92..7f079fb 100644
--- a/pageE/tool/ManicureOrder.vue
+++ b/pageE/tool/ManicureOrder.vue
@@ -65,14 +65,11 @@ export default {
time: new Date(this.time)
}).then((res)=>{
if(res.errCode == 0) {
- uni.redirectTo({
- url: '/pageE/tool/Manicure'
- });
- // this.$refs.uToast.show({
- // title: res.message,
- // type: 'success',
- // url: '/pageE/tool/Manicure'
- // })
+ this.$refs.uToast.show({
+ title: res.message,
+ type: 'success',
+ back: true,
+ })
} else {
this.showToast(res.message, 'error');
}
diff --git a/pageE/tool/SendWash.vue b/pageE/tool/SendWash.vue
index ae9fe35..dd42526 100644
--- a/pageE/tool/SendWash.vue
+++ b/pageE/tool/SendWash.vue
@@ -3,8 +3,16 @@
+
-
+
@@ -13,10 +21,10 @@
{{ item.order_status | viewStatus }}
-
+
骑手名字:{{ item.takeawayer_name || '' }}
- 联系方式:{{ item.member_phone || '' }}
+ 联系方式:{{ item.takeawayer_mobile || '' }}
所属公司:{{ item.company || '' }}
@@ -56,14 +64,6 @@
-