hookehuyr

新增页面

1 /* 1 /*
2 * @Date: 2023-12-14 17:45:15 2 * @Date: 2023-12-14 17:45:15
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-12-14 17:51:09 4 + * @LastEditTime: 2023-12-15 14:04:18
5 * @FilePath: /meihuaApp/src/app.config.js 5 * @FilePath: /meihuaApp/src/app.config.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -10,6 +10,11 @@ export default defineAppConfig({ ...@@ -10,6 +10,11 @@ export default defineAppConfig({
10 'pages/index/index', 10 'pages/index/index',
11 'pages/book/index', 11 'pages/book/index',
12 'pages/my/index', 12 'pages/my/index',
13 + 'pages/detail/index',
14 + 'pages/confirm/index',
15 + 'pages/payInfo/index',
16 + 'pages/login/index',
17 + 'pages/myInfo/index',
13 ], 18 ],
14 subpackages: [ // 配置在tabBar中的页面不能分包写到subpackages中去 19 subpackages: [ // 配置在tabBar中的页面不能分包写到subpackages中去
15 { 20 {
......
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-14 18:23:08 4 + * @LastEditTime: 2023-12-15 14:01:57
5 * @FilePath: /meihuaApp/src/components/roomCard.vue 5 * @FilePath: /meihuaApp/src/components/roomCard.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
8 <template> 8 <template>
9 - <div class="room-card-component"> 9 + <div class="room-card-component" @tap="handleTap">
10 <image style="width: 100%; height: 10rem;" mode="aspectFill" src="https://img.yzcdn.cn/vant/cat.jpeg" /> 10 <image style="width: 100%; height: 10rem;" mode="aspectFill" src="https://img.yzcdn.cn/vant/cat.jpeg" />
11 <view style="padding: 0.5rem;"> 11 <view style="padding: 0.5rem;">
12 <nut-row> 12 <nut-row>
...@@ -27,6 +27,12 @@ ...@@ -27,6 +27,12 @@
27 import { ref } from 'vue' 27 import { ref } from 'vue'
28 import Taro from '@tarojs/taro' 28 import Taro from '@tarojs/taro'
29 29
30 +const handleTap = () => {
31 + Taro.navigateTo({
32 + url: '../detail/index',
33 + })
34 +}
35 +
30 </script> 36 </script>
31 37
32 <style lang="less"> 38 <style lang="less">
......
1 +/*
2 + * @Date: 2023-12-15 14:02:29
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-12-15 14:02:59
5 + * @FilePath: /meihuaApp/src/pages/confirm/index.config.js
6 + * @Description: 文件描述
7 + */
8 +export default {
9 + navigationBarTitleText: '确认订单',
10 + usingComponents: {
11 + },
12 +}
1 +.red {
2 + color: red;
3 +}
1 +<!--
2 + * @Date: 2022-09-19 14:11:06
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2022-09-30 10:00:57
5 + * @FilePath: /swx/src/pages/demo/index.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <div class="red">{{ str }}</div>
10 +</template>
11 +
12 +<script setup>
13 +import Taro from '@tarojs/taro'
14 +import { ref } from "vue";
15 +</script>
16 +
17 +<script>
18 +import "./index.less";
19 +export default {
20 + name: "demoPage",
21 +};
22 +</script>
1 +/*
2 + * @Date: 2023-12-15 13:57:34
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-12-15 13:57:50
5 + * @FilePath: /meihuaApp/src/pages/detail/index.config.js
6 + * @Description: 文件描述
7 + */
8 +export default {
9 + navigationBarTitleText: '房间详情',
10 + usingComponents: {
11 + },
12 +}
1 +.red {
2 + color: red;
3 +}
1 +<!--
2 + * @Date: 2022-09-19 14:11:06
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-12-15 13:58:15
5 + * @FilePath: /meihuaApp/src/pages/detail/index.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <view></view>
10 +</template>
11 +
12 +<script setup>
13 +import Taro from '@tarojs/taro'
14 +import { ref } from "vue";
15 +</script>
16 +
17 +<script>
18 +import "./index.less";
19 +
20 +export default {
21 + name: "detailPage",
22 +};
23 +</script>
1 +/*
2 + * @Date: 2023-12-15 14:04:28
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-12-15 14:04:44
5 + * @FilePath: /meihuaApp/src/pages/login/index.config.js
6 + * @Description: 文件描述
7 + */
8 +export default {
9 + navigationBarTitleText: '',
10 + usingComponents: {
11 + },
12 +}
1 +.red {
2 + color: red;
3 +}
1 +<!--
2 + * @Date: 2022-09-19 14:11:06
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2022-09-30 10:00:57
5 + * @FilePath: /swx/src/pages/demo/index.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <div class="red">{{ str }}</div>
10 +</template>
11 +
12 +<script setup>
13 +import Taro from '@tarojs/taro'
14 +import { ref } from "vue";
15 +</script>
16 +
17 +<script>
18 +import "./index.less";
19 +export default {
20 + name: "demoPage",
21 +};
22 +</script>
1 +/*
2 + * @Date: 2023-12-15 14:04:45
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-12-15 14:04:57
5 + * @FilePath: /meihuaApp/src/pages/myInfo/index.config.js
6 + * @Description: 文件描述
7 + */
8 +export default {
9 + navigationBarTitleText: '我的信息',
10 + usingComponents: {
11 + },
12 +}
1 +.red {
2 + color: red;
3 +}
1 +<!--
2 + * @Date: 2022-09-19 14:11:06
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2022-09-30 10:00:57
5 + * @FilePath: /swx/src/pages/demo/index.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <div class="red">{{ str }}</div>
10 +</template>
11 +
12 +<script setup>
13 +import Taro from '@tarojs/taro'
14 +import { ref } from "vue";
15 +</script>
16 +
17 +<script>
18 +import "./index.less";
19 +export default {
20 + name: "demoPage",
21 +};
22 +</script>
1 +export default {
2 + navigationBarTitleText: '',
3 + usingComponents: {
4 + },
5 +}
1 +.red {
2 + color: red;
3 +}
1 +<!--
2 + * @Date: 2023-12-15 14:03:40
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-12-15 14:04:06
5 + * @FilePath: /meihuaApp/src/pages/payInfo/index.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <div class="red">{{ str }}</div>
10 +</template>
11 +
12 +<script setup>
13 +import Taro from '@tarojs/taro'
14 +import { ref } from "vue";
15 +</script>
16 +
17 +<script>
18 +import "./index.less";
19 +export default {
20 + name: "demoPage",
21 +};
22 +</script>