From c55be1078372264dde54e4370b2a4b5fa27aa417 Mon Sep 17 00:00:00 2001
From: pengxiaolong <15716207+pengxiaolong711@user.noreply.gitee.com>
Date: Thu, 22 May 2025 22:05:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BF=94=E5=9B=9E=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/VerifyLogin.js | 31 ++
components/contentList/contentList.vue | 2 +
components/request.js | 6 +-
pages/Home/Home.vue | 2 +-
pages/UserInformation/UserInformation.vue | 12 +-
pages/login/login.vue | 15 +-
pages/pkDetail/pkDetail.vue | 150 ++++-
uni_modules/uni-popup/changelog.md | 94 ++++
.../components/uni-popup-dialog/keypress.js | 45 ++
.../uni-popup-dialog/uni-popup-dialog.vue | 327 +++++++++++
.../uni-popup-message/uni-popup-message.vue | 143 +++++
.../uni-popup-share/uni-popup-share.vue | 188 +++++++
.../components/uni-popup/i18n/en.json | 7 +
.../components/uni-popup/i18n/index.js | 8 +
.../components/uni-popup/i18n/zh-Hans.json | 7 +
.../components/uni-popup/i18n/zh-Hant.json | 7 +
.../components/uni-popup/keypress.js | 45 ++
.../uni-popup/components/uni-popup/popup.js | 26 +
.../components/uni-popup/uni-popup.uvue | 90 +++
.../components/uni-popup/uni-popup.vue | 518 ++++++++++++++++++
uni_modules/uni-popup/package.json | 90 +++
uni_modules/uni-popup/readme.md | 17 +
uni_modules/uni-transition/changelog.md | 27 +
.../uni-transition/createAnimation.js | 131 +++++
.../uni-transition/uni-transition.vue | 289 ++++++++++
uni_modules/uni-transition/package.json | 87 +++
uni_modules/uni-transition/readme.md | 11 +
.../mp-weixin/components/VerifyLogin.js.map | 1 +
.../components/contentList/contentList.js.map | 2 +-
.../mp-weixin/components/formatDate.js.map | 2 +-
.../mp-weixin/components/request.js.map | 2 +-
.../mp-weixin/pages/Home/Home.js.map | 2 +-
.../UserInformation/UserInformation.js.map | 2 +-
.../mp-weixin/pages/login/login.js.map | 2 +-
.../mp-weixin/pages/pkDetail/pkDetail.js.map | 2 +-
.../components/uni-popup/uni-popup.js.map | 1 +
.../uni-transition/createAnimation.js.map | 1 +
.../uni-transition/uni-transition.js.map | 1 +
unpackage/dist/dev/mp-weixin/common/vendor.js | 2 +-
.../dev/mp-weixin/components/VerifyLogin.js | 32 ++
.../components/contentList/contentList.js | 9 +-
.../dev/mp-weixin/components/formatDate.js | 11 +
.../dist/dev/mp-weixin/components/request.js | 8 +-
.../dist/dev/mp-weixin/pages/Home/Home.js | 1 +
.../pages/UserInformation/UserInformation.js | 17 +-
.../dist/dev/mp-weixin/pages/login/login.js | 17 +-
.../dev/mp-weixin/pages/pkDetail/pkDetail.js | 63 ++-
.../mp-weixin/pages/pkDetail/pkDetail.json | 4 +-
.../mp-weixin/pages/pkDetail/pkDetail.wxml | 2 +-
.../mp-weixin/pages/pkDetail/pkDetail.wxss | 72 +++
.../components/uni-popup/uni-popup.js | 397 ++++++++++++++
.../components/uni-popup/uni-popup.json | 6 +
.../components/uni-popup/uni-popup.wxml | 1 +
.../components/uni-popup/uni-popup.wxss | 47 ++
.../uni-transition/createAnimation.js | 116 ++++
.../uni-transition/uni-transition.js | 269 +++++++++
.../uni-transition/uni-transition.json | 4 +
.../uni-transition/uni-transition.wxml | 1 +
.../uni-transition/uni-transition.wxss | 0
59 files changed, 3428 insertions(+), 44 deletions(-)
create mode 100644 components/VerifyLogin.js
create mode 100644 uni_modules/uni-popup/changelog.md
create mode 100644 uni_modules/uni-popup/components/uni-popup-dialog/keypress.js
create mode 100644 uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
create mode 100644 uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue
create mode 100644 uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/en.json
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/index.js
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json
create mode 100644 uni_modules/uni-popup/components/uni-popup/keypress.js
create mode 100644 uni_modules/uni-popup/components/uni-popup/popup.js
create mode 100644 uni_modules/uni-popup/components/uni-popup/uni-popup.uvue
create mode 100644 uni_modules/uni-popup/components/uni-popup/uni-popup.vue
create mode 100644 uni_modules/uni-popup/package.json
create mode 100644 uni_modules/uni-popup/readme.md
create mode 100644 uni_modules/uni-transition/changelog.md
create mode 100644 uni_modules/uni-transition/components/uni-transition/createAnimation.js
create mode 100644 uni_modules/uni-transition/components/uni-transition/uni-transition.vue
create mode 100644 uni_modules/uni-transition/package.json
create mode 100644 uni_modules/uni-transition/readme.md
create mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/components/VerifyLogin.js.map
create mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map
create mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map
create mode 100644 unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map
create mode 100644 unpackage/dist/dev/mp-weixin/components/VerifyLogin.js
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml
create mode 100644 unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxss
diff --git a/components/VerifyLogin.js b/components/VerifyLogin.js
new file mode 100644
index 0000000..2ac893e
--- /dev/null
+++ b/components/VerifyLogin.js
@@ -0,0 +1,31 @@
+function VerifyLogin() {
+ return new Promise((resolve, reject) => {
+
+ uni.getStorage({
+ key: "userinfo",
+ success: (res) => {
+ if (res.data) {
+ if (res.data.nickName) {
+ resolve(true);
+ } else {
+ uni.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ uni.reLaunch({ url: "/pages/UserInformation/UserInformation" });
+ resolve(false);
+ }
+ } else {
+ uni.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ uni.navigateTo({ url: '/pages/login/login' });
+ resolve(false);
+ }
+ },
+ fail: (err) => {
+ console.error("获取用户信息失败", err);
+ uni.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ uni.navigateTo({ url: '/pages/login/login' });
+ reject(err);
+ }
+ });
+ });
+}
+
+export default VerifyLogin;
diff --git a/components/contentList/contentList.vue b/components/contentList/contentList.vue
index fbf7242..d88ac41 100644
--- a/components/contentList/contentList.vue
+++ b/components/contentList/contentList.vue
@@ -28,6 +28,7 @@
import request from "../../components/request.js";
import formatDate from "../../components/formatDate.js";
export default {
+ inject: ['$global'],
data() {
return {
page: 0,//页码
@@ -50,6 +51,7 @@ export default {
},
})
},
+ formatDate: formatDate,
async pkList(){
const res = await request({
url: "pk/pkList",
diff --git a/components/request.js b/components/request.js
index e0ea89f..8fecd96 100644
--- a/components/request.js
+++ b/components/request.js
@@ -24,15 +24,17 @@ export default function request(urldata) {
}
});
} else {
- this.$global.lastPage = uni.page.route;
+ uni.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
uni.reLaunch({ url: "/pages/UserInformation/UserInformation" })
}
} else {
- this.$global.lastPage = uni.page.route;
+ uni.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
uni.navigateTo({ url: '/pages/login/login' })
}
},
fail: function (res) {
+ uni.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ uni.navigateTo({ url: '/pages/login/login' })
reject(res);
}
});
diff --git a/pages/Home/Home.vue b/pages/Home/Home.vue
index 515d5ac..b5494be 100644
--- a/pages/Home/Home.vue
+++ b/pages/Home/Home.vue
@@ -32,7 +32,7 @@ export default {
methods: {
goAdvertisement(){
// this.$global.lastPage = getCurrentPages().router;
- // uni.navigateTo({ url: '/pages/login/login' })
+ uni.navigateTo({ url: '/pages/pkDetail/pkDetail' })
}
},
components: {
diff --git a/pages/UserInformation/UserInformation.vue b/pages/UserInformation/UserInformation.vue
index e08d7c1..5acaf07 100644
--- a/pages/UserInformation/UserInformation.vue
+++ b/pages/UserInformation/UserInformation.vue
@@ -28,6 +28,7 @@ export default {
id: "",
info: {},
userSig: "",
+ lastPage: "",
};
},
onLoad(option) {
@@ -43,6 +44,15 @@ export default {
this.userSig = res.data;
},
});
+ uni.getStorage({
+ key: "lastPage",
+ success: (res) => {
+ this.lastPage = "/"+res.data;
+ },
+ fail: () => {
+ this.lastPage = "/pages/Home/Home";
+ },
+ })
// const { info } = option;
// this.id = JSON.parse(info).id
},
@@ -99,7 +109,7 @@ export default {
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
uni.reLaunch({
- url: this.$global.lastPage || "/pages/Home/Home", // 默认页
+ url: this.lastPage,
});
//````````````````````````````````````````````````````````````````````
} else {
diff --git a/pages/login/login.vue b/pages/login/login.vue
index d6259f8..ab99abf 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -20,6 +20,7 @@ export default {
userInfo: {},
info: {},
userSig: "",
+ lastPage: "",
};
},
onLoad() {
@@ -29,7 +30,18 @@ export default {
this.userInfo = res.userInfo;
},
});
+ uni.getStorage({
+ key: "lastPage",
+ success: (res) => {
+ this.lastPage = "/"+res.data;
+ console.log(this.lastPage);
+ },
+ fail: () => {
+ this.lastPage = "/pages/Home/Home";
+ },
+ })
},
+
methods: {
// 获取手机号
async getPhoneNumber(e) {
@@ -66,8 +78,9 @@ export default {
uni.hideLoading();
TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id,this.userSig.userSig)
//跳转原来页面否则首页
+ console.log("跳的地址", this.lastPage);
uni.reLaunch({
- url: this.$global.lastPage || "/pages/Home/Home", // 默认页
+ url: this.lastPage,
});
}
} else {
diff --git a/pages/pkDetail/pkDetail.vue b/pages/pkDetail/pkDetail.vue
index 7d8af65..153af16 100644
--- a/pages/pkDetail/pkDetail.vue
+++ b/pages/pkDetail/pkDetail.vue
@@ -1,21 +1,56 @@
-
+
+
+
+
+
+
+
- 主播名称{{item.anchorId}}
- 主播性别{{item.sex === 1?"男":"女"}}
- 国家{{item.country}}
- 金币{{item.coin}}
- 主播备注{{item.remark}}
- PK时间{{item.pkTime}}
+
+
+ 主播名称{{ item.anchorId }}
+ 主播性别{{ item.sex === 1 ? "男" : "女" }}
+ 国家{{ item.country }}
+
+ 金币{{ item.coin }}
+ PK时间{{ formatDate(item.pkTime) }}
+
+ 主播备注{{ item.remark }}
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-popup/changelog.md b/uni_modules/uni-popup/changelog.md
new file mode 100644
index 0000000..013272a
--- /dev/null
+++ b/uni_modules/uni-popup/changelog.md
@@ -0,0 +1,94 @@
+## 1.9.8(2025-04-16)
+- 修复 更新组件示例 ,解决更新数据或保存项目导致弹窗消失的问题
+## 1.9.7(2025-04-14)
+- 修复 uni-popup-dialog 弹出框在vue3中双向绑定问题
+## 1.9.6(2025-01-08)
+- 修复 示例中过期图片地址
+## 1.9.5(2024-10-15)
+- 修复 微信小程序中的getSystemInfo警告
+## 1.9.2(2024-09-21)
+- 修复 uni-popup在android上的重复点击弹出位置不正确的bug
+## 1.9.1(2024-04-02)
+- 修复 uni-popup-dialog vue3下使用value无法进行绑定的bug(双向绑定兼容旧写法)
+## 1.9.0(2024-03-28)
+- 修复 uni-popup-dialog 双向绑定时初始化逻辑修正
+## 1.8.9(2024-03-20)
+- 修复 uni-popup-dialog 数据输入时修正为双向绑定
+## 1.8.8(2024-02-20)
+- 修复 uni-popup 在微信小程序下出现文字向上闪动的bug
+## 1.8.7(2024-02-02)
+- 新增 uni-popup-dialog 新增属性focus:input模式下,是否自动自动聚焦
+## 1.8.6(2024-01-30)
+- 新增 uni-popup-dialog 新增属性maxLength:限制输入框字数
+## 1.8.5(2024-01-26)
+- 新增 uni-popup-dialog 新增属性showClose:控制关闭按钮的显示
+## 1.8.4(2023-11-15)
+- 新增 uni-popup 支持uni-app-x 注意暂时仅支持 `maskClick` `@open` `@close`
+## 1.8.3(2023-04-17)
+- 修复 uni-popup 重复打开时的 bug
+## 1.8.2(2023-02-02)
+- uni-popup-dialog 组件新增 inputType 属性
+## 1.8.1(2022-12-01)
+- 修复 nvue 下 v-show 报错
+## 1.8.0(2022-11-29)
+- 优化 主题样式
+## 1.7.9(2022-04-02)
+- 修复 弹出层内部无法滚动的bug
+## 1.7.8(2022-03-28)
+- 修复 小程序中高度错误的bug
+## 1.7.7(2022-03-17)
+- 修复 快速调用open出现问题的Bug
+## 1.7.6(2022-02-14)
+- 修复 safeArea 属性不能设置为false的bug
+## 1.7.5(2022-01-19)
+- 修复 isMaskClick 失效的bug
+## 1.7.4(2022-01-19)
+- 新增 cancelText \ confirmText 属性 ,可自定义文本
+- 新增 maskBackgroundColor 属性 ,可以修改蒙版颜色
+- 优化 maskClick属性 更新为 isMaskClick ,解决微信小程序警告的问题
+## 1.7.3(2022-01-13)
+- 修复 设置 safeArea 属性不生效的bug
+## 1.7.2(2021-11-26)
+- 优化 组件示例
+## 1.7.1(2021-11-26)
+- 修复 vuedoc 文字错误
+## 1.7.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-popup](https://uniapp.dcloud.io/component/uniui/uni-popup)
+## 1.6.2(2021-08-24)
+- 新增 支持国际化
+## 1.6.1(2021-07-30)
+- 优化 vue3下事件警告的问题
+## 1.6.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.5.0(2021-06-23)
+- 新增 mask-click 遮罩层点击事件
+## 1.4.5(2021-06-22)
+- 修复 nvue 平台中间弹出后,点击内容,再点击遮罩无法关闭的Bug
+## 1.4.4(2021-06-18)
+- 修复 H5平台中间弹出后,点击内容,再点击遮罩无法关闭的Bug
+## 1.4.3(2021-06-08)
+- 修复 错误的 watch 字段
+- 修复 safeArea 属性不生效的问题
+- 修复 点击内容,再点击遮罩无法关闭的Bug
+## 1.4.2(2021-05-12)
+- 新增 组件示例地址
+## 1.4.1(2021-04-29)
+- 修复 组件内放置 input 、textarea 组件,无法聚焦的问题
+## 1.4.0 (2021-04-29)
+- 新增 type 属性的 left\right 值,支持左右弹出
+- 新增 open(String:type) 方法参数 ,可以省略 type 属性 ,直接传入类型打开指定弹窗
+- 新增 backgroundColor 属性,可定义主窗口背景色,默认不显示背景色
+- 新增 safeArea 属性,是否适配底部安全区
+- 修复 App\h5\微信小程序底部安全区占位不对的Bug
+- 修复 App 端弹出等待的Bug
+- 优化 提升低配设备性能,优化动画卡顿问题
+- 优化 更简单的组件自定义方式
+## 1.2.9(2021-02-05)
+- 优化 组件引用关系,通过uni_modules引用组件
+## 1.2.8(2021-02-05)
+- 调整为uni_modules目录规范
+## 1.2.7(2021-02-05)
+- 调整为uni_modules目录规范
+- 新增 支持 PC 端
+- 新增 uni-popup-message 、uni-popup-dialog扩展组件支持 PC 端
diff --git a/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js b/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js
new file mode 100644
index 0000000..6ef26a2
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js
@@ -0,0 +1,45 @@
+// #ifdef H5
+export default {
+ name: 'Keypress',
+ props: {
+ disable: {
+ type: Boolean,
+ default: false
+ }
+ },
+ mounted () {
+ const keyNames = {
+ esc: ['Esc', 'Escape'],
+ tab: 'Tab',
+ enter: 'Enter',
+ space: [' ', 'Spacebar'],
+ up: ['Up', 'ArrowUp'],
+ left: ['Left', 'ArrowLeft'],
+ right: ['Right', 'ArrowRight'],
+ down: ['Down', 'ArrowDown'],
+ delete: ['Backspace', 'Delete', 'Del']
+ }
+ const listener = ($event) => {
+ if (this.disable) {
+ return
+ }
+ const keyName = Object.keys(keyNames).find(key => {
+ const keyName = $event.key
+ const value = keyNames[key]
+ return value === keyName || (Array.isArray(value) && value.includes(keyName))
+ })
+ if (keyName) {
+ // 避免和其他按键事件冲突
+ setTimeout(() => {
+ this.$emit(keyName, {})
+ }, 0)
+ }
+ }
+ document.addEventListener('keyup', listener)
+ this.$once('hook:beforeDestroy', () => {
+ document.removeEventListener('keyup', listener)
+ })
+ },
+ render: () => {}
+}
+// #endif
diff --git a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
new file mode 100644
index 0000000..f5731d5
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
@@ -0,0 +1,327 @@
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue b/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue
new file mode 100644
index 0000000..91370a8
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
diff --git a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
new file mode 100644
index 0000000..c8945d5
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
diff --git a/uni_modules/uni-popup/components/uni-popup/i18n/en.json b/uni_modules/uni-popup/components/uni-popup/i18n/en.json
new file mode 100644
index 0000000..7f1bd06
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/i18n/en.json
@@ -0,0 +1,7 @@
+{
+ "uni-popup.cancel": "cancel",
+ "uni-popup.ok": "ok",
+ "uni-popup.placeholder": "pleace enter",
+ "uni-popup.title": "Hint",
+ "uni-popup.shareTitle": "Share to"
+}
diff --git a/uni_modules/uni-popup/components/uni-popup/i18n/index.js b/uni_modules/uni-popup/components/uni-popup/i18n/index.js
new file mode 100644
index 0000000..de7509c
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/i18n/index.js
@@ -0,0 +1,8 @@
+import en from './en.json'
+import zhHans from './zh-Hans.json'
+import zhHant from './zh-Hant.json'
+export default {
+ en,
+ 'zh-Hans': zhHans,
+ 'zh-Hant': zhHant
+}
diff --git a/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json b/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json
new file mode 100644
index 0000000..5e3003c
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json
@@ -0,0 +1,7 @@
+{
+ "uni-popup.cancel": "取消",
+ "uni-popup.ok": "确定",
+ "uni-popup.placeholder": "请输入",
+ "uni-popup.title": "提示",
+ "uni-popup.shareTitle": "分享到"
+}
diff --git a/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json b/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json
new file mode 100644
index 0000000..13e39eb
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json
@@ -0,0 +1,7 @@
+{
+ "uni-popup.cancel": "取消",
+ "uni-popup.ok": "確定",
+ "uni-popup.placeholder": "請輸入",
+ "uni-popup.title": "提示",
+ "uni-popup.shareTitle": "分享到"
+}
diff --git a/uni_modules/uni-popup/components/uni-popup/keypress.js b/uni_modules/uni-popup/components/uni-popup/keypress.js
new file mode 100644
index 0000000..62dda46
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/keypress.js
@@ -0,0 +1,45 @@
+// #ifdef H5
+export default {
+ name: 'Keypress',
+ props: {
+ disable: {
+ type: Boolean,
+ default: false
+ }
+ },
+ mounted () {
+ const keyNames = {
+ esc: ['Esc', 'Escape'],
+ tab: 'Tab',
+ enter: 'Enter',
+ space: [' ', 'Spacebar'],
+ up: ['Up', 'ArrowUp'],
+ left: ['Left', 'ArrowLeft'],
+ right: ['Right', 'ArrowRight'],
+ down: ['Down', 'ArrowDown'],
+ delete: ['Backspace', 'Delete', 'Del']
+ }
+ const listener = ($event) => {
+ if (this.disable) {
+ return
+ }
+ const keyName = Object.keys(keyNames).find(key => {
+ const keyName = $event.key
+ const value = keyNames[key]
+ return value === keyName || (Array.isArray(value) && value.includes(keyName))
+ })
+ if (keyName) {
+ // 避免和其他按键事件冲突
+ setTimeout(() => {
+ this.$emit(keyName, {})
+ }, 0)
+ }
+ }
+ document.addEventListener('keyup', listener)
+ // this.$once('hook:beforeDestroy', () => {
+ // document.removeEventListener('keyup', listener)
+ // })
+ },
+ render: () => {}
+}
+// #endif
diff --git a/uni_modules/uni-popup/components/uni-popup/popup.js b/uni_modules/uni-popup/components/uni-popup/popup.js
new file mode 100644
index 0000000..c4e5781
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/popup.js
@@ -0,0 +1,26 @@
+
+export default {
+ data() {
+ return {
+
+ }
+ },
+ created(){
+ this.popup = this.getParent()
+ },
+ methods:{
+ /**
+ * 获取父元素实例
+ */
+ getParent(name = 'uniPopup') {
+ let parent = this.$parent;
+ let parentName = parent.$options.name;
+ while (parentName !== name) {
+ parent = parent.$parent;
+ if (!parent) return false
+ parentName = parent.$options.name;
+ }
+ return parent;
+ },
+ }
+}
diff --git a/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue b/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue
new file mode 100644
index 0000000..5eb8d5b
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
new file mode 100644
index 0000000..5af55e0
--- /dev/null
+++ b/uni_modules/uni-popup/components/uni-popup/uni-popup.vue
@@ -0,0 +1,518 @@
+
+
+
+
+
+
diff --git a/uni_modules/uni-popup/package.json b/uni_modules/uni-popup/package.json
new file mode 100644
index 0000000..d8bfb9f
--- /dev/null
+++ b/uni_modules/uni-popup/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-popup",
+ "displayName": "uni-popup 弹出层",
+ "version": "1.9.8",
+ "description": " Popup 组件,提供常用的弹层",
+ "keywords": [
+ "uni-ui",
+ "弹出层",
+ "弹窗",
+ "popup",
+ "弹框"
+ ],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
+ "type": "component-vue"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-transition"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y",
+ "alipay": "n"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y",
+ "app-harmony": "u",
+ "app-uvue": "u"
+ },
+ "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-popup/readme.md b/uni_modules/uni-popup/readme.md
new file mode 100644
index 0000000..fdad4b3
--- /dev/null
+++ b/uni_modules/uni-popup/readme.md
@@ -0,0 +1,17 @@
+
+
+## Popup 弹出层
+> **组件名:uni-popup**
+> 代码块: `uPopup`
+> 关联组件:`uni-transition`
+
+
+弹出层组件,在应用中弹出一个消息提示窗口、提示框等
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-popup)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
+
+
+
+
+
diff --git a/uni_modules/uni-transition/changelog.md b/uni_modules/uni-transition/changelog.md
new file mode 100644
index 0000000..2f2b10d
--- /dev/null
+++ b/uni_modules/uni-transition/changelog.md
@@ -0,0 +1,27 @@
+## 1.3.4(2025-04-16)
+- 修复 页面数据更新到底动画复原的问题
+- 修复 示例页面打开报错的问题
+## 1.3.3(2024-04-23)
+- 修复 当元素会受变量影响自动隐藏的bug
+## 1.3.2(2023-05-04)
+- 修复 NVUE 平台报错的问题
+## 1.3.1(2021-11-23)
+- 修复 init 方法初始化问题
+## 1.3.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-transition](https://uniapp.dcloud.io/component/uniui/uni-transition)
+## 1.2.1(2021-09-27)
+- 修复 init 方法不生效的 Bug
+## 1.2.0(2021-07-30)
+- 组件兼容 vue3,如何创建 vue3 项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.1.1(2021-05-12)
+- 新增 示例地址
+- 修复 示例项目缺少组件的 Bug
+## 1.1.0(2021-04-22)
+- 新增 通过方法自定义动画
+- 新增 custom-class 非 NVUE 平台支持自定义 class 定制样式
+- 优化 动画触发逻辑,使动画更流畅
+- 优化 支持单独的动画类型
+- 优化 文档示例
+## 1.0.2(2021-02-05)
+- 调整为 uni_modules 目录规范
diff --git a/uni_modules/uni-transition/components/uni-transition/createAnimation.js b/uni_modules/uni-transition/components/uni-transition/createAnimation.js
new file mode 100644
index 0000000..8f89b18
--- /dev/null
+++ b/uni_modules/uni-transition/components/uni-transition/createAnimation.js
@@ -0,0 +1,131 @@
+// const defaultOption = {
+// duration: 300,
+// timingFunction: 'linear',
+// delay: 0,
+// transformOrigin: '50% 50% 0'
+// }
+// #ifdef APP-NVUE
+const nvueAnimation = uni.requireNativePlugin('animation')
+// #endif
+class MPAnimation {
+ constructor(options, _this) {
+ this.options = options
+ // 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误
+ this.animation = uni.createAnimation({
+ ...options
+ })
+ this.currentStepAnimates = {}
+ this.next = 0
+ this.$ = _this
+
+ }
+
+ _nvuePushAnimates(type, args) {
+ let aniObj = this.currentStepAnimates[this.next]
+ let styles = {}
+ if (!aniObj) {
+ styles = {
+ styles: {},
+ config: {}
+ }
+ } else {
+ styles = aniObj
+ }
+ if (animateTypes1.includes(type)) {
+ if (!styles.styles.transform) {
+ styles.styles.transform = ''
+ }
+ let unit = ''
+ if(type === 'rotate'){
+ unit = 'deg'
+ }
+ styles.styles.transform += `${type}(${args+unit}) `
+ } else {
+ styles.styles[type] = `${args}`
+ }
+ this.currentStepAnimates[this.next] = styles
+ }
+ _animateRun(styles = {}, config = {}) {
+ let ref = this.$.$refs['ani'].ref
+ if (!ref) return
+ return new Promise((resolve, reject) => {
+ nvueAnimation.transition(ref, {
+ styles,
+ ...config
+ }, res => {
+ resolve()
+ })
+ })
+ }
+
+ _nvueNextAnimate(animates, step = 0, fn) {
+ let obj = animates[step]
+ if (obj) {
+ let {
+ styles,
+ config
+ } = obj
+ this._animateRun(styles, config).then(() => {
+ step += 1
+ this._nvueNextAnimate(animates, step, fn)
+ })
+ } else {
+ this.currentStepAnimates = {}
+ typeof fn === 'function' && fn()
+ this.isEnd = true
+ }
+ }
+
+ step(config = {}) {
+ // #ifndef APP-NVUE
+ this.animation.step(config)
+ // #endif
+ // #ifdef APP-NVUE
+ this.currentStepAnimates[this.next].config = Object.assign({}, this.options, config)
+ this.currentStepAnimates[this.next].styles.transformOrigin = this.currentStepAnimates[this.next].config.transformOrigin
+ this.next++
+ // #endif
+ return this
+ }
+
+ run(fn) {
+ // #ifndef APP-NVUE
+ this.$.animationData = this.animation.export()
+ this.$.timer = setTimeout(() => {
+ typeof fn === 'function' && fn()
+ }, this.$.durationTime)
+ // #endif
+ // #ifdef APP-NVUE
+ this.isEnd = false
+ let ref = this.$.$refs['ani'] && this.$.$refs['ani'].ref
+ if(!ref) return
+ this._nvueNextAnimate(this.currentStepAnimates, 0, fn)
+ this.next = 0
+ // #endif
+ }
+}
+
+
+const animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d',
+ 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY',
+ 'translateZ'
+]
+const animateTypes2 = ['opacity', 'backgroundColor']
+const animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom']
+animateTypes1.concat(animateTypes2, animateTypes3).forEach(type => {
+ MPAnimation.prototype[type] = function(...args) {
+ // #ifndef APP-NVUE
+ this.animation[type](...args)
+ // #endif
+ // #ifdef APP-NVUE
+ this._nvuePushAnimates(type, args)
+ // #endif
+ return this
+ }
+})
+
+export function createAnimation(option, _this) {
+ if(!_this) return
+ clearTimeout(_this.timer)
+ return new MPAnimation(option, _this)
+}
diff --git a/uni_modules/uni-transition/components/uni-transition/uni-transition.vue b/uni_modules/uni-transition/components/uni-transition/uni-transition.vue
new file mode 100644
index 0000000..8772572
--- /dev/null
+++ b/uni_modules/uni-transition/components/uni-transition/uni-transition.vue
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-transition/package.json b/uni_modules/uni-transition/package.json
new file mode 100644
index 0000000..b76a3ab
--- /dev/null
+++ b/uni_modules/uni-transition/package.json
@@ -0,0 +1,87 @@
+{
+ "id": "uni-transition",
+ "displayName": "uni-transition 过渡动画",
+ "version": "1.3.4",
+ "description": "元素的简单过渡动画",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "动画",
+ "过渡",
+ "过渡动画"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+"dcloudext": {
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
+ "type": "component-vue"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-scss"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y",
+ "alipay": "n"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y",
+ "app-harmony": "u",
+ "app-uvue": "n"
+ },
+ "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"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-transition/readme.md b/uni_modules/uni-transition/readme.md
new file mode 100644
index 0000000..2f8a77e
--- /dev/null
+++ b/uni_modules/uni-transition/readme.md
@@ -0,0 +1,11 @@
+
+
+## Transition 过渡动画
+> **组件名:uni-transition**
+> 代码块: `uTransition`
+
+
+元素过渡动画
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-transition)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/VerifyLogin.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/VerifyLogin.js.map
new file mode 100644
index 0000000..9c9c4db
--- /dev/null
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/VerifyLogin.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"VerifyLogin.js","sources":["components/VerifyLogin.js"],"sourcesContent":["function VerifyLogin() {\r\n return new Promise((resolve, reject) => {\r\n \r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n resolve(true);\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" });\r\n resolve(false);\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' });\r\n resolve(false);\r\n }\r\n },\r\n fail: (err) => {\r\n console.error(\"获取用户信息失败\", err);\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' });\r\n reject(err);\r\n }\r\n });\r\n });\r\n}\r\n\r\nexport default VerifyLogin;\r\n"],"names":["uni"],"mappings":";;AAAA,SAAS,cAAc;AACnB,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AAEpCA,kBAAAA,MAAI,WAAW;AAAA,MACX,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AACd,YAAI,IAAI,MAAM;AACV,cAAI,IAAI,KAAK,UAAU;AACnB,oBAAQ,IAAI;AAAA,UACpC,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,SAAS,EAAE,KAAK,yCAA0C,CAAA;AAC9D,oBAAQ,KAAK;AAAA,UAChB;AAAA,QACrB,OAAuB;AACHA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAsB,CAAA;AAC5C,kBAAQ,KAAK;AAAA,QAChB;AAAA,MACJ;AAAA,MACD,MAAM,CAAC,QAAQ;AACXA,sBAAA,MAAA,MAAA,SAAA,mCAAc,YAAY,GAAG;AAC7BA,4BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,sBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAsB,CAAA;AAC5C,eAAO,GAAG;AAAA,MACb;AAAA,IACb,CAAS;AAAA,EACT,CAAK;AACL;;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/contentList/contentList.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/contentList/contentList.js.map
index cb3dab8..12d374d 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/contentList/contentList.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/contentList/contentList.js.map
@@ -1 +1 @@
-{"version":3,"file":"contentList.js","sources":["components/contentList/contentList.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL2NvbnRlbnRMaXN0L2NvbnRlbnRMaXN0LnZ1ZQ"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.anchorId }}\r\n \r\n \r\n \r\n \r\n {{ item.sex === '1'? \"男\" : \"女\" }}\r\n \r\n PK时间: {{formatDate(item.pkTime)}}\r\n 金币:\r\n {{item.coin+'K'}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import Component from 'D:/项目/tk-mini-program/components/contentList/contentList.vue'\nwx.createComponent(Component)"],"names":["uni","request"],"mappings":";;;;AA6BA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,MAAM;AAAA;AAAA,MACN,MAAM;AAAA;AAAA,MACN,MAAM,CAAE;AAAA;AAAA;EAEX;AAAA,EACD,UAAU;AAER,SAAK,OAAO;AAAA,EACb;AAAA,EACD,SAAS;AAAA,IACP,SAAS,MAAM;AACbA,oBAAAA,MAAI,WAAW;AAAA,QACb,KAAK;AAAA,QACL,SAAS,SAAS,KAAK;AACrB,cAAI,aAAa,KAAK,cAAc;AAAA,YAClC;AAAA,UACA,CAAC;AAAA,QACJ;AAAA,OACF;AAAA,IACF;AAAA,IACF,MAAM,SAAQ;AACX,YAAM,MAAM,MAAMC,2BAAQ;AAAA,QACxB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM;AAAA,UACJ,QAAQ;AAAA,UACR,MAAM,KAAK;AAAA,UACX,MAAM,KAAK;AAAA,QACV;AAAA,QACD,UAAU;AAAA,MACd,CAAC;AACDD,oBAAAA,MAAY,MAAA,OAAA,gDAAA,GAAG;AACf,UAAI,IAAI,SAAS,KAAK;AACpB,aAAK,KAAK,KAAK,GAAG,IAAI,IAAI;AAC1BA,sBAAAA,MAAY,MAAA,OAAA,gDAAA,KAAK,IAAI;AAAA,MACvB;AAAA,IACD;AAAA,IACD,kBAAkB;AAChB,WAAK;AACL,WAAK,OAAM;AAAA,IACZ;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzEA,GAAG,gBAAgB,SAAS;"}
\ No newline at end of file
+{"version":3,"file":"contentList.js","sources":["components/contentList/contentList.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL2NvbnRlbnRMaXN0L2NvbnRlbnRMaXN0LnZ1ZQ"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.anchorId }}\r\n \r\n \r\n \r\n \r\n {{ item.sex === '1'? \"男\" : \"女\" }}\r\n \r\n PK时间: {{formatDate(item.pkTime)}}\r\n 金币:\r\n {{item.coin+'K'}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import Component from 'D:/项目/tk-mini-program/components/contentList/contentList.vue'\nwx.createComponent(Component)"],"names":["uni","formatDate","request"],"mappings":";;;;;AA6BA,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,MAAM;AAAA;AAAA,MACN,MAAM;AAAA;AAAA,MACN,MAAM,CAAE;AAAA;AAAA;EAEX;AAAA,EACD,UAAU;AAER,SAAK,OAAO;AAAA,EACb;AAAA,EACD,SAAS;AAAA,IACP,SAAS,MAAM;AACbA,oBAAAA,MAAI,WAAW;AAAA,QACb,KAAK;AAAA,QACL,SAAS,SAAS,KAAK;AACrB,cAAI,aAAa,KAAK,cAAc;AAAA,YAClC;AAAA,UACA,CAAC;AAAA,QACJ;AAAA,OACF;AAAA,IACF;AAAA,IACD,YAAYC,sBAAU;AAAA,IACvB,MAAM,SAAQ;AACX,YAAM,MAAM,MAAMC,2BAAQ;AAAA,QACxB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM;AAAA,UACJ,QAAQ;AAAA,UACR,MAAM,KAAK;AAAA,UACX,MAAM,KAAK;AAAA,QACV;AAAA,QACD,UAAU;AAAA,MACd,CAAC;AACDF,oBAAAA,MAAY,MAAA,OAAA,gDAAA,GAAG;AACf,UAAI,IAAI,SAAS,KAAK;AACpB,aAAK,KAAK,KAAK,GAAG,IAAI,IAAI;AAC1BA,sBAAAA,MAAY,MAAA,OAAA,gDAAA,KAAK,IAAI;AAAA,MACvB;AAAA,IACD;AAAA,IACD,kBAAkB;AAChB,WAAK;AACL,WAAK,OAAM;AAAA,IACZ;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3EA,GAAG,gBAAgB,SAAS;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/formatDate.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/formatDate.js.map
index b16dee9..f69ad90 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/formatDate.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/formatDate.js.map
@@ -1 +1 @@
-{"version":3,"file":"formatDate.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
\ No newline at end of file
+{"version":3,"file":"formatDate.js","sources":["components/formatDate.js"],"sourcesContent":["function formatDate(timestamp) {\r\n const date = new Date(timestamp * 1000); // 秒级转毫秒级\r\n const year = date.getFullYear();\r\n const month = String(date.getMonth() + 1).padStart(2, '0');\r\n const day = String(date.getDate()).padStart(2, '0');\r\n const hour = String(date.getHours()).padStart(2, '0');\r\n const minute = String(date.getMinutes()).padStart(2, '0');\r\n const second = String(date.getSeconds()).padStart(2, '0');\r\n \r\n return `${year}-${month}-${day} ${hour}:${minute}:${second}`;\r\n }\r\n export default formatDate;"],"names":[],"mappings":";AAAA,SAAS,WAAW,WAAW;AAC3B,QAAM,OAAO,IAAI,KAAK,YAAY,GAAI;AACtC,QAAM,OAAO,KAAK;AAClB,QAAM,QAAQ,OAAO,KAAK,SAAQ,IAAK,CAAC,EAAE,SAAS,GAAG,GAAG;AACzD,QAAM,MAAM,OAAO,KAAK,QAAS,CAAA,EAAE,SAAS,GAAG,GAAG;AAClD,QAAM,OAAO,OAAO,KAAK,SAAU,CAAA,EAAE,SAAS,GAAG,GAAG;AACpD,QAAM,SAAS,OAAO,KAAK,WAAY,CAAA,EAAE,SAAS,GAAG,GAAG;AACxD,QAAM,SAAS,OAAO,KAAK,WAAY,CAAA,EAAE,SAAS,GAAG,GAAG;AAExD,SAAO,GAAG,IAAI,IAAI,KAAK,IAAI,GAAG,IAAI,IAAI,IAAI,MAAM,IAAI,MAAM;AAC9D;;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/components/request.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/components/request.js.map
index d15787b..da623ef 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/components/request.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/components/request.js.map
@@ -1 +1 @@
-{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["export default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n const baseUrl =\r\n \"http://192.168.0.218:8086/\"\r\n + url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功1\", res.data);\r\n resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n this.$global.lastPage = uni.page.route;\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n this.$global.lastPage = uni.page.route;\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功2\", res);\r\n resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res"],"mappings":";;AAAe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAChD,QAAM,UACF,+BACE;AACN,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpBD,gCAAA,MAAA,MAAA,OAAA,+BAAY,SAASC,KAAI,IAAI;AAC7B,0BAAQA,KAAI,IAAI;AAAA,gBACnB;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACH,mBAAK,QAAQ,WAAWD,cAAAA,MAAI,KAAK;AACjCA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACH,iBAAK,QAAQ,WAAWA,cAAAA,MAAI,KAAK;AACjCA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AACpBA,wBAAY,MAAA,MAAA,OAAA,+BAAA,SAAS,GAAG;AACxB,kBAAQ,IAAI,IAAI;AAAA,QACnB;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
\ No newline at end of file
+{"version":3,"file":"request.js","sources":["components/request.js"],"sourcesContent":["export default function request(urldata) {\r\n const { url, data, method, header, userInfo } = urldata;\r\n const baseUrl =\r\n \"http://192.168.0.218:8086/\"\r\n + url;\r\n if (userInfo) {\r\n return new Promise((resolve, reject) => {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n if (res.data) {\r\n if (res.data.nickName) {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功1\", res.data);\r\n resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.reLaunch({ url: \"/pages/UserInformation/UserInformation\" })\r\n }\r\n } else {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n }\r\n },\r\n fail: function (res) {\r\n uni.setStorageSync(\"lastPage\", getCurrentPages()[getCurrentPages().length - 1].route);\r\n uni.navigateTo({ url: '/pages/login/login' })\r\n reject(res);\r\n }\r\n });\r\n });\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n uni.request({\r\n url: baseUrl,\r\n data: data,\r\n method: method,\r\n header: header,\r\n success: function (res) {\r\n console.log(\"请求成功2\", res);\r\n resolve(res.data);\r\n },\r\n fail: function (res) {\r\n reject(res);\r\n }\r\n });\r\n });\r\n }\r\n\r\n}"],"names":["uni","res"],"mappings":";;AAAe,SAAS,QAAQ,SAAS;AACrC,QAAM,EAAE,KAAK,MAAM,QAAQ,QAAQ,SAAU,IAAG;AAChD,QAAM,UACF,+BACE;AACN,MAAI,UAAU;AACV,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,WAAW;AAAA,QACX,KAAK;AAAA,QACL,SAAS,CAAC,QAAQ;AACd,cAAI,IAAI,MAAM;AACV,gBAAI,IAAI,KAAK,UAAU;AACnBA,4BAAAA,MAAI,QAAQ;AAAA,gBACR,KAAK;AAAA,gBACL;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA,SAAS,SAAUC,MAAK;AACpBD,gCAAA,MAAA,MAAA,OAAA,+BAAY,SAASC,KAAI,IAAI;AAC7B,0BAAQA,KAAI,IAAI;AAAA,gBACnB;AAAA,gBACD,MAAM,SAAUA,MAAK;AACjB,yBAAOA,IAAG;AAAA,gBACb;AAAA,cACjC,CAA6B;AAAA,YAC7B,OAA+B;AACHD,kCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,4BAAAA,MAAI,SAAS,EAAE,KAAK,yCAAwC,CAAE;AAAA,YACjE;AAAA,UACzB,OAA2B;AACHA,gCAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,0BAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAAA,UAC/C;AAAA,QACJ;AAAA,QACD,MAAM,SAAU,KAAK;AACjBA,8BAAI,eAAe,YAAY,gBAAiB,EAAC,gBAAiB,EAAC,SAAS,CAAC,EAAE,KAAK;AACpFA,wBAAAA,MAAI,WAAW,EAAE,KAAK,qBAAoB,CAAE;AAC5C,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACT,OAAW;AACH,WAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACpCA,oBAAAA,MAAI,QAAQ;AAAA,QACR,KAAK;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA,SAAS,SAAU,KAAK;AACpBA,wBAAY,MAAA,MAAA,OAAA,+BAAA,SAAS,GAAG;AACxB,kBAAQ,IAAI,IAAI;AAAA,QACnB;AAAA,QACD,MAAM,SAAU,KAAK;AACjB,iBAAO,GAAG;AAAA,QACb;AAAA,MACjB,CAAa;AAAA,IACb,CAAS;AAAA,EACJ;AAEL;;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/Home/Home.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/Home/Home.js.map
index 5ee7a64..86ea5ee 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/Home/Home.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/Home/Home.js.map
@@ -1 +1 @@
-{"version":3,"file":"Home.js","sources":["pages/Home/Home.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvSG9tZS9Ib21lLnZ1ZQ"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Home/Home.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;AAmBA,MAAO,gBAAe,MAAW;AACjC,MAAO,gBAAe,MAAW;AACjC,MAAO,cAAa,MAAW;AAC/B,eAAe,MAAW;AAC1B,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;EACR;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,kBAAiB;AAAA,IAGjB;AAAA,EACD;AAAA,EACD,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;;;;AC1CA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
+{"version":3,"file":"Home.js","sources":["pages/Home/Home.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvSG9tZS9Ib21lLnZ1ZQ"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Home/Home.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;;AAmBA,MAAO,gBAAe,MAAW;AACjC,MAAO,gBAAe,MAAW;AACjC,MAAO,cAAa,MAAW;AAC/B,eAAe,MAAW;AAC1B,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;EACR;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,kBAAiB;AAEfA,oBAAAA,MAAI,WAAW,EAAE,KAAK,2BAAyB,CAAG;AAAA,IACpD;AAAA,EACD;AAAA,EACD,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;;;;AC1CA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/UserInformation/UserInformation.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/UserInformation/UserInformation.js.map
index a312f86..8df00bc 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/UserInformation/UserInformation.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/UserInformation/UserInformation.js.map
@@ -1 +1 @@
-{"version":3,"file":"UserInformation.js","sources":["pages/UserInformation/UserInformation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvVXNlckluZm9ybWF0aW9uL1VzZXJJbmZvcm1hdGlvbi52dWU"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/UserInformation/UserInformation.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","postFile","generateFileName","request"],"mappings":";;;;;AAoBA,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,UACE;AAAA,MACF,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,MAAM,CAAE;AAAA,MACR,SAAS;AAAA;EAEZ;AAAA,EACD,OAAO,QAAQ;AACbA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,KAAK,IAAI,KAAK;AAAA,MACpB;AAAA,IACH,CAAC;AACDA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,UAAU,IAAI;AAAA,MACpB;AAAA,IACH,CAAC;AAAA,EAGF;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,UAAU,GAAG;AACX,WAAK,OAAO,EAAE,OAAO;AAAA,IACtB;AAAA;AAAA,IAED,MAAM,SAAS,GAAG;AAChB,YAAM,EAAE,UAAQ,IAAM,EAAE;AACxB,WAAK,WAAW;AAAA,IACjB;AAAA;AAAA,IAED,MAAM,QAAQ,GAAG;AACfA,oBAAAA,MAAI,YAAY;AAAA,QACd,OAAO;AAAA,QACP,MAAM;AAAA,MACR,CAAC;AACC,YAAM,EAAE,KAAK,IAAI,MAAMA,cAAAA,MAAI,MAAM;AAAA,QAC/B,UAAU;AAAA,QACV,eAAe;AAAA,MACjB,CAAC;AAEDC,qCAAS;AAAA,QACP,MAAM,KAAK;AAAA,QACX,MAAKC,4BAAAA,iBAAkB;AAAA,MACzB,CAAC,EAAE,KAAK,CAAC,QAAQ;AACf,aAAK,WAAW;AAAA,MAClB,CAAC,EAAE,MAAM,CAAC,QAAQ;AAChBF,sBAAAA,sEAAY,GAAG;AAAA,MACjB,CAAC;AAED,UAAI,KAAK,UAAU;AACjB,cAAM,MAAM,MAAMG,2BAAQ;AAAA,UAC1B,KAAK;AAAA,UACL,QAAQ;AAAA,UACR,MAAM;AAAA,YACJ,IAAI,KAAK;AAAA,YACT,YAAY,KAAK;AAAA,YACjB,UAAU,KAAK;AAAA,YACf;AAAA,YACA,SAAS,KAAK,QAAQ;AAAA,UACvB;AAAA,UACD,UAAU;AAAA,QACZ,CAAC;AACD,YAAI,IAAI,SAAS,KAAK;AACpBH,wBAAAA,MAAI,UAAU;AAAA,YACZ,OAAO;AAAA,YACP,MAAM;AAAA,UACR,CAAC;AACDA,wBAAG,MAAC,eAAe,YAAY,IAAI,KAAK,IAAI;AAC5CA,wBAAG,MAAC,YAAW;AAGfA,wBAAAA,MAAI,SAAS;AAAA,YACX,KAAK,KAAK,QAAQ,YAAY;AAAA;AAAA,UAChC,CAAC;AAAA,eAEI;AACLA,wBAAAA,MAAI,UAAU;AAAA,YACZ,OAAO;AAAA,YACP,MAAM;AAAA,UACR,CAAC;AAAA,QACH;AAAA,aACK;AACHA,sBAAAA,MAAI,UAAU;AAAA,UACZ,OAAO;AAAA,UACP,MAAM;AAAA,QACR,CAAC;AAAA,MACH;AAAA,IAIH;AAAA,EACF;AACH;;;;;;;;;;ACxHA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
+{"version":3,"file":"UserInformation.js","sources":["pages/UserInformation/UserInformation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvVXNlckluZm9ybWF0aW9uL1VzZXJJbmZvcm1hdGlvbi52dWU"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/UserInformation/UserInformation.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","postFile","generateFileName","request"],"mappings":";;;;;AAoBA,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,UACE;AAAA,MACF,MAAM;AAAA,MACN,IAAI;AAAA,MACJ,MAAM,CAAE;AAAA,MACR,SAAS;AAAA,MACT,UAAU;AAAA;EAEb;AAAA,EACD,OAAO,QAAQ;AACbA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,KAAK,IAAI,KAAK;AAAA,MACpB;AAAA,IACH,CAAC;AACDA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,UAAU,IAAI;AAAA,MACpB;AAAA,IACH,CAAC;AACDA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,WAAW,MAAI,IAAI;AAAA,MACzB;AAAA,MACD,MAAM,MAAM;AACV,aAAK,WAAW;AAAA,MACjB;AAAA,KACF;AAAA,EAGF;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,UAAU,GAAG;AACX,WAAK,OAAO,EAAE,OAAO;AAAA,IACtB;AAAA;AAAA,IAED,MAAM,SAAS,GAAG;AAChB,YAAM,EAAE,UAAQ,IAAM,EAAE;AACxB,WAAK,WAAW;AAAA,IACjB;AAAA;AAAA,IAED,MAAM,QAAQ,GAAG;AACfA,oBAAAA,MAAI,YAAY;AAAA,QACd,OAAO;AAAA,QACP,MAAM;AAAA,MACR,CAAC;AACC,YAAM,EAAE,KAAK,IAAI,MAAMA,cAAAA,MAAI,MAAM;AAAA,QAC/B,UAAU;AAAA,QACV,eAAe;AAAA,MACjB,CAAC;AAEDC,qCAAS;AAAA,QACP,MAAM,KAAK;AAAA,QACX,MAAKC,4BAAAA,iBAAkB;AAAA,MACzB,CAAC,EAAE,KAAK,CAAC,QAAQ;AACf,aAAK,WAAW;AAAA,MAClB,CAAC,EAAE,MAAM,CAAC,QAAQ;AAChBF,sBAAAA,sEAAY,GAAG;AAAA,MACjB,CAAC;AAED,UAAI,KAAK,UAAU;AACjB,cAAM,MAAM,MAAMG,2BAAQ;AAAA,UAC1B,KAAK;AAAA,UACL,QAAQ;AAAA,UACR,MAAM;AAAA,YACJ,IAAI,KAAK;AAAA,YACT,YAAY,KAAK;AAAA,YACjB,UAAU,KAAK;AAAA,YACf;AAAA,YACA,SAAS,KAAK,QAAQ;AAAA,UACvB;AAAA,UACD,UAAU;AAAA,QACZ,CAAC;AACD,YAAI,IAAI,SAAS,KAAK;AACpBH,wBAAAA,MAAI,UAAU;AAAA,YACZ,OAAO;AAAA,YACP,MAAM;AAAA,UACR,CAAC;AACDA,wBAAG,MAAC,eAAe,YAAY,IAAI,KAAK,IAAI;AAC5CA,wBAAG,MAAC,YAAW;AAGfA,wBAAAA,MAAI,SAAS;AAAA,YACX,KAAK,KAAK;AAAA,UACZ,CAAC;AAAA,eAEI;AACLA,wBAAAA,MAAI,UAAU;AAAA,YACZ,OAAO;AAAA,YACP,MAAM;AAAA,UACR,CAAC;AAAA,QACH;AAAA,aACK;AACHA,sBAAAA,MAAI,UAAU;AAAA,UACZ,OAAO;AAAA,UACP,MAAM;AAAA,QACR,CAAC;AAAA,MACH;AAAA,IAIH;AAAA,EACF;AACH;;;;;;;;;;AClIA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
index ffbf56d..6ba36a5 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
@@ -1 +1 @@
-{"version":3,"file":"login.js","sources":["pages/login/login.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vbG9naW4udnVl"],"sourcesContent":["\r\n \r\n \r\n {{ userInfo.nickName }}\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/login/login.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","request","genTestUserSig","TUIlogin"],"mappings":";;;;;AAeA,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,UAAU,CAAE;AAAA,MACZ,MAAM,CAAE;AAAA,MACR,SAAS;AAAA;EAEZ;AAAA,EACD,SAAS;AACPA,kBAAAA,MAAI,YAAY;AAAA,MACd,UAAU;AAAA,MACV,SAAS,CAAC,QAAQ;AAChB,aAAK,WAAW,IAAI;AAAA,MACrB;AAAA,IACH,CAAC;AAAA,EACF;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,MAAM,eAAe,GAAG;AACtBA,oBAAAA,MAAI,YAAY;AAAA,QACd,OAAO;AAAA,QACP,MAAM;AAAA,MACR,CAAC;AACC,YAAM,MAAM,MAAMC,2BAAQ;AAAA,QACxB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM;AAAA,UACJ,MAAM,EAAE,OAAO;AAAA,QAChB;AAAA,QACD,UAAU;AAAA,MACZ,CAAC;AACD,WAAK,OAAO;AACZ,YAAM,WAAW,OAAO,KAAK,KAAK,KAAK,SAAS,KAAK;AACjD,YAAM,SAAQ;AACd,WAAK,UAAUC,oDAAe;AAAA,QAC5B,UAAW;AAAA,QACX,WAAU,KAAK,KAAK,KAAK,SAAS;AAAA,QAClC;AAAA,OACD;AACDF,oBAAG,MAAC,eAAe,YAAY,KAAK,KAAK,KAAK,QAAQ;AACtDA,oBAAAA,MAAI,eAAe,WAAW,KAAK,OAAO;AAC1CA,oBAAG,MAAC,eAAe,YAAY,KAAK,KAAK,KAAK,IAAI;AACtD,UAAI,KAAK,KAAK,SAAS,KAAK;AAC1B,YAAI,KAAK,KAAK,KAAK,YAAY;AAC7BA,wBAAAA,MAAI,SAAS;AAAA,YACX,KAAK;AAAA,UACP,CAAC;AAAA,eACI;AACLA,wBAAG,MAAC,eAAe,YAAY,KAAK,KAAK,KAAK,IAAI;AAClDA,wBAAG,MAAC,YAAW;AACfG,8BAAAA,SAAS,KAAK,KAAK,KAAK,SAAS,OAAO,KAAK,KAAK,KAAK,KAAK,IAAG,KAAK,QAAQ,OAAO;AAEnFH,wBAAAA,MAAI,SAAS;AAAA,YACb,KAAK,KAAK,QAAQ,YAAY;AAAA;AAAA,UAChC,CAAC;AAAA,QACD;AAAA,aACK;AACLA,sBAAAA,MAAI,UAAU;AAAA,UACZ,OAAO;AAAA,UACP,MAAM;AAAA,QACR,CAAC;AAAA,MACH;AAAA,IACH;AAAA,EACF;AACH;;;;;;;;;AC/EA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
+{"version":3,"file":"login.js","sources":["pages/login/login.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vbG9naW4udnVl"],"sourcesContent":["\r\n \r\n \r\n {{ userInfo.nickName }}\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/login/login.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","request","genTestUserSig","TUIlogin"],"mappings":";;;;;AAeA,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,UAAU,CAAE;AAAA,MACZ,MAAM,CAAE;AAAA,MACR,SAAS;AAAA,MACT,UAAU;AAAA;EAEb;AAAA,EACD,SAAS;AACPA,kBAAAA,MAAI,YAAY;AAAA,MACd,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,KAAK,KAAK,KAAK,SAAS,OAAO,KAAK,KAAK,KAAK,KAAK,IAAG,KAAK,QAAQ,OAAO;AAEnFH,wBAAA,MAAA,MAAA,OAAA,+BAAY,QAAQ,KAAK,QAAQ;AACjCA,wBAAAA,MAAI,SAAS;AAAA,YACb,KAAK,KAAK;AAAA,UACZ,CAAC;AAAA,QACD;AAAA,aACK;AACLA,sBAAAA,MAAI,UAAU;AAAA,UACZ,OAAO;AAAA,UACP,MAAM;AAAA,QACR,CAAC;AAAA,MACH;AAAA,IACH;AAAA,EACF;AACH;;;;;;;;;AC5FA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/pkDetail/pkDetail.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/pkDetail/pkDetail.js.map
index d09d73a..937f8bc 100644
--- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/pkDetail/pkDetail.js.map
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/pkDetail/pkDetail.js.map
@@ -1 +1 @@
-{"version":3,"file":"pkDetail.js","sources":["pages/pkDetail/pkDetail.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvcGtEZXRhaWwvcGtEZXRhaWwudnVl"],"sourcesContent":["\r\n \r\n \r\n 主播名称{{item.anchorId}}\r\n 主播性别{{item.sex === 1?\"男\":\"女\"}}\r\n 国家{{item.country}}\r\n 金币{{item.coin}}\r\n 主播备注{{item.remark}}\r\n PK时间{{item.pkTime}}\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/pkDetail/pkDetail.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;AAiBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,MAAM,CAAE;AAAA;EAEX;AAAA,EACD,OAAO,SAAS;AAEd,UAAM,eAAe,KAAK;AAE1B,iBAAa,GAAG,cAAc,CAAC,SAAS;AACtC,WAAK,OAAO,KAAK;AACjBA,oBAAA,MAAA,MAAA,OAAA,qCAAY,WAAW,KAAK,IAAI;AAAA,IAClC,CAAC;AAAA,EACF;AAAA,EACD,SAAS,CAAE;AACb;;;;;;;;;;;;AChCA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
+{"version":3,"file":"pkDetail.js","sources":["pages/pkDetail/pkDetail.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvcGtEZXRhaWwvcGtEZXRhaWwudnVl"],"sourcesContent":["\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 主播名称{{ item.anchorId }}\r\n 主播性别{{ item.sex === 1 ? \"男\" : \"女\" }}\r\n 国家{{ item.country }}\r\n \r\n \r\n\r\n 金币{{ item.coin }}\r\n PK时间{{ formatDate(item.pkTime) }}\r\n\r\n 主播备注{{ item.remark }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/pkDetail/pkDetail.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","formatDate","VerifyLogin"],"mappings":";;;;;AAmDA,MAAK,YAAU;AAAA,EACb,QAAQ,CAAC,SAAS;AAAA,EAClB,OAAO;AACL,WAAO;AAAA,MACL,MAAM,CAAE;AAAA;EAEX;AAAA,EACD,OAAO,SAAS;AAEd,UAAM,eAAe,KAAK;AAE1B,iBAAa,GAAG,cAAc,CAAC,SAAS;AACtC,WAAK,OAAO,KAAK;AACjBA,oBAAA,MAAA,MAAA,OAAA,qCAAY,WAAW,KAAK,IAAI;AAAA,IAClC,CAAC;AAAA,EAEF;AAAA,EACD,SAAS;AAAA,IACP,YAAYC,sBAAU;AAAA,IACtB,aAAa;AACXD,oBAAAA,MAAI,aAAa;AAAA,QACf,OAAO;AAAA,MACT,CAAC;AAAA,IACF;AAAA,IACD,OAAO;AACL,WAAK,MAAM,MAAM,KAAK,QAAQ;AAAA,IAC/B;AAAA,IACD,SAAS;AAAA,IAER;AAAA,IACD,QAAQ;AACN,WAAK,MAAM,MAAM;IAClB;AAAA,IACD,WAAW;AAETE,6BAAW,YAAA,EAAG,KAAK,MAAM;AAEvB,cAAM,iBAAiB,MAAM,KAAK,KAAK,QAAQ;AAC/CF,sBAAAA,MAAI,WAAW;AAAA,UACb,KAAK,mDAAmD,cAAc;AAAA,QACxE,CAAC;AAAA,MACH,CAAC;AAAA,IACF;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9FA,GAAG,WAAW,eAAe;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map
new file mode 100644
index 0000000..80a1f7a
--- /dev/null
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"uni-popup.js","sources":["uni_modules/uni-popup/components/uni-popup/uni-popup.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS91bmlfbW9kdWxlcy91bmktcG9wdXAvY29tcG9uZW50cy91bmktcG9wdXAvdW5pLXBvcHVwLnZ1ZQ"],"sourcesContent":["\n\t\n\n\n\n\n","import Component from 'D:/项目/tk-mini-program/uni_modules/uni-popup/components/uni-popup/uni-popup.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;AA+CC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,YAAY,CAIX;AAAA,EACD,OAAO,CAAC,UAAU,WAAW;AAAA,EAC7B,OAAO;AAAA;AAAA,IAEN,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA,IAGD,MAAM;A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AAA;AAAA,IAID,OAAO,MAAM;AACZ,WAAK,aAAa;AAGjB,WAAK,MAAM,CAAC,MAAM;AAKnB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QAEV,SAAS;AAAA,QACT,eAAe;AAAA,QAEf,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,QACP,KAAK;AAAA,QACL,gBAAgB;AAAA,QAChB,YAAY;AAAA,QACZ,cAAa,KAAK,gBAAgB;AAAA,MACnC;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA,IACD,KAAK,MAAM;AACV,WAAK,aAAa;AAClB,WAAK,MAAM,CAAC,YAAY;AACxB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,KAAK;AAAA,QACL,iBAAiB,KAAK;AAAA,QACtB,cAAa,KAAK,gBAAgB;AAAA,QAElC,SAAS;AAAA,QACT,eAAe;AAAA,MAEhB;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA,IACD,MAAM,MAAM;AACX,WAAK,aAAa;AAClB,WAAK,MAAM,CAAC,aAAa;AACzB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,KAAK;AAAA,QACL,iBAAiB,KAAK;AAAA,QACtB,cAAa,KAAK,gBAAgB;AAAA,QAElC,SAAS;AAAA,QACT,eAAe;AAAA,MAEhB;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA,IACD,eAAc;AACb,WAAK,UAAU,MAAI;AAClB,aAAK,YAAY;AACjB,aAAK,YAAY;AAAA,OACjB;AAAA,IACF;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/cD,GAAG,gBAAgB,SAAS;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map
new file mode 100644
index 0000000..91bd620
--- /dev/null
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"createAnimation.js","sources":["uni_modules/uni-transition/components/uni-transition/createAnimation.js"],"sourcesContent":["// const defaultOption = {\n// \tduration: 300,\n// \ttimingFunction: 'linear',\n// \tdelay: 0,\n// \ttransformOrigin: '50% 50% 0'\n// }\n// #ifdef APP-NVUE\nconst nvueAnimation = uni.requireNativePlugin('animation')\n// #endif\nclass MPAnimation {\n\tconstructor(options, _this) {\n\t\tthis.options = options\n\t\t// 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误\n\t\tthis.animation = uni.createAnimation({\n\t\t\t...options\n\t\t})\n\t\tthis.currentStepAnimates = {}\n\t\tthis.next = 0\n\t\tthis.$ = _this\n\n\t}\n\n\t_nvuePushAnimates(type, args) {\n\t\tlet aniObj = this.currentStepAnimates[this.next]\n\t\tlet styles = {}\n\t\tif (!aniObj) {\n\t\t\tstyles = {\n\t\t\t\tstyles: {},\n\t\t\t\tconfig: {}\n\t\t\t}\n\t\t} else {\n\t\t\tstyles = aniObj\n\t\t}\n\t\tif (animateTypes1.includes(type)) {\n\t\t\tif (!styles.styles.transform) {\n\t\t\t\tstyles.styles.transform = ''\n\t\t\t}\n\t\t\tlet unit = ''\n\t\t\tif(type === 'rotate'){\n\t\t\t\tunit = 'deg'\n\t\t\t}\n\t\t\tstyles.styles.transform += `${type}(${args+unit}) `\n\t\t} else {\n\t\t\tstyles.styles[type] = `${args}`\n\t\t}\n\t\tthis.currentStepAnimates[this.next] = styles\n\t}\n\t_animateRun(styles = {}, config = {}) {\n\t\tlet ref = this.$.$refs['ani'].ref\n\t\tif (!ref) return\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tnvueAnimation.transition(ref, {\n\t\t\t\tstyles,\n\t\t\t\t...config\n\t\t\t}, res => {\n\t\t\t\tresolve()\n\t\t\t})\n\t\t})\n\t}\n\n\t_nvueNextAnimate(animates, step = 0, fn) {\n\t\tlet obj = animates[step]\n\t\tif (obj) {\n\t\t\tlet {\n\t\t\t\tstyles,\n\t\t\t\tconfig\n\t\t\t} = obj\n\t\t\tthis._animateRun(styles, config).then(() => {\n\t\t\t\tstep += 1\n\t\t\t\tthis._nvueNextAnimate(animates, step, fn)\n\t\t\t})\n\t\t} else {\n\t\t\tthis.currentStepAnimates = {}\n\t\t\ttypeof fn === 'function' && fn()\n\t\t\tthis.isEnd = true\n\t\t}\n\t}\n\n\tstep(config = {}) {\n\t\t// #ifndef APP-NVUE\n\t\tthis.animation.step(config)\n\t\t// #endif\n\t\t// #ifdef APP-NVUE\n\t\tthis.currentStepAnimates[this.next].config = Object.assign({}, this.options, config)\n\t\tthis.currentStepAnimates[this.next].styles.transformOrigin = this.currentStepAnimates[this.next].config.transformOrigin\n\t\tthis.next++\n\t\t// #endif\n\t\treturn this\n\t}\n\n\trun(fn) {\n\t\t// #ifndef APP-NVUE\n\t\tthis.$.animationData = this.animation.export()\n\t\tthis.$.timer = setTimeout(() => {\n\t\t\ttypeof fn === 'function' && fn()\n\t\t}, this.$.durationTime)\n\t\t// #endif\n\t\t// #ifdef APP-NVUE\n\t\tthis.isEnd = false\n\t\tlet ref = this.$.$refs['ani'] && this.$.$refs['ani'].ref\n\t\tif(!ref) return\n\t\tthis._nvueNextAnimate(this.currentStepAnimates, 0, fn)\n\t\tthis.next = 0\n\t\t// #endif\n\t}\n}\n\n\nconst animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d',\n\t'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY',\n\t'translateZ'\n]\nconst animateTypes2 = ['opacity', 'backgroundColor']\nconst animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom']\nanimateTypes1.concat(animateTypes2, animateTypes3).forEach(type => {\n\tMPAnimation.prototype[type] = function(...args) {\n\t\t// #ifndef APP-NVUE\n\t\tthis.animation[type](...args)\n\t\t// #endif\n\t\t// #ifdef APP-NVUE\n\t\tthis._nvuePushAnimates(type, args)\n\t\t// #endif\n\t\treturn this\n\t}\n})\n\nexport function createAnimation(option, _this) {\n\tif(!_this) return\n\tclearTimeout(_this.timer)\n\treturn new MPAnimation(option, _this)\n}\n"],"names":["uni"],"mappings":";;AASA,MAAM,YAAY;AAAA,EACjB,YAAY,SAAS,OAAO;AAC3B,SAAK,UAAU;AAEf,SAAK,YAAYA,cAAG,MAAC,gBAAgB;AAAA,MACpC,GAAG;AAAA,IACN,CAAG;AACD,SAAK,sBAAsB,CAAE;AAC7B,SAAK,OAAO;AACZ,SAAK,IAAI;AAAA,EAET;AAAA,EAED,kBAAkB,MAAM,MAAM;AAC7B,QAAI,SAAS,KAAK,oBAAoB,KAAK,IAAI;AAC/C,QAAI,SAAS,CAAE;AACf,QAAI,CAAC,QAAQ;AACZ,eAAS;AAAA,QACR,QAAQ,CAAE;AAAA,QACV,QAAQ,CAAE;AAAA,MACV;AAAA,IACJ,OAAS;AACN,eAAS;AAAA,IACT;AACD,QAAI,cAAc,SAAS,IAAI,GAAG;AACjC,UAAI,CAAC,OAAO,OAAO,WAAW;AAC7B,eAAO,OAAO,YAAY;AAAA,MAC1B;AACD,UAAI,OAAO;AACX,UAAG,SAAS,UAAS;AACpB,eAAO;AAAA,MACP;AACD,aAAO,OAAO,aAAa,GAAG,IAAI,IAAI,OAAK,IAAI;AAAA,IAClD,OAAS;AACN,aAAO,OAAO,IAAI,IAAI,GAAG,IAAI;AAAA,IAC7B;AACD,SAAK,oBAAoB,KAAK,IAAI,IAAI;AAAA,EACtC;AAAA,EACD,YAAY,SAAS,IAAI,SAAS,CAAA,GA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AAgB,CAAC,SAAS,UAAU,QAAQ,SAAS,OAAO,QAAQ;AAC1E,cAAc,OAAO,eAAe,aAAa,EAAE,QAAQ,UAAQ;AAClE,cAAY,UAAU,IAAI,IAAI,YAAY,MAAM;AAE/C,SAAK,UAAU,IAAI,EAAE,GAAG,IAAI;AAK5B,WAAO;AAAA,EACP;AACF,CAAC;AAEM,SAAS,gBAAgB,QAAQ,OAAO;AAC9C,MAAG,CAAC;AAAO;AACX,eAAa,MAAM,KAAK;AACxB,SAAO,IAAI,YAAY,QAAQ,KAAK;AACrC;;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map
new file mode 100644
index 0000000..a76414c
--- /dev/null
+++ b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"uni-transition.js","sources":["uni_modules/uni-transition/components/uni-transition/uni-transition.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS91bmlfbW9kdWxlcy91bmktdHJhbnNpdGlvbi9jb21wb25lbnRzL3VuaS10cmFuc2l0aW9uL3VuaS10cmFuc2l0aW9uLnZ1ZQ"],"sourcesContent":["\n \n \n \n \n \n \n\n\n\n\n\n","import Component from 'D:/项目/tk-mini-program/uni_modules/uni-transition/components/uni-transition/uni-transition.vue'\nwx.createComponent(Component)"],"names":["createAnimation","uni","type"],"mappings":";;;AA4BA,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAM,CAAC,SAAQ,QAAQ;AAAA,EACvB,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,WAAW;AAAA,MACV,MAAM,CAAC,OAAO,MAAM;AAA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AS;"}
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/common/vendor.js b/unpackage/dist/dev/mp-weixin/common/vendor.js
index 79315e0..d6c6d96 100644
--- a/unpackage/dist/dev/mp-weixin/common/vendor.js
+++ b/unpackage/dist/dev/mp-weixin/common/vendor.js
@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
function initRuntimeSocketService() {
const hosts = "192.168.0.111,127.0.0.1";
const port = "8090";
- const id = "mp-weixin_Z0m08P";
+ const id = "mp-weixin_Jf3Rfu";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
diff --git a/unpackage/dist/dev/mp-weixin/components/VerifyLogin.js b/unpackage/dist/dev/mp-weixin/components/VerifyLogin.js
new file mode 100644
index 0000000..6fe9e51
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/components/VerifyLogin.js
@@ -0,0 +1,32 @@
+"use strict";
+const common_vendor = require("../common/vendor.js");
+function VerifyLogin() {
+ return new Promise((resolve, reject) => {
+ common_vendor.index.getStorage({
+ key: "userinfo",
+ success: (res) => {
+ if (res.data) {
+ if (res.data.nickName) {
+ resolve(true);
+ } else {
+ common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ common_vendor.index.reLaunch({ url: "/pages/UserInformation/UserInformation" });
+ resolve(false);
+ }
+ } else {
+ common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ common_vendor.index.navigateTo({ url: "/pages/login/login" });
+ resolve(false);
+ }
+ },
+ fail: (err) => {
+ common_vendor.index.__f__("error", "at components/VerifyLogin.js:22", "获取用户信息失败", err);
+ common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ common_vendor.index.navigateTo({ url: "/pages/login/login" });
+ reject(err);
+ }
+ });
+ });
+}
+exports.VerifyLogin = VerifyLogin;
+//# sourceMappingURL=../../.sourcemap/mp-weixin/components/VerifyLogin.js.map
diff --git a/unpackage/dist/dev/mp-weixin/components/contentList/contentList.js b/unpackage/dist/dev/mp-weixin/components/contentList/contentList.js
index 417d291..02e0648 100644
--- a/unpackage/dist/dev/mp-weixin/components/contentList/contentList.js
+++ b/unpackage/dist/dev/mp-weixin/components/contentList/contentList.js
@@ -1,8 +1,10 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const components_request = require("../request.js");
+const components_formatDate = require("../formatDate.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
+ inject: ["$global"],
data() {
return {
page: 0,
@@ -27,6 +29,7 @@ const _sfc_main = {
}
});
},
+ formatDate: components_formatDate.formatDate,
async pkList() {
const res = await components_request.request({
url: "pk/pkList",
@@ -38,10 +41,10 @@ const _sfc_main = {
},
userInfo: false
});
- common_vendor.index.__f__("log", "at components/contentList/contentList.vue:64", res);
+ common_vendor.index.__f__("log", "at components/contentList/contentList.vue:66", res);
if (res.code === 200) {
this.list.push(...res.data);
- common_vendor.index.__f__("log", "at components/contentList/contentList.vue:67", this.list);
+ common_vendor.index.__f__("log", "at components/contentList/contentList.vue:69", this.list);
}
},
onScrollToLower() {
@@ -69,7 +72,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: common_vendor.t(item.sex === "1" ? "男" : "女"),
g: item.sex === "1" ? 1 : "",
h: item.sex === "2" ? 1 : "",
- i: common_vendor.t(_ctx.formatDate(item.pkTime)),
+ i: common_vendor.t($options.formatDate(item.pkTime)),
j: common_vendor.t(item.coin + "K"),
k: common_vendor.o$1(($event) => $options.goDetail(item)),
l: "4813d59a-0-" + i0
diff --git a/unpackage/dist/dev/mp-weixin/components/formatDate.js b/unpackage/dist/dev/mp-weixin/components/formatDate.js
index f4a8c03..3d0fa3b 100644
--- a/unpackage/dist/dev/mp-weixin/components/formatDate.js
+++ b/unpackage/dist/dev/mp-weixin/components/formatDate.js
@@ -1,2 +1,13 @@
"use strict";
+function formatDate(timestamp) {
+ const date = new Date(timestamp * 1e3);
+ const year = date.getFullYear();
+ const month = String(date.getMonth() + 1).padStart(2, "0");
+ const day = String(date.getDate()).padStart(2, "0");
+ const hour = String(date.getHours()).padStart(2, "0");
+ const minute = String(date.getMinutes()).padStart(2, "0");
+ const second = String(date.getSeconds()).padStart(2, "0");
+ return `${year}-${month}-${day} ${hour}:${minute}:${second}`;
+}
+exports.formatDate = formatDate;
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/formatDate.js.map
diff --git a/unpackage/dist/dev/mp-weixin/components/request.js b/unpackage/dist/dev/mp-weixin/components/request.js
index 6fc120c..6bf70b4 100644
--- a/unpackage/dist/dev/mp-weixin/components/request.js
+++ b/unpackage/dist/dev/mp-weixin/components/request.js
@@ -24,15 +24,17 @@ function request(urldata) {
}
});
} else {
- this.$global.lastPage = common_vendor.index.page.route;
+ common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
common_vendor.index.reLaunch({ url: "/pages/UserInformation/UserInformation" });
}
} else {
- this.$global.lastPage = common_vendor.index.page.route;
+ common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
common_vendor.index.navigateTo({ url: "/pages/login/login" });
}
},
fail: function(res) {
+ common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
+ common_vendor.index.navigateTo({ url: "/pages/login/login" });
reject(res);
}
});
@@ -45,7 +47,7 @@ function request(urldata) {
method,
header,
success: function(res) {
- common_vendor.index.__f__("log", "at components/request.js:48", "请求成功2", res);
+ common_vendor.index.__f__("log", "at components/request.js:50", "请求成功2", res);
resolve(res.data);
},
fail: function(res) {
diff --git a/unpackage/dist/dev/mp-weixin/pages/Home/Home.js b/unpackage/dist/dev/mp-weixin/pages/Home/Home.js
index 3ae7597..f98df7c 100644
--- a/unpackage/dist/dev/mp-weixin/pages/Home/Home.js
+++ b/unpackage/dist/dev/mp-weixin/pages/Home/Home.js
@@ -14,6 +14,7 @@ const _sfc_main = {
},
methods: {
goAdvertisement() {
+ common_vendor.index.navigateTo({ url: "/pages/pkDetail/pkDetail" });
}
},
components: {
diff --git a/unpackage/dist/dev/mp-weixin/pages/UserInformation/UserInformation.js b/unpackage/dist/dev/mp-weixin/pages/UserInformation/UserInformation.js
index 98168c8..9fa68d5 100644
--- a/unpackage/dist/dev/mp-weixin/pages/UserInformation/UserInformation.js
+++ b/unpackage/dist/dev/mp-weixin/pages/UserInformation/UserInformation.js
@@ -11,7 +11,8 @@ const _sfc_main = {
name: "",
id: "",
info: {},
- userSig: ""
+ userSig: "",
+ lastPage: ""
};
},
onLoad(option) {
@@ -27,6 +28,15 @@ const _sfc_main = {
this.userSig = res.data;
}
});
+ common_vendor.index.getStorage({
+ key: "lastPage",
+ success: (res) => {
+ this.lastPage = "/" + res.data;
+ },
+ fail: () => {
+ this.lastPage = "/pages/Home/Home";
+ }
+ });
},
methods: {
// 输入昵称
@@ -54,7 +64,7 @@ const _sfc_main = {
}).then((res) => {
this.userinfo = res;
}).catch((err) => {
- common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:76", err);
+ common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:86", err);
});
if (this.userinfo) {
const res = await components_request.request({
@@ -77,8 +87,7 @@ const _sfc_main = {
common_vendor.index.setStorageSync("userinfo", res.data.info);
common_vendor.index.hideLoading();
common_vendor.index.reLaunch({
- url: this.$global.lastPage || "/pages/Home/Home"
- // 默认页
+ url: this.lastPage
});
} else {
common_vendor.index.showToast({
diff --git a/unpackage/dist/dev/mp-weixin/pages/login/login.js b/unpackage/dist/dev/mp-weixin/pages/login/login.js
index f0f3303..d566e91 100644
--- a/unpackage/dist/dev/mp-weixin/pages/login/login.js
+++ b/unpackage/dist/dev/mp-weixin/pages/login/login.js
@@ -9,7 +9,8 @@ const _sfc_main = {
return {
userInfo: {},
info: {},
- userSig: ""
+ userSig: "",
+ lastPage: ""
};
},
onLoad() {
@@ -19,6 +20,16 @@ const _sfc_main = {
this.userInfo = res.userInfo;
}
});
+ common_vendor.index.getStorage({
+ key: "lastPage",
+ success: (res) => {
+ this.lastPage = "/" + res.data;
+ common_vendor.index.__f__("log", "at pages/login/login.vue:37", this.lastPage);
+ },
+ fail: () => {
+ this.lastPage = "/pages/Home/Home";
+ }
+ });
},
methods: {
// 获取手机号
@@ -55,9 +66,9 @@ const _sfc_main = {
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
common_vendor.index.hideLoading();
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.userSig.userSig);
+ common_vendor.index.__f__("log", "at pages/login/login.vue:81", "跳的地址", this.lastPage);
common_vendor.index.reLaunch({
- url: this.$global.lastPage || "/pages/Home/Home"
- // 默认页
+ url: this.lastPage
});
}
} else {
diff --git a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.js b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.js
index 9ab2003..dcc9766 100644
--- a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.js
+++ b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.js
@@ -1,6 +1,10 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
+const components_formatDate = require("../../components/formatDate.js");
+const components_VerifyLogin = require("../../components/VerifyLogin.js");
+const common_assets = require("../../common/assets.js");
const _sfc_main = {
+ inject: ["$global"],
data() {
return {
item: {}
@@ -10,19 +14,62 @@ const _sfc_main = {
const eventChannel = this.getOpenerEventChannel();
eventChannel.on("itemDetail", (data) => {
this.item = data.item;
- common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:30", "接收到的数据:", this.item);
+ common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:65", "接收到的数据:", this.item);
});
},
- methods: {}
+ methods: {
+ formatDate: components_formatDate.formatDate,
+ Returnfunc() {
+ common_vendor.index.navigateBack({
+ delta: 1
+ });
+ },
+ open() {
+ this.$refs.popup.open("center");
+ },
+ invite() {
+ },
+ close() {
+ this.$refs.popup.close();
+ },
+ openChat() {
+ components_VerifyLogin.VerifyLogin().then(() => {
+ const conversationID = `C2C${this.item.senderId}`;
+ common_vendor.index.redirectTo({
+ url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}`
+ });
+ });
+ }
+ }
};
+if (!Array) {
+ const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
+ _easycom_uni_popup2();
+}
+const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
+if (!Math) {
+ _easycom_uni_popup();
+}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
- a: common_vendor.t($data.item.anchorId),
- b: common_vendor.t($data.item.sex === 1 ? "男" : "女"),
- c: common_vendor.t($data.item.country),
- d: common_vendor.t($data.item.coin),
- e: common_vendor.t($data.item.remark),
- f: common_vendor.t($data.item.pkTime)
+ a: common_assets._imports_0,
+ b: common_vendor.o$1((...args) => $options.Returnfunc && $options.Returnfunc(...args)),
+ c: common_assets._imports_1,
+ d: common_vendor.t($data.item.anchorId),
+ e: common_vendor.t($data.item.sex === 1 ? "男" : "女"),
+ f: common_vendor.t($data.item.country),
+ g: common_vendor.t($data.item.coin),
+ h: common_vendor.t($options.formatDate($data.item.pkTime)),
+ i: common_vendor.t($data.item.remark),
+ j: common_vendor.o$1(($event) => $options.openChat()),
+ k: common_vendor.o$1(($event) => $options.open()),
+ l: common_vendor.o$1(($event) => $options.invite()),
+ m: common_vendor.o$1(($event) => $options.close()),
+ n: common_vendor.sr("popup", "9639f721-0"),
+ o: common_vendor.p({
+ type: "center",
+ ["border-radius"]: "10px 10px 0 0"
+ })
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
diff --git a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.json b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.json
index 70fa642..4b8350a 100644
--- a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.json
+++ b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.json
@@ -1,4 +1,6 @@
{
"navigationBarTitleText": "PK详情",
- "usingComponents": {}
+ "usingComponents": {
+ "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
+ }
}
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxml b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxml
index 1052fe4..3e9c502 100644
--- a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxml
+++ b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxml
@@ -1 +1 @@
-主播名称{{a}}主播性别{{b}} 国家{{c}}金币{{d}}主播备注{{e}}PK时间{{f}}
\ No newline at end of file
+主播名称{{d}}主播性别{{e}} 国家{{f}}金币{{g}}PK时间{{h}}主播备注{{i}}
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxss b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxss
index 5c45f57..5d82f2a 100644
--- a/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxss
+++ b/unpackage/dist/dev/mp-weixin/pages/pkDetail/pkDetail.wxss
@@ -1,2 +1,74 @@
/* 样式定义 */
+.Navigation.data-v-9639f721 {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 200rpx;
+}
+.Navigationimg.data-v-9639f721 {
+ width: 100%;
+ height: 100%;
+}
+.Return.data-v-9639f721 {
+ position: absolute;
+ left: 60rpx;
+ bottom: 40rpx;
+ width: 60rpx;
+ height: 60rpx;
+}
+.container.data-v-9639f721 {
+ position: absolute;
+ top: 200rpx;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
+.individual.data-v-9639f721 {
+ display: flex;
+ /* justify-content: center; */
+ margin-top: 50rpx;
+}
+.anchor.data-v-9639f721 {
+ width: 200rpx;
+ height: 200rpx;
+ background-color: rgba(0, 0, 255, 0.369);
+ border-radius: 50%;
+}
+.popup-content.data-v-9639f721 {
+ width: 500rpx;
+ height: 300rpx;
+ background-color: #fff;
+ border-radius: 10px;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+}
+.popup-title.data-v-9639f721 {
+ font-size: 30rpx;
+ margin-top: 50rpx;
+ text-align: center;
+}
+.popup-btn.data-v-9639f721 {
+ display: flex;
+ justify-content: space-around;
+ margin-top: 50rpx;
+}
+.invite.data-v-9639f721 {
+ width: 200rpx;
+ height: 80rpx;
+ font-size: 30rpx;
+ line-height: 80rpx;
+ border-radius: 20rpx;
+ background-color: #1aff0087;
+}
+.cancel.data-v-9639f721 {
+ width: 200rpx;
+ height: 80rpx;
+ font-size: 30rpx;
+ line-height: 80rpx;
+ margin-left: 30rpx;
+ border-radius: 20rpx;
+}
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
new file mode 100644
index 0000000..de72c0f
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
@@ -0,0 +1,397 @@
+"use strict";
+const common_vendor = require("../../../../common/vendor.js");
+const _sfc_main = {
+ name: "uniPopup",
+ components: {},
+ emits: ["change", "maskClick"],
+ props: {
+ // 开启动画
+ animation: {
+ type: Boolean,
+ default: true
+ },
+ // 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层
+ // message: 消息提示 ; dialog : 对话框
+ type: {
+ type: String,
+ default: "center"
+ },
+ // maskClick
+ isMaskClick: {
+ type: Boolean,
+ default: null
+ },
+ // TODO 2 个版本后废弃属性 ,使用 isMaskClick
+ maskClick: {
+ type: Boolean,
+ default: null
+ },
+ backgroundColor: {
+ type: String,
+ default: "none"
+ },
+ safeArea: {
+ type: Boolean,
+ default: true
+ },
+ maskBackgroundColor: {
+ type: String,
+ default: "rgba(0, 0, 0, 0.4)"
+ },
+ borderRadius: {
+ type: String
+ }
+ },
+ watch: {
+ /**
+ * 监听type类型
+ */
+ type: {
+ handler: function(type) {
+ if (!this.config[type])
+ return;
+ this[this.config[type]](true);
+ },
+ immediate: true
+ },
+ isDesktop: {
+ handler: function(newVal) {
+ if (!this.config[newVal])
+ return;
+ this[this.config[this.type]](true);
+ },
+ immediate: true
+ },
+ /**
+ * 监听遮罩是否可点击
+ * @param {Object} val
+ */
+ maskClick: {
+ handler: function(val) {
+ this.mkclick = val;
+ },
+ immediate: true
+ },
+ isMaskClick: {
+ handler: function(val) {
+ this.mkclick = val;
+ },
+ immediate: true
+ },
+ // H5 下禁止底部滚动
+ showPopup(show) {
+ }
+ },
+ data() {
+ return {
+ duration: 300,
+ ani: [],
+ showPopup: false,
+ showTrans: false,
+ popupWidth: 0,
+ popupHeight: 0,
+ config: {
+ top: "top",
+ bottom: "bottom",
+ center: "center",
+ left: "left",
+ right: "right",
+ message: "top",
+ dialog: "center",
+ share: "bottom"
+ },
+ maskClass: {
+ position: "fixed",
+ bottom: 0,
+ top: 0,
+ left: 0,
+ right: 0,
+ backgroundColor: "rgba(0, 0, 0, 0.4)"
+ },
+ transClass: {
+ backgroundColor: "transparent",
+ borderRadius: this.borderRadius || "0",
+ position: "fixed",
+ left: 0,
+ right: 0
+ },
+ maskShow: true,
+ mkclick: true,
+ popupstyle: "top"
+ };
+ },
+ computed: {
+ getStyles() {
+ let res = { backgroundColor: this.bg };
+ if (this.borderRadius || "0") {
+ res = Object.assign(res, { borderRadius: this.borderRadius });
+ }
+ return res;
+ },
+ isDesktop() {
+ return this.popupWidth >= 500 && this.popupHeight >= 500;
+ },
+ bg() {
+ if (this.backgroundColor === "" || this.backgroundColor === "none") {
+ return "transparent";
+ }
+ return this.backgroundColor;
+ }
+ },
+ mounted() {
+ const fixSize = () => {
+ const {
+ windowWidth,
+ windowHeight,
+ windowTop,
+ safeArea,
+ screenHeight,
+ safeAreaInsets
+ } = common_vendor.index.getWindowInfo();
+ this.popupWidth = windowWidth;
+ this.popupHeight = windowHeight + (windowTop || 0);
+ if (safeArea && this.safeArea) {
+ this.safeAreaInsets = screenHeight - safeArea.bottom;
+ } else {
+ this.safeAreaInsets = 0;
+ }
+ };
+ fixSize();
+ },
+ // TODO vue3
+ unmounted() {
+ this.setH5Visible();
+ },
+ activated() {
+ this.setH5Visible(!this.showPopup);
+ },
+ deactivated() {
+ this.setH5Visible(true);
+ },
+ created() {
+ if (this.isMaskClick === null && this.maskClick === null) {
+ this.mkclick = true;
+ } else {
+ this.mkclick = this.isMaskClick !== null ? this.isMaskClick : this.maskClick;
+ }
+ if (this.animation) {
+ this.duration = 300;
+ } else {
+ this.duration = 0;
+ }
+ this.messageChild = null;
+ this.clearPropagation = false;
+ this.maskClass.backgroundColor = this.maskBackgroundColor;
+ },
+ methods: {
+ setH5Visible(visible = true) {
+ },
+ /**
+ * 公用方法,不显示遮罩层
+ */
+ closeMask() {
+ this.maskShow = false;
+ },
+ /**
+ * 公用方法,遮罩层禁止点击
+ */
+ disableMask() {
+ this.mkclick = false;
+ },
+ // TODO nvue 取消冒泡
+ clear(e) {
+ e.stopPropagation();
+ this.clearPropagation = true;
+ },
+ open(direction) {
+ if (this.showPopup) {
+ return;
+ }
+ let innerType = ["top", "center", "bottom", "left", "right", "message", "dialog", "share"];
+ if (!(direction && innerType.indexOf(direction) !== -1)) {
+ direction = this.type;
+ }
+ if (!this.config[direction]) {
+ common_vendor.index.__f__("error", "at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:310", "缺少类型:", direction);
+ return;
+ }
+ this[this.config[direction]]();
+ this.$emit("change", {
+ show: true,
+ type: direction
+ });
+ },
+ close(type) {
+ this.showTrans = false;
+ this.$emit("change", {
+ show: false,
+ type: this.type
+ });
+ clearTimeout(this.timer);
+ this.timer = setTimeout(() => {
+ this.showPopup = false;
+ }, 300);
+ },
+ // TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容
+ touchstart() {
+ this.clearPropagation = false;
+ },
+ onTap() {
+ if (this.clearPropagation) {
+ this.clearPropagation = false;
+ return;
+ }
+ this.$emit("maskClick");
+ if (!this.mkclick)
+ return;
+ this.close();
+ },
+ /**
+ * 顶部弹出样式处理
+ */
+ top(type) {
+ this.popupstyle = this.isDesktop ? "fixforpc-top" : "top";
+ this.ani = ["slide-top"];
+ this.transClass = {
+ position: "fixed",
+ left: 0,
+ right: 0,
+ backgroundColor: this.bg,
+ borderRadius: this.borderRadius || "0"
+ };
+ if (type)
+ return;
+ this.showPopup = true;
+ this.showTrans = true;
+ this.$nextTick(() => {
+ this.showPoptrans();
+ if (this.messageChild && this.type === "message") {
+ this.messageChild.timerClose();
+ }
+ });
+ },
+ /**
+ * 底部弹出样式处理
+ */
+ bottom(type) {
+ this.popupstyle = "bottom";
+ this.ani = ["slide-bottom"];
+ this.transClass = {
+ position: "fixed",
+ left: 0,
+ right: 0,
+ bottom: 0,
+ paddingBottom: this.safeAreaInsets + "px",
+ backgroundColor: this.bg,
+ borderRadius: this.borderRadius || "0"
+ };
+ if (type)
+ return;
+ this.showPoptrans();
+ },
+ /**
+ * 中间弹出样式处理
+ */
+ center(type) {
+ this.popupstyle = "center";
+ this.ani = ["fade"];
+ this.transClass = {
+ position: "fixed",
+ display: "flex",
+ flexDirection: "column",
+ bottom: 0,
+ left: 0,
+ right: 0,
+ top: 0,
+ justifyContent: "center",
+ alignItems: "center",
+ borderRadius: this.borderRadius || "0"
+ };
+ if (type)
+ return;
+ this.showPoptrans();
+ },
+ left(type) {
+ this.popupstyle = "left";
+ this.ani = ["slide-left"];
+ this.transClass = {
+ position: "fixed",
+ left: 0,
+ bottom: 0,
+ top: 0,
+ backgroundColor: this.bg,
+ borderRadius: this.borderRadius || "0",
+ display: "flex",
+ flexDirection: "column"
+ };
+ if (type)
+ return;
+ this.showPoptrans();
+ },
+ right(type) {
+ this.popupstyle = "right";
+ this.ani = ["slide-right"];
+ this.transClass = {
+ position: "fixed",
+ bottom: 0,
+ right: 0,
+ top: 0,
+ backgroundColor: this.bg,
+ borderRadius: this.borderRadius || "0",
+ display: "flex",
+ flexDirection: "column"
+ };
+ if (type)
+ return;
+ this.showPoptrans();
+ },
+ showPoptrans() {
+ this.$nextTick(() => {
+ this.showPopup = true;
+ this.showTrans = true;
+ });
+ }
+ }
+};
+if (!Array) {
+ const _easycom_uni_transition2 = common_vendor.resolveComponent("uni-transition");
+ _easycom_uni_transition2();
+}
+const _easycom_uni_transition = () => "../../../uni-transition/components/uni-transition/uni-transition.js";
+if (!Math) {
+ _easycom_uni_transition();
+}
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+ return common_vendor.e({
+ a: $data.showPopup
+ }, $data.showPopup ? common_vendor.e({
+ b: $data.maskShow
+ }, $data.maskShow ? {
+ c: common_vendor.o$1($options.onTap),
+ d: common_vendor.p({
+ name: "mask",
+ ["mode-class"]: "fade",
+ styles: $data.maskClass,
+ duration: $data.duration,
+ show: $data.showTrans
+ })
+ } : {}, {
+ e: common_vendor.s($options.getStyles),
+ f: common_vendor.n($data.popupstyle),
+ g: common_vendor.o$1((...args) => $options.clear && $options.clear(...args)),
+ h: common_vendor.o$1($options.onTap),
+ i: common_vendor.p({
+ ["mode-class"]: $data.ani,
+ name: "content",
+ styles: $data.transClass,
+ duration: $data.duration,
+ show: $data.showTrans
+ }),
+ j: common_vendor.o$1((...args) => $options.touchstart && $options.touchstart(...args)),
+ k: common_vendor.n($data.popupstyle),
+ l: common_vendor.n($options.isDesktop ? "fixforpc-z-index" : "")
+ }) : {});
+}
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
+wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
new file mode 100644
index 0000000..3a0615f
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
@@ -0,0 +1,6 @@
+{
+ "component": true,
+ "usingComponents": {
+ "uni-transition": "../../../uni-transition/components/uni-transition/uni-transition"
+ }
+}
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
new file mode 100644
index 0000000..1cc782d
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
new file mode 100644
index 0000000..4014708
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
@@ -0,0 +1,47 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
+.uni-popup {
+ position: fixed;
+ z-index: 99;
+}
+.uni-popup.top, .uni-popup.left, .uni-popup.right {
+ top: 0;
+}
+.uni-popup .uni-popup__wrapper {
+ display: block;
+ position: relative;
+ /* iphonex 等安全区设置,底部安全区适配 */
+}
+.uni-popup .uni-popup__wrapper.left, .uni-popup .uni-popup__wrapper.right {
+ padding-top: 0;
+ flex: 1;
+}
+.fixforpc-z-index {
+ z-index: 999;
+}
+.fixforpc-top {
+ top: 0;
+}
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js
new file mode 100644
index 0000000..31ac06c
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js
@@ -0,0 +1,116 @@
+"use strict";
+const common_vendor = require("../../../../common/vendor.js");
+class MPAnimation {
+ constructor(options, _this) {
+ this.options = options;
+ this.animation = common_vendor.index.createAnimation({
+ ...options
+ });
+ this.currentStepAnimates = {};
+ this.next = 0;
+ this.$ = _this;
+ }
+ _nvuePushAnimates(type, args) {
+ let aniObj = this.currentStepAnimates[this.next];
+ let styles = {};
+ if (!aniObj) {
+ styles = {
+ styles: {},
+ config: {}
+ };
+ } else {
+ styles = aniObj;
+ }
+ if (animateTypes1.includes(type)) {
+ if (!styles.styles.transform) {
+ styles.styles.transform = "";
+ }
+ let unit = "";
+ if (type === "rotate") {
+ unit = "deg";
+ }
+ styles.styles.transform += `${type}(${args + unit}) `;
+ } else {
+ styles.styles[type] = `${args}`;
+ }
+ this.currentStepAnimates[this.next] = styles;
+ }
+ _animateRun(styles = {}, config = {}) {
+ let ref = this.$.$refs["ani"].ref;
+ if (!ref)
+ return;
+ return new Promise((resolve, reject) => {
+ nvueAnimation.transition(ref, {
+ styles,
+ ...config
+ }, (res) => {
+ resolve();
+ });
+ });
+ }
+ _nvueNextAnimate(animates, step = 0, fn) {
+ let obj = animates[step];
+ if (obj) {
+ let {
+ styles,
+ config
+ } = obj;
+ this._animateRun(styles, config).then(() => {
+ step += 1;
+ this._nvueNextAnimate(animates, step, fn);
+ });
+ } else {
+ this.currentStepAnimates = {};
+ typeof fn === "function" && fn();
+ this.isEnd = true;
+ }
+ }
+ step(config = {}) {
+ this.animation.step(config);
+ return this;
+ }
+ run(fn) {
+ this.$.animationData = this.animation.export();
+ this.$.timer = setTimeout(() => {
+ typeof fn === "function" && fn();
+ }, this.$.durationTime);
+ }
+}
+const animateTypes1 = [
+ "matrix",
+ "matrix3d",
+ "rotate",
+ "rotate3d",
+ "rotateX",
+ "rotateY",
+ "rotateZ",
+ "scale",
+ "scale3d",
+ "scaleX",
+ "scaleY",
+ "scaleZ",
+ "skew",
+ "skewX",
+ "skewY",
+ "translate",
+ "translate3d",
+ "translateX",
+ "translateY",
+ "translateZ"
+];
+const animateTypes2 = ["opacity", "backgroundColor"];
+const animateTypes3 = ["width", "height", "left", "right", "top", "bottom"];
+animateTypes1.concat(animateTypes2, animateTypes3).forEach((type) => {
+ MPAnimation.prototype[type] = function(...args) {
+ this.animation[type](...args);
+ return this;
+ };
+});
+function createAnimation(option, _this) {
+ if (!_this)
+ return;
+ clearTimeout(_this.timer);
+ return new MPAnimation(option, _this);
+}
+exports.createAnimation = createAnimation;
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js
new file mode 100644
index 0000000..4506a70
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js
@@ -0,0 +1,269 @@
+"use strict";
+const common_vendor = require("../../../../common/vendor.js");
+const uni_modules_uniTransition_components_uniTransition_createAnimation = require("./createAnimation.js");
+const _sfc_main = {
+ name: "uniTransition",
+ emits: ["click", "change"],
+ props: {
+ show: {
+ type: Boolean,
+ default: false
+ },
+ modeClass: {
+ type: [Array, String],
+ default() {
+ return "fade";
+ }
+ },
+ duration: {
+ type: Number,
+ default: 300
+ },
+ styles: {
+ type: Object,
+ default() {
+ return {};
+ }
+ },
+ customClass: {
+ type: String,
+ default: ""
+ },
+ onceRender: {
+ type: Boolean,
+ default: false
+ }
+ },
+ data() {
+ return {
+ isShow: false,
+ transform: "",
+ opacity: 1,
+ animationData: {},
+ durationTime: 300,
+ config: {}
+ };
+ },
+ watch: {
+ show: {
+ handler(newVal) {
+ if (newVal) {
+ this.open();
+ } else {
+ if (this.isShow) {
+ this.close();
+ }
+ }
+ },
+ immediate: true
+ }
+ },
+ computed: {
+ // 生成样式数据
+ stylesObject() {
+ let styles = {
+ ...this.styles,
+ "transition-duration": this.duration / 1e3 + "s"
+ };
+ let transform = "";
+ for (let i in styles) {
+ let line = this.toLine(i);
+ transform += line + ":" + styles[i] + ";";
+ }
+ return transform;
+ },
+ // 初始化动画条件
+ transformStyles() {
+ return "transform:" + this.transform + ";opacity:" + this.opacity + ";" + this.stylesObject;
+ }
+ },
+ created() {
+ this.config = {
+ duration: this.duration,
+ timingFunction: "ease",
+ transformOrigin: "50% 50%",
+ delay: 0
+ };
+ this.durationTime = this.duration;
+ },
+ methods: {
+ /**
+ * ref 触发 初始化动画
+ */
+ init(obj = {}) {
+ if (obj.duration) {
+ this.durationTime = obj.duration;
+ }
+ this.animation = uni_modules_uniTransition_components_uniTransition_createAnimation.createAnimation(Object.assign(this.config, obj), this);
+ },
+ /**
+ * 点击组件触发回调
+ */
+ onClick() {
+ this.$emit("click", {
+ detail: this.isShow
+ });
+ },
+ /**
+ * ref 触发 动画分组
+ * @param {Object} obj
+ */
+ step(obj, config = {}) {
+ if (!this.animation)
+ return;
+ for (let i in obj) {
+ try {
+ if (typeof obj[i] === "object") {
+ this.animation[i](...obj[i]);
+ } else {
+ this.animation[i](obj[i]);
+ }
+ } catch (e) {
+ common_vendor.index.__f__("error", "at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:148", `方法 ${i} 不存在`);
+ }
+ }
+ this.animation.step(config);
+ return this;
+ },
+ /**
+ * ref 触发 执行动画
+ */
+ run(fn) {
+ if (!this.animation)
+ return;
+ this.animation.run(fn);
+ },
+ // 开始过度动画
+ open() {
+ clearTimeout(this.timer);
+ this.transform = "";
+ this.isShow = true;
+ let { opacity, transform } = this.styleInit(false);
+ if (typeof opacity !== "undefined") {
+ this.opacity = opacity;
+ }
+ this.transform = transform;
+ this.$nextTick(() => {
+ this.timer = setTimeout(() => {
+ this.animation = uni_modules_uniTransition_components_uniTransition_createAnimation.createAnimation(this.config, this);
+ this.tranfromInit(false).step();
+ this.animation.run(() => {
+ this.transform = "";
+ this.opacity = opacity || 1;
+ });
+ this.$emit("change", {
+ detail: this.isShow
+ });
+ }, 20);
+ });
+ },
+ // 关闭过度动画
+ close(type) {
+ if (!this.animation)
+ return;
+ this.tranfromInit(true).step().run(() => {
+ this.isShow = false;
+ this.animationData = null;
+ this.animation = null;
+ let { opacity, transform } = this.styleInit(false);
+ this.opacity = opacity || 1;
+ this.transform = transform;
+ this.$emit("change", {
+ detail: this.isShow
+ });
+ });
+ },
+ // 处理动画开始前的默认样式
+ styleInit(type) {
+ let styles = {
+ transform: ""
+ };
+ let buildStyle = (type2, mode) => {
+ if (mode === "fade") {
+ styles.opacity = this.animationType(type2)[mode];
+ } else {
+ styles.transform += this.animationType(type2)[mode] + " ";
+ }
+ };
+ if (typeof this.modeClass === "string") {
+ buildStyle(type, this.modeClass);
+ } else {
+ this.modeClass.forEach((mode) => {
+ buildStyle(type, mode);
+ });
+ }
+ return styles;
+ },
+ // 处理内置组合动画
+ tranfromInit(type) {
+ let buildTranfrom = (type2, mode) => {
+ let aniNum = null;
+ if (mode === "fade") {
+ aniNum = type2 ? 0 : 1;
+ } else {
+ aniNum = type2 ? "-100%" : "0";
+ if (mode === "zoom-in") {
+ aniNum = type2 ? 0.8 : 1;
+ }
+ if (mode === "zoom-out") {
+ aniNum = type2 ? 1.2 : 1;
+ }
+ if (mode === "slide-right") {
+ aniNum = type2 ? "100%" : "0";
+ }
+ if (mode === "slide-bottom") {
+ aniNum = type2 ? "100%" : "0";
+ }
+ }
+ this.animation[this.animationMode()[mode]](aniNum);
+ };
+ if (typeof this.modeClass === "string") {
+ buildTranfrom(type, this.modeClass);
+ } else {
+ this.modeClass.forEach((mode) => {
+ buildTranfrom(type, mode);
+ });
+ }
+ return this.animation;
+ },
+ animationType(type) {
+ return {
+ fade: type ? 0 : 1,
+ "slide-top": `translateY(${type ? "0" : "-100%"})`,
+ "slide-right": `translateX(${type ? "0" : "100%"})`,
+ "slide-bottom": `translateY(${type ? "0" : "100%"})`,
+ "slide-left": `translateX(${type ? "0" : "-100%"})`,
+ "zoom-in": `scaleX(${type ? 1 : 0.8}) scaleY(${type ? 1 : 0.8})`,
+ "zoom-out": `scaleX(${type ? 1 : 1.2}) scaleY(${type ? 1 : 1.2})`
+ };
+ },
+ // 内置动画类型与实际动画对应字典
+ animationMode() {
+ return {
+ fade: "opacity",
+ "slide-top": "translateY",
+ "slide-right": "translateX",
+ "slide-bottom": "translateY",
+ "slide-left": "translateX",
+ "zoom-in": "scale",
+ "zoom-out": "scale"
+ };
+ },
+ // 驼峰转中横线
+ toLine(name) {
+ return name.replace(/([A-Z])/g, "-$1").toLowerCase();
+ }
+ }
+};
+function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
+ return {
+ a: $data.isShow,
+ b: $data.animationData,
+ c: common_vendor.n($props.customClass),
+ d: common_vendor.s($options.transformStyles),
+ e: common_vendor.o$1((...args) => $options.onClick && $options.onClick(...args))
+ };
+}
+const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
+wx.createComponent(Component);
+//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json
new file mode 100644
index 0000000..e8cfaaf
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.json
@@ -0,0 +1,4 @@
+{
+ "component": true,
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml
new file mode 100644
index 0000000..8fa2f75
--- /dev/null
+++ b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxml
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxss b/unpackage/dist/dev/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.wxss
new file mode 100644
index 0000000..e69de29