Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xysBooking
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-01-24 17:33:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7560780eb4e2bc4abb2ac4653ae00eed075ba229
7560780e
1 parent
1e7df0ac
fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
src/components/reserveCard.vue
src/views/submit.vue
src/components/reserveCard.vue
View file @
7560780
<!--
* @Date: 2024-01-24 16:38:13
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-24 17:
00:48
* @LastEditTime: 2024-01-24 17:
17:11
* @FilePath: /xysBooking/src/components/reserveCard.vue
* @Description: 文件描述
-->
...
...
@@ -165,7 +165,7 @@ const delay_pay_show = computed(() => {
let timeId = null;
onMounted(() => {
remain_time.value =
5
;
remain_time.value =
props.data.rest_second
;
// 进入页面后,开始倒计时
timeId = setInterval(() => {
remain_time.value ? (remain_time.value -= 1) : 0;
...
...
src/views/submit.vue
View file @
7560780
<!--
* @Date: 2024-01-15 16:25:51
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-24 17:
07:4
5
* @LastEditTime: 2024-01-24 17:
28:2
5
* @FilePath: /xysBooking/src/views/submit.vue
* @Description: 预约人员信息
-->
...
...
@@ -33,13 +33,15 @@
</div>
<div style="height: 5rem;"></div>
<div class="submit-wrapper">
<div class="left">
<div style="margin-left: 1rem; display: flex;align-items: center;">
订单金额 <div style="color: #FF1919;display: inline-block;">¥<div style="font-size: 1.5rem;display: inline-block;"> {{ total }}</div></div>
<div style="display: flex; justify-content: space-between;">
<div class="left">
<div style="margin-left: 1rem; display: flex;align-items: center;">
订单金额 <div style="color: #FF1919;display: inline-block;">¥<div style="font-size: 1.5rem;display: inline-block;"> {{ total }}</div></div>
</div>
</div>
<div
style="font-size: 0.75rem;margin-left: 1rem;color: #FF1919;">提交后请在10分钟内完成支付
</div>
<div
@click="submitBtn" class="right">提交订单
</div>
</div>
<div
@click="submitBtn" class="right">提交订单
</div>
<div
style="font-size: 0.85rem;margin-left: 1rem;color: #FF1919; margin-bottom: 1rem;">提交后请在10分钟内完成支付
</div>
</div>
</div>
</template>
...
...
@@ -199,11 +201,11 @@ onMounted(async () => {
background-color: #FFF;
// padding: 1rem;
justify-content: space-between;
flex-direction: column;
.left {
display: flex;
justify-content: center;
align-items: left;
flex-direction: column;
flex-wrap: nowrap;
}
.right {
...
...
@@ -213,6 +215,7 @@ onMounted(async () => {
padding: 0.8rem 3rem;
border-radius: 5px;
font-size: 1.1rem;
margin-bottom: 0;
}
}
}
...
...
Please
register
or
login
to post a comment