123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942 |
- <template>
- <view class="content">
- <view class="bg">
- <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/dd7da40764af4db0ac326db271c7f1d3.png" />
- </view>
- <view class="top-box" >
- <view class="status_bar" :style="{height: statusBarHeight}"></view>
- <view class="btn-box">
- <view class="btns" @click="goback()">
- <view class="btn" >
- <image src="/static/images/back_white.png" />
- </view>
- <view class="line" ></view>
- <view class="btn" @click="gohome()" >
- <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/5981c2cd5f23484181f5b328c820d0de.png" />
- </view>
- </view>
- </view>
-
- </view>
- <view class="cont">
- <view class="status_bar" :style="{height: statusBarHeight}"></view>
- <view class="docs" style="margin-top:88rpx" >
- <view class="tip" @click="navTo('/pages_doctor/doctorImgs?doctorId='+doctor.doctorId)">
- <view class="left">
- <view class="title">
- <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/a58ee2a3fb674c2e8339243cb4ca1378.png"></image>
- <view >实名认证</view>
- </view>
- <view class="cert">
- <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/62aeeb0579974b67863a6ab56e9562f9.png"></image>
- <view >资格证编号:{{doctor.certificateCode!=null?doctor.certificateCode.substr(0,4)+"****"+doctor.certificateCode.substr(doctor.certificateCode.length-4,doctor.certificateCode.length):""}}</view>
- </view>
- </view>
- <view class="right">
- <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/1d519ad0467e4daea843aac745ae6b40.png"></image>
- </view>
- </view>
- <view class="doc-cont">
- <view class="doc-box">
- <view class="left">
- <image :src="doctor.avatar" mode="aspectFill"></image>
- </view>
- <view class="right">
- <view class="doc-name-box">
- <view class="doc-name">
- {{doctor.doctorName}}
- </view>
- <view class="doc-btns" >
- <view class="btn" @click="followChange()">
- <image v-if="isFollow" src="../../static/images/icon_strar.png"></image>
- <image v-if="!isFollow" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/d509e50536804703a4b7dc066b16beee.png"></image>
- 关注
- </view>
- <view class="btn">
- <image src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/f79c3b9cbefa40be8c2beb74f616eefc.png"></image>
- 分享
- <button class="contact-btn" data-name="shareBtn" open-type="share">分享</button>
- </view>
- </view>
- </view>
- <view class="doc-dept-box">
- {{doctor.position}}
- <view class="line"></view>
- {{department.deptName}}
- </view>
- <view class="doc-his-box">
- {{hospital.hospitalName}}
- </view>
-
- </view>
-
- </view>
- <view class="doc-desc-box">
- <view class="doc-desc-cont" @click="navTo('/pages_doctor/doctorInfo?doctorId='+doctor.doctorId)">
- <view class="desc-cont ellipsis2"> {{doctor.speciality}}</view>
- <view class="title">擅长:</view>
- <view class="btn">详情</view>
- </view>
- <view class="doc-desc-cont" @click="navTo('/pages_doctor/doctorInfo?doctorId='+doctor.doctorId)">
- <view class="desc-cont ellipsis2"> {{doctor.introduction}}</view>
- <view class="title">介绍:</view>
- <view class="btn">详情</view>
- </view>
- </view>
-
- </view>
-
- </view>
-
- <view class="price-box">
- <view class="count-box">
- <view class="count-item">
- <view class="count yellow">{{doctor.pingStar}}分</view>
- <view class="name">好评</view>
- </view>
- <view class="count-item">
- <view class="count">{{doctor.orderNumber}}</view>
- <view class="name">接诊量</view>
- </view>
- <view class="count-item">
- <view class="count">{{doctor.speed}}分钟</view>
- <view class="name">平均响应</view>
- </view>
- <view class="count-item">
- <view class="count">0</view>
- <view class="name">粉丝数</view>
- </view>
- </view>
- <view class="price-list" v-if="doctor!=null&&doctor.prices!=null&&doctor.prices.length>0">
- <view class="price-item" @click="doInquiry(price)" v-for="(price,index) in doctor.prices">
- <view class="p-left">
- <image v-if="price.type==1" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/645f3f298a264882b48e529342fc4074.png"></image>
- <image v-if="price.type==2" src="https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/45e904a9e74f4d1da771936a4b83f015.png"></image>
- <view class="price-name">
- <view class="price">
- <text class="title" v-if="price.type==1">图文问诊</text>
- <text class="title" v-if="price.type==2">视频问诊</text>
- <text class="money">{{price.price.toFixed(2)}}/次</text>
- </view>
- <view class="price-desc" v-if="price.type==1">
- 与医生图文交流
- </view>
- <view class="price-desc" v-if="price.type==2">
- 与医生视频交流
- </view>
- </view>
-
- </view>
- <view class="p-right">
- <view :class="doctor.workStatus==1?'btn':'btn gray'" >
- 去咨询
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- <view class="his-box">
- <view class="title-box">
- <view class="title">执业医院</view>
- </view>
- <view class="his" @click="navTo('/pages/index/hospitalDetails?hospitalId='+hospital.hospitalId)">
- <view class="left">
- <view class="his-name">
- {{hospital.hospitalName}}
- </view>
- <view class="his-desc" v-if="hospital.hospitalType!=null">
- {{hospital.hospitalType}}
- </view>
- </view>
- <view class="right">
- <image src="/static/images/icon_arrow_r.png"></image>
- </view>
- </view>
- </view> -->
- <!-- <view class="desc-box">
- <view class="title-box">
- <view class="title">医生介绍</view>
- </view>
- <view class="desc" >
- {{doctor.introduction}}
- </view>
- </view> -->
- <view class="ping-box">
- <view class="title-box">
- <view class="left">
- <view class="title">患者评价({{pingsTotal}})</view>
- </view>
- <view class="more" @click="navTo('./doctorPingList?doctorId='+doctorId)">
- <view >更多</view>
- <image src="/static/images/icon_arrow_r.png"></image>
- </view>
- </view>
- <view class="ping-list" v-if="pings.length>0">
- <view class="ping-item" v-for="(item) in pings">
- <view class="left">
- <image :src="item.avatar==null?'/static/images/detault_head.jpg':item.avatar"></image>
- </view>
- <view class="right">
- <view class="user-name-box">
- <view class="user-name">
- {{item.nickName}}
- </view>
- <view class="ping-star">
- <u-rate activeColor="#ffc603" count="5" readonly v-model="item.pingStar"></u-rate>
- </view>
- </view>
- <view class="ping-cont">
- {{item.pingContent}}
- </view>
- <view class="ping-time">
- {{item.pingTime}}
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import {checkFollow,doFollow,getDoctorDetails,getDoctorPingList} from '@/api/doctor.js'
- export default {
- data() {
- return {
- pingsTotal:0,
- statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
- isFollow:false,
- doctorId:null,
- doctor:null,
- department:null,
- hospital:null,
- pings:[]
- }
- },
- onLoad(options) {
- if(options.doctorId!=null){
- this.doctorId=options.doctorId;
- }
- else if (options.hasOwnProperty('q') && options.q) {
- // 通过下面这步解码,可以拿到url的值
- const url = decodeURIComponent(options.q)
- // // 对url中携带的参数提取处理
- const obj = this.$urlToObj(url)
- uni.setStorageSync('doctorId',obj.doctorId);
- this.doctorId=obj.doctorId;
- }
- },
- onShow() {
- this.getDoctorDetails();
- this.getDoctorPingList();
- var that=this;
- this.$isLogin().then(
- res => {
- if(res){
- that.checkFollow();
- }
- },
- rej => {}
- );
- },
- //发送给朋友
- onShareAppMessage(res) {
- return {
- title: this.doctor.doctorName,
- path: '/pages_doctor/doctorDetails?doctorId='+this.doctorId,
- imageUrl: 'https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20230106/6b459adfb1004c1a96219bcdf07e337c.png' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
- }
-
- },
- //分享到朋友圈
- onShareTimeline(res) {
- return {
- title: this.doctor.doctorName,
- query:'doctorId='+this.doctorId,//页面参数
- imageUrl: 'https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20230106/6b459adfb1004c1a96219bcdf07e337c.png' //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
- }
-
- },
- methods: {
- goback(){
- uni.navigateBack()
- },
- gohome(){
- uni.switchTab({
- url: '/pages/index/index'
- })
- },
- doInquiry(price){
- if(this.doctor.workStatus==0){
- uni.showToast({
- icon:'none',
- title: "医生休息中",
- });
- return;
- }
- var that=this;
- this.$isLogin().then(
- res => {
- if(res){
- uni.navigateTo({
- url: "/pages_order/inquiryForm1?inquiryType=1&orderType="+price.type+"&doctorId="+that.doctorId
- })
- }
- else{
- uni.navigateTo({
- url:'/pages/auth/login'
- })
- }
-
- },
- rej => {}
- );
- },
- followChange() {
- this.$isLogin().then(
- res => {
- if(res){
- this.doFollow();
- }
- else{
- uni.navigateTo({
- url:'/pages/auth/login'
- })
- }
- },
- rej => {}
- );
- },
- checkFollow(){
- var that=this;
- var data={doctorId:this.doctorId}
- checkFollow(data).then(
- res => {
-
- if(res.code==200){
- if(res.isFollow==1) {
- this.isFollow=true;
-
- } else {
- this.isFollow=false;
- }
- }
- else{
- this.isFollow=false;
- }
- },
- rej => {}
- );
- },
- doFollow(){
- var that=this;
- var data={doctorId:this.doctorId}
- doFollow(data).then(
- res => {
- this.isFollow=!this.isFollow;
- if(res.code=200){
- uni.showToast({
- title: res.msg
- })
- }
- },
- rej => {}
- );
- },
- getDoctorDetails() {
- //联网加载数据
- var that = this;
- var data = {
- doctorId: this.doctorId
- };
- getDoctorDetails(data).then(res => {
- if(res.code==200){
- this.doctor=res.data.doctor;
- this.doctor.prices=JSON.parse(this.doctor.priceJson)
- this.department=res.data.department;
- this.hospital=res.data.hospital;
- }else{
- uni.showToast({
- icon:'none',
- title: "请求失败",
- });
- }
- });
- },
- getDoctorPingList() {
- //联网加载数据
- var that = this;
- var data = {
- doctorId: this.doctorId,
- pageNum: 1,
- pageSize: 10
- };
- getDoctorPingList(data).then(res => {
- if(res.code==200){
- this.pings=res.data.list;
- this.pingsTotal=res.data.total
- }else{
- uni.showToast({
- icon:'none',
- title: "请求失败",
- });
- }
- });
- },
- navTo(url){
- uni.navigateTo({
- url: url
- })
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .content{
- height: 100%;
- position: relative;
- .bg{
- width: 100%;
- height:500rpx;
- // background-color: #C39A58;
- // background: linear-gradient(#C39A58, #E2C99E);
- border-radius: 0rpx 0rpx 50rpx 50rpx;
- position: fixed;
- image{
- width: 100%;
- height:500rpx;
- }
- // z-index: 1;
- }
- .top-box{
- position: fixed;
- top: 0;
- left: 0;
- z-index: 1001;
- .btn-box{
- height:88rpx;
- margin-left: 15rpx;
- display: flex;
- align-items: center;
- justify-content: flex-start;
- .btns{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- background: rgba(255,255,255,0.4);
- border-radius: 44rpx;
- opacity: 1;
- .btn{
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 15rpx 20rpx;
- image{
- width:32rpx;
- height:32rpx;
- }
- }
- .line{
- width:2rpx;
- height:40rpx;
- background: rgba(233,233,233,0.5);
- border-radius: 2px;
- opacity: 1;
- }
- }
-
- }
-
- }
- .cont{
- top:50rpx;
- position: relative;
- padding: 0rpx 20rpx;
- z-index: 999;
- width: 100%;
- display: flex;
- flex-direction: column;
-
- .docs{
- margin-bottom: 20rpx;
- padding-top: 30rpx;
- position: relative;
- .tip{
- z-index: 110;
- width: 100%;
- position: absolute;
- top:-25rpx;
- padding: 0rpx 26rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- height:60rpx;
- background-color: #2c261f;
- border-radius: 15rpx 15rpx 0rpx 0rpx;
- .left{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- .title{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- color: #F0CBB1;
- font-size: 24rpx;
- font-weight: bold;
- image{
- margin-right: 5rpx;
- width:20rpx;
- height:20rpx;
- }
- }
- .cert{
- margin-left: 10rpx;
- display: flex;
- align-items: center;
- justify-content: flex-start;
- color: #F0CBB1;
- font-size: 24rpx;
- font-weight: bold;
- image{
- margin-right: 10rpx;
- width:20rpx;
- height:20rpx;
- }
- }
- }
- .right{
- image{
- width:20rpx;
- height:20rpx;
- }
- }
- }
- .doc-cont{
- z-index:111;
- padding: 30rpx;
- box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
- background-color: #fff;
- border-radius: 15rpx;
- .doc-box{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- .left{
- width: 190upx;
- height: 190upx;
- image{
- box-sizing: border-box;
- border-radius: 50%;
- border:3rpx solid #E2C99E;
- width: 190upx;
- height: 190upx;
- }
- }
- .right{
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- margin-left: 20rpx;
- height:190upx;
- width: calc(100% - 210upx);
- .doc-name-box{
- display: flex;
- align-items: center;
- justify-content: space-between;
- position: relative;
- .doc-name{
- font-size: 38rpx;
- font-weight: bold;
- color: #2A2B2E;
- }
- .doc-btns{
- display: flex;
- align-items: center;
- justify-content: flex-end;
- .btn{
- border-radius: 30rpx;
- padding: 10rpx 20rpx;
- border: 1rpx solid #C39A58;
- margin-left: 10rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-left: 10rpx;
- color: #C39A58;
- font-size: 24rpx;
- font-weight: bold;
- position: relative;
- image{
- margin-right: 5rpx;
- width:24rpx;
- height:24rpx;
- }
- .contact-btn{
- display: inline-block;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- z-index: 9999;
- }
- }
-
-
- }
-
- }
- .doc-dept-box{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- margin-top: 15rpx;
- font-size: 28upx;
- font-weight: bold;
- font-family: PingFang SC;
- color: #2d2b36;
- .line{
- height:25rpx;
- width:3rpx;
- background-color: #ECECEC;
- margin: 0rpx 10rpx;
- }
-
- }
- .doc-his-box{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- margin-top: 15rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #2d2b36;
-
- }
-
- }
-
- }
- .doc-desc-box{
- .doc-desc-cont{
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: flex-start;
- position: relative;
- margin-top: 15rpx;
- .title{
- font-weight: bold;
- position: absolute;
- top:0rpx;
- left:0rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #2A2B2E;
- }
- .desc-cont{
- width: 100%;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- }
- .btn{
- padding: 5rpx 0rpx 5rpx 15rpx;
- background-color: white;
- position: absolute;
- bottom: 0rpx;
- right:0rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #3D74F7;
- }
-
- }
- }
- }
-
- }
-
- .price-box{
- margin-bottom: 20rpx;
- padding: 15rpx;
- background: linear-gradient(180deg, #F8EADC 0%, #FAF2E7 100%);
- box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
- border-radius: 15rpx;
- .count-box{
- display: flex;
- align-items: center;
- justify-content: space-between;
- .count-item{
- width:25%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- .count{
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #2A2B2E;
- }
- .yellow{
- font-size: 40rpx;
- color: #C39A58;
- }
- .name{
- margin-top: 10rpx;
- font-size: 24upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #626468;
- }
- }
- }
- .price-list{
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- justify-content: flex-start;
- margin-top: 15rpx;
- padding: 15rpx;
- .price-item{
- margin-bottom: 15rpx;
- padding: 20rpx;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-radius: 15rpx;
- background-color: #ffffff;
- .p-left{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- image{
- width: 96rpx;
- height:96rpx;
- }
- .price-name{
- padding: 10rpx 0rpx;
- margin-left: 15rpx;
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- justify-content: space-between;
- .price{
- display: flex;
- align-items: center;
- justify-content: flex-start;
-
- .title{
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #111111;
- }
- .money{
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #FD8005;
- }
-
- }
- .price-desc{
- margin-top: 20rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- }
-
- }
-
-
- }
- .p-right{
- .btn{
- padding: 15rpx 30rpx;
- background-color: #C39A58;
- color: #fff;
- font-size: 28rpx;
- border-radius: 30rpx;
- }
- .gray{
- background-color: #9a9a9c;
- }
- }
-
- }
- }
- }
- .his-box{
- margin-bottom: 20rpx;
- padding: 15rpx;
- box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
- background-color: #fff;
- border-radius: 15rpx;
- .title-box{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: flex-start;
- .title{
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #111111;
- }
- }
- .his{
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 15rpx;
- .left{
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- justify-content: center;
- .his-name{
- font-size: 32upx;
- font-family: PingFang SC;
- color: #111111;
- }
- .his-desc{
- margin-top: 15rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- }
- }
- .right{
- image{
- width:30rpx;
- height:30rpx;
- }
- }
- }
- }
- .desc-box{
- margin-bottom: 20rpx;
- padding: 15rpx;
- box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
- background-color: #fff;
- border-radius: 15rpx;
- .title-box{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: flex-start;
- .title{
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #111111;
- }
- }
- .desc{
- margin-top: 15rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- }
- }
- .ping-box{
- margin-bottom: 20rpx;
- padding: 15rpx;
- box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
- background-color: #fff;
- border-radius: 15rpx;
- .title-box{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- .left{
- display: flex;
- align-items: center;
- justify-content: center;
- .title{
- font-size: 32upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #111111;
- }
- }
- .more{
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- image{
- margin-left: 10rpx;
- width: 30rpx;
- height:30rpx;
- }
- }
-
-
- }
- .ping-list{
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- justify-content: flex-start;
- margin-top: 15rpx;
- padding: 15rpx;
- .ping-item{
- padding: 20rpx 0rpx;
- border-bottom: 1rpx solid #efefef;
- width: 100%;
- display: flex;
- align-items: flex-start;
- justify-content: flex-start;
- &:last-child{
- padding-bottom: 0rpx;
- border-bottom: none;
- }
- .left{
- image{
- width:80rpx;
- height:80rpx;
- border-radius: 50%;
- }
- }
- .right{
- width: 100%;
- margin-left: 15rpx;
- .user-name-box{
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: 28upx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #111111;
- }
- .ping-cont{
- margin-top: 10rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- }
- .ping-time{
- margin-top: 10rpx;
- font-size: 28upx;
- font-family: PingFang SC;
- color: #9a9a9c;
- }
-
- }
- }
- }
- }
- }
- }
-
- </style>
|