mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 04:06:45 +08:00
Merge branch 'feature/GFRS-1523【待确定】商品商城' into dev
This commit is contained in:
@@ -42,7 +42,7 @@ export default {
|
|||||||
async nextStep() {
|
async nextStep() {
|
||||||
let valid = await this.$validator.validate()
|
let valid = await this.$validator.validate()
|
||||||
if (true === valid) {
|
if (true === valid) {
|
||||||
await saveShareTrack()
|
await this.saveShareTrack()
|
||||||
this.share()
|
this.share()
|
||||||
} else {
|
} else {
|
||||||
return this.$toast(this.$validator.errors.all()[0])
|
return this.$toast(this.$validator.errors.all()[0])
|
||||||
@@ -76,10 +76,11 @@ export default {
|
|||||||
},
|
},
|
||||||
//分享轨迹保存
|
//分享轨迹保存
|
||||||
saveShareTrack() {
|
saveShareTrack() {
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
let data = {
|
let data = {
|
||||||
mallId: this.mallId
|
mallId: this.mallId
|
||||||
}
|
}
|
||||||
|
console.log('--------', data)
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
saveShareTrack(data).then(
|
saveShareTrack(data).then(
|
||||||
res => {
|
res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
|
|||||||
@@ -67,11 +67,11 @@ export default {
|
|||||||
this.loginInfo.password = this.$route.query.password
|
this.loginInfo.password = this.$route.query.password
|
||||||
this.shareId = this.$route.query.shareId
|
this.shareId = this.$route.query.shareId
|
||||||
this.name = this.$route.query.name
|
this.name = this.$route.query.name
|
||||||
this.saveShareTrack()
|
this.saveShareTrack({ id: this.shareId, mallId: this.mallId })
|
||||||
}
|
}
|
||||||
// this.getShopList({ id: this.mallId })
|
this.getShopList({ id: this.mallId })
|
||||||
//TEST
|
//TEST
|
||||||
this.setDetail()
|
// this.setDetail()
|
||||||
// window['appCallBack'] = this.appCallBack
|
// window['appCallBack'] = this.appCallBack
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -116,10 +116,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
//分享轨迹保存
|
//分享轨迹保存
|
||||||
saveShareTrack() {
|
saveShareTrack(data) {
|
||||||
let data = {
|
|
||||||
mallId: this.mallId
|
|
||||||
}
|
|
||||||
saveShareTrack(data).then(res => {
|
saveShareTrack(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -7,14 +7,6 @@
|
|||||||
<van-image :src="item.iconUrl" />
|
<van-image :src="item.iconUrl" />
|
||||||
<van-grid-item :text="item.name" />
|
<van-grid-item :text="item.name" />
|
||||||
</van-grid-item>
|
</van-grid-item>
|
||||||
<van-grid-item>
|
|
||||||
<van-image :src="item.iconUrl" />
|
|
||||||
<van-grid-item :text="item.name" />
|
|
||||||
</van-grid-item>
|
|
||||||
<van-grid-item>
|
|
||||||
<van-image :src="item.iconUrl" />
|
|
||||||
<van-grid-item :text="item.name" />
|
|
||||||
</van-grid-item>
|
|
||||||
</van-grid>
|
</van-grid>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -38,8 +30,8 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
//TEST
|
//TEST
|
||||||
this.setList()
|
// this.setList()
|
||||||
// this.getShopList()
|
this.getShopList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//TEST
|
//TEST
|
||||||
|
|||||||
Reference in New Issue
Block a user