index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <template>
  2. <view class="index-container">
  3. <!-- 顶部背景 -->
  4. <view class="top-bg"></view>
  5. <NavBar title="" color="#020202" :fixed="true" :bg="'transparent'">
  6. <template #left>
  7. <view class="left-title">布尔销销乐</view>
  8. </template>
  9. </NavBar>
  10. <view class="page-warp">
  11. <view class="page-top">
  12. <view class="user-card">
  13. <!-- 左上:姓名 + 职位 -->
  14. <view class="user-header">
  15. <view class="name-row">
  16. <text class="user-name">赵建平</text>
  17. <text class="user-role">销售经理</text>
  18. </view>
  19. <text class="company-name">杭州碟滤膜技术有限公司</text>
  20. </view>
  21. <!-- 右上:头像 -->
  22. <view class="avatar-wrapper">
  23. <image class="avatar" src="/static/image/public/avatar-default.png" mode="aspectFill" />
  24. <image class="badge-icon" src="/static/image/public/badge-icon.png" mode="aspectFill" />
  25. </view>
  26. <!-- 左下:联系方式 -->
  27. <view class="user-contact">
  28. <view class="contact-row" @click="makeCall">
  29. <uni-icons type="phone" :size="18" color="#666666"></uni-icons>
  30. <text class="contact-text">138-0000-0000</text>
  31. </view>
  32. <view class="contact-row">
  33. <uni-icons type="email" :size="18" color="#666666"></uni-icons>
  34. <text class="contact-text">zhao.jp@subote.com</text>
  35. </view>
  36. <view class="contact-row">
  37. <uni-icons type="location" :size="18" color="#666666"></uni-icons>
  38. <text class="contact-text">上海市静安区江宁路 168 号</text>
  39. </view>
  40. </view>
  41. <!-- 右下:分享名片按钮 -->
  42. <view class="share-btn-wrapper">
  43. <view class="share-btn" @click="shareCard">
  44. <text class="share-text">分享名片</text>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <!-- 最近访客模块 -->
  50. <view class="recent-visitors">
  51. <view class="section-header">
  52. <text class="section-title">最近访客</text>
  53. <view class="visitor-count">
  54. <view class="avatar-group">
  55. <image class="group-avatar" src="/static/avatar-1.png" mode="aspectFill" />
  56. <image class="group-avatar" src="/static/avatar-2.png" mode="aspectFill" />
  57. <image class="group-avatar" src="/static/avatar-3.png" mode="aspectFill" />
  58. </view>
  59. <text class="visitor-number">255 人</text>
  60. </view>
  61. </view>
  62. <view class="visitor-list">
  63. <view class="visitor-item">
  64. <view class="visitor-left">
  65. <view class="visitor-top">
  66. <view class="visitor-avatar">
  67. <image src="/static/image/public/avatar-default2.png" mode="aspectFill" />
  68. </view>
  69. <view class="visitor-name-row">
  70. <text class="visitor-name">匿名用户</text>
  71. <text class="visitor-tag pending">待跟进</text>
  72. </view>
  73. <view class="view-more-btn" @click="viewAllVisitors">查看更多</view>
  74. </view>
  75. <view class="visitor-meta">
  76. <text class="meta-item">
  77. <text class="meta-label">来源:</text>
  78. <text class="meta-value">微信小程序</text>
  79. </text>
  80. <text class="meta-item">
  81. <text class="meta-label">手机:</text>
  82. <text class="meta-value">13822255555</text>
  83. </text>
  84. </view>
  85. </view>
  86. <view class="visitor-product">
  87. <image class="product-image" src="/static/product-printer.png" mode="aspectFit" />
  88. <view class="product-info">
  89. <text class="product-name">惠普黑白激光打印机 选配小白盒巴</text>
  90. <view>
  91. <text class="product-tag">打印机</text>
  92. <text class="product-brand">惠普</text>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. <!-- 底部拖动条 -->
  99. <view class="drag-handle"></view>
  100. </view>
  101. <!-- 功能菜单网格 -->
  102. <view class="function-grid">
  103. <view class="grid-item" @click="navigateTo('clue')">
  104. <view class="grid-icon clue-icon">
  105. <text class="icon-text">📋</text>
  106. </view>
  107. <text class="grid-label">线索管理</text>
  108. </view>
  109. <view class="grid-item" @click="navigateTo('customer')">
  110. <view class="grid-icon customer-icon">
  111. <text class="icon-text">🏢</text>
  112. </view>
  113. <text class="grid-label">客户管理</text>
  114. </view>
  115. <view class="grid-item" @click="navigateTo('contact')">
  116. <view class="grid-icon contact-icon">
  117. <text class="icon-text">👥</text>
  118. </view>
  119. <text class="grid-label">联系人管理</text>
  120. </view>
  121. <view class="grid-item" @click="navigateTo('public-pool')">
  122. <view class="grid-icon pool-icon">
  123. <text class="icon-text">🌊</text>
  124. </view>
  125. <text class="grid-label">客户公海</text>
  126. </view>
  127. <view class="grid-item" @click="navigateTo('opportunity')">
  128. <view class="grid-icon opportunity-icon">
  129. <text class="icon-text">💼</text>
  130. </view>
  131. <text class="grid-label">商机管理</text>
  132. </view>
  133. <view class="grid-item" @click="navigateTo('payment')">
  134. <view class="grid-icon payment-icon">
  135. <text class="icon-text">💰</text>
  136. </view>
  137. <text class="grid-label">回款管理</text>
  138. </view>
  139. <view class="grid-item" @click="navigateTo('product')">
  140. <view class="grid-icon product-icon">
  141. <text class="icon-text">📦</text>
  142. </view>
  143. <text class="grid-label">产品管理</text>
  144. </view>
  145. <view class="grid-item" @click="navigateTo('all')">
  146. <view class="grid-icon all-icon">
  147. <text class="icon-text">📊</text>
  148. </view>
  149. <text class="grid-label">全部</text>
  150. </view>
  151. </view>
  152. <!-- 业务日历模块 -->
  153. <view class="business-calendar">
  154. <view class="section-header">
  155. <text class="section-title">业务日历</text>
  156. <text class="view-more" @click="viewAllCalendar">查看更多</text>
  157. </view>
  158. <!-- 日历头部 -->
  159. <view class="calendar-header">
  160. <text class="calendar-month">2026 年 4 月</text>
  161. </view>
  162. <!-- 星期 -->
  163. <view class="calendar-weekdays">
  164. <text class="weekday">日</text>
  165. <text class="weekday">一</text>
  166. <text class="weekday">二</text>
  167. <text class="weekday">三</text>
  168. <text class="weekday">四</text>
  169. <text class="weekday">五</text>
  170. <text class="weekday">六</text>
  171. </view>
  172. <!-- 日期网格 -->
  173. <view class="calendar-dates">
  174. <view class="date-cell">
  175. <text class="date-num">15</text>
  176. </view>
  177. <view class="date-cell">
  178. <text class="date-num">16</text>
  179. </view>
  180. <view class="date-cell">
  181. <text class="date-num">17</text>
  182. </view>
  183. <view class="date-cell today">
  184. <text class="date-num current">18</text>
  185. </view>
  186. <view class="date-cell has-event">
  187. <text class="date-num">19</text>
  188. <view class="event-dot"></view>
  189. </view>
  190. <view class="date-cell">
  191. <text class="date-num">20</text>
  192. </view>
  193. <view class="date-cell">
  194. <text class="date-num">21</text>
  195. </view>
  196. </view>
  197. <!-- 今日日程 -->
  198. <view class="today-schedule">
  199. <view class="schedule-item">
  200. <view class="schedule-time">
  201. <text class="time-period">下午</text>
  202. <text class="time-value">3:00</text>
  203. </view>
  204. <view class="schedule-content">
  205. <text class="schedule-title">与李总沟通合同细节</text>
  206. </view>
  207. </view>
  208. <view class="schedule-item tomorrow">
  209. <view class="schedule-time">
  210. <text class="time-period">明天</text>
  211. <text class="time-value">10:00</text>
  212. </view>
  213. <view class="schedule-content">
  214. <text class="schedule-title">拜访新客户 - 科技公司</text>
  215. </view>
  216. </view>
  217. </view>
  218. </view>
  219. </view>
  220. <!-- 底部留白,避免被 TabBar 遮挡 -->
  221. <view class="bottom-spacer"></view>
  222. <!-- 名片预览弹窗 -->
  223. <CardPreview :visible="showPreview" @close="closePreview" @share="handleShareCard" @save="handleSaveCard" />
  224. </view>
  225. </template>
  226. <script setup>
  227. import NavBar from '@/components/nav-bar/index.vue'
  228. import CardPreview from './components/card-preview.vue'
  229. import { ref, onMounted, computed } from 'vue'
  230. import { useUserStore } from '@/store/modules/user.js'
  231. import { storeToRefs } from 'pinia'
  232. // 使用 Pinia 管理用户状态
  233. const userStore = useUserStore()
  234. const { userInfo, isLoggedIn } = storeToRefs(userStore)
  235. onMounted(() => {
  236. // 从 store 中获取用户信息(已自动从 localStorage 加载)
  237. console.log('用户登录状态:', isLoggedIn.value)
  238. console.log('用户信息:', userInfo.value)
  239. })
  240. const makeCall = () => {
  241. uni.makePhoneCall({
  242. phoneNumber: '4000000000'
  243. })
  244. }
  245. // 控制名片预览弹窗
  246. const showPreview = ref(false)
  247. const shareCard = () => {
  248. showPreview.value = true
  249. }
  250. // 关闭预览弹窗
  251. const closePreview = () => {
  252. showPreview.value = false
  253. }
  254. // 分享名片
  255. const handleShareCard = () => {
  256. uni.showShareMenu({
  257. withShareTicket: true
  258. })
  259. }
  260. // 保存名片
  261. const handleSaveCard = () => {
  262. uni.showToast({
  263. title: '已保存到手机相册',
  264. icon: 'success'
  265. })
  266. }
  267. const viewAllVisitors = () => {
  268. uni.navigateTo({
  269. url: '/pages/visitors/list'
  270. })
  271. }
  272. const navigateTo = (page) => {
  273. uni.showToast({
  274. title: `功能开发中:${page}`,
  275. icon: 'none'
  276. })
  277. }
  278. const viewAllCalendar = () => {
  279. uni.navigateTo({
  280. url: '/pages/calendar/list'
  281. })
  282. }
  283. </script>
  284. <style lang="scss" scoped>
  285. .index-container {
  286. min-height: 100vh;
  287. background-color: #f5f6f8;
  288. padding-bottom: 120rpx;
  289. }
  290. .left-title {
  291. font-size: 44rpx;
  292. font-weight: bold;
  293. color: #ffffff;
  294. text-shadow: 2px 2px 0 black;
  295. }
  296. .top-bg {
  297. width: 750rpx;
  298. height: 634rpx;
  299. background: url('/static/image/home/top-bg.png') no-repeat;
  300. background-size: 100% 100%;
  301. position: fixed;
  302. top: 0;
  303. left: 0;
  304. }
  305. .page-warp {
  306. position: relative;
  307. z-index: 2;
  308. padding: 20px;
  309. }
  310. /* 用户信息卡片 */
  311. .page-top {
  312. margin-bottom: 20rpx;
  313. .user-card {
  314. width: 100%;
  315. height: 414rpx;
  316. background: url('/static/image/home/usecard-bg.png') no-repeat;
  317. background-size: 100% 100%;
  318. padding: 80rpx 40rpx 32rpx;
  319. position: relative;
  320. .user-header {
  321. .name-row {
  322. display: flex;
  323. align-items: center;
  324. margin-bottom: 16rpx;
  325. .user-name {
  326. font-size: 44rpx;
  327. font-weight: 700;
  328. color: #202020;
  329. line-height: 1.2;
  330. }
  331. .user-role {
  332. margin-left: 16rpx;
  333. padding: 6rpx 16rpx;
  334. background: rgba(68, 110, 255, 0.10);
  335. border-radius: 8rpx;
  336. font-size: 24rpx;
  337. font-weight: 500;
  338. color: #446eff;
  339. }
  340. }
  341. .company-name {
  342. font-size: 28rpx;
  343. font-weight: 500;
  344. color: #666666;
  345. line-height: 1.4;
  346. }
  347. }
  348. .avatar-wrapper {
  349. position: absolute;
  350. top: 32rpx;
  351. right: 40rpx;
  352. width: 140rpx;
  353. height: 140rpx;
  354. border-radius: 50%;
  355. box-shadow: 0rpx 0rpx 4rpx 0rpx rgba(21,93,252,0.20);
  356. .avatar {
  357. width: 100%;
  358. height: 100%;
  359. }
  360. .badge-icon{
  361. width: 64rpx;
  362. height: 64rpx;
  363. position: absolute;
  364. bottom:0;
  365. right:0;
  366. transform: translate(50% 50%);
  367. z-index: 1;
  368. }
  369. }
  370. .user-contact {
  371. margin-top: 32rpx;
  372. .contact-row {
  373. display: flex;
  374. align-items: center;
  375. margin-bottom: 16rpx;
  376. uni-icons {
  377. margin-right: 12rpx;
  378. flex-shrink: 0;
  379. }
  380. .contact-text {
  381. font-size: 26rpx;
  382. color: #666666;
  383. }
  384. }
  385. }
  386. .share-btn-wrapper {
  387. position: absolute;
  388. bottom: 90rpx;
  389. right: 40rpx;
  390. .share-btn {
  391. padding: 14rpx 36rpx;
  392. background: linear-gradient(90deg, #446dff 0%, #6b85ff 100%);
  393. border-radius: 32rpx;
  394. box-shadow: 0 4rpx 12rpx rgba(68, 110, 255, 0.35);
  395. .share-text {
  396. font-size: 26rpx;
  397. font-weight: 500;
  398. color: #ffffff;
  399. }
  400. }
  401. }
  402. }
  403. }
  404. /* 最近访客模块 */
  405. .recent-visitors {
  406. padding: 20rpx;
  407. background: #f2f6ff;
  408. border: 2rpx solid rgba(255, 255, 255, 0.80);
  409. border-radius: 28rpx;
  410. .section-header {
  411. display: flex;
  412. align-items: center;
  413. justify-content: space-between;
  414. margin-bottom: 24rpx;
  415. .section-title {
  416. font-size: 32rpx;
  417. font-weight: 600;
  418. color: #333333;
  419. }
  420. .visitor-count {
  421. display: flex;
  422. align-items: center;
  423. margin-left: 20rpx;
  424. .avatar-group {
  425. display: flex;
  426. margin-right: 12rpx;
  427. .group-avatar {
  428. width: 32rpx;
  429. height: 32rpx;
  430. border-radius: 50%;
  431. border: 4rpx solid #ffffff;
  432. margin-left: -16rpx;
  433. &:first-child {
  434. margin-left: 0;
  435. }
  436. }
  437. }
  438. .visitor-number {
  439. font-size: 24rpx;
  440. color: #999999;
  441. }
  442. }
  443. .view-more {
  444. font-size: 24rpx;
  445. color: #667eea;
  446. margin-left: auto;
  447. }
  448. }
  449. .visitor-list {
  450. background: #ffffff;
  451. border: 2rpx solid #ffffff;
  452. border-radius: 28rpx;
  453. .visitor-item {
  454. padding: 20rpx;
  455. .visitor-left {
  456. display: grid;
  457. .visitor-top {
  458. display: grid;
  459. grid-template-columns: auto 1fr auto;
  460. gap: 6rpx;
  461. }
  462. .visitor-name-row {
  463. display: flex;
  464. align-items: center;
  465. .visitor-name {
  466. font-size: 24rpx;
  467. font-weight: 500;
  468. color: #8390b1;
  469. margin: 0 10rpx;
  470. }
  471. .visitor-tag {
  472. width: 92rpx;
  473. height: 40rpx;
  474. text-align: center;
  475. line-height: 40rpx;
  476. border: 1.2rpx solid #ff9230;
  477. border-radius: 12rpx;
  478. font-size: 24rpx;
  479. font-weight: 500;
  480. color: #ff9230;
  481. }
  482. }
  483. .view-more-btn {
  484. font-size: 24rpx;
  485. color: #999999;
  486. }
  487. .visitor-avatar {
  488. width: 40rpx;
  489. height: 40rpx;
  490. border-radius: 50%;
  491. background: #ffffff;
  492. padding: 4rpx;
  493. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
  494. image {
  495. width: 100%;
  496. height: 100%;
  497. border-radius: 50%;
  498. }
  499. }
  500. }
  501. .visitor-meta {
  502. display: flex;
  503. align-items: flex-start;
  504. margin-bottom: 16rpx;
  505. gap: 32rpx;
  506. .meta-item {
  507. display: flex;
  508. align-items: flex-start;
  509. .meta-label {
  510. font-size: 22rpx;
  511. color: #999999;
  512. }
  513. .meta-value {
  514. font-size: 22rpx;
  515. color: #666666;
  516. }
  517. }
  518. }
  519. .visitor-product {
  520. display: flex;
  521. align-items: flex-start;
  522. background: #ffffff;
  523. border-radius: 16rpx;
  524. padding: 16rpx;
  525. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
  526. .product-image {
  527. width: 72rpx;
  528. height: 72rpx;
  529. border-radius: 12rpx;
  530. background-color: #30cfd0;
  531. margin-right: 16rpx;
  532. }
  533. .product-info {
  534. flex: 1;
  535. display: flex;
  536. flex-direction: column;
  537. justify-content: center;
  538. .product-name {
  539. font-size: 24rpx;
  540. font-weight: 500;
  541. color: #08105c;
  542. }
  543. .product-tag,
  544. .product-brand {
  545. font-size: 20rpx;
  546. color: #999999;
  547. margin-right: 12rpx;
  548. }
  549. }
  550. }
  551. }
  552. }
  553. .drag-handle {
  554. width: 80rpx;
  555. height: 8rpx;
  556. background: rgba(0, 0, 0, 0.2);
  557. border-radius: 4rpx;
  558. margin: 24rpx auto 0;
  559. }
  560. }
  561. /* 功能菜单网格 */
  562. .function-grid {
  563. display: grid;
  564. grid-template-columns: repeat(4, 1fr);
  565. gap: 24rpx;
  566. margin-top: 20rpx;
  567. padding: 32rpx 24rpx;
  568. height: 322rpx;
  569. background: linear-gradient(180deg, #eff6ff, #ffffff 42%);
  570. border: 2rpx solid #ffffff;
  571. border-radius: 28rpx;
  572. box-shadow: 0rpx 8rpx 8rpx 0rpx rgba(178, 194, 208, 0.10);
  573. .grid-item {
  574. display: flex;
  575. flex-direction: column;
  576. align-items: center;
  577. .grid-icon {
  578. width: 54rpx;
  579. height: 54rpx;
  580. border-radius: 28rpx;
  581. display: flex;
  582. align-items: center;
  583. justify-content: center;
  584. margin-bottom: 12rpx;
  585. .icon-text {
  586. font-size: 48rpx;
  587. }
  588. }
  589. .clue-icon {
  590. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  591. }
  592. .customer-icon {
  593. background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  594. }
  595. .contact-icon {
  596. background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  597. }
  598. .pool-icon {
  599. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  600. }
  601. .opportunity-icon {
  602. background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  603. }
  604. .payment-icon {
  605. background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  606. }
  607. .product-icon {
  608. background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
  609. }
  610. .all-icon {
  611. background: linear-gradient(135deg, #cd9cf2 0%, #f6f3ff 100%);
  612. }
  613. .grid-label {
  614. font-size: 24rpx;
  615. color: #333333;
  616. }
  617. }
  618. }
  619. /* 业务日历模块 */
  620. .business-calendar {
  621. background: #ffffff;
  622. margin: 20rpx;
  623. padding: 32rpx;
  624. border-radius: 24rpx;
  625. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
  626. .section-header {
  627. display: flex;
  628. align-items: center;
  629. justify-content: space-between;
  630. margin-bottom: 24rpx;
  631. .section-title {
  632. font-size: 32rpx;
  633. font-weight: 600;
  634. color: #333333;
  635. }
  636. .view-more {
  637. font-size: 24rpx;
  638. color: #667eea;
  639. }
  640. }
  641. .calendar-header {
  642. text-align: center;
  643. margin-bottom: 20rpx;
  644. .calendar-month {
  645. font-size: 30rpx;
  646. font-weight: 600;
  647. color: #333333;
  648. }
  649. }
  650. .calendar-weekdays {
  651. display: grid;
  652. grid-template-columns: repeat(7, 1fr);
  653. text-align: center;
  654. margin-bottom: 16rpx;
  655. .weekday {
  656. font-size: 24rpx;
  657. color: #999999;
  658. padding: 12rpx 0;
  659. }
  660. }
  661. .calendar-dates {
  662. display: grid;
  663. grid-template-columns: repeat(7, 1fr);
  664. gap: 8rpx;
  665. margin-bottom: 32rpx;
  666. .date-cell {
  667. aspect-ratio: 1;
  668. display: flex;
  669. flex-direction: column;
  670. align-items: center;
  671. justify-content: center;
  672. border-radius: 50%;
  673. position: relative;
  674. .date-num {
  675. font-size: 26rpx;
  676. color: #333333;
  677. }
  678. &.today {
  679. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  680. .date-num {
  681. color: #ffffff;
  682. font-weight: 600;
  683. }
  684. }
  685. &.has-event {
  686. .event-dot {
  687. width: 12rpx;
  688. height: 12rpx;
  689. background: #ff6b6b;
  690. border-radius: 50%;
  691. position: absolute;
  692. bottom: 8rpx;
  693. }
  694. }
  695. }
  696. }
  697. .today-schedule {
  698. .schedule-item {
  699. display: flex;
  700. align-items: flex-start;
  701. padding: 24rpx;
  702. background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  703. border-radius: 16rpx;
  704. margin-bottom: 16rpx;
  705. border-left: 6rpx solid #667eea;
  706. &.tomorrow {
  707. border-left-color: #30cfd0;
  708. }
  709. .schedule-time {
  710. display: flex;
  711. flex-direction: column;
  712. align-items: center;
  713. margin-right: 20rpx;
  714. min-width: 100rpx;
  715. .time-period {
  716. font-size: 22rpx;
  717. color: #999999;
  718. margin-bottom: 4rpx;
  719. }
  720. .time-value {
  721. font-size: 28rpx;
  722. font-weight: 600;
  723. color: #333333;
  724. }
  725. }
  726. .schedule-content {
  727. flex: 1;
  728. .schedule-title {
  729. font-size: 28rpx;
  730. color: #333333;
  731. line-height: 1.5;
  732. }
  733. }
  734. }
  735. }
  736. }
  737. .bottom-spacer {
  738. height: 40rpx;
  739. }
  740. </style>