Showing
6 changed files
with
9 additions
and
88 deletions
src/api/Activity/index.js
deleted
100644 → 0
| 1 | -/* | ||
| 2 | - * @Date: 2022-10-20 13:15:00 | ||
| 3 | - * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | - * @LastEditTime: 2022-10-28 17:34:06 | ||
| 5 | - * @FilePath: /swx/src/api/Activity/index.js | ||
| 6 | - * @Description: 活动信息 | ||
| 7 | - */ | ||
| 8 | -import { fn, fetch } from '../fn'; | ||
| 9 | - | ||
| 10 | -const Api = { | ||
| 11 | - ACTIVITY_JOIN_LIST: '/srv/?a=activity_join_list', | ||
| 12 | - ACTIVITY_ADD_LIST: '/srv/?a=activity_add_list', | ||
| 13 | - ACTIVITY_COPY: '/srv/?a=activity_copy', | ||
| 14 | - ACTIVITY_END: '/srv/?a=activity_end', | ||
| 15 | - ACTIVITY_DEL: '/srv/?a=activity_del', | ||
| 16 | - ACTIVITY_QRCODE: '/srv/?a=activity_info_qrcode', | ||
| 17 | -} | ||
| 18 | - | ||
| 19 | -/** | ||
| 20 | - * @description: 我加入的活动列表 | ||
| 21 | - * @returns | ||
| 22 | - */ | ||
| 23 | -export const joinListAPI = (params) => fn(fetch.get(Api.ACTIVITY_JOIN_LIST, params)); | ||
| 24 | - | ||
| 25 | -/** | ||
| 26 | - * @description: 我创建的活动列表 | ||
| 27 | - * @returns | ||
| 28 | - */ | ||
| 29 | -export const addListAPI = (params) => fn(fetch.get(Api.ACTIVITY_ADD_LIST, params)); | ||
| 30 | - | ||
| 31 | -/** | ||
| 32 | - * @description: 复制活动 | ||
| 33 | - * @returns | ||
| 34 | - */ | ||
| 35 | -export const copyActivityAPI = (params) => fn(fetch.get(Api.ACTIVITY_COPY, params)); | ||
| 36 | - | ||
| 37 | -/** | ||
| 38 | - * @description: 结束活动 | ||
| 39 | - * @returns | ||
| 40 | - */ | ||
| 41 | -export const endActivityAPI = (params) => fn(fetch.get(Api.ACTIVITY_END, params)); | ||
| 42 | - | ||
| 43 | -/** | ||
| 44 | - * @description: 删除活动 | ||
| 45 | - * @returns | ||
| 46 | - */ | ||
| 47 | -export const delActivityAPI = (params) => fn(fetch.get(Api.ACTIVITY_DEL, params)); | ||
| 48 | - | ||
| 49 | -/** | ||
| 50 | - * @description: 生成小程序码 | ||
| 51 | - * @returns | ||
| 52 | - */ | ||
| 53 | -export const qrCodeActivityAPI = (params) => fn(fetch.get(Api.ACTIVITY_QRCODE, params)); |
src/api/User/index.js
deleted
100644 → 0
| 1 | -/* | ||
| 2 | - * @Date: 2022-10-20 13:15:00 | ||
| 3 | - * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | - * @LastEditTime: 2022-10-21 17:12:41 | ||
| 5 | - * @FilePath: /swx/src/api/User/index.js | ||
| 6 | - * @Description: 用户信息 | ||
| 7 | - */ | ||
| 8 | -import { fn, fetch } from '../fn'; | ||
| 9 | - | ||
| 10 | -const Api = { | ||
| 11 | - USER_INFO: '/srv/?a=user_info', | ||
| 12 | - USER_EDIT: '/srv/?a=user_edit', | ||
| 13 | -} | ||
| 14 | - | ||
| 15 | -/** | ||
| 16 | - * @description: 我的信息 | ||
| 17 | - * @returns | ||
| 18 | - */ | ||
| 19 | -export const infoUserAPI = (params) => fn(fetch.get(Api.USER_INFO, params)); | ||
| 20 | - | ||
| 21 | -/** | ||
| 22 | - * @description: 修改我的信息 | ||
| 23 | - * @returns | ||
| 24 | - */ | ||
| 25 | -export const editUserAPI = (params) => fn(fetch.post(Api.USER_EDIT, params)); |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-12-14 10:04:23 | 2 | * @Date: 2023-12-14 10:04:23 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-27 16:34:18 | 4 | + * @LastEditTime: 2023-12-28 13:30:44 |
| 5 | * @FilePath: /meihuaApp/src/components/calendarSelect.vue | 5 | * @FilePath: /meihuaApp/src/components/calendarSelect.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -244,7 +244,6 @@ const onClose = () => { | ... | @@ -244,7 +244,6 @@ const onClose = () => { |
| 244 | } | 244 | } |
| 245 | 245 | ||
| 246 | const onConfirm = (event) => { | 246 | const onConfirm = (event) => { |
| 247 | - console.warn(event); | ||
| 248 | } | 247 | } |
| 249 | </script> | 248 | </script> |
| 250 | 249 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-12-13 13:42:23 | 2 | * @Date: 2023-12-13 13:42:23 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-12-27 17:41:27 | 4 | + * @LastEditTime: 2023-12-27 18:49:51 |
| 5 | * @FilePath: /meihuaApp/src/components/roomCard.vue | 5 | * @FilePath: /meihuaApp/src/components/roomCard.vue |
| 6 | * @Description: 房间详情组件 | 6 | * @Description: 房间详情组件 |
| 7 | --> | 7 | --> |
| ... | @@ -20,11 +20,11 @@ | ... | @@ -20,11 +20,11 @@ |
| 20 | </nut-col> | 20 | </nut-col> |
| 21 | </nut-row> | 21 | </nut-row> |
| 22 | </view> | 22 | </view> |
| 23 | - <view v-if="!num && props.type !== 'index'" class="room-status"> | 23 | + <!-- <view v-if="!num && props.type !== 'index'" class="room-status"> |
| 24 | <view class="room-status-wrapper"> | 24 | <view class="room-status-wrapper"> |
| 25 | <image mode="aspectFill" src="https://cdn.ipadbiz.cn/meihua/icon_checked@2x.png" /> | 25 | <image mode="aspectFill" src="https://cdn.ipadbiz.cn/meihua/icon_checked@2x.png" /> |
| 26 | </view> | 26 | </view> |
| 27 | - </view> | 27 | + </view> --> |
| 28 | </view> | 28 | </view> |
| 29 | </template> | 29 | </template> |
| 30 | 30 | ... | ... |
| 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-27 15:11:58 | 4 | + * @LastEditTime: 2023-12-28 14:31:23 |
| 5 | * @FilePath: /meihuaApp/src/pages/confirm/index.vue | 5 | * @FilePath: /meihuaApp/src/pages/confirm/index.vue |
| 6 | * @Description: 确认订单页面 | 6 | * @Description: 确认订单页面 |
| 7 | --> | 7 | --> |
| ... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
| 39 | <nut-col span="5" class="calendar-select-center"> | 39 | <nut-col span="5" class="calendar-select-center"> |
| 40 | <view>共{{ booking_info.days }}晚</view> | 40 | <view>共{{ booking_info.days }}晚</view> |
| 41 | </nut-col> | 41 | </nut-col> |
| 42 | - <nut-col span="9" class="calendar-select-right"> | 42 | + <nut-col span="9" class="calendar-select-right" style="text-align: right;"> |
| 43 | <view class="text">退房日期</view> | 43 | <view class="text">退房日期</view> |
| 44 | <view class="date"> | 44 | <view class="date"> |
| 45 | {{ booking_info.check_out.year }}.{{ booking_info.check_out.month }}.{{ booking_info.check_out.day }} {{ booking_info.check_out.day_of_week }} | 45 | {{ booking_info.check_out.year }}.{{ booking_info.check_out.month }}.{{ booking_info.check_out.day }} {{ booking_info.check_out.day_of_week }} |
| ... | @@ -188,7 +188,7 @@ const onBookCountBlur = (evt) => { | ... | @@ -188,7 +188,7 @@ const onBookCountBlur = (evt) => { |
| 188 | } | 188 | } |
| 189 | } | 189 | } |
| 190 | const onBookCountChange = (count) => { | 190 | const onBookCountChange = (count) => { |
| 191 | - console.warn(count); | 191 | + // console.warn(count); |
| 192 | } | 192 | } |
| 193 | 193 | ||
| 194 | const use_type = ref('1'); // 本人入住或者帮别人订 | 194 | const use_type = ref('1'); // 本人入住或者帮别人订 | ... | ... |
| 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-27 19:44:09 | 4 | + * @LastEditTime: 2023-12-28 13:33:21 |
| 5 | * @FilePath: /meihuaApp/src/pages/index/index.vue | 5 | * @FilePath: /meihuaApp/src/pages/index/index.vue |
| 6 | * @Description: 首页 | 6 | * @Description: 首页 |
| 7 | --> | 7 | --> |
| ... | @@ -36,7 +36,7 @@ import { getListAPI } from '@/api/index' | ... | @@ -36,7 +36,7 @@ import { getListAPI } from '@/api/index' |
| 36 | 36 | ||
| 37 | // TAG: 模拟onShow事件 | 37 | // TAG: 模拟onShow事件 |
| 38 | useDidShow(() => { | 38 | useDidShow(() => { |
| 39 | - console.warn('index onShow') | 39 | + // console.warn('index onShow') |
| 40 | }) | 40 | }) |
| 41 | 41 | ||
| 42 | // 分享功能 | 42 | // 分享功能 | ... | ... |
-
Please register or login to post a comment