|
@@ -201,7 +201,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="text-black flex justify-between align-center margin-top-sm" style="font-size: 30rpx;">
|
|
<view class="text-black flex justify-between align-center margin-top-sm" style="font-size: 30rpx;">
|
|
<view class="jisu flex align-center">
|
|
<view class="jisu flex align-center">
|
|
- <image src="../../static/img/speed.png" style="width: 30rpx;height: 30rpx;margin-right: 10rpx;margin-top: 6rpx;" mode=""></image>急速响应
|
|
|
|
|
|
+ <image src="../../static/img/speed.png" style="width: 30rpx;height: 30rpx;margin-right: 10rpx;margin-top: 6rpx;"
|
|
|
|
+ mode=""></image>急速响应
|
|
</view>
|
|
</view>
|
|
<view class="">
|
|
<view class="">
|
|
服务
|
|
服务
|
|
@@ -248,6 +249,7 @@
|
|
this.getDoctorList()
|
|
this.getDoctorList()
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
|
|
+
|
|
this.getconfigData()
|
|
this.getconfigData()
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
@@ -278,7 +280,7 @@
|
|
latitude: 0,
|
|
latitude: 0,
|
|
longitude: 0,
|
|
longitude: 0,
|
|
pageindex: 1,
|
|
pageindex: 1,
|
|
- configInfo:{}
|
|
|
|
|
|
+ configInfo: {}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onHide() {
|
|
onHide() {
|
|
@@ -354,9 +356,9 @@
|
|
url: "../doctor_related/select_doctor?value=" + value
|
|
url: "../doctor_related/select_doctor?value=" + value
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- childcare(){
|
|
|
|
|
|
+ childcare() {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url:"../childcare/child_care"
|
|
|
|
|
|
+ url: "../childcare/child_care"
|
|
})
|
|
})
|
|
},
|
|
},
|
|
vaccines() {
|
|
vaccines() {
|
|
@@ -364,10 +366,10 @@
|
|
url: "../vaccines/vaccines_info"
|
|
url: "../vaccines/vaccines_info"
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getconfigData:async function(){
|
|
|
|
|
|
+ getconfigData: async function() {
|
|
let res = await this.$request.post("/api/v1/common/configList")
|
|
let res = await this.$request.post("/api/v1/common/configList")
|
|
console.log(res)
|
|
console.log(res)
|
|
- if(res.status == 0){
|
|
|
|
|
|
+ if (res.status == 0) {
|
|
this.configInfo = res.data
|
|
this.configInfo = res.data
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -382,6 +384,26 @@
|
|
|
|
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // gettokeninfo: async function() {
|
|
|
|
+ // uni.login({
|
|
|
|
+ // success: (res) => {
|
|
|
|
+ // this.$request.post("/api/v1/common/wxLogin", {
|
|
|
|
+ // wechat_code: res.code
|
|
|
|
+ // }).then(data => {
|
|
|
|
+ // console.log(data)
|
|
|
|
+ // if (res.status == 0) {
|
|
|
|
+ // if (res.data.token) {
|
|
|
|
+ // store.commit('setJwt', res.data.token);
|
|
|
|
+ // store.commit('setUser', res.data);
|
|
|
|
+ // store.commit('login');
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // }).catch(err => {
|
|
|
|
+
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|