Showing
5 changed files
with
37 additions
and
23 deletions
| ... | @@ -14,7 +14,6 @@ declare module '@vue/runtime-core' { | ... | @@ -14,7 +14,6 @@ declare module '@vue/runtime-core' { |
| 14 | NavBar: typeof import('./src/components/navBar.vue')['default'] | 14 | NavBar: typeof import('./src/components/navBar.vue')['default'] |
| 15 | NutActionSheet: typeof import('@nutui/nutui-taro')['ActionSheet'] | 15 | NutActionSheet: typeof import('@nutui/nutui-taro')['ActionSheet'] |
| 16 | NutAvatar: typeof import('@nutui/nutui-taro')['Avatar'] | 16 | NutAvatar: typeof import('@nutui/nutui-taro')['Avatar'] |
| 17 | - NutBacktop: typeof import('@nutui/nutui-taro')['Backtop'] | ||
| 18 | NutButton: typeof import('@nutui/nutui-taro')['Button'] | 17 | NutButton: typeof import('@nutui/nutui-taro')['Button'] |
| 19 | NutCalendar: typeof import('@nutui/nutui-taro')['Calendar'] | 18 | NutCalendar: typeof import('@nutui/nutui-taro')['Calendar'] |
| 20 | NutCol: typeof import('@nutui/nutui-taro')['Col'] | 19 | NutCol: typeof import('@nutui/nutui-taro')['Col'] | ... | ... |
| ... | @@ -180,8 +180,9 @@ const payOrder = (id) => { | ... | @@ -180,8 +180,9 @@ const payOrder = (id) => { |
| 180 | 180 | ||
| 181 | <style lang="less"> | 181 | <style lang="less"> |
| 182 | .order-card-component { | 182 | .order-card-component { |
| 183 | - margin: 0 1rem; | 183 | + margin: 1rem; |
| 184 | - // padding: 0.5rem; | 184 | + margin-top: 0.5rem; |
| 185 | + // padding: 0.5rem 0; | ||
| 185 | background-color: white; | 186 | background-color: white; |
| 186 | box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1); | 187 | box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1); |
| 187 | border: 1px solid #f9f9f9; | 188 | border: 1px solid #f9f9f9; | ... | ... |
| 1 | .calendar-select-page { | 1 | .calendar-select-page { |
| 2 | margin: 1rem; | 2 | margin: 1rem; |
| 3 | - background-color: #F6ECE1; | 3 | + background-color: #f6ece1; |
| 4 | border-radius: 0.5rem; | 4 | border-radius: 0.5rem; |
| 5 | padding: 1rem 0; | 5 | padding: 1rem 0; |
| 6 | padding-left: 0.5rem; | 6 | padding-left: 0.5rem; |
| ... | @@ -9,12 +9,26 @@ | ... | @@ -9,12 +9,26 @@ |
| 9 | .confirm-form { | 9 | .confirm-form { |
| 10 | padding-right: 1rem; | 10 | padding-right: 1rem; |
| 11 | .form-text { | 11 | .form-text { |
| 12 | - 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; | 12 | + position: relative; |
| 13 | + width: 100%; | ||
| 14 | + padding: 20rpx 30rpx; | ||
| 15 | + padding-right: 0; | ||
| 16 | + display: -webkit-flex; | ||
| 17 | + display: -ms-flexbox; | ||
| 18 | + display: flex; | ||
| 19 | + line-height: 40rpx; | ||
| 20 | + -webkit-box-sizing: border-box; | ||
| 21 | + box-sizing: border-box; | ||
| 22 | + font-size: 27rpx; | ||
| 23 | + } | ||
| 24 | + .nut-input { | ||
| 25 | + padding: 20rpx; | ||
| 13 | } | 26 | } |
| 14 | .nut-input-text { | 27 | .nut-input-text { |
| 15 | border-radius: 10rpx; | 28 | border-radius: 10rpx; |
| 16 | } | 29 | } |
| 17 | .nut-textarea { | 30 | .nut-textarea { |
| 18 | border-radius: 10rpx; | 31 | border-radius: 10rpx; |
| 32 | + padding: 20rpx; | ||
| 19 | } | 33 | } |
| 20 | } | 34 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-19 15:34:49 | 4 | + * @LastEditTime: 2023-12-19 16:55:06 |
| 5 | * @FilePath: /meihuaApp/src/pages/confirm/index.vue | 5 | * @FilePath: /meihuaApp/src/pages/confirm/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
| 51 | <view style="color: #060606; font-size: 0.85rem;">入住时间</view> | 51 | <view style="color: #060606; font-size: 0.85rem;">入住时间</view> |
| 52 | </nut-col> | 52 | </nut-col> |
| 53 | <nut-col span="12"> | 53 | <nut-col span="12"> |
| 54 | - <view style="color: #6A4925; font-size: 0.85rem; font-weight: bold; text-align: right;">12月7日 14:00后</view> | 54 | + <view style="color: #010101; font-size: 0.85rem; font-weight: bold; text-align: right;">12月7日 14:00后</view> |
| 55 | </nut-col> | 55 | </nut-col> |
| 56 | </nut-row> | 56 | </nut-row> |
| 57 | <nut-row> | 57 | <nut-row> |
| ... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
| 59 | <view style="color: #060606; font-size: 0.85rem; margin: 0.25rem 0;">退房日期</view> | 59 | <view style="color: #060606; font-size: 0.85rem; margin: 0.25rem 0;">退房日期</view> |
| 60 | </nut-col> | 60 | </nut-col> |
| 61 | <nut-col span="12"> | 61 | <nut-col span="12"> |
| 62 | - <view style="color: #6A4925; font-size: 0.85rem; font-weight: bold; text-align: right; margin: 0.25rem 0;">12月8日 12:00前</view> | 62 | + <view style="color: #010101; font-size: 0.85rem; font-weight: bold; text-align: right; margin: 0.25rem 0;">12月8日 12:00前</view> |
| 63 | </nut-col> | 63 | </nut-col> |
| 64 | </nut-row> | 64 | </nut-row> |
| 65 | <nut-row> | 65 | <nut-row> |
| ... | @@ -67,7 +67,7 @@ | ... | @@ -67,7 +67,7 @@ |
| 67 | <view style="color: #060606; font-size: 0.85rem;">早餐</view> | 67 | <view style="color: #060606; font-size: 0.85rem;">早餐</view> |
| 68 | </nut-col> | 68 | </nut-col> |
| 69 | <nut-col span="12"> | 69 | <nut-col span="12"> |
| 70 | - <view style="color: #6A4925; font-size: 0.85rem; font-weight: bold; text-align: right;">3份</view> | 70 | + <view style="color: #010101; font-size: 0.85rem; font-weight: bold; text-align: right;">3份</view> |
| 71 | </nut-col> | 71 | </nut-col> |
| 72 | </nut-row> | 72 | </nut-row> |
| 73 | <view style="font-size: 0.85rem; margin-top: 0.25rem;"> | 73 | <view style="font-size: 0.85rem; margin-top: 0.25rem;"> |
| ... | @@ -79,42 +79,42 @@ | ... | @@ -79,42 +79,42 @@ |
| 79 | <nut-radio-group v-model="radioVal" direction="horizontal"> | 79 | <nut-radio-group v-model="radioVal" direction="horizontal"> |
| 80 | <nut-radio label="1"> | 80 | <nut-radio label="1"> |
| 81 | 本人入住 | 81 | 本人入住 |
| 82 | - <template #icon><IconFont name="checked"></IconFont></template> | 82 | + <template #icon><IconFont name="checked" color="gray"></IconFont></template> |
| 83 | <template #checkedIcon><IconFont name="checked" color="red"></IconFont></template> | 83 | <template #checkedIcon><IconFont name="checked" color="red"></IconFont></template> |
| 84 | </nut-radio> | 84 | </nut-radio> |
| 85 | <nut-radio label="2"> | 85 | <nut-radio label="2"> |
| 86 | 帮别人订 | 86 | 帮别人订 |
| 87 | - <template #icon><IconFont name="checked"></IconFont></template> | 87 | + <template #icon><IconFont name="checked" color="gray"></IconFont></template> |
| 88 | <template #checkedIcon><IconFont name="checked" color="red"></IconFont></template> | 88 | <template #checkedIcon><IconFont name="checked" color="red"></IconFont></template> |
| 89 | </nut-radio> | 89 | </nut-radio> |
| 90 | </nut-radio-group> | 90 | </nut-radio-group> |
| 91 | </view> | 91 | </view> |
| 92 | <view class="confirm-form"> | 92 | <view class="confirm-form"> |
| 93 | <nut-row> | 93 | <nut-row> |
| 94 | - <nut-col :span="8"> | 94 | + <nut-col :span="6"> |
| 95 | <view class="form-text"><view style="color: red; margin-right: 0.1rem;display: inline-block;">*</view>联系人</view> | 95 | <view class="form-text"><view style="color: red; margin-right: 0.1rem;display: inline-block;">*</view>联系人</view> |
| 96 | </nut-col> | 96 | </nut-col> |
| 97 | - <nut-col :span="16"> | 97 | + <nut-col :span="18"> |
| 98 | <view style="border: 1px solid #DEDEDE; border-radius: 10rpx;"> | 98 | <view style="border: 1px solid #DEDEDE; border-radius: 10rpx;"> |
| 99 | <nut-input v-model="basicData.name" class="nut-input-text" placeholder="请输入联系人" type="text" :border="false" /> | 99 | <nut-input v-model="basicData.name" class="nut-input-text" placeholder="请输入联系人" type="text" :border="false" /> |
| 100 | </view> | 100 | </view> |
| 101 | </nut-col> | 101 | </nut-col> |
| 102 | </nut-row> | 102 | </nut-row> |
| 103 | <nut-row style="margin: 30rpx 0;"> | 103 | <nut-row style="margin: 30rpx 0;"> |
| 104 | - <nut-col :span="8"> | 104 | + <nut-col :span="6"> |
| 105 | <view class="form-text"><view style="color: red; margin-right: 0.1rem;display: inline-block;">*</view>联系电话</view> | 105 | <view class="form-text"><view style="color: red; margin-right: 0.1rem;display: inline-block;">*</view>联系电话</view> |
| 106 | </nut-col> | 106 | </nut-col> |
| 107 | - <nut-col :span="16"> | 107 | + <nut-col :span="18"> |
| 108 | - <view style="border: 1px solid #DEDEDE; border-radius: 10rpx;" @tap="showKeyBoard"> | 108 | + <view style="border: 1px solid #DEDEDE; border-radius: 10rpx;"> |
| 109 | - <nut-input v-model="basicData.tel" class="nut-input-text" placeholder="请输入联系电话" type="text" :border="false" readonly /> | 109 | + <nut-input v-model="basicData.tel" class="nut-input-text" placeholder="请输入联系电话" type="number" :border="false" /> |
| 110 | </view> | 110 | </view> |
| 111 | </nut-col> | 111 | </nut-col> |
| 112 | </nut-row> | 112 | </nut-row> |
| 113 | <nut-row> | 113 | <nut-row> |
| 114 | - <nut-col :span="8"> | 114 | + <nut-col :span="6"> |
| 115 | - <view class="form-text">备注</view> | 115 | + <view class="form-text" style="padding-left: 45rpx;">备注</view> |
| 116 | </nut-col> | 116 | </nut-col> |
| 117 | - <nut-col :span="16"> | 117 | + <nut-col :span="18"> |
| 118 | <view style="border: 1px solid #DEDEDE; border-radius: 10rpx;"> | 118 | <view style="border: 1px solid #DEDEDE; border-radius: 10rpx;"> |
| 119 | <nut-textarea v-model="basicData.note" class="nut-input-text" placeholder="如有其他需求,请在此填写" :autosize="{ maxHeight: 100, minHeight: 50 }" /> | 119 | <nut-textarea v-model="basicData.note" class="nut-input-text" placeholder="如有其他需求,请在此填写" :autosize="{ maxHeight: 100, minHeight: 50 }" /> |
| 120 | </view> | 120 | </view> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-12-13 11:13:13 | 2 | * @Date: 2023-12-13 11:13:13 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-19 11:22:24 | 4 | + * @LastEditTime: 2023-12-19 16:57:41 |
| 5 | * @FilePath: /meihuaApp/src/pages/my/index.vue | 5 | * @FilePath: /meihuaApp/src/pages/my/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -26,9 +26,9 @@ | ... | @@ -26,9 +26,9 @@ |
| 26 | <nut-tab-pane v-for="item in tabList" :title="item.title" :pane-key="item.key"> | 26 | <nut-tab-pane v-for="item in tabList" :title="item.title" :pane-key="item.key"> |
| 27 | <view v-if="showContent" class="book-list"> | 27 | <view v-if="showContent" class="book-list"> |
| 28 | <scroll-view ref="refScrollView" :style="scrollStyle" :scroll-y="true" :scroll-with-animation="true" @scrolltolower="onScrollToLower"> | 28 | <scroll-view ref="refScrollView" :style="scrollStyle" :scroll-y="true" :scroll-with-animation="true" @scrolltolower="onScrollToLower"> |
| 29 | - <view v-for="(item, index) in 10" :key="index"> | 29 | + <view v-for="(item, index) in 5" :key="index"> |
| 30 | <order-card :key="index" @onPay="onPay"></order-card> | 30 | <order-card :key="index" @onPay="onPay"></order-card> |
| 31 | - <view v-if="index === 9" style="height: 2rem;"></view> | 31 | + <view v-if="index === 4" style="height: 2rem;"></view> |
| 32 | </view> | 32 | </view> |
| 33 | </scroll-view> | 33 | </scroll-view> |
| 34 | </view> | 34 | </view> | ... | ... |
-
Please register or login to post a comment