|
|
|
@ -6,8 +6,8 @@
|
|
|
|
<image mode="widthFix" :src="$url+item" />
|
|
|
|
<image mode="widthFix" :src="$url+item" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="tu_button_main">
|
|
|
|
<view class="tu_button_main">
|
|
|
|
<view class="tu_button" @click="goto('1')">
|
|
|
|
<view class="tu_button" >
|
|
|
|
下一步
|
|
|
|
<view @click="goto('1')">下一步</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
$image,
|
|
|
|
$image,
|
|
|
|
$response
|
|
|
|
$response
|
|
|
|
} from '@/api'
|
|
|
|
} from '@/api'
|
|
|
|
|
|
|
|
import CheckLogin from '@/components/check_login/check_login.vue'
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
onShow
|
|
|
|
onShow
|
|
|
|
} from '@dcloudio/uni-app'
|
|
|
|
} from '@dcloudio/uni-app'
|
|
|
|
@ -66,30 +66,44 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const goto=(type)=>{
|
|
|
|
const goto=(type)=>{
|
|
|
|
if(type=='noimage'){
|
|
|
|
uni.$lu.user((info) => {
|
|
|
|
if ($store.buy_info.person.length === 0) {
|
|
|
|
console.log('---------',info)
|
|
|
|
uni.reLaunch({
|
|
|
|
if(info.id===0){
|
|
|
|
url: '/pages/buy/person/person?type=info'
|
|
|
|
uni.$lu.toast("请登录")
|
|
|
|
})
|
|
|
|
setTimeout(()=>{
|
|
|
|
} else {
|
|
|
|
uni.switchTab({
|
|
|
|
uni.reLaunch({
|
|
|
|
url: '/pages/main/home/home'
|
|
|
|
url: '/pages/buy/info/info'
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},1000)
|
|
|
|
}
|
|
|
|
|
|
|
|
}else{
|
|
|
|
return false;
|
|
|
|
if ($store.buy_info.person.length === 0) {
|
|
|
|
}else{
|
|
|
|
uni.navigateTo({
|
|
|
|
if(type=='noimage'){
|
|
|
|
url: '/pages/buy/person/person?type=info'
|
|
|
|
if ($store.buy_info.person.length === 0) {
|
|
|
|
})
|
|
|
|
uni.reLaunch({
|
|
|
|
} else {
|
|
|
|
url: '/pages/buy/person/person?type=info'
|
|
|
|
uni.navigateTo({
|
|
|
|
})
|
|
|
|
url: '/pages/buy/info/info'
|
|
|
|
} else {
|
|
|
|
})
|
|
|
|
uni.reLaunch({
|
|
|
|
|
|
|
|
url: '/pages/buy/info/info'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
if ($store.buy_info.person.length === 0) {
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: '/pages/buy/person/person?type=info'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
|
|
url: '/pages/buy/info/info'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onShow(() => {
|
|
|
|
onShow(() => {
|
|
|
|
|
|
|
|
|
|
|
|
getComboImage()
|
|
|
|
getComboImage()
|
|
|
|
|