Compare commits
32 Commits
e96fcf28a9
...
gyh
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3115ac9447 | ||
| b914ba7c58 | |||
| 990db30e77 | |||
| 875aeeb63a | |||
|
|
7304d3edb6 | ||
| aebdb23b6d | |||
| c4c19871d8 | |||
| 977d38ce18 | |||
| 194710f97b | |||
| 1c14a23d76 | |||
| 611066e778 | |||
| bc1d0b8e4c | |||
| 31027d10e4 | |||
| c606b9b3ce | |||
|
c85f1aeead
|
|||
| bf765ba231 | |||
|
|
645b3f65c1 | ||
| ded4488f89 | |||
| 2b2667df2a | |||
| 79f0040688 | |||
|
00670f4501
|
|||
| db20e52e48 | |||
| d5cf7ae2fb | |||
| 7644def64f | |||
|
2add59f416
|
|||
| 689b6a03aa | |||
|
2f8557eb42
|
|||
| 6364be1743 | |||
| c893ece3a4 | |||
| fa9817e7bb | |||
| a60f61c300 | |||
|
6e40ae0daa
|
@@ -374,6 +374,11 @@ export default {
|
|||||||
recordAppOpenTimes({appversion,device_type}){
|
recordAppOpenTimes({appversion,device_type}){
|
||||||
// appversion=1.0.0&device_type=android/ios
|
// appversion=1.0.0&device_type=android/ios
|
||||||
return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type})
|
return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type})
|
||||||
|
},
|
||||||
|
//统计直播间浏览次数
|
||||||
|
// https://mall.dmygkeji.com/api/Live/countLiveBrowse?live_id=1
|
||||||
|
countLiveBrowse({live_id}){
|
||||||
|
return vm.$u.post("Live/countLiveBrowse",{live_id})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,9 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
zhibo(){
|
zhibo(){
|
||||||
|
this.$u.api.countLiveBrowse({live_id:this.zid}).then((res)=>{
|
||||||
|
console.log(JSON.stringify(res),77)
|
||||||
|
})
|
||||||
this.$u.route({
|
this.$u.route({
|
||||||
url:"/pages/zhibo/index",
|
url:"/pages/zhibo/index",
|
||||||
params:{
|
params:{
|
||||||
@@ -81,6 +84,7 @@ export default {
|
|||||||
rid:this.rid
|
rid:this.rid
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
articleAddShield() {
|
articleAddShield() {
|
||||||
console.log(this.item)
|
console.log(this.item)
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ export default {
|
|||||||
state = '待退款';
|
state = '待退款';
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
state = '已退款';
|
state = '商家已退款';
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
state = '拼团中';
|
state = '拼团中';
|
||||||
@@ -139,7 +139,9 @@ export default {
|
|||||||
state = '已取消';
|
state = '已取消';
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
state = '已拒绝';
|
state = '商家已拒绝';
|
||||||
|
case 12:
|
||||||
|
state = '平台已退款';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="remark">
|
<view class="remark">
|
||||||
<view class="title">订单备注</view>
|
<view class="title">订单备注</view>
|
||||||
<u-input v-model="remark[index]" type="textarea" :height="88" placeholder="选填" />
|
<u-input v-model="remark[index]" type="textarea" style="margin-top:-5rpx" :height="88" placeholder="选填" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="pick-up" v-if="delivery.type == 3">
|
<view class="pick-up" v-if="delivery.type == 3">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<view v-for="classifyA in classifyList" :key="classifyA.gc_parent_id" class="classify-view">
|
<view v-for="classifyA in classifyList" :key="classifyA.gc_parent_id" class="classify-view">
|
||||||
<view class="title">{{ classifyA.gc_parent_name }}</view>
|
<view class="title">{{ classifyA.gc_parent_name }}</view>
|
||||||
<view class="classifyA-view">
|
<view class="classifyA-view">
|
||||||
<view v-for="classifyB in classifyA.gc_child" :key="classifyB.gc_id" class="classifyB-item u-line-1" @click="viewGoods({ type: classifyB.gc_parent_id, name: classifyB.gc_parent_name })">{{ classifyB.gc_parent_name }}</view>
|
<view v-for="classifyB in classifyA.gc_child" :key="classifyB.gc_id" class="classifyB-item u-line-1" @click="viewGoods({ type: classifyB.gc_id, name: classifyB.gc_name })">{{ classifyB.gc_name }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
<view class="info-avatar">
|
<view class="info-avatar">
|
||||||
<u-avatar :src="userInfo.member_avatar" :size="120"></u-avatar>
|
<u-avatar :src="userInfo.member_avatar + '?' + (new Date().getTime())" :size="120"></u-avatar>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<view class="title">昵称</view>
|
<view class="title">昵称</view>
|
||||||
@@ -51,8 +51,8 @@ export default {
|
|||||||
getUserInfo() {
|
getUserInfo() {
|
||||||
this.$u.api.getMemberInfo().then(res => {
|
this.$u.api.getMemberInfo().then(res => {
|
||||||
if (res.errCode == 0) {
|
if (res.errCode == 0) {
|
||||||
// this.userInfo = res.data.MemberArray;
|
this.userInfo = res.data.MemberArray;
|
||||||
this.$set(this, 'userInfo', res.data.MemberArray);
|
// this.$set(this, 'userInfo', res.data.MemberArray);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ export default {
|
|||||||
image: '../static/mine/36.png',
|
image: '../static/mine/36.png',
|
||||||
},
|
},
|
||||||
'5': {
|
'5': {
|
||||||
text: '已退款',
|
text: '商家已退款',
|
||||||
image: '../static/mine/34.png',
|
image: '../static/mine/34.png',
|
||||||
},
|
},
|
||||||
'6': {
|
'6': {
|
||||||
@@ -135,7 +135,11 @@ export default {
|
|||||||
image: '../static/mine/33.png',
|
image: '../static/mine/33.png',
|
||||||
},
|
},
|
||||||
'10': {
|
'10': {
|
||||||
text: '已拒绝',
|
text: '商家已拒绝',
|
||||||
|
image: '../static/mine/34.png',
|
||||||
|
},
|
||||||
|
'11': {
|
||||||
|
text: '平台已退款',
|
||||||
image: '../static/mine/34.png',
|
image: '../static/mine/34.png',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -329,6 +333,9 @@ export default {
|
|||||||
case 11:
|
case 11:
|
||||||
state = '10';
|
state = '10';
|
||||||
break;
|
break;
|
||||||
|
case 12:
|
||||||
|
state = '11';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.type = option.type
|
this.type = 2; // 需求更改 所有订单只能全退,不可选择商品。
|
||||||
|
// this.type = option.type
|
||||||
this.oid = option.oid;
|
this.oid = option.oid;
|
||||||
this.getOrderInfo(option.oid);
|
this.getOrderInfo(option.oid);
|
||||||
},
|
},
|
||||||
@@ -138,17 +139,18 @@ export default {
|
|||||||
applyRefund() {
|
applyRefund() {
|
||||||
|
|
||||||
if(this.type !=2 && !this.verifyParams()) return false;
|
if(this.type !=2 && !this.verifyParams()) return false;
|
||||||
|
// addrefundall 只需要订单id 和 说明
|
||||||
let params = {
|
let params = {
|
||||||
order_id: this.oid,
|
order_id: this.oid,
|
||||||
goods_id: this.goods.goods_id,
|
// goods_id: this.goods.goods_id,
|
||||||
refund_amount: Number(this.totalPrice),
|
// refund_amount: Number(this.totalPrice),
|
||||||
reason_info: this.refundText,
|
reason_info: this.refundText,
|
||||||
goods_num: this.num,
|
// goods_num: this.num,
|
||||||
}
|
}
|
||||||
console.log(params)
|
console.log(params)
|
||||||
if(this.type == 2){
|
if(this.type == 2){
|
||||||
this.$u.api.addrefundall(params).then(res => {
|
this.$u.api.addrefundall(params).then(res => {
|
||||||
console.log(JSON.stringify(res))
|
// console.log(JSON.stringify(res))
|
||||||
if(res.errCode == 0) {
|
if(res.errCode == 0) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
@@ -129,9 +129,9 @@
|
|||||||
plus.cache.clear(function(e) {
|
plus.cache.clear(function(e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
})
|
})
|
||||||
}
|
|
||||||
this.getCache();
|
this.getCache();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<view class="order-status">{{ item.order_status | viewStatus }}</view>
|
<view class="order-status">{{ item.order_status | viewStatus }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="order-info">
|
<view class="order-info">
|
||||||
<image :src="type == 1 ? item.goods_image : item.images[0]" mode="aspectFit"></image>
|
<image :src="type == 1 ? item.goods_image : (Array.isArray(item.images) ? item.images[0] : '/static/image/mine/47.png')" mode="aspectFit"></image>
|
||||||
<view v-if="item.deliver_goods_type == 2 && item.order_status == 20">
|
<view v-if="item.deliver_goods_type == 2 && item.order_status == 20">
|
||||||
<view>骑手名字:{{ item.takeawayer_name || '' }}</view>
|
<view>骑手名字:{{ item.takeawayer_name || '' }}</view>
|
||||||
<view>联系方式:{{ item.takeawayer_mobile || '' }}</view>
|
<view>联系方式:{{ item.takeawayer_mobile || '' }}</view>
|
||||||
|
|||||||
@@ -1211,7 +1211,6 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
"enablePullDownRefresh": true,
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<view class="mine">
|
<view class="mine">
|
||||||
<view class="mine-top">
|
<view class="mine-top">
|
||||||
<view class="top">
|
<view class="top">
|
||||||
<u-avatar @click="toOtherPage('/mine/MineInfo')" :src="userInfo.member_avatar" :size="110"></u-avatar>
|
<u-avatar @click="toOtherPage('/mine/MineInfo')" :src="userInfo.member_avatar + '?' + (new Date().getTime())" :size="110"></u-avatar>
|
||||||
<view class="user-info">
|
<view class="user-info">
|
||||||
<view class="info-top">
|
<view class="info-top">
|
||||||
<view class="user-nickname u-line-1">{{ userInfo.member_nickname }}</view>
|
<view class="user-nickname u-line-1">{{ userInfo.member_nickname }}</view>
|
||||||
@@ -207,8 +207,8 @@ export default {
|
|||||||
this.$u.api.getMemberInfo().then(res => {
|
this.$u.api.getMemberInfo().then(res => {
|
||||||
// uni.stopPullDownRefresh();
|
// uni.stopPullDownRefresh();
|
||||||
if (res.errCode == 0) {
|
if (res.errCode == 0) {
|
||||||
// this.userInfo = res.data.MemberArray;
|
this.userInfo = res.data.MemberArray;
|
||||||
this.$set(this, 'userInfo', res.data.MemberArray);
|
// this.$set(this, 'userInfo', res.data.MemberArray);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -312,10 +312,11 @@
|
|||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
}
|
}
|
||||||
.danmuitem{
|
.danmuitem{
|
||||||
font-size: 26rpx;
|
font-size: 30rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
word-wrap:anywhere;
|
word-wrap:anywhere;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
BIN
static/cart.png
BIN
static/cart.png
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
static/cartback.png
Normal file
BIN
static/cartback.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
BIN
static/image/mine/47.png
Normal file
BIN
static/image/mine/47.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Reference in New Issue
Block a user