index.vue 19 KB

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