zyejMAll-mobile/pages/subscribe/subscribe.vue

827 lines
20 KiB
Vue
Raw Normal View History

2024-09-26 19:21:16 +08:00
<template>
2024-09-27 18:36:26 +08:00
<s-layout title="预约" :bgStyle="{ color: '#fff' }">
2024-09-26 19:21:16 +08:00
<view class="container">
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
<view class="doctor-list">
2024-09-27 18:36:26 +08:00
<view class="doctor-cards">
<image class="doctor-avatars" :src="brandList.list[selectedClinicIndex].picUrl"
mode="aspectFill"></image><br /><br />
2024-09-26 19:21:16 +08:00
<view class="brandr-info">
<text class="doctor-names">
2024-09-27 18:36:26 +08:00
<text class="ygcontent">医馆地址</text>
{{ brandList.list[selectedClinicIndex].address }}</text><br /><br />
<!-- <div v-html='brandList.list[selectedClinicIndex].depict'></div> -->
<rich-text class="doctor-specialtys" :nodes="brandList.list[selectedClinicIndex].depict"></rich-text>
</view>
2024-09-26 19:21:16 +08:00
</view>
</view>
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
<view class="clinic-select">
<text class="clinic-select-label">医馆选择</text>
2024-09-27 18:36:26 +08:00
<picker mode="selector" :range="brandNameList" @change="onClinicChange">
2024-09-26 19:21:16 +08:00
<view class="clinic-select-value">
2024-09-27 18:36:26 +08:00
<text>{{ brandList.list[selectedClinicIndex].name}}</text>
2024-09-26 19:21:16 +08:00
</view>
</picker>
</view>
<view class="clinic-select">
<text class="clinic-select-label">预约类型</text>
2024-09-27 18:36:26 +08:00
<picker mode="selector" :range="typenameList" @change="ontype">
2024-09-26 19:21:16 +08:00
<view class="clinic-select-value">
2024-09-27 18:36:26 +08:00
<text>{{ typeList[selecttypeIndex].label}}</text>
2024-09-26 19:21:16 +08:00
</view>
</picker>
</view>
<!-- <text class="clinic-select-label">套餐选择</text><br>
<image class="doctor-avatar" src="/static/avatar-doctor.png" mode="aspectFill"></image> -->
<!-- <view class="date-card">
<view class="weekdays">
<text v-for="(day, index) in weekdays" :key="index" :class="['weekday', index === selectedDayIndex ? 'active' : '']"
@click="selectDay(index)">{{ day }}</text>
</view>
<swiper class="date-swiper" :current="selectedDayIndex" @change="handleSwiperChange">
<swiper-item v-for="(date, index) in dateList" :key="index">
<view class="date-item" :class="index === selectedDayIndex ? 'active' : ''">
<text class="date">{{ formatDate(date.date) }}</text>
</view>
</swiper-item>
</swiper>
</view> -->
<radio-group>
<view class="date-list">
<view v-for="(item, index) in dateList" :key="index" @click="selectDate(index)">
<view class="date-item" v-if="addDate==item.addDate" style="background-color: #ff5541;">
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
<text class="date" style="color: #FFFFFF;">{{ item.formattedDate }}</text>
<text class="weekday" style="color: #FFFFFF;">{{ item.weekday }}</text>
</view>
<view class="date-item" v-if="addDate!=item.addDate">
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
<text class="date">{{ item.formattedDate }}</text>
<text class="weekday">{{ item.weekday }}</text>
</view>
</view>
</view>
</radio-group>
<!-- <view @click="showTime = true"><text v-if="goTime" style="color: #000;">{{goTime }}</text><text v-else>请选择返程时间</text></view> -->
<!-- //通过控制showTime来判断组件是否显示 -->
<!-- <pickerTime :startH="8" :lateH="19" :step="32" v-if="showTime" @close="showTime=false" @chooseTime="bindTime"></pickerTime> -->
<radio-group>
<view class="doctor-list">
<!-- {{techList}} -->
<view class="doctor-card" v-for="(item, index) in techList" :key="index">
<view class="doctor-info">
2024-09-27 18:36:26 +08:00
<image class="doctor-avatar" :src="'https://sfyjk.com/api'+item.photo" mode="aspectFill">
</image>
2024-09-26 19:21:16 +08:00
<text class="doctor-name">{{ item.technicianName }}</text>
<text class="doctor-name" style="float: right;margin-right: 20px;">{{item.typeName}}</text>
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
<!-- <text class="doctor-specialty" v-if="item.content">介绍: {{item.content.substr(0, 20)}}...</text> -->
</view>
2024-09-27 18:36:26 +08:00
<radio style="float: right;" :value="item.id" @click="onradio(item)" :checked="index==0">
</radio>
2024-09-26 19:21:16 +08:00
<div v-if="techid == item.id">
<view class="info-title">服务范围</view>
<rich-text style="white-space: pre-wrap;" :nodes="item.serviceScope"></rich-text>
<view class="info-title">介绍</view>
<rich-text style="white-space: pre-wrap;" :nodes="item.content"></rich-text>
</div>
</view>
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
</view>
</radio-group>
<radio-group>
<view class="date-list">
<view v-for="(item, index) in serviceTime" :key="index" @click="selecthsstr(index)">
<view class="date-itemstr" v-if="hsstr==item.str" style="background-color: #ff5541;">
<text class="weekday">{{ item.str }}</text>
</view>
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
<view v-if="item.ym==='true'">
2024-09-27 18:36:26 +08:00
<view class="date-itemym" v-if="hsstr!=item.str">
<text class="weekdayym">约满</text><br />
<text class="weekday">{{ item.str }}</text>
2024-09-26 19:21:16 +08:00
</view>
</view>
<view v-if="item.ym==='false'">
2024-09-27 18:36:26 +08:00
<view class="date-itemstr" v-if="hsstr!=item.str">
<text class="weekday">{{ item.str }}</text>
2024-09-26 19:21:16 +08:00
</view>
</view>
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
</view>
</view>
</radio-group>
<view class="footer">
<button class="appointment-btn" @click="handleSubmit">立即预约</button>
</view>
</view>
</s-layout>
</template>
<script>
2024-09-27 18:36:26 +08:00
import request from '@/sheep/request';
import {
baseUrl,
apiPath
} from '@/sheep/config';
import {
computed
} from 'vue';
2024-09-26 19:21:16 +08:00
import sheep from '@/sheep';
2024-09-27 18:36:26 +08:00
import {
showShareModal,
showAuthModal
} from '@/sheep/hooks/useModal';
2024-09-26 19:21:16 +08:00
// import pickerTime from "@/pages/commission/pickerTime.vue"
2024-09-27 18:36:26 +08:00
// 用户信息
2024-09-26 19:21:16 +08:00
export default {
// components: {
// pickerTime
// },
data() {
return {
2024-09-27 18:36:26 +08:00
isLogin: null,
memberId: null,
2024-09-26 19:21:16 +08:00
// showTime: false,
2024-09-27 18:36:26 +08:00
serviceTime: [],
sjd: {},
ym: [],
2024-09-26 19:21:16 +08:00
// starhour: 8,
// starminute: 0,
// endhour: 18,
// endminute: 0,
// timejg: 70,
hsstr: "",
dateList: [],
2024-09-27 18:36:26 +08:00
typeList: [{
dictValue: 0,
dictLabel: "调理预约"
},
{
dictValue: 1,
dictLabel: "教培预约"
}
2024-09-26 19:21:16 +08:00
],
2024-09-27 18:36:26 +08:00
typenameList: [],
2024-09-26 19:21:16 +08:00
addDate: "",
techList: [], // 技师列表
//医馆信息
selectedClinicIndex: 0, // 当前选中的医馆索引
brandList: [{
2024-09-27 18:36:26 +08:00
name: ""
2024-09-26 19:21:16 +08:00
}],
brandNameList: [],
brandId: "",
brandName: "",
selectedDayIndex: 0,
2024-09-27 18:36:26 +08:00
selecttypeIndex: 0,
2024-09-26 19:21:16 +08:00
techid: 0,
type: 0,
};
},
created() {
this.isLogin = computed(() => sheep.$store('user').isLogin);
2024-09-27 18:36:26 +08:00
this.memberId = computed(() => sheep.$store('user').userInfo).value.id
this.brandlists();
2024-09-26 19:21:16 +08:00
this.generateDateList();
2024-09-27 18:36:26 +08:00
this.addDate = this.dateList[0].addDate;
2024-09-26 19:21:16 +08:00
this.gettypeList();
2024-09-27 18:36:26 +08:00
console.log(apiPath, baseUrl, "import.meta.env.SHOPRO_API_PATH")
2024-09-26 19:21:16 +08:00
},
methods: {
onClinicChange(event) {
const selectedClinicIndex = event.detail.value;
this.selectedClinicIndex = selectedClinicIndex;
2024-09-27 18:36:26 +08:00
this.brandName = this.brandList.list[selectedClinicIndex].name
this.brandId = this.brandList.list[selectedClinicIndex].id
console.log("dddddddddddd")
2024-09-26 19:21:16 +08:00
this.technicianList();
},
2024-09-27 18:36:26 +08:00
ontype(event) {
2024-09-26 19:21:16 +08:00
const selecttypeIndex = event.detail.value;
this.selecttypeIndex = selecttypeIndex;
this.typename = this.typeList[selecttypeIndex].dictValue
this.type = this.typeList[selecttypeIndex].dictValue
console.log(this.selecttypeIndex)
this.technicianList();
},
// 查询医馆列表
2024-09-27 18:36:26 +08:00
brandlists() {
request({
url: `${baseUrl}${apiPath}/h5/brand/list`,
method: 'GET',
custom: {
showLoading: false,
},
}).then((res) => {
this.brandList = res.data
console.log(this.brandList,"this.brandList")
for (var i = 0; i < this.brandList.list.length; i++) {
2024-09-26 19:21:16 +08:00
// this.brandList[i].depict=(this.brandList[i].depict).replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
2024-09-27 18:36:26 +08:00
this.brandNameList.push(this.brandList.list[i].name)
}
this.brandId = this.brandList[0].id
this.technicianList();
});
// uni.request({
// url: `${baseUrl}/api/h5/brand/list`,
// success: (res) => {
// this.brandList = res.data
// for (var i = 0; i < this.brandList.length; i++) {
// // this.brandList[i].depict=(this.brandList[i].depict).replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
// this.brandNameList.push(this.brandList[i].name)
// }
// this.brandId = this.brandList[0].id
// this.technicianList();
// },
// fail: (error) => {
// console.log(error)
// }
// })
},
gettypeList() {
request({
url: `${baseUrl}${apiPath}/h5/reservation/type`,
method: 'GET',
custom: {
showLoading: false,
2024-09-26 19:21:16 +08:00
},
2024-09-27 18:36:26 +08:00
}).then((res) => {
console.log(res,"typeListtypeList")
this.typeList = res.data
// this.typeList.depict=this.typeList.depict.replace(/\<img/gi, '<img style="max-width:100%;float:left; height:auto" ')
for (var i = 0; i < this.typeList.length; i++) {
this.typenameList.push(this.typeList[i].label);
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
console.log(this.typenameList)
});
// uni.request({
// url: `${baseUrl}/api/h5/reservation/type`,
// success: (res) => {
// this.typeList = res.data.data
// // this.typeList.depict=this.typeList.depict.replace(/\<img/gi, '<img style="max-width:100%;float:left; height:auto" ')
// for (var i = 0; i < this.typeList.length; i++) {
// this.typenameList.push(this.typeList[i].dictLabel);
// }
// console.log(this.typenameList)
// },
// fail: (error) => {
// console.log(error)
// }
// })
2024-09-26 19:21:16 +08:00
},
// 查询医生列表
technicianList() {
2024-09-27 18:36:26 +08:00
console.log("有没有进来technicianList");
2024-09-26 19:21:16 +08:00
this.techid = null,
2024-09-27 18:36:26 +08:00
this.serviceTime = []
this.hsstr = ""
request({
url: `${baseUrl}${apiPath}/h5/technician/list`,
method: 'GET',
params:{
2024-09-26 19:21:16 +08:00
type: this.type,
// addDate:this.addDate,
2024-09-27 18:36:26 +08:00
brandId: this.brandId
2024-09-26 19:21:16 +08:00
},
2024-09-27 18:36:26 +08:00
custom: {
showLoading: false,
2024-09-26 19:21:16 +08:00
},
2024-09-27 18:36:26 +08:00
}).then((res) => {
console.log(res)
this.techList = res.data.list
console.log(this.techList)
if (this.techList.length > 0) {
this.techid = this.techList[0].id
var item = {
id: this.techid
}
this.onradio(item);
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
console.log(this.techList)
});
// uni.request({
// // url: 'https://sfyjk.com/api/h5/technician/list',
// url: `${baseUrl}/app-api/h5/technician/list`,
// data: {
// type: this.type,
// // addDate:this.addDate,
// brandId: this.brandId
// },
// success: (res) => {
// console.log(res)
// this.techList = res.data.rows
// console.log(this.techList)
// if (this.techList.length > 0) {
// this.techid = this.techList[0].id
// var item = {
// id: this.techid
// }
// this.onradio(item);
// }
// console.log(this.techList)
// },
// fail: (error) => {
// console.log(error)
// }
// })
2024-09-26 19:21:16 +08:00
},
onradio(item) {
this.techid = item.id
2024-09-27 18:36:26 +08:00
this.serviceTime = []
this.hsstr = ""
request({
url: `${baseUrl}${apiPath}/h5/technician/h5xq`,
method: 'GET',
params:{
addDate: this.addDate,
id: this.techid
2024-09-26 19:21:16 +08:00
},
2024-09-27 18:36:26 +08:00
custom: {
showLoading: false,
2024-09-26 19:21:16 +08:00
},
2024-09-27 18:36:26 +08:00
}).then((res) => {
console.log(res);
var serviceTime = JSON.parse(res.data.serviceTime)
console.log(serviceTime,"serviceTimeserviceTimeserviceTime")
if (serviceTime) {
for (let i = 0; i < serviceTime.length; i++) {
console.log(serviceTime[i].end)
console.log(serviceTime[i].start)
console.log(serviceTime[i].ym)
if (serviceTime[i].end && serviceTime[i].start) {
this.sjd = {},
this.sjd.str = serviceTime[i].start.toString() + "-" + serviceTime[
i].end.toString()
this.sjd.ym = serviceTime[i].ym
this.serviceTime.push(this.sjd)
}
}
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
console.log(this.serviceTime,"this.serviceTime")
});
// uni.request({
// // url: 'https://sfyjk.com/api/h5/technician/' + this.techid, // 接口地址
// url: `${baseUrl}/app-api/h5/technician/h5xq`, // 接口地址
// data: {
// addDate: this.addDate,
// id: this.techid
// },
// success: (res) => {
// console.log(res);
// var serviceTime = JSON.parse(res.data.data.serviceTime)
// console.log(serviceTime)
// if (serviceTime) {
// for (let i = 0; i < serviceTime.length; i++) {
// console.log(serviceTime[i].endTime)
// console.log(serviceTime[i].startTime)
// console.log(serviceTime[i].ym)
// if (serviceTime[i].endTime && serviceTime[i].startTime) {
// this.sjd = {},
// this.sjd.str = serviceTime[i].startTime.toString() + "-" + serviceTime[
// i].endTime.toString()
// this.sjd.ym = serviceTime[i].ym
// this.serviceTime.push(this.sjd)
// }
// }
// }
// console.log(this.serviceTime)
// },
// fail: (error) => {
// console.log(error)
// }
// })
2024-09-26 19:21:16 +08:00
},
selectDay(index) {
this.selectedDayIndex = index;
},
handleSwiperChange(event) {
this.selectedDayIndex = event.mp.detail.current;
},
formatDate(date) {
const options = {
month: "2-digit",
day: "2-digit"
};
return date.toLocaleDateString("en-US", options);
},
handleSubmit() {
2024-09-27 18:36:26 +08:00
this.memberId = computed(() => sheep.$store('user').userInfo).value.id
if (!this.memberId) {
if (sheep.$platform.name === 'WechatMiniProgram') {
showAuthModal('wechatMiniLogin')
return;
}
showAuthModal('accountLogin')
} else {
this.memberId = computed(() => sheep.$store('user').userInfo).value.id
if (!this.brandId) {
2024-09-26 19:21:16 +08:00
sheep.$helper.toast('请选择医馆')
2024-09-27 18:36:26 +08:00
} else if (!this.techid) {
2024-09-26 19:21:16 +08:00
sheep.$helper.toast('请选择技师')
2024-09-27 18:36:26 +08:00
} else if (!this.addDate) {
2024-09-26 19:21:16 +08:00
sheep.$helper.toast('请选择预约时间')
2024-09-27 18:36:26 +08:00
} else if (!this.hsstr) {
2024-09-26 19:21:16 +08:00
sheep.$helper.toast('请选择预约时间段')
2024-09-27 18:36:26 +08:00
} else if (this.memberId) {
request({
url: `${baseUrl}/app-api/h5/reservation`,
method: 'post',
params: {
type: this.type,
brandId: this.brandId,
technicianId: this.techid,
reAddTime: this.addDate,
hsstr: this.hsstr,
userId: this.memberId,
},
custom: {
showLoading: false,
},
}).then((res) => {
uni.showModal({
title: '预约提示',
content: '预约成功!',
success: function(res) {
if (res.confirm) {
uni.switchTab({
url: '/pages/index/user'
});
} else {
uni.switchTab({
url: '/pages/index/user'
});
}
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
});
});
// uni.request({
// method: "post",
// url: `${baseUrl}/app-api/h5/reservation`,
// data: {
// type: this.type,
// brandId: this.brandId,
// technicianId: this.techid,
// reAddTime: this.addDate,
// hsstr: this.hsstr,
// userId: this.memberId,
// },
// success: (res) => {
// uni.showModal({
// title: '预约提示',
// content: '预约成功!',
// success: function(res) {
// if (res.confirm) {
// uni.switchTab({
// url: '/pages/index/user'
// });
// } else {
// uni.switchTab({
// url: '/pages/index/user'
// });
// }
// }
// });
// },
// fail: (error) => {
// console.log(error)
// }
// })
2024-09-26 19:21:16 +08:00
}
}
2024-09-27 18:36:26 +08:00
console.log("立即预约");
2024-09-26 19:21:16 +08:00
},
generateDateList() {
const weekDays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六'];
const today = new Date();
for (let i = 0; i < 7; i++) {
const date = new Date(today);
date.setDate(date.getDate() + i);
const formattedDate =
// `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')}`;
`${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')}`;
const weekday = weekDays[date.getDay()];
const addDate =
`${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')}`;
this.dateList.push({
date,
formattedDate,
addDate,
weekday
});
}
},
selectDate(index) {
this.addDate = this.dateList[index].addDate
2024-09-27 18:36:26 +08:00
if (this.techid) {
var item = {
id: this.techid
}
2024-09-26 19:21:16 +08:00
this.onradio(item);
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
// 处理选中日期的逻辑,例如触发事件、更新状态等
console.log('Selected date:', this.addDate);
},
2024-09-27 18:36:26 +08:00
selecthsstr(index) {
console.log(this.serviceTime[index].str)
console.log(this.serviceTime[index].ym)
if (this.serviceTime[index].ym === "true") {
this.hsstr = this.serviceTime[index].str
} else if (this.serviceTime[index].ym === "false") {
this.hsstr = this.serviceTime[index].str
}
2024-09-26 19:21:16 +08:00
// 处理选中日期的逻辑,例如触发事件、更新状态等
2024-09-27 18:36:26 +08:00
console.log('this.serviceTimesss:', this.serviceTime[index].ym);
2024-09-26 19:21:16 +08:00
},
},
};
</script>
<style scoped>
.container {
padding: 20px;
}
.clinic-select {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.clinic-select-label {
margin-right: 10px;
color: #333;
}
.clinic-select-value {
display: flex;
align-items: center;
padding: 5px 10px;
border: 1px solid #ff5541;
border-radius: 5px;
background-color: #ffd3c1;
color: #ff5541;
}
.info-title {
margin-top: 20px;
font-size: 15px;
font-weight: bold;
margin-bottom: 10px;
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
.dropdown-icon {
width: 12px;
height: 12px;
margin-left: 5px;
}
.date-card {
display: flex;
flex-direction: column;
}
.weekdays {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.weekday {
/* margin-left: 0%; */
font-size: 5px;
color: #666;
cursor: pointer;
}
.weekdayym {
margin-left: 30%;
font-size: 14px;
color: #666;
cursor: pointer;
}
.weekday.active {
color: #333;
font-weight: bold;
}
.date-swiper {
height: 150px;
}
.date-itemstr {
display: flex;
align-items: center;
justify-content: center;
width: 80px;
height: 50px;
border-radius: 10px;
background-color: #f0f0f0;
margin-right: 15px;
cursor: pointer;
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
.date-itemym {
/* display: flex; */
align-items: center;
justify-content: center;
width: 80px;
height: 50px;
border-radius: 10px;
background-color: #f0898b;
margin-right: 15px;
cursor: pointer;
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
.date-item.active {
background-color: #ff5541;
color: #fff;
}
.date {
font-size: 16px;
color: #333;
}
.doctor-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.doctor-card {
/* display: flex; */
align-items: center;
padding: 10px;
width: 400px;
background-color: #ffd3c1;
border: 1px solid #ff5541;
border-radius: 10px;
margin-bottom: 10px;
}
2024-09-27 18:36:26 +08:00
.doctor-cards {
2024-09-26 19:21:16 +08:00
/* display: flex; */
align-items: center;
padding: 10px;
width: 400px;
background-color: #f0f0f0;
/* border: 1px solid #fff; */
border-radius: 10px;
margin-bottom: 10px;
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
.doctor-avatar {
width: 100px;
height: 70px;
border-radius: 50%;
margin-right: 10px;
}
2024-09-27 18:36:26 +08:00
.doctor-avatars {
display: flex;
/* height: 70px; */
/* border-radius: 50%; */
/* margin-right: 10px; */
}
2024-09-26 19:21:16 +08:00
.doctor-info {
display: flex;
flex-grow: 1;
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
.brandr-info {
/* display: flex; */
flex-grow: 1;
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
}
.doctor-name {
font-size: 20px;
color: #ff5541;
margin-top: 15px;
margin-left: 20px;
/* margin-bottom: 5px; */
}
.doctor-specialty {
font-size: 14px;
color: #ff5541;
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
.doctor-names {
2024-09-26 19:21:16 +08:00
font-size: 14px;
/* color: #ff5541; */
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
margin-bottom: 5px;
}
2024-09-27 18:36:26 +08:00
.ygcontent {
font-size: 16px;
font-weight: 700;
}
2024-09-26 19:21:16 +08:00
.doctor-specialtys {
/* text-indent: 20px; */
white-space: pre-wrap;
font-size: 14px;
/* color: #ff5541; */
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
}
2024-09-27 18:36:26 +08:00
2024-09-26 19:21:16 +08:00
.doctor-checkbox {
margin-left: auto;
}
.footer {
display: flex;
justify-content: center;
margin-top: 20px;
}
.appointment-btn {
width: 200px;
height: 40px;
border-radius: 20px;
background-color: #ff5541;
color: #fff;
font-size: 16px;
}
.date-list {
/* width: 100px; */
display: flex;
flex-wrap: wrap;
}
.date-item {
float: left;
margin: 5px;
padding: 5px;
width: 26px;
height: 30px;
border: 1px solid #fff;
cursor: pointer;
display: flex;
background-color: #efefef;
flex-direction: column;
align-items: center;
}
.date-item:hover {
/* background-color: #ff5541; */
}
.date {
font-size: 8px;
}
.weekday {
margin-top: 5px;
font-size: 10px;
color: #666;
}
.radiodate {
display: none;
}
2024-09-27 18:36:26 +08:00
</style>