| xqd
@@ -37,30 +37,30 @@
|
|
|
</view>
|
|
|
<view class="fb f18 plr20">我的订单</view>
|
|
|
<view class="margin-lr-sm m-dpflex m-justify-start m-align-center overflow bg-white margin-top-sm" style="padding-top: 40rpx;padding-bottom: 40rpx;border-radius: 16rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);">
|
|
|
- <navigator class="width25 m-ycenter overflow pr" hoverClass="none" url="../common_tools/my_consulting/my_consulting">
|
|
|
- <image style="width: 76rpx;height: 76rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/myzixun.png"
|
|
|
- mode=""></image>
|
|
|
+ <navigator class="width25 m-ycenter overflow pr" v-for="(item,index) in icons" :key="index" hoverClass="none"
|
|
|
+ @click="gotoinfoorder(item.name)">
|
|
|
+ <image style="width: 76rpx;height: 76rpx;" :src="item.image" mode=""></image>
|
|
|
<!-- <view class="tip"></view> -->
|
|
|
- <view class="f14 m-gray-small mt10 line1">我的咨询</view>
|
|
|
+ <view class="f14 m-gray-small mt10 line1">{{item.name}}</view>
|
|
|
</navigator>
|
|
|
- <navigator class="width25 m-ycenter overflow pr" hoverClass="none" url="../common_tools/my_consulting/my_appointment">
|
|
|
+ <!-- <navigator class="width25 m-ycenter overflow pr" hoverClass="none" url="../common_tools/my_consulting/my_appointment">
|
|
|
<image style="width: 76rpx;height: 76rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/myyuyue.png"
|
|
|
mode=""></image>
|
|
|
- <!-- <view class="tip"></view> -->
|
|
|
+ <view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的预约</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none" url="../common_tools/my_consulting/my_opinion">
|
|
|
<image style="width: 76rpx;height: 76rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/myyijian.png"
|
|
|
mode=""></image>
|
|
|
- <!-- <view class="tip"></view> -->
|
|
|
+ <view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的意见单</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none" url="../service_box/box_details">
|
|
|
<image style="width: 76rpx;height: 76rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/myservice.png"
|
|
|
mode=""></image>
|
|
|
- <!-- <view class="tip"></view> -->
|
|
|
+ <view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">服务包订单</view>
|
|
|
- </navigator>
|
|
|
+ </navigator> -->
|
|
|
</view>
|
|
|
<navigator class="pr m-xcenter plr20 pt20" hoverClass="none" url="../archives/my_archives">
|
|
|
<view class="fb f18 pr m-flex tl">健康档案</view>
|
| xqd
@@ -141,6 +141,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="footer">
|
|
|
+ <image style="width: 200rpx;height: 72rpx;" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/logo.png" mode=""></image>
|
|
|
+ <text style="font-size: 24rpx;color: rgba(0,0,0,.3);margin-top: 15rpx;">宝宝少生病 / 妈妈更省心 / 家人更安心</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="cu-tabbar-height"></view>
|
|
|
<view class="cu-tabbar-height"></view>
|
| xqd
@@ -154,7 +158,7 @@
|
|
|
import store from '@/store'
|
|
|
export default {
|
|
|
onLoad(options) {
|
|
|
-
|
|
|
+ this.getindexImg()
|
|
|
},
|
|
|
onShow() {
|
|
|
this.getUserInfo()
|
| xqd
@@ -199,10 +203,46 @@
|
|
|
conversations: []
|
|
|
},
|
|
|
imService: null,
|
|
|
- mseeage: ""
|
|
|
+ mseeage: "",
|
|
|
+ icons: []
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ getindexImg: async function() {
|
|
|
+ let res = await this.$request.post("/api/v1/common/icons", {
|
|
|
+ type: 3
|
|
|
+ })
|
|
|
+ if (res.status == 200) {
|
|
|
+ this.icons = res.data
|
|
|
+ console.log(this.icons, ">>>>>>>>>>>>>>>>>>>>")
|
|
|
+ }
|
|
|
+ },
|
|
|
+ gotoinfoorder(name) {
|
|
|
+ switch (name) {
|
|
|
+ case "我的咨询":
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../common_tools/my_consulting/my_consulting"
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case "我的预约":
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../common_tools/my_consulting/my_appointment"
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case "我的意见单":
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../common_tools/my_consulting/my_opinion"
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case "服务包订单":
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "../service_box/box_details"
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ },
|
|
|
setUnreadAmount() {
|
|
|
if (this.conversations.unreadTotal > 0) {
|
|
|
this.mseeage = this.conversations.unreadTotal.toString()
|
| xqd
@@ -280,7 +320,18 @@
|
|
|
|
|
|
<style scoped>
|
|
|
@import url("./mine.css");
|
|
|
-
|
|
|
+ .footer{
|
|
|
+ text-align: center;
|
|
|
+ padding-top: 15rpx;
|
|
|
+ padding-bottom: 15rpx;
|
|
|
+ position: absolute;
|
|
|
+ bottom: -200rpx;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
.header-content {
|
|
|
position: absolute;
|
|
|
top: 0;
|