| xqd
@@ -32,13 +32,13 @@
|
|
|
<!-- 名字+标签 -->
|
|
|
<view class="name">
|
|
|
<view style="margin-right: 15rpx;">{{item.name}}</view>
|
|
|
- <view class="label" v-for="(itm,idx) in item.label">{{itm}}</view>
|
|
|
+ <view class="label" v-for="(itm,idx) in item.label_texts" :key="idx">{{itm.label_name}}</view>
|
|
|
</view>
|
|
|
<!-- 科室 -->
|
|
|
<view class="department">
|
|
|
<text>科室:</text>
|
|
|
- <text style="color: #333333;">{{item.office.name}}</text>
|
|
|
- <text style="color: #333333;">{{item.qualification.name}}</text>
|
|
|
+ <text style="color: #333333;">{{item.office.name||'暂无'}}</text>
|
|
|
+ <text style="color: #333333;">{{item.qualification.name||'暂无'}}</text>
|
|
|
</view>
|
|
|
<!-- 选项 -->
|
|
|
<view class="option">
|
| xqd
@@ -56,7 +56,7 @@
|
|
|
<view @click="isqueren" style="height: 35rpx;width: auto;font-size: 24rpx;margin-left: 30rpx;display: flex;align-items: center;">
|
|
|
<image :src="imgitem.name" mode="" style="width: 30rpx;height: 30rpx;margin-right: 10rpx;"></image>
|
|
|
<text style="color: #999999;">已阅读并同意</text>
|
|
|
- <text style="color: #0B73B9;">《超级宝妈宝》</text>
|
|
|
+ <text style="color: #0B73B9;">《熙宝HMO》</text>
|
|
|
<text style="color: #999999;">服务协议</text>
|
|
|
</view>
|
|
|
</view>
|
| xqd
@@ -66,7 +66,7 @@
|
|
|
<!-- 底部按钮 -->
|
|
|
<view class="footer">
|
|
|
<view class="cu-bar bg-white tabbar border shop" style="width: 100%;">
|
|
|
- <button class="action" open-type="contact" style="width: 33%;">
|
|
|
+ <button class="action" @click="show=true" style="width: 33%;">
|
|
|
<view class="cuIcon-service text-green">
|
|
|
</view>
|
|
|
客服
|
| xqd
@@ -74,6 +74,10 @@
|
|
|
<view class="submit" @click="next" style="background-color: #0B73B9; color: #FFFFFF;">下一步</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <u-popup v-model="show" mode="bottom" border-radius="14" height="300rpx">
|
|
|
+ <u-button open-type="contact" :custom-style="customStyle">会话客服</u-button>
|
|
|
+ <u-button @click="playphone" :custom-style="customStyle">电话客服</u-button>
|
|
|
+ </u-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
| xqd
@@ -97,10 +101,21 @@
|
|
|
name: "https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/img/xieyi.png"
|
|
|
},
|
|
|
packs: {},
|
|
|
- serviceid: ""
|
|
|
+ serviceid: "",
|
|
|
+ show:false,
|
|
|
+ customStyle:{
|
|
|
+ width:'600rpx',
|
|
|
+ marginTop:"35rpx"
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ playphone(){
|
|
|
+ uni.makePhoneCall({
|
|
|
+ phoneNumber:"123456"
|
|
|
+ })
|
|
|
+ this.show = false
|
|
|
+ },
|
|
|
//关注
|
|
|
submitCollect: async function(e) {
|
|
|
console.log(e)
|
| xqd
@@ -152,6 +167,9 @@
|
|
|
title: '请先同意《协议》'
|
|
|
});
|
|
|
} else {
|
|
|
+ this.packs.label = []
|
|
|
+ this.packs.label_texts = []
|
|
|
+ console.log(this.packs)
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/service_packs/packs_information?data=' + JSON.stringify(this.packs)
|
|
|
})
|