| xqd
@@ -2,29 +2,28 @@
|
|
|
<view class="main">
|
|
|
<view class="pr">
|
|
|
<view class="header-content">
|
|
|
- <image src="http://file.supermm.me/miniProgram/images/personal/bg.png" style="width:100%;height:260rpx;"></image>
|
|
|
+ <image src="../../static/img/mybanner.png" style="width:100%;height:260rpx;"></image>
|
|
|
</view>
|
|
|
<view class="pr" style="z-index:2">
|
|
|
<view class="plr15">
|
|
|
<view class="bdr4 pb20">
|
|
|
<view class="m-dpflex m-justify-start m-align-center" style="height: 165rpx;">
|
|
|
- <image binderror="_binderror" mode="scaleToFill" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg"
|
|
|
- style="width: 120rpx;height: 120rpx;border-radius: 50%;"></image>
|
|
|
- <text class="line1 f20 fb plr15 text-white">落雨桐</text>
|
|
|
+ <image binderror="_binderror" mode="scaleToFill" :src="info.avatar" style="width: 120rpx;height: 120rpx;border-radius: 50%;"></image>
|
|
|
+ <text class="line1 f20 fb plr15 text-white">{{info.nickname}}</text>
|
|
|
<navigator hoverClass="none">
|
|
|
- <image class="header-img" src="http://file.supermm.me/miniProgram/images/personal/edit.png"></image>
|
|
|
+ <image class="header-img" src="../../static/toolimg/myedit.png"></image>
|
|
|
</navigator>
|
|
|
<view class="pr tr m-flex">
|
|
|
<view class="tip msg" v-if="true"></view>
|
|
|
<navigator hoverClass="none">
|
|
|
- <image class="header-img" src="http://file.supermm.me/miniProgram/images/personal/info.png"></image>
|
|
|
+ <image class="header-img" src="../../static/toolimg/myinfo.png"></image>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="pr m-xcenter plr20 header-box" style="padding: 40rpx 40rpx;background-color: #fff;border-radius: 16rpx;">
|
|
|
<navigator class="m-flex tl f14 m-ycenter dpb" hoverClass="none">
|
|
|
- <view class="m-gray-big f20 fb pr10">0</view>
|
|
|
- <view class="m-gray-letter mt5 f12">代币(个)</view>
|
|
|
+ <view class="m-gray-big f20 fb pr10">{{info.balance}}</view>
|
|
|
+ <view class="m-gray-letter mt5 f12">余额(元)</view>
|
|
|
</navigator>
|
|
|
<view bindtap="" class="m-flex tl f14 m-ycenter">
|
|
|
<view class="m-gray-big f20 fb">0</view>
|
| xqd
@@ -37,38 +36,34 @@
|
|
|
<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">
|
|
|
- <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_1.png"
|
|
|
- mode=""></image>
|
|
|
+ <image style="width: 76rpx;height: 76rpx;" src="../../static/img/myzixun.png" mode=""></image>
|
|
|
<view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的咨询</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_2.png"
|
|
|
- mode=""></image>
|
|
|
+ <image style="width: 76rpx;height: 76rpx;" src="../../static/img/myyuyue.png" mode=""></image>
|
|
|
<view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的预约</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_3.png"
|
|
|
- mode=""></image>
|
|
|
+ <image style="width: 76rpx;height: 76rpx;" src="../../static/img/myyijian.png" mode=""></image>
|
|
|
<view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的意见单</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_4.png"
|
|
|
- mode=""></image>
|
|
|
+ <image style="width: 76rpx;height: 76rpx;" src="../../static/img/myservice.png" mode=""></image>
|
|
|
<view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">服务包订单</view>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
- <navigator class="pr m-xcenter plr20 pt20" hoverClass="none">
|
|
|
+ <navigator class="pr m-xcenter plr20 pt20" hoverClass="none" url="../archives/my_archives">
|
|
|
<view class="fb f18 pr m-flex tl">健康档案</view>
|
|
|
<view class="pr m-gray-small">档案列表</view>
|
|
|
<label class="m-gray-letter iconfont icon-arrow-right f18 dpb"></label>
|
|
|
</navigator>
|
|
|
- <view class="mt20 pr pb40" style="margin-left: 20rpx;margin-right: 20rpx;">
|
|
|
+ <view class="mt20 pr pb40" style="margin-left: 20rpx;margin-right: 20rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);">
|
|
|
<swiper duration="500" @change="swiperChange" :current="itemcurrent" interval="5000" style="height:380rpx;" class="swiper-box">
|
|
|
- <swiper-item class="swiper-wrapper" style="" v-for="(item,index) in 4" :key="index">
|
|
|
+ <swiper-item class="" style="box-sizing: border-box;" v-for="(item,index) in 4" :key="index">
|
|
|
<view class="bg-white" style="border-radius: 16rpx;height: 100%;">
|
|
|
<navigator class="m-ycenter pt40" hoverClass="none" url="" v-if="false">
|
|
|
<view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">新增健康档案</view>
|
| xqd
@@ -103,30 +98,34 @@
|
|
|
<view class="bg-white margin-lr-sm margin-top-sm" style="border-radius: 16rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);">
|
|
|
<view class="plr10 m-dpflex m-justify-start m-align-center overflow pt30 pb30">
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_1.png"></image>
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/mydoctor.png"></image>
|
|
|
<view class="f14 m-gray-small mt10 line1">家庭医生</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_2.png"></image>
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/myguanzhu.png"></image>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的关注</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/personal/my-class/my_class.png"></image>
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/wenzhang.png"></image>
|
|
|
<view class="f14 m-gray-small mt10 line1">收藏文章</view>
|
|
|
</navigator>
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/personal/my-class/my_class.png"></image>
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/baodan.png"></image>
|
|
|
<view class="tip"></view>
|
|
|
<view class="f14 m-gray-small mt10 line1">我的保单</view>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
<view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30">
|
|
|
<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
- <image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_5.png"></image>
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/pinjia.png"></image>
|
|
|
+ <view class="f14 m-gray-small mt10 line1">我的评价</view>
|
|
|
+ </navigator>
|
|
|
+ <navigator class="width25 m-ycenter overflow pr" hoverClass="none">
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/myhple.png"></image>
|
|
|
<view class="f14 m-gray-small mt10 line1">帮助反馈</view>
|
|
|
</navigator>
|
|
|
<view bindtap="" class="width25 m-ycenter overflow pr">
|
|
|
- <image style="width: 42rpx;height: 42rpx;" src="https://file.supermm.me/h5/wechat-h5/personal/kf.png"></image>
|
|
|
+ <image style="width: 42rpx;height: 42rpx;" src="../../static/toolimg/kefu.png"></image>
|
|
|
<view class="f14 m-gray-small mt10 line1">客服咨询</view>
|
|
|
</view>
|
|
|
</view>
|
| xqd
@@ -147,7 +146,8 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- itemcurrent: 0
|
|
|
+ itemcurrent: 0,
|
|
|
+ info: {}
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
| xqd
@@ -156,7 +156,9 @@
|
|
|
},
|
|
|
getUserInfo: async function() {
|
|
|
let res = await this.$request.post('/api/v1/user/userInfo')
|
|
|
- console.log(res)
|
|
|
+ if (res.status == 0) {
|
|
|
+ this.info = res.data
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|