|
|
@ -4,7 +4,7 @@ |
|
|
|
<view class="TopCon pad" > |
|
|
|
<!-- 地址、 --> |
|
|
|
<view class="adrsCon"> |
|
|
|
<view class="adr" v-if="vuex_cityInfo.city" @click="getLatLngFn">{{ vuex_cityInfo.city }} </view> |
|
|
|
<view class="adr oneRowText" v-if="vuex_cityInfo.city" @click="getLatLngFn">{{vuex_cityInfo.city}} <text v-if="vuex_cityInfo.name"> / {{vuex_cityInfo.name}}</text></view> |
|
|
|
<view class="adr" v-else @click="getLatLngFn" style="display: flex;align-items: center;"> |
|
|
|
<text>获取定位信息</text> |
|
|
|
<!-- <image src="@/static/images/icon/down.png" mode="" style="width: 18rpx;height: 18rpx;margin-left: 6rpx;"></image> --> |
|
|
@ -251,6 +251,7 @@ |
|
|
|
this.$goPage('/pages/indexEntry/webView/webView') |
|
|
|
}, |
|
|
|
async initApi() { |
|
|
|
try{ |
|
|
|
uni.showLoading({ |
|
|
|
title: '正在加载...' |
|
|
|
}) |
|
|
@ -258,6 +259,11 @@ |
|
|
|
await this.getRecommendList() |
|
|
|
await this.recommendSchoolList() |
|
|
|
this.$nextTick(()=>{uni.hideLoading()}) |
|
|
|
}catch(e){ |
|
|
|
this.$nextTick(()=>{uni.hideLoading()}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
goCoachDetail(item) { |
|
|
|
let objStr = encodeURIComponent(JSON.stringify(item)) |
|
|
@ -295,7 +301,7 @@ |
|
|
|
this.$store.commit('updateSchool', {}) |
|
|
|
return this.$u.utils.clickSignUp() |
|
|
|
}else if(item.text=='签到签退') { |
|
|
|
if(this.vuex_userInfo.applyStep<6) return this.$u.toast('请先报名学员') |
|
|
|
// if(this.vuex_userInfo.applyStep<6) return this.$u.toast('请先报名学员') |
|
|
|
} |
|
|
|
this.$goPage(item.url) |
|
|
|
}, |
|
|
|