Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
meihua-island-book
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
2023-12-19 17:05:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
50e335cd549a7972dd3d50e915e958d36d797a18
50e335cd
1 parent
24bba7ac
fix 细节完善
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
23 deletions
components.d.ts
src/components/orderCard.vue
src/pages/confirm/index.less
src/pages/confirm/index.vue
src/pages/my/index.vue
components.d.ts
View file @
50e335c
...
...
@@ -14,7 +14,6 @@ declare module '@vue/runtime-core' {
NavBar
:
typeof
import
(
'./src/components/navBar.vue'
)[
'default'
]
NutActionSheet
:
typeof
import
(
'@nutui/nutui-taro'
)[
'ActionSheet'
]
NutAvatar
:
typeof
import
(
'@nutui/nutui-taro'
)[
'Avatar'
]
NutBacktop
:
typeof
import
(
'@nutui/nutui-taro'
)[
'Backtop'
]
NutButton
:
typeof
import
(
'@nutui/nutui-taro'
)[
'Button'
]
NutCalendar
:
typeof
import
(
'@nutui/nutui-taro'
)[
'Calendar'
]
NutCol
:
typeof
import
(
'@nutui/nutui-taro'
)[
'Col'
]
...
...
src/components/orderCard.vue
View file @
50e335c
...
...
@@ -180,8 +180,9 @@ const payOrder = (id) => {
<
style
lang
=
"less"
>
.
order
-
card
-
component
{
margin
:
0
1
rem
;
// padding: 0.5rem;
margin
:
1
rem
;
margin
-
top
:
0
.
5
rem
;
// padding: 0.5rem 0;
background
-
color
:
white
;
box
-
shadow
:
0
px
0
px
8
px
0
px
rgba
(
0
,
0
,
0
,
0
.
1
);
border
:
1
px
solid
#
f9f9f9
;
...
...
src/pages/confirm/index.less
View file @
50e335c
.calendar-select-page {
margin: 1rem;
background-color: #
F6ECE
1;
background-color: #
f6ece
1;
border-radius: 0.5rem;
padding: 1rem 0;
padding-left: 0.5rem;
...
...
@@ -9,12 +9,26 @@
.confirm-form {
padding-right: 1rem;
.form-text {
position: relative; width: 100%; padding: 20rpx 30rpx; display: -webkit-flex; display: -ms-flexbox; display: flex; line-height: 40rpx; -webkit-box-sizing: border-box; box-sizing: border-box; font-size: 27rpx;
position: relative;
width: 100%;
padding: 20rpx 30rpx;
padding-right: 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
line-height: 40rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 27rpx;
}
.nut-input {
padding: 20rpx;
}
.nut-input-text {
border-radius: 10rpx;
}
.nut-textarea {
border-radius: 10rpx;
padding: 20rpx;
}
}
...
...
src/pages/confirm/index.vue
View file @
50e335c
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-12-19 1
5:34:49
* @LastEditTime: 2023-12-19 1
6:55:06
* @FilePath: /meihuaApp/src/pages/confirm/index.vue
* @Description: 文件描述
-->
...
...
@@ -51,7 +51,7 @@
<view style="color: #060606; font-size: 0.85rem;">入住时间</view>
</nut-col>
<nut-col span="12">
<view style="color: #
6A4925
; font-size: 0.85rem; font-weight: bold; text-align: right;">12月7日 14:00后</view>
<view style="color: #
010101
; font-size: 0.85rem; font-weight: bold; text-align: right;">12月7日 14:00后</view>
</nut-col>
</nut-row>
<nut-row>
...
...
@@ -59,7 +59,7 @@
<view style="color: #060606; font-size: 0.85rem; margin: 0.25rem 0;">退房日期</view>
</nut-col>
<nut-col span="12">
<view style="color: #
6A4925
; font-size: 0.85rem; font-weight: bold; text-align: right; margin: 0.25rem 0;">12月8日 12:00前</view>
<view style="color: #
010101
; font-size: 0.85rem; font-weight: bold; text-align: right; margin: 0.25rem 0;">12月8日 12:00前</view>
</nut-col>
</nut-row>
<nut-row>
...
...
@@ -67,7 +67,7 @@
<view style="color: #060606; font-size: 0.85rem;">早餐</view>
</nut-col>
<nut-col span="12">
<view style="color: #
6A4925
; font-size: 0.85rem; font-weight: bold; text-align: right;">3份</view>
<view style="color: #
010101
; font-size: 0.85rem; font-weight: bold; text-align: right;">3份</view>
</nut-col>
</nut-row>
<view style="font-size: 0.85rem; margin-top: 0.25rem;">
...
...
@@ -79,42 +79,42 @@
<nut-radio-group v-model="radioVal" direction="horizontal">
<nut-radio label="1">
本人入住
<template #icon><IconFont name="checked"></IconFont></template>
<template #icon><IconFont name="checked"
color="gray"
></IconFont></template>
<template #checkedIcon><IconFont name="checked" color="red"></IconFont></template>
</nut-radio>
<nut-radio label="2">
帮别人订
<template #icon><IconFont name="checked"></IconFont></template>
<template #icon><IconFont name="checked"
color="gray"
></IconFont></template>
<template #checkedIcon><IconFont name="checked" color="red"></IconFont></template>
</nut-radio>
</nut-radio-group>
</view>
<view class="confirm-form">
<nut-row>
<nut-col :span="
8
">
<nut-col :span="
6
">
<view class="form-text"><view style="color: red; margin-right: 0.1rem;display: inline-block;">*</view>联系人</view>
</nut-col>
<nut-col :span="1
6
">
<nut-col :span="1
8
">
<view style="border: 1px solid #DEDEDE; border-radius: 10rpx;">
<nut-input v-model="basicData.name" class="nut-input-text" placeholder="请输入联系人" type="text" :border="false" />
</view>
</nut-col>
</nut-row>
<nut-row style="margin: 30rpx 0;">
<nut-col :span="
8
">
<nut-col :span="
6
">
<view class="form-text"><view style="color: red; margin-right: 0.1rem;display: inline-block;">*</view>联系电话</view>
</nut-col>
<nut-col :span="1
6
">
<view style="border: 1px solid #DEDEDE; border-radius: 10rpx;"
@tap="showKeyBoard"
>
<nut-input v-model="basicData.tel" class="nut-input-text" placeholder="请输入联系电话" type="
text" :border="false" readonly
/>
<nut-col :span="1
8
">
<view style="border: 1px solid #DEDEDE; border-radius: 10rpx;">
<nut-input v-model="basicData.tel" class="nut-input-text" placeholder="请输入联系电话" type="
number" :border="false"
/>
</view>
</nut-col>
</nut-row>
<nut-row>
<nut-col :span="
8
">
<view class="form-text">备注</view>
<nut-col :span="
6
">
<view class="form-text"
style="padding-left: 45rpx;"
>备注</view>
</nut-col>
<nut-col :span="1
6
">
<nut-col :span="1
8
">
<view style="border: 1px solid #DEDEDE; border-radius: 10rpx;">
<nut-textarea v-model="basicData.note" class="nut-input-text" placeholder="如有其他需求,请在此填写" :autosize="{ maxHeight: 100, minHeight: 50 }" />
</view>
...
...
src/pages/my/index.vue
View file @
50e335c
<!--
* @Date: 2023-12-13 11:13:13
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-12-19 1
1:22:24
* @LastEditTime: 2023-12-19 1
6:57:41
* @FilePath: /meihuaApp/src/pages/my/index.vue
* @Description: 文件描述
-->
...
...
@@ -26,9 +26,9 @@
<nut-tab-pane v-for="item in tabList" :title="item.title" :pane-key="item.key">
<view v-if="showContent" class="book-list">
<scroll-view ref="refScrollView" :style="scrollStyle" :scroll-y="true" :scroll-with-animation="true" @scrolltolower="onScrollToLower">
<view v-for="(item, index) in
10
" :key="index">
<view v-for="(item, index) in
5
" :key="index">
<order-card :key="index" @onPay="onPay"></order-card>
<view v-if="index ===
9
" style="height: 2rem;"></view>
<view v-if="index ===
4
" style="height: 2rem;"></view>
</view>
</scroll-view>
</view>
...
...
Please
register
or
login
to post a comment