index.vue 19 KB

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