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