seiminModel.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  1. <!--
  2. * @Author: 廖明明
  3. * @Date: 2022-04-01 17:11:19
  4. * @LastEditors: 廖明明
  5. * @LastEditTime: 2022-04-21 13:16:48
  6. * @Description: 自定义弹窗组件
  7. -->
  8. <template>
  9. <view class="seiminModel seiminModel_mask" v-if="opts.isVisible">
  10. <view class="seiminModel_container animate__animated animate__fadeIn animate__faster">
  11. <!-- 标题 -->
  12. <view class="seiminModel_header" :class="{noTitle:!opts.title}">
  13. <text>{{ opts.title }}</text>
  14. <text class="seiminModel_countDown" v-if="
  15. nurseDeptSwitchTip < 0 || (nurseDeptSwitchTip > 0 && closeTime > 0)
  16. ">
  17. <text v-if="nurseDeptSwitchTip < 0">关闭</text>倒计时<text>{{ closeTime }}s</text>
  18. </text>
  19. </view>
  20. <!-- 动态二维码 -->
  21. <view class="seiminModel_content qrcode" v-if="opts.skin === 'qrcode'">
  22. <image class="w100 qrcode_img" :src="nurseCodeImg" mode="widthFix"></image>
  23. <view class="qrcode_operate">
  24. <view class="refreshQRCode" @click="showNurseCode"> 刷新 </view>
  25. <view>{{ refreshQRCodeTime }}s</view>
  26. </view>
  27. </view>
  28. <!-- 加急 -->
  29. <view class="seiminModel_content urgent" v-else-if="opts.skin === 'urgent'">
  30. <view class="urgent_txt" v-html="opts.content"></view>
  31. <textarea :focus="true" class="urgent_textarea" auto-height :maxlength="100"
  32. :placeholder-style="placeholderStyle" placeholder="请填写加急原因" v-model="urgentTextArea" />
  33. </view>
  34. <!-- 评价 -->
  35. <view class="seiminModel_content evaluate" v-else-if="opts.skin === 'evaluate'">
  36. <view class="evaluate_txt" v-html="opts.content"></view>
  37. <view class="evaluate_list">
  38. <view class="evaluate_item">
  39. <text class="evaluate_label">星级:</text>
  40. <view class="evaluate_icons">
  41. <text class="pda" :class="star" v-for="(star,i) in stars" :key="i" @click="clickStar(i)"></text>
  42. </view>
  43. </view>
  44. <view class="evaluate_item">
  45. <text class="evaluate_label">评级:</text>
  46. <textarea :focus="true" class="evaluate_textarea" auto-height :maxlength="100"
  47. :placeholder-style="placeholderStyle" placeholder="请输入..." v-model="evaluateTextArea" />
  48. </view>
  49. </view>
  50. </view>
  51. <!-- 预约时间 -->
  52. <view class="seiminModel_content yyDate" v-else-if="opts.skin === 'yyDate'">
  53. <view class="yyDate_txt" v-html="opts.content"></view>
  54. <view class="yyDate_date_time">
  55. <picker mode="multiSelector" @click.native="clickDate" @columnchange="columnchangeDate($event)"
  56. @change="changeDate($event)" :value="dateIndex" :range="dateOptions">
  57. <view class="yyDate_date"><text>{{dateVal}}</text><text class="pda pda-icon"></text></view>
  58. </picker>
  59. <picker mode="multiSelector" @click.native="clickTime" @columnchange="columnchangeTime($event)"
  60. @change="changeTime($event)" :value="timeIndex" :range="timeOptions">
  61. <view class="yyDate_time"><text>{{timeVal}}</text><text class="pda pda-shouye8"></text></view>
  62. </picker>
  63. </view>
  64. <view class="yyDate_tips red" v-if="!dateVal">
  65. 请选择日期
  66. </view>
  67. <view class="yyDate_tips red" v-else-if="!timeVal">
  68. 请选择时间
  69. </view>
  70. <view class="yyDate_nextDay" @click="nextDay" v-if="dateVal">
  71. 下一日
  72. </view>
  73. </view>
  74. <!-- 正常弹窗 -->
  75. <view class="seiminModel_content" v-else>
  76. <!-- 图标 -->
  77. <view class="seiminModel_status">
  78. <text class="pda pda-shibai red" v-if="opts.icon === 'error'"></text>
  79. <text class="pda pda-wenhao yellow" v-if="opts.icon === 'warn'"></text>
  80. <text class="pda pda-duigou green" v-if="opts.icon === 'success'"></text>
  81. </view>
  82. <!-- 内容 -->
  83. <view class="seiminModel_txt" v-html="opts.content"></view>
  84. </view>
  85. <!-- 底部 -->
  86. <view class="seiminModel_footer" v-if="
  87. nurseDeptSwitchTip <= 0 || (nurseDeptSwitchTip > 0 && closeTime === 0)
  88. ">
  89. <view class="seiminModel_footer__btn" v-for="(btn, i) in opts.btns" :style="{
  90. flex: btn.flex,
  91. color: btn.textColor,
  92. }" @click="btn.click($event)" :key="i">{{ btn.name }}</view>
  93. </view>
  94. </view>
  95. </view>
  96. </template>
  97. <script>
  98. import {
  99. mapState
  100. } from "vuex";
  101. import {
  102. reqDeptCodes
  103. } from "../../request/api.js";
  104. import {
  105. generateArray
  106. } from '../../utils/index.js';
  107. import {
  108. format,
  109. endOfMonth,
  110. addDays,
  111. } from 'date-fns';
  112. export default {
  113. name: "seiminModel",
  114. props: {
  115. // 其他数据
  116. otherData: {
  117. type: Object,
  118. default: () => ({})
  119. }
  120. },
  121. data() {
  122. return {
  123. dateOptions: [
  124. [],
  125. [],
  126. []
  127. ],
  128. dateIndex: [0, 0, 0],
  129. dateVal: '',
  130. timeOptions: [
  131. [],
  132. []
  133. ],
  134. timeIndex: [0, 0],
  135. timeVal: '',
  136. // 配置项
  137. opts: {},
  138. // 动态二维码定时器
  139. timer: null,
  140. // 动态二维码qrcode
  141. nurseCodeImg: "",
  142. // 动态二维码刷新间隔时长
  143. refreshQRCodeTime: 30,
  144. // 护士科室切换提示自动关闭设置(时长,单位秒)
  145. closeTime: 0,
  146. // 护士科室切换提示自动关闭设置(定时器,单位秒)
  147. timerCloseTime: null,
  148. // 加急原因
  149. urgentTextArea: '',
  150. // 加急原因的placeholder样式
  151. placeholderStyle: 'color:#999;padding:18rpx;',
  152. // 星级
  153. stars: [],
  154. // 评价内容
  155. evaluateTextArea: '',
  156. };
  157. },
  158. onUnload() {
  159. if (this.timerCloseTime) {
  160. clearInterval(this.timerCloseTime);
  161. this.timerCloseTime = null;
  162. }
  163. if (this.timer) {
  164. clearInterval(this.timer);
  165. this.timer = null;
  166. }
  167. },
  168. computed: {
  169. ...mapState('other', ["nurseDeptSwitchTip"]),
  170. ...mapState("login", ["loginInfo"]),
  171. },
  172. methods: {
  173. // 下一日
  174. nextDay() {
  175. let arr = this.dateVal.split('-');
  176. let d_year = Number(arr[0]);
  177. let d_month = Number(arr[1]) - 1;
  178. let d_day = Number(arr[2]);
  179. let date = addDays(new Date(d_year, d_month, d_day, 0, 0, 0), 1);
  180. let year = format(date, 'yyyy');
  181. let month = format(date, 'MM');
  182. let day = format(date, 'dd');
  183. let year_i = this.dateOptions[0].findIndex(v => v === year);
  184. let month_i = this.dateOptions[1].findIndex(v => v === month);
  185. let day_i = this.dateOptions[2].findIndex(v => v === day);
  186. console.log(year_i, month_i, day_i, this.dateOptions, year, month, day)
  187. this.dateIndex = [year_i, month_i, day_i];
  188. this.dateVal = format(date, 'yyyy-MM-dd');
  189. },
  190. // 点击日期
  191. clickDate() {
  192. if (!this.dateVal) {
  193. this.dateIndex = [0, 0, 0];
  194. }
  195. },
  196. // 点击时间
  197. clickTime() {
  198. console.log(this.timeVal)
  199. if (!this.timeVal) {
  200. this.timeIndex = [0, 0];
  201. }
  202. let now = new Date();
  203. let year = now.getFullYear();
  204. let month = now.getMonth();
  205. let day = now.getDate();
  206. let hour = now.getHours();
  207. let minute = now.getMinutes();
  208. let second = now.getSeconds();
  209. if (this.dateVal) {
  210. let arr = this.dateVal.split('-');
  211. let d_year = Number(arr[0]);
  212. let d_month = Number(arr[1]) - 1;
  213. let d_day = Number(arr[2]);
  214. let c_d_day = Number(format(endOfMonth(new Date(d_year, d_month, d_day, 0, 0, 0)), 'dd'));
  215. if (year != d_year || month != d_month || day != d_day) {
  216. this.timeOptions = [generateArray(0, 23), ['00', '30']];
  217. }
  218. if (this.timeVal) {
  219. let arr = this.timeVal.split(':');
  220. let i1 = this.timeOptions[0].findIndex(v => v === arr[0]);
  221. console.log(i1)
  222. let i2 = this.timeOptions[1].length > 1 ? 30 : 0;
  223. if (i1) {
  224. this.timeOptions[1] = ['00', '30'];
  225. }
  226. this.timeIndex = [i1, i2];
  227. }
  228. }
  229. },
  230. // 滚动日期picker
  231. columnchangeDate(e) {
  232. console.log(e.detail);
  233. console.log(this.dateOptions, this.dateIndex);
  234. const {
  235. column, //列数
  236. value, //索引
  237. } = e.detail;
  238. let now = new Date();
  239. let year = now.getFullYear();
  240. let month = now.getMonth();
  241. let day = now.getDate();
  242. let hour = now.getHours();
  243. let minute = now.getMinutes();
  244. let second = now.getSeconds();
  245. let c_day = Number(format(endOfMonth(new Date(year, month, day, 0, 0, 0)), 'dd'));
  246. if (column === 0) {
  247. // 年
  248. if (year != this.dateOptions[column][value]) {
  249. this.dateOptions[1] = generateArray(1, 12);
  250. this.dateOptions[2] = generateArray(1, c_day);
  251. } else {
  252. this.dateOptions[1] = generateArray(month + 1, 12);
  253. this.dateOptions[2] = generateArray(day, c_day);
  254. }
  255. this.dateIndex = [value, 0, 0];
  256. }
  257. if (column === 1) {
  258. // 月
  259. if ((month + 1) != this.dateOptions[column][value]) {
  260. this.dateOptions[2] = generateArray(1, c_day);
  261. } else {
  262. this.dateOptions[2] = generateArray(day, c_day);
  263. }
  264. this.dateIndex = [this.dateIndex[0], value, 0];
  265. }
  266. },
  267. // 滚动时间picker
  268. columnchangeTime(e) {
  269. console.log(e.detail);
  270. console.log(this.timeOptions);
  271. const {
  272. column, //列数
  273. value, //索引
  274. } = e.detail;
  275. let now = new Date();
  276. let year = now.getFullYear();
  277. let month = now.getMonth();
  278. let day = now.getDate();
  279. let hour = now.getHours();
  280. let minute = now.getMinutes();
  281. let second = now.getSeconds();
  282. if (column === 0) {
  283. // 月份
  284. if (hour != this.timeOptions[column][value]) {
  285. this.timeOptions[1] = ['00', '30'];
  286. }
  287. }
  288. },
  289. // 修改日期
  290. changeDate(e) {
  291. console.log(e.target.value);
  292. this.dateIndex = e.target.value;
  293. this.timeVal = '';
  294. this.dateVal =
  295. `${this.dateOptions[0][this.dateIndex[0]]}-${this.dateOptions[1][this.dateIndex[1]]}-${this.dateOptions[2][this.dateIndex[2]]}`;
  296. },
  297. // 修改时间
  298. changeTime(e) {
  299. console.log(e.target.value);
  300. this.timeIndex = e.target.value;
  301. this.timeVal = `${this.timeOptions[0][this.timeIndex[0]]}:${this.timeOptions[1][this.timeIndex[1]]}`;
  302. },
  303. // 日期时间的可选范围
  304. dateTimeScope() {
  305. let now = new Date();
  306. let year = Number(format(now, 'yyyy'));
  307. let month = Number(format(now, 'MM'));
  308. let day = Number(format(now, 'dd'));
  309. let hour = Number(format(now, 'HH'));
  310. let minute = Number(format(now, 'mm'));
  311. let c_day = Number(format(endOfMonth(now), 'dd'));
  312. console.log(year, month, day, hour, minute);
  313. // 判断分钟
  314. if (minute >= 0 && minute < 30) {
  315. this.timeOptions = [generateArray(hour, 23), ['30']];
  316. this.dateOptions = [
  317. generateArray(year, year + 1),
  318. generateArray(month, 12),
  319. generateArray(day, c_day)
  320. ];
  321. } else {
  322. // 跨分钟
  323. this.timeOptions = [generateArray(hour == 23 ? 0 : hour + 1, 23), ['00', '30']];
  324. // 跨小时
  325. if (hour == 23) {
  326. // 跨日
  327. if (day == c_day) {
  328. // 跨月
  329. if (month == 12) {
  330. // 跨月
  331. this.dateOptions = [
  332. generateArray(year + 1, year + 1),
  333. generateArray(0, 12),
  334. generateArray(0, c_day)
  335. ]
  336. } else {
  337. this.dateOptions = [
  338. generateArray(year, year + 1),
  339. generateArray(month + 1, 12),
  340. generateArray(0, c_day)
  341. ]
  342. }
  343. } else {
  344. this.dateOptions = [
  345. generateArray(year, year + 1),
  346. generateArray(month, 12),
  347. generateArray(day + 1, c_day)
  348. ]
  349. }
  350. } else {
  351. this.dateOptions = [
  352. generateArray(year, year + 1),
  353. generateArray(month, 12),
  354. generateArray(day, c_day)
  355. ];
  356. }
  357. }
  358. },
  359. // 显示弹窗
  360. show(args = {}) {
  361. // 默认配置项
  362. let defaultOptions = {
  363. skin: "default", //弹窗风格(default|toast|qrcode|)
  364. isVisible: false, //是否显示弹窗
  365. title: "提示", //标题
  366. icon: "success", //图标(success|error|warn|)
  367. content: "", //内容
  368. btns: [{
  369. name: "取消",
  370. textColor: "#666",
  371. flex: 1,
  372. click: this.close,
  373. },
  374. {
  375. name: "确认",
  376. textColor: "#49B856",
  377. flex: 1,
  378. click: this.close,
  379. },
  380. ], //弹窗按钮
  381. };
  382. // 根据弹窗风格修改默认配置项
  383. switch (args.skin) {
  384. case "toast":
  385. defaultOptions.btns = [{
  386. name: "知道了",
  387. textColor: "#49b856",
  388. flex: 1,
  389. click: this.close,
  390. }, ];
  391. break;
  392. }
  393. // 按钮合并参数
  394. if (Array.isArray(args.btns)) {
  395. let btns = [];
  396. args.btns.forEach((v, i) => {
  397. btns.push(Object.assign({}, defaultOptions.btns[i], v));
  398. });
  399. args.btns = btns;
  400. }
  401. // 合并配置
  402. this.opts = Object.assign({}, defaultOptions, args, {
  403. isVisible: true,
  404. });
  405. if (this.opts.skin === "qrcode") {
  406. // 如果是动态二维码,则需要发起请求
  407. this.showNurseCode();
  408. } else if (this.opts.skin === 'evaluate') {
  409. // 如果是评价弹窗,则默认选中五个笑脸
  410. this.stars = ['pda-haoping', 'pda-haoping', 'pda-haoping', 'pda-haoping', 'pda-haoping'];
  411. } else if (this.opts.skin === 'yyDate') {
  412. console.log(this.otherData);
  413. // 回显
  414. if (this.otherData.date) {
  415. //回显日期
  416. this.dateVal = format(this.otherData.timestamp, 'yyyy-MM-dd');
  417. }
  418. if (this.otherData.time) {
  419. //回显日期
  420. this.timeVal = format(this.otherData.timestamp, 'HH:mm');
  421. }
  422. // 日期时间的可选范围
  423. this.dateTimeScope();
  424. }
  425. },
  426. // 关闭弹窗
  427. close() {
  428. this.opts.isVisible = false;
  429. if (this.opts.skin === "qrcode") {
  430. clearInterval(this.timer);
  431. this.timer = null;
  432. }
  433. },
  434. // 科室动态二维码方法
  435. showNurseCode() {
  436. let deptId = this.loginInfo.user && this.loginInfo.user.dept.id;
  437. reqDeptCodes([deptId]).then((res) => {
  438. if (res.status == 200) {
  439. res["data"] = res["data"] || [];
  440. res["data"][0] = res["data"][0] || {};
  441. this.nurseCodeImg = res["data"][0].base64 || "";
  442. this.refreshQRCodeTime = res["data"][0].refreshQRCodeTime || 30;
  443. clearInterval(this.timer);
  444. this.timer = setInterval(() => {
  445. this.refreshQRCodeTime = Math.max(--this.refreshQRCodeTime, 0);
  446. if (this.refreshQRCodeTime === 0) {
  447. clearInterval(this.timer);
  448. this.showNurseCode();
  449. }
  450. }, 1000);
  451. } else {
  452. clearInterval(this.timer);
  453. uni.showToast({
  454. icon: "none",
  455. title: "获取数据失败",
  456. });
  457. }
  458. });
  459. },
  460. // 切换科室弹窗
  461. showChangeDept(options = {}) {
  462. this.show(options);
  463. // (1) 当用户设置为正数时,用户必须查看此窗体指定秒数。
  464. // (2) 当用户设置为负数时,用户可点击知道了也可倒计时自动关闭。
  465. // (3) 如果用户填写0则为无自动关闭和强制查看时间。
  466. if (this.nurseDeptSwitchTip === 0) {
  467. return;
  468. }
  469. this.closeTime = Math.abs(this.nurseDeptSwitchTip);
  470. clearInterval(this.timerCloseTime);
  471. this.timerCloseTime = setInterval(() => {
  472. this.closeTime = Math.max(--this.closeTime, 0);
  473. if (this.closeTime === 0) {
  474. if (this.nurseDeptSwitchTip < 0) {
  475. this.close();
  476. }
  477. clearInterval(this.timerCloseTime);
  478. }
  479. }, 1000);
  480. },
  481. // 选择星级
  482. clickStar(index) {
  483. for (let i = 0; i < this.stars.length; i++) {
  484. this.$set(this.stars, i, i > index ? 'pda-haoping1' : 'pda-haoping');
  485. }
  486. },
  487. },
  488. };
  489. </script>
  490. <style lang="scss" scoped>
  491. .seiminModel {
  492. font-size: 36rpx;
  493. color: #000;
  494. line-height: 50rpx;
  495. text-align: center;
  496. &.seiminModel_mask {
  497. background-color: rgba(0, 0, 0, 0.5);
  498. position: fixed;
  499. top: 0;
  500. right: 0;
  501. bottom: 0;
  502. left: 0;
  503. margin: auto;
  504. z-index: 999;
  505. @include flex(center, center);
  506. .seiminModel_container {
  507. width: 560rpx;
  508. border-radius: 8rpx;
  509. background-color: #fff;
  510. display: flex;
  511. flex-direction: column;
  512. align-content: center;
  513. .seiminModel_status {
  514. margin-bottom: 35rpx;
  515. .pda {
  516. font-size: 138rpx;
  517. }
  518. }
  519. .seiminModel_header {
  520. height: 100rpx;
  521. position: relative;
  522. @include flex(center, center);
  523. &.noTitle {
  524. height: 40rpx;
  525. }
  526. .seiminModel_countDown {
  527. position: absolute;
  528. right: 26rpx;
  529. font-size: 28rpx;
  530. color: $defaultColor;
  531. }
  532. }
  533. .seiminModel_content {
  534. flex: 1;
  535. background-color: #f9fafb;
  536. margin: 0 36rpx 25rpx;
  537. color: #333;
  538. padding: 76rpx 24rpx;
  539. @include border;
  540. @include numbersAndLettersNoWrap;
  541. // 动态二维码
  542. &.qrcode {
  543. padding: 24rpx;
  544. font-size: 32rpx;
  545. color: #999;
  546. .qrcode_img {
  547. height: 464rpx;
  548. }
  549. .qrcode_operate {
  550. @include flex(space-between, center);
  551. .refreshQRCode {
  552. color: $defaultColor;
  553. }
  554. }
  555. }
  556. // 加急
  557. &.urgent {
  558. padding: 0;
  559. .urgent_txt {
  560. font-size: 28rpx;
  561. color: #666;
  562. line-height: 40rpx;
  563. padding: 24rpx;
  564. @include border(bottom);
  565. }
  566. .urgent_textarea {
  567. width: 440rpx;
  568. margin: 24rpx;
  569. min-height: 212rpx;
  570. background: #FFFFFF;
  571. border-radius: 2rpx;
  572. text-align: left;
  573. @include border;
  574. ::v-deep .uni-textarea-textarea {
  575. padding: 18rpx;
  576. }
  577. }
  578. }
  579. // 评价
  580. &.evaluate {
  581. padding: 0;
  582. .evaluate_txt {
  583. font-size: 28rpx;
  584. color: #666;
  585. line-height: 40rpx;
  586. padding: 24rpx 0;
  587. @include border(bottom);
  588. }
  589. .evaluate_list {
  590. padding: 20rpx 34rpx;
  591. .evaluate_item {
  592. font-size: 34rpx;
  593. color: #666;
  594. margin-top: 10rpx;
  595. @include flex;
  596. .evaluate_label {}
  597. .evaluate_icons {
  598. flex: 1;
  599. @include flex;
  600. .pda {
  601. font-size: 40rpx;
  602. margin-right: 10rpx;
  603. &.pda-haoping {
  604. color: $defaultColor;
  605. }
  606. }
  607. }
  608. .evaluate_textarea {
  609. flex: 1;
  610. min-height: 212rpx;
  611. background: #FFFFFF;
  612. border-radius: 2rpx;
  613. text-align: left;
  614. @include border;
  615. ::v-deep .uni-textarea-textarea {
  616. padding: 18rpx;
  617. }
  618. }
  619. }
  620. }
  621. }
  622. // 预约时间
  623. &.yyDate {
  624. padding: 56rpx 0 82rpx;
  625. .yyDate_txt {
  626. font-size: 28rpx;
  627. color: #666;
  628. padding-bottom: 20rpx;
  629. @include border(bottom);
  630. }
  631. .yyDate_date_time {
  632. font-size: 32rpx;
  633. color: #333;
  634. @include flex;
  635. .pda {
  636. font-size: 44rpx;
  637. }
  638. .yyDate_date {
  639. width: 260rpx;
  640. height: 66rpx;
  641. margin: 0 14rpx;
  642. padding: 0 8rpx;
  643. background-color: #fff;
  644. @include border(all, #8E9D9E);
  645. @include flex(space-between, center);
  646. }
  647. .yyDate_time {
  648. width: 164rpx;
  649. height: 66rpx;
  650. margin: 0 14rpx;
  651. padding: 0 8rpx;
  652. background-color: #fff;
  653. @include border(all, #8E9D9E);
  654. @include flex(space-between, center);
  655. }
  656. }
  657. .yyDate_nextDay {
  658. margin-top: 42rpx;
  659. color: $defaultColor;
  660. text-align: left;
  661. padding: 0 14rpx;
  662. text-decoration: underline;
  663. }
  664. .yyDate_tips {
  665. padding: 8rpx;
  666. font-size: 28rpx;
  667. text-align: left;
  668. }
  669. }
  670. }
  671. .seiminModel_footer {
  672. height: 100rpx;
  673. color: #666;
  674. @include border(top);
  675. @include flex(center, center);
  676. .seiminModel_footer__btn {
  677. height: 100%;
  678. position: relative;
  679. @include flex(center, center);
  680. &::after {
  681. content: "";
  682. height: 86rpx;
  683. position: absolute;
  684. width: 1px;
  685. bottom: 0;
  686. right: 0;
  687. background-color: #dde1e5;
  688. }
  689. }
  690. }
  691. }
  692. }
  693. }
  694. </style>