Skip to content

Commit 2e313ca

Browse files
committed
优化车票样式
1 parent 7ec5f52 commit 2e313ca

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

package/website/src/components/TrainTicket.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,22 @@
9696
</div>
9797
</div>
9898
</div>
99-
<p class="muted text-[30px]">仅供当日乘车<br></p>
100-
<p class="muted text-[30px]">仅供报销使用</p>
99+
<p class="muted text-[30px]"><br></p>
100+
<p class="muted text-[30px]">仅供纪念使用</p>
101101
<!-- 详情与二维码 -->
102102
<div class="detail-area relative grid grid-cols-[1fr_170px] gap-[16px]">
103103
<div>
104104

105105
<div class="code">{{ idNumber }} {{ passengerName }}</div>
106106
<!-- 虚线框,单个虚线变长 -->
107-
<div class="details text-[24px] text-center mt-[-6px] ">
107+
<div v-if="showHeader()" class="details text-[24px] text-center mt-[-6px] ">
108108
<p>报销凭证 遗失不补</p>
109109
<p>退票改签时须交回车站</p>
110110
</div>
111+
<div v-else class="details text-[24px] text-center mt-[-6px] ">
112+
<p>买票请到12306 发货请到95306</p>
113+
<p>中国铁路祝您旅途愉快</p>
114+
</div>
111115
<div class="footer-red" v-if="!showHeader()">
112116
<div class="text-[30px]">{{ footerInfo }}</div>
113117
</div>

package/website/src/views/HomePage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
<!-- 社交链接/图标列表 -->
1111
<ul class="social-links flex gap-4 p-0 mt-4 mb-0 list-none">
1212
<li class="flex items-center justify-center w-10 h-10 text-4xl rounded-full">
13-
<a href="https://github.com/LC044" target="_blank" rel="noreferrer" class="text-gray-600 dark:text-gray-300 transition-all duration-200 hover:scale-110 hover:text-pink-400">
13+
<a href="https://github.com/LC044" target="_blank" rel="noreferrer" class="text-gray-600 dark:text-gray-300 transition-all duration-200 hover:scale-110 hover:text-primary-500">
1414
<i class="mgc_github_2_line"></i>
1515
</a>
1616
</li>
1717
<li class="flex items-center justify-center w-10 h-10 text-4xl rounded-full">
18-
<a href="mailto:[email protected]" target="_blank" rel="noreferrer" class="text-gray-600 dark:text-gray-300 transition-all duration-200 hover:scale-110 hover:text-pink-400">
18+
<a href="mailto:[email protected]" target="_blank" rel="noreferrer" class="text-gray-600 dark:text-gray-300 transition-all duration-200 hover:scale-110 hover:text-primary-500">
1919
<i class="mgc_mailbox_line"></i>
2020
</a>
2121
</li>
2222
<li class="flex items-center justify-center w-10 h-10 text-4xl rounded-full">
23-
<a href="https://blog.siyuan.ink" target="_blank" rel="noreferrer" class="text-gray-600 dark:text-gray-300 transition-all duration-200 hover:scale-110 hover:text-pink-400">
23+
<a href="https://blog.siyuan.ink" target="_blank" rel="noreferrer" class="text-gray-600 dark:text-gray-300 transition-all duration-200 hover:scale-110 hover:text-primary-500">
2424
<i class="mgc_comment_2_line"></i>
2525
</a>
2626
</li>

package/website/src/views/tools/TrainTicketGengrate.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ const form = reactive({
376376
serial: '283K104567',
377377
gate: '5A',
378378
fromStation: '上海虹桥',
379-
fromPinyin: 'shanghaihongqiao',
379+
fromPinyin: 'Shanghaihongqiao',
380380
toStation: '南京南',
381-
toPinyin: 'nanjingnan',
381+
toPinyin: 'Nanjingnan',
382382
trainCode: 'G2025',
383383
dateTime: '2023-10-01 08:30',
384384
carriage: '07',

0 commit comments

Comments
 (0)