diff --git a/common/server/config.js b/common/server/config.js
index c37b7c8..38b5f99 100644
--- a/common/server/config.js
+++ b/common/server/config.js
@@ -13,4 +13,9 @@ export const preloadConfigData = async () => {
configData.value = {
config: res
};
+ console.log("configData.value",configData.value);
};
+
+export const getConfigData = () => {
+ return configData.value;
+}
\ No newline at end of file
diff --git a/components.d.ts b/components.d.ts
index 99c6524..09a1487 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -8,6 +8,7 @@ export {}
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
+ MahjongCard: typeof import('./components/index/MahjongCard.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
diff --git a/components/index/MahjongCard.vue b/components/index/MahjongCard.vue
new file mode 100644
index 0000000..21f0593
--- /dev/null
+++ b/components/index/MahjongCard.vue
@@ -0,0 +1,309 @@
+
+
+
+
+ {{ item.status }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ {{
+ item.description }}
+ {{ item.room }}
+ 2025-09-06
+ {{ item.time }}
+ {{ item.requirements }}
+
+
+
+
+
+
+
+
+
diff --git a/manifest.json b/manifest.json
index ab32581..9efe9e0 100644
--- a/manifest.json
+++ b/manifest.json
@@ -43,7 +43,9 @@
/* ios打包配置 */
"ios" : {},
/* SDK配置 */
- "sdkConfigs" : {}
+ "sdkConfigs" : {
+ "oauth" : {}
+ }
}
},
/* 快应用特有相关 */
diff --git a/pages.json b/pages.json
index f604158..07c3477 100644
--- a/pages.json
+++ b/pages.json
@@ -48,6 +48,13 @@
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/me/login",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 72b04ae..67ea24d 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,77 +1,31 @@
-
-
-
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
- {{
- item.status }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- +
-
-
-
-
-
- {{
- item.description }}
- {{
- item.time }}
- {{
- item.room }}
- {{
- item.requirements }}
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -124,12 +78,12 @@
开始时间
2025/08/27 15:30
-
+
结束时间
2025/08/27 17:30
- 合计:2小时
+ 合计:2小时
@@ -220,136 +174,189 @@
\ No newline at end of file
diff --git a/pages/me/login.vue b/pages/me/login.vue
new file mode 100644
index 0000000..f4074ec
--- /dev/null
+++ b/pages/me/login.vue
@@ -0,0 +1,465 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ loading ? '登录中...' : '一键登录' }}
+
+
+
+
+
+
+
+
+
+ 我已阅读并同意
+ 《用户协议》
+ 和
+ 《隐私政策》
+
+
+
+
+
+
+ 暂不登录
+
+
+
+
+
+
+
+
diff --git a/pages/me/me-page.vue b/pages/me/me-page.vue
index faac83e..865a422 100644
--- a/pages/me/me-page.vue
+++ b/pages/me/me-page.vue
@@ -1,49 +1,51 @@
-
-
-
-
-
-
-
-
- 树下的胖子
-
-
-
- UID:123456
-
-
-
+
+
+ 加载中...
-
-
+
+
+
+ {{ userInfo.nickname }}
+
+ UID:{{ userInfo.uid }}
+ 点击登录
+
+
+
-
+
当前没有预约
- -->
-
- 2025/08/13 20:00 ~ 2025/08/13 22:00
- 共2小时
- 803包厢-大包
-
-
- 已预约人员
-
-
- 查看详情
-
+
+
+
+ {{ currentAppointment.startTime }} ~ {{ currentAppointment.endTime }} 共{{
+ currentAppointment.duration }}
+
+ {{ currentAppointment.room
+ }}
+
+
+ 已预约人员
+
+
+ 查看详情
+
+
+
@@ -52,44 +54,48 @@
我的评分
- 4.6
+ {{
+ userInfo.rating }}
+ 未评分
我的信誉
- 5.0
+ {{
+ userInfo.reputation }}
+ 未评级
牌品
-
+
牌技
-
+
- 鸽子数 0次
+ 鸽子数 {{ userInfo.pigeonCount }}次
-
+
预约记录
-
+
常见问题
-
+
联系我们
-
+
黑名单
@@ -109,29 +115,31 @@
style="width: 100%; height: 180rpx; background-color: #E3E2E2; margin-top: 20rpx; border-radius: 10rpx;">
发起者
-
- 苏家辉
+ {{ appointmentDetail.organizer.name }}
参与者
-
+
-
-
黑名单
树下的胖子
+ style="font-size: 20rpx; margin-left: 30rpx; width: 100rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">{{
+ participant.name }}
@@ -144,36 +152,39 @@
开始时间
- 2025/08/27 15:30
+ {{ appointmentDetail.timeInfo.startTime }}
-
+
结束时间
- 2025/08/27 17:30
+ {{ appointmentDetail.timeInfo.endTime }}
- 合计:2小时
+ 合计:{{ appointmentDetail.timeInfo.duration }}
- 房间号:304号-大包,30元/小时
- 人数:3人
- 玩法类型:扑克
- 具体规则:斗地主
- 补充信息:无
+ 房间号:{{ appointmentDetail.roomInfo.roomNumber
+ }},{{ appointmentDetail.roomInfo.price }}
+ 人数:{{ appointmentDetail.roomInfo.playerCount }}人
+ 玩法类型:{{ appointmentDetail.roomInfo.gameType }}
+ 具体规则:{{ appointmentDetail.roomInfo.rules }}
+ 补充信息:{{ appointmentDetail.roomInfo.additionalInfo }}
- 是否禁烟:禁烟
- 性别:不限
- 信誉:≧4.0
+ 是否禁烟:{{
+ appointmentDetail.requirements.smoking
+ }}
+ 性别:{{ appointmentDetail.requirements.gender }}
+ 信誉:{{ appointmentDetail.requirements.reputation }}
- 鸽子费:0元
+ 鸽子费:{{ appointmentDetail.pigeonFee }}
组局成功后若有牌友未赴约,其鸽子费平均分给其他牌友。组局成功或失败后鸽子费将全额返还。
@@ -190,48 +201,228 @@
-
\ No newline at end of file
diff --git a/uni_modules/uni-card/changelog.md b/uni_modules/uni-card/changelog.md
new file mode 100644
index 0000000..c3cd8c4
--- /dev/null
+++ b/uni_modules/uni-card/changelog.md
@@ -0,0 +1,26 @@
+## 1.3.1(2021-12-20)
+- 修复 在vue页面下略缩图显示不正常的bug
+## 1.3.0(2021-11-19)
+- 重构插槽的用法 ,header 替换为 title
+- 新增 actions 插槽
+- 新增 cover 封面图属性和插槽
+- 新增 padding 内容默认内边距离
+- 新增 margin 卡片默认外边距离
+- 新增 spacing 卡片默认内边距
+- 新增 shadow 卡片阴影属性
+- 取消 mode 属性,可使用组合插槽代替
+- 取消 note 属性 ,使用actions插槽代替
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-card](https://uniapp.dcloud.io/component/uniui/uni-card)
+## 1.2.1(2021-07-30)
+- 优化 vue3下事件警告的问题
+## 1.2.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.1.8(2021-07-01)
+- 优化 图文卡片无图片加载时,提供占位图标
+- 新增 header 插槽,自定义卡片头部( 图文卡片 mode="style" 时,不支持)
+- 修复 thumbnail 不存在仍然占位的 bug
+## 1.1.7(2021-05-12)
+- 新增 组件示例地址
+## 1.1.6(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-card/components/uni-card/uni-card.vue b/uni_modules/uni-card/components/uni-card/uni-card.vue
new file mode 100644
index 0000000..38cf594
--- /dev/null
+++ b/uni_modules/uni-card/components/uni-card/uni-card.vue
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-card/package.json b/uni_modules/uni-card/package.json
new file mode 100644
index 0000000..f16224d
--- /dev/null
+++ b/uni_modules/uni-card/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-card",
+ "displayName": "uni-card 卡片",
+ "version": "1.3.1",
+ "description": "Card 组件,提供常见的卡片样式。",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "card",
+ "",
+ "卡片"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-icons",
+ "uni-scss"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-card/readme.md b/uni_modules/uni-card/readme.md
new file mode 100644
index 0000000..7434e71
--- /dev/null
+++ b/uni_modules/uni-card/readme.md
@@ -0,0 +1,12 @@
+
+
+## Card 卡片
+> **组件名:uni-card**
+> 代码块: `uCard`
+
+卡片视图组件。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-card)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
+
+
diff --git a/vite.config.js b/vite.config.js
index 814e7ba..01e2c10 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -28,7 +28,7 @@ export default defineConfig({
/@@:([^\s"'()<>]+?\.(png|jpe?g|gif|svg|webp))/g,
(match, path) => {
count++
- return `https://guyu-1308826010.cos.ap-shanghai.myqcloud.com/${path}`
+ return `https://admin-1308826010.cos.ap-shanghai.myqcloud.com/${path}`
}
);
if (count > 0) {