修改拼团团长信息错误的问题
This commit is contained in:
@ -17,7 +17,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="tui-group__box tui-mtop__20">
|
<view class="tui-group__box tui-mtop__20">
|
||||||
<tui-divider backgroundColor="#fff" width="70%" gradual >
|
<tui-divider backgroundColor="#fff" width="70%" gradual>
|
||||||
<view class="tui-divider__content">
|
<view class="tui-divider__content">
|
||||||
<text v-if="pinkBool == 0">拼团失败</text>
|
<text v-if="pinkBool == 0">拼团失败</text>
|
||||||
<text v-if="pinkBool == 1">拼团成功</text>
|
<text v-if="pinkBool == 1">拼团成功</text>
|
||||||
@ -36,7 +36,7 @@
|
|||||||
<view class="tui-user__box">
|
<view class="tui-user__box">
|
||||||
<view class="tui-user__item">
|
<view class="tui-user__item">
|
||||||
<view class="tui-avatar__box tui-size">
|
<view class="tui-avatar__box tui-size">
|
||||||
<image class="tui-size" :src="userInfo.avatar"></image>
|
<image class="tui-size" :src="pinkT.avatar"></image>
|
||||||
<view class="tui-team__leader">团长</view>
|
<view class="tui-team__leader">团长</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="tui-nickname">不许人间见白头</view> -->
|
<!-- <view class="tui-nickname">不许人间见白头</view> -->
|
||||||
@ -54,8 +54,8 @@
|
|||||||
<tui-button type="danger" height="88rpx" shadow shape="circle" v-if="userBool === 1 && isOk == 0 && pinkBool === 0" @click="goPoster">邀请好友参团</tui-button>
|
<tui-button type="danger" height="88rpx" shadow shape="circle" v-if="userBool === 1 && isOk == 0 && pinkBool === 0" @click="goPoster">邀请好友参团</tui-button>
|
||||||
<tui-button type="warning" height="88rpx" shadow shape="circle" v-else-if="userBool === 0 && pinkBool === 0 && count > 0" @click="pay">我要参团</tui-button>
|
<tui-button type="warning" height="88rpx" shadow shape="circle" v-else-if="userBool === 0 && pinkBool === 0 && count > 0" @click="pay">我要参团</tui-button>
|
||||||
<tui-button type="danger" height="88rpx" shadow shape="circle" v-if="pinkBool === 1 || pinkBool === -1" @click="goDetail(storeCombination.id)">再次开团</tui-button>
|
<tui-button type="danger" height="88rpx" shadow shape="circle" v-if="pinkBool === 1 || pinkBool === -1" @click="goDetail(storeCombination.id)">再次开团</tui-button>
|
||||||
<tui-button type="warning" height="88rpx" shadow shape="circle" @click="getCombinationRemove" v-if="pinkBool === 0 && userBool === 1">取消开团</tui-button>
|
<tui-button type="warning" height="88rpx" shadow shape="circle" @click="getCombinationRemove" v-if="pinkBool === 0 && userBool === 1">取消开团</tui-button>
|
||||||
<tui-button type="danger" height="88rpx" shadow shape="circle" v-if="pinkBool === 1" @click="goOrder">查看订单信息</tui-button>
|
<tui-button type="danger" height="88rpx" shadow shape="circle" v-if="pinkBool === 1" @click="goOrder">查看订单信息</tui-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -73,7 +73,7 @@ export default {
|
|||||||
CountDown,
|
CountDown,
|
||||||
},
|
},
|
||||||
props: {},
|
props: {},
|
||||||
data: function () {
|
data: function() {
|
||||||
return {
|
return {
|
||||||
currentPinkOrder: '', //当前拼团订单
|
currentPinkOrder: '', //当前拼团订单
|
||||||
isOk: 0, //判断拼团是否完成
|
isOk: 0, //判断拼团是否完成
|
||||||
@ -98,7 +98,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function() {
|
||||||
var that = this
|
var that = this
|
||||||
let url = handleQrCode()
|
let url = handleQrCode()
|
||||||
if (url) {
|
if (url) {
|
||||||
@ -109,7 +109,7 @@ export default {
|
|||||||
that.getCombinationPink()
|
that.getCombinationPink()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
pay: function () {
|
pay: function() {
|
||||||
var that = this
|
var that = this
|
||||||
var data = {}
|
var data = {}
|
||||||
data.productId = that.storeCombination.productId
|
data.productId = that.storeCombination.productId
|
||||||
@ -135,7 +135,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goPoster: function () {
|
goPoster: function() {
|
||||||
var that = this
|
var that = this
|
||||||
this.$yrouter.push({
|
this.$yrouter.push({
|
||||||
path: '/pages/activity/Poster/index',
|
path: '/pages/activity/Poster/index',
|
||||||
@ -145,7 +145,7 @@ export default {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goOrder: function () {
|
goOrder: function() {
|
||||||
var that = this
|
var that = this
|
||||||
this.$yrouter.push({
|
this.$yrouter.push({
|
||||||
path: '/pages/order/OrderDetails/index',
|
path: '/pages/order/OrderDetails/index',
|
||||||
@ -155,13 +155,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
//拼团列表
|
//拼团列表
|
||||||
goList: function () {
|
goList: function() {
|
||||||
this.$yrouter.push({
|
this.$yrouter.push({
|
||||||
path: '/pages/activity/GoodsGroup/index',
|
path: '/pages/activity/GoodsGroup/index',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//拼团详情
|
//拼团详情
|
||||||
goDetail: function (id) {
|
goDetail: function(id) {
|
||||||
this.$yrouter.push({
|
this.$yrouter.push({
|
||||||
path: '/pages/activity/GroupDetails/index',
|
path: '/pages/activity/GroupDetails/index',
|
||||||
query: {
|
query: {
|
||||||
@ -170,7 +170,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
//拼团信息
|
//拼团信息
|
||||||
getCombinationPink: function () {
|
getCombinationPink: function() {
|
||||||
var that = this
|
var that = this
|
||||||
getCombinationPink(that.pinkId).then(res => {
|
getCombinationPink(that.pinkId).then(res => {
|
||||||
that.$set(that, 'storeCombination', res.data.storeCombination)
|
that.$set(that, 'storeCombination', res.data.storeCombination)
|
||||||
@ -186,7 +186,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
//拼团取消
|
//拼团取消
|
||||||
getCombinationRemove: function () {
|
getCombinationRemove: function() {
|
||||||
var that = this
|
var that = this
|
||||||
getCombinationRemove({
|
getCombinationRemove({
|
||||||
id: that.pinkId,
|
id: that.pinkId,
|
||||||
@ -207,7 +207,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
lookAll: function () {
|
lookAll: function() {
|
||||||
this.iShidden = !this.iShidden
|
this.iShidden = !this.iShidden
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -417,10 +417,9 @@ export default {
|
|||||||
}
|
}
|
||||||
.tui-btn__box {
|
.tui-btn__box {
|
||||||
padding-top: 60rpx;
|
padding-top: 60rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tni-cell{
|
.tni-cell {
|
||||||
height: 20rpx;
|
height: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -497,9 +496,8 @@ export default {
|
|||||||
.tui-between {
|
.tui-between {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.tui-btn__box .tui-btn{
|
.tui-btn__box .tui-btn {
|
||||||
margin-bottom:30rpx !important
|
margin-bottom: 30rpx !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
/*拼团玩法介绍 modal*/
|
/*拼团玩法介绍 modal*/
|
||||||
.tui-modal__title {
|
.tui-modal__title {
|
||||||
|
Reference in New Issue
Block a user