Compare commits
14 Commits
e96fcf28a9
...
xbx
| Author | SHA1 | Date | |
|---|---|---|---|
|
9f5498ac7c
|
|||
|
c85f1aeead
|
|||
|
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)
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -1211,7 +1211,6 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
"enablePullDownRefresh": true,
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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 |
@@ -38,7 +38,7 @@ function CurrentUser(uuid, name, avatar) {
|
|||||||
function IMService() {
|
function IMService() {
|
||||||
this.im = GoEasyIM.getInstance({
|
this.im = GoEasyIM.getInstance({
|
||||||
host:'hangzhou.goeasy.io',//qos=1
|
host:'hangzhou.goeasy.io',//qos=1
|
||||||
appkey:'BC-453aa755c4ea48148abefc55a86df283'
|
appkey:'BC-d9b5e639006b4ee2a4bc9eddc4235a6a'
|
||||||
});
|
});
|
||||||
this.status = false
|
this.status = false
|
||||||
this.lianjie = false
|
this.lianjie = false
|
||||||
|
|||||||
Reference in New Issue
Block a user