170 lines
3.0 KiB
Vue
170 lines
3.0 KiB
Vue
<template>
|
|
<view class="app">
|
|
<view class="advice">
|
|
<view class="doctor">
|
|
<text>医生建议</text>
|
|
<input type="text">
|
|
</view>
|
|
|
|
</view>
|
|
<view class="evaluate" @tap="show=true">
|
|
<text>评价</text>
|
|
</view>
|
|
|
|
<!-- 弹框 -->
|
|
<view class="frame">
|
|
<u-popup v-model="show" mode="bottom" length="65%" border-radius="30">
|
|
|
|
<view class="cencel" @tap="show = false">
|
|
<image src="../../static/gb.png" mode=""></image>
|
|
</view>
|
|
<view class="satisfied">
|
|
<view class="satisfieds">
|
|
满意
|
|
</view>
|
|
<view class="commonly">
|
|
一般
|
|
</view>
|
|
<view class="commonly">
|
|
不满意
|
|
</view>
|
|
</view>
|
|
<view class="submit">
|
|
提交
|
|
</view>
|
|
</u-popup>
|
|
</view>
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
show:false
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
},
|
|
//1.分享给朋友
|
|
onShareAppMessage(res) {
|
|
let pages = getCurrentPages();
|
|
let url = pages[pages.length - 1].$page.fullPath
|
|
return {
|
|
title: '泉医到家',
|
|
path: url,
|
|
}
|
|
},
|
|
//2.分享到朋友圈
|
|
onShareTimeline(res) {
|
|
let pages = getCurrentPages();
|
|
let url = pages[pages.length - 1].$page.fullPath
|
|
return {
|
|
title: '泉医到家',
|
|
path: url,
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.app {
|
|
|
|
padding: 3%;
|
|
.advice {
|
|
width: 95%;
|
|
margin: 0 auto;
|
|
height: 931rpx;
|
|
background: #FFFFFF;
|
|
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
|
border-radius: 20rpx;
|
|
// margin-top: 5%;
|
|
.doctor{
|
|
margin: 0 auto;
|
|
height: 130rpx;
|
|
width: 95%;
|
|
// background-color: red;
|
|
border-bottom: 1rpx solid #D8D4D4;
|
|
font-size: 45px;
|
|
color: #000000;
|
|
line-height: 110rpx;
|
|
}
|
|
|
|
text{
|
|
|
|
font-size: 45rpx;
|
|
color: #000000;
|
|
|
|
}
|
|
}
|
|
.evaluate{
|
|
width: 217rpx;
|
|
height: 68rpx;
|
|
line-height: 68rpx;
|
|
background: #4C7BC9;
|
|
border-radius: 26rpx;
|
|
font-size: 32rpx;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
float: right;
|
|
margin-top: 12%;
|
|
// margin-bottom: 30rpx;
|
|
margin-right: 30rpx;
|
|
}
|
|
|
|
// 弹框
|
|
|
|
.cencel image {
|
|
width: 31rpx;
|
|
height: 31rpx;
|
|
// float: right;
|
|
margin: 53rpx 53rpx 0rpx 90%;
|
|
|
|
}
|
|
.satisfied{
|
|
// width: 217px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
border-radius: 25rpx;
|
|
margin-top: 15%;
|
|
|
|
// padding-right: 5rpx;
|
|
.satisfieds{
|
|
width: 217rpx;
|
|
height: 222rpx;
|
|
line-height: 222rpx;
|
|
background: #4C7BC9;
|
|
border-radius: 25rpx;
|
|
text-align: center;
|
|
font-size: 50rpx;
|
|
color: #FCFCFC;
|
|
}
|
|
|
|
.commonly{
|
|
width: 217rpx;
|
|
height: 222rpx;
|
|
line-height: 222rpx;
|
|
background: #BFBFBF;
|
|
border-radius: 25rpx;
|
|
text-align: center;
|
|
font-size: 50rpx;
|
|
color: #FCFCFC;
|
|
}
|
|
}
|
|
.submit{
|
|
margin: 0 auto;
|
|
width: 501rpx;
|
|
height: 71rpx;
|
|
line-height: 71rpx;
|
|
background: #4C7BC9;
|
|
border-radius: 26rpx;
|
|
font-size: 34rpx;
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
margin-top: 20%;
|
|
}
|
|
}
|
|
</style>
|