diff --git a/App.vue b/App.vue deleted file mode 100644 index 8c2b732..0000000 --- a/App.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/api/index.js b/api/index.js deleted file mode 100644 index 2c0c23e..0000000 --- a/api/index.js +++ /dev/null @@ -1,18 +0,0 @@ -import request from "../utils/request"; - -export const checkTradeNo = (params) => request({ - url:'/backend/zxjt_redpacket/orders/is_exist', - method:'POST', - ...params -}) - -export const getAccessPage = (params) => request({ - url:'/backend/zxjt_redpacket/orders/access_page', - ...params -}) - -export const sendPacket = (params) => request({ - url:'/backend/zxjt_redpacket/orders/send_packet', - method:'POST', - ...params -}) \ No newline at end of file diff --git a/api/xyyk.js b/api/xyyk.js deleted file mode 100644 index 7d4ea0e..0000000 --- a/api/xyyk.js +++ /dev/null @@ -1,31 +0,0 @@ -import request from "../utils/request"; - -export const login = (params) => request({ - url:'/v1/xy/login', - method:'POST', - ...params -}) - -export const getProduceList = (params) => request({ - url:'/v1/auth/activity', - method:'POST', - ...params -}) - -export const goBuy = (params) => request({ - url:'/v1/auth/order/buy', - method:'POST', - ...params -}) - -export const getTicketList = (params) => request({ - url:'/v1/auth/order/list', - method:'POST', - ...params -}) - -export const queryOrder = (params) => request({ - url:'/v1/auth/order/query', - ...params -}) - diff --git a/custom.page.js b/custom.page.js index e940aed..d157da7 100644 --- a/custom.page.js +++ b/custom.page.js @@ -1,7 +1,7 @@ const config = { pages:'./src/pages', - pagesInclude:['ycnc'] + pagesInclude:['xyyk'] } export default config \ No newline at end of file diff --git a/main.js b/main.js deleted file mode 100644 index c1caf36..0000000 --- a/main.js +++ /dev/null @@ -1,22 +0,0 @@ -import App from './App' - -// #ifndef VUE3 -import Vue from 'vue' -import './uni.promisify.adaptor' -Vue.config.productionTip = false -App.mpType = 'app' -const app = new Vue({ - ...App -}) -app.$mount() -// #endif - -// #ifdef VUE3 -import { createSSRApp } from 'vue' -export function createApp() { - const app = createSSRApp(App) - return { - app - } -} -// #endif \ No newline at end of file diff --git a/manifest.json b/manifest.json deleted file mode 100644 index 6625a5c..0000000 --- a/manifest.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name" : "vue-h5", - "appid" : "__UNI__1EFA9EE", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : {}, - /* SDK配置 */ - "sdkConfigs" : {} - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "3", - "h5" : { - "router" : { - "mode" : "hash", - "base" : "./" - } - } -} diff --git a/pages.json b/pages.json deleted file mode 100644 index 380f61e..0000000 --- a/pages.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "pages": [ - // { - // "path": "pages/index/index", - // "style": { - // "navigationBarTitleText": "现金红包明细" - // } - // }, - { - "path": "pages/xyyk/index", - "style": { - "navigationBarTitleText": "兴业优酷" - } - }, - { - "path": "pages/xyyk/tickets", - "style": { - "navigationBarTitleText": "我的券包" - } - } - - ], - "globalStyle": { - "navigationStyle": "custom", - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "uniIdRouter": {} -} diff --git a/pages/index/index.vue b/pages/index/index.vue deleted file mode 100644 index 61fd37e..0000000 --- a/pages/index/index.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - - - diff --git a/pages/xyyk/components/product-item.vue b/pages/xyyk/components/product-item.vue deleted file mode 100644 index 2c23231..0000000 --- a/pages/xyyk/components/product-item.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/xyyk/components/ticket-item.vue b/pages/xyyk/components/ticket-item.vue deleted file mode 100644 index 29ab72f..0000000 --- a/pages/xyyk/components/ticket-item.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/xyyk/index.vue b/pages/xyyk/index.vue deleted file mode 100644 index e115e56..0000000 --- a/pages/xyyk/index.vue +++ /dev/null @@ -1,243 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/xyyk/tickets.vue b/pages/xyyk/tickets.vue deleted file mode 100644 index 30aea10..0000000 --- a/pages/xyyk/tickets.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/shims-uni.d.ts b/shims-uni.d.ts deleted file mode 100644 index ed4adcf..0000000 --- a/shims-uni.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/// -import 'vue' - -declare module '@vue/runtime-core' { - type Hooks = App.AppInstance & Page.PageInstance; - - interface ComponentCustomOptions extends Hooks { - - } -} diff --git a/src/pages.json b/src/pages.json index 8c03873..a37bb36 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,28 +1,12 @@ { "pages": [ { - "path": "pages/ycnc/index", - "type": "home", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "奶茶活动" - } + "path": "pages/xyyk/index", + "type": "page" }, { - "path": "pages/ycnc/detail", - "type": "page", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "商品详情" - } - }, - { - "path": "pages/ycnc/order", - "type": "page", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "我的订单" - } + "path": "pages/xyyk/tickets", + "type": "page" } ], "globalStyle": { diff --git a/static/YT_Client_api.js b/static/YT_Client_api.js deleted file mode 100644 index 6dac302..0000000 --- a/static/YT_Client_api.js +++ /dev/null @@ -1,716 +0,0 @@ -/** - * @author 何杰 - * @date 2016-08-01 12:00:00 - * @address www.yitong.com.cn - * @mail hj@yitong.com.cn - * @desc: 屹通客户端组件api - */ -var Fw = {}; -Fw.device = {}; -Fw.device.Device = function () { - var userAgent = navigator.userAgent; - //ios 事件队列 - var eventQueue = []; - return { - //是否iOS设备 - is_ios: userAgent.indexOf('iPhone') > -1 || userAgent.indexOf('iPad') > -1, - //是否Android设备 - is_android: userAgent.indexOf('Android') > -1, - /** - * ios - * 注册事件 - * @param code 事件编码 - * @param options 参数 - */ - addEvent: function (code, options) { - if (options && code) { - eventQueue.push(JSON.stringify({ - code: code, - name: options - })); - } - }, - /** - * ios - * 原生调用,从队列中获取事件 - * @returns {string} - */ - getEvent: function () { - return eventQueue.length > 0 ? eventQueue.shift() : '0'; - } - }; -} -(); -/** - * 供第三方调用API - */ -Fw.device.api = function () { - var device = Fw.device.Device; - return { - - - /** - * @brief 获取经纬度 - * "X_LINE"和 "Y_LINE"两个返回字段在Android5.0.6及以后才会出现 - * - */ - handCodeGetLocation: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callBack = fn; - device.is_ios && device.addEvent("51", JSON.stringify(option)); - device.is_android && GetInfoJs.getLocation(JSON.stringify(option)); - }, - - /** - * @brief 获取用户信息 - */ - getUserInfo: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callback = fn; - device.is_ios && device.addEvent("getUserInfo", JSON.stringify(option)); - device.is_android && GetInfoJs.getUserInfo(JSON.stringify(option)); - }, - /** - * @brief - */ - getCustNo: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("getCustNo", fn); - device.is_android && GetInfoJs.getCustNo(fn); - }, - - initTitle: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - - device.is_ios && device.addEvent("initTitle", JSON.stringify(option)); - device.is_android && GetInfoJs.initTitle(JSON.stringify(option)); - }, - - setRightButton: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("setRightButton", JSON.stringify(fn)); - device.is_android && GetInfoJs.setRightButton(JSON.stringify(fn)); - }, - - setBackFun: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("goBack", JSON.stringify(option)); - device.is_android && GetInfoJs.goBack(JSON.stringify(option)); - }, - getBackFun: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("getBackFun", fn); - device.is_android && GetInfoJs.getBackFun(option); - }, - - startRecordVoice: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("startRecordVoice", JSON.stringify(option)); - device.is_android && GetInfoJs.startRecordVoice(); - }, - stopRecordVoice: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("stopRecordVoice", fn); - device.is_android && GetInfoJs.stopRecordVoice(fn); - }, - getPhoneNo: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("getPhoneNo", fn); - device.is_android && GetInfoJs.getPhoneNo(fn); - }, - /** - *扫一扫 - */ - openScanPage: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("goToQrCode", JSON.stringify(option)); - device.is_android && GetInfoJs.openScanPage(); - }, - /** - *付款码 - */ - openPaymentCode: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("gotoPaymentCode", JSON.stringify(option)); - device.is_android && GetInfoJs.openPaymentCode(JSON.stringify(option)); - }, - - /** - * 拨打电话 - */ - gotoSystemPhone: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("gotoSystemPhone", fn); - device.is_android && GetInfoJs.gotoSystemPhone(fn); - }, - - /** - * 关闭当前页面 - */ - goBack: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("backPrevious", JSON.stringify(option)); - device.is_android && GetInfoJs.goBack(); - }, - - /** - * 调用物理返回键 - */ - nativeBack: function () { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - option = {}; - // device.is_ios && device.addEvent("getBackFun",JSON.stringify(option)); - device.is_android && GetInfoJs.nativeBack(); - }, - /** - * 地图导航 - */ - openMap: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("openMap", JSON.stringify(option)); - device.is_android && GetInfoJs.openMap(JSON.stringify(option)); - }, - - /** - * 登录 - */ - gotoLoginCallback: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("goToLoginView", JSON.stringify(fn)); - device.is_android && GetInfoJs.gotoLoginCallback(JSON.stringify(fn)); - }, - - loginStatus: function (option) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("loginStatus", JSON.stringify(option)); - device.is_android && GetInfoJs.loginStatus(JSON.stringify(option)); - }, - - checkRecordVoicePermission: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - // device.is_ios && device.addEvent("getBackFun",JSON.stringify(option)); - device.is_android && GetInfoJs.checkRecordVoicePermission(fn); - }, - openMenu: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - // device.is_ios && device.addEvent("getBackFun",JSON.stringify(option)); - device.is_android && GetInfoJs.gotoCommonlyUsedMenu(fn); - }, - - /** - * @brief 分享 - */ - handCodeShare: function (param, fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.fn = fn; - option.param = param; - device.is_ios && device.addEvent("41", JSON.stringify(param)); - device.is_android && GetInfoJs.showShare(JSON.stringify(option)); - }, - /** - * @brief 拍照、相册 - */ - handCodeGetPhotos: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.fn = fn; - device.is_ios && device.addEvent("41", JSON.stringify(param)); - device.is_android && GetInfoJs.takePhotos(JSON.stringify(option)); - }, - - /** - * @brief 拍照 - */ - openCamera: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.fn = fn; - // device.is_ios && device.addEvent("41",JSON.stringify(param)); - device.is_android && GetInfoJs.openCamera(JSON.stringify(option)); - }, - - /** - * @brief 相册 - */ - photoAlbum: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.fn = fn; - // device.is_ios && device.addEvent("41",JSON.stringify(param)); - device.is_android && GetInfoJs.photoAlbum(JSON.stringify(option)); - }, - - /** - * @brief 复制到粘贴板 - */ - pasteStringToSystem: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - - device.is_ios && device.addEvent("pasteStringToSystem", fn); - device.is_android && GetInfoJs.pasteStringToSystem(fn); - }, - - queryAppFamily: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - //TODO ios粘贴方法 - - device.is_android && GetInfoJs.queryAppFamily(fn); - }, - - getHeaderImg: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - //TODO ios粘贴方法 - - device.is_android && GetInfoJs.getHeaderImg(fn); - }, - - getSystemVersion: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("getVersionCode", fn); - device.is_android && GetInfoJs.getSystemVersion(fn); - }, - getChooseCityInfo: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callBack = fn; - device.is_ios && device.addEvent("getChooseCityInfo", JSON.stringify(option)); - device.is_android && GetInfoJs.getChooseCityInfo(JSON.stringify(option)); - }, - - faceCheck: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("faceCheck", JSON.stringify(option)); - device.is_android && GetInfoJs.faceCheck(JSON.stringify(fn)); - }, - - /** - * @brief 跳转VUE - */ - goVUEPage: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("goToAresPage", JSON.stringify(param)); - device.is_android && GetInfoJs.goToAresPage(JSON.stringify(param)); - }, - - /** - * @brief 跳转制定页面 - */ - loadPath: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("loadPath", JSON.stringify(param)); - device.is_android && GetInfoJs.loadPath(JSON.stringify(param)); - }, - - /** - * @brief 跳转VUE - */ - redirectPage: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("redirectPage", JSON.stringify(param)); - device.is_android && GetInfoJs.redirectPage(JSON.stringify(param)); - }, - /** - * @brief 积分接口 - */ - jifenGetCordDateInfo: function (fun) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var param = {}; - param.fn = fun - device.is_ios && device.addEvent("jifenGetCordDateInfo", JSON.stringify(param)); - device.is_android && GetInfoJs.jifenGetCordDateInfo(JSON.stringify(param)); - }, - - getEquipmentInfo: function (fun) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var param = {}; - param.fn = fun - device.is_ios && device.addEvent("getEquipmentInfo", JSON.stringify(param)); - device.is_android && GetInfoJs.getEquipmentInfo(JSON.stringify(param)); - }, - - getOnLineFaCard: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("getOnLineFaCard", JSON.stringify(param)); - device.is_android && GetInfoJs.getOnLineFaCard(JSON.stringify(param)); - }, - - /** - * @brief 获取经纬度 - * "longitude" 和 "latitude" 两个返回字段再Android5.0.6及以后才会出现 - */ - checkAndGetLocation: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callBack = fn; - device.is_ios && device.addEvent("checkAndGetLocation", JSON.stringify(option)); - device.is_android && GetInfoJs.checkAndGetLocation2(JSON.stringify(option)); - }, - - /** - *开启截屏监听 - */ - startMonitoring: function () { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - device.is_ios && device.addEvent("startMonitoring", JSON.stringify(option)); - device.is_android && GetInfoJs.startMonitoring(); - }, - - /** - *关闭截屏监听 - */ - endMonitoring: function () { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - device.is_ios && device.addEvent("endMonitoring", JSON.stringify(option)); - device.is_android && GetInfoJs.endMonitoring(); - }, - - /** - *更新优惠券数量 - */ - updateCoupon: function () { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - device.is_ios && device.addEvent("updateCoupon", JSON.stringify(option)); - device.is_android && GetInfoJs.updateCoupon(); - }, - - /** - *荣数用户检测 - */ - checkUserChangeOrNot: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("checkUserChangeOrNot", JSON.stringify(param)); - device.is_android && GetInfoJs.checkUserChangeOrNot(JSON.stringify(param)); - }, - - /** - *跳转页面(届管数据) - */ - redirectPage: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("redirectPage", JSON.stringify(param)); - device.is_android && GetInfoJs.redirectPage(JSON.stringify(param)); - }, - - /** - * 检测权限 - */ - checkPermission: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("checkPermission", JSON.stringify(param)); - device.is_android && GetInfoJs.checkPermission(JSON.stringify(param)); - }, - - /** - * 申请权限 - */ - requestPermission: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("requestPermission", JSON.stringify(param)); - device.is_android && GetInfoJs.requestPermission(JSON.stringify(param)); - }, - - setPhoneCallStateListener: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("setPhoneCallStateListener", JSON.stringify(param)); - device.is_android && GetInfoJs.setPhoneCallStateListener(JSON.stringify(param)); - }, - - setAudioStreamType: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("setAudioStreamType", JSON.stringify(param)); - device.is_android && GetInfoJs.setAudioStreamType(JSON.stringify(param)); - }, - - showFloatWindow: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("showFloatWindow", JSON.stringify(param)); - device.is_android && GetInfoJs.showFloatWindow(JSON.stringify(param)); - }, - - getUserInfoForVideoCall: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("getUserInfoForVideoCall", JSON.stringify(param)); - device.is_android && GetInfoJs.getUserInfoForVideoCall(JSON.stringify(param)); - }, - - buriedPoint: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("buriedPoint", JSON.stringify(fn)); - device.is_android && GetInfoJs.buriedPoint(JSON.stringify(fn)); - }, - - zxkf_goToLogin: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("zxkf_goToLogin", JSON.stringify(fn)); - device.is_android && GetInfoJs.zxkf_goToLogin(JSON.stringify(fn)); - }, - - checkUnionPayAuthState: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("checkUnionPayAuthState", JSON.stringify(fn)); - device.is_android && GetInfoJs.checkUnionPayAuthState(JSON.stringify(fn)); - }, - - startQrPay: function () { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("startQrPay", ""); - device.is_android && GetInfoJs.startQrPay(); - }, - - openQRCodeCombineUnionPay: function (param) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("openQRCodeCombineUnionPay", ""); - device.is_android && GetInfoJs.openQRCodeCombineUnionPay(param); - }, - - /** - * @brief 打开消息推送弹窗 - */ - openPushAlert: function (param, fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callBack = fn; - option.param = param; - device.is_ios && device.addEvent("openPushAlert", JSON.stringify(param)); - device.is_android && GetInfoJs.openPushAlert(JSON.stringify(option)); - }, - - /** - * @brief 检测个性化消息推荐开关 - */ - personalPushOpenType: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callBack = fn; - device.is_ios && device.addEvent("personalPushOpenType", JSON.stringify(option)); - device.is_android && GetInfoJs.personalPushOpenType(JSON.stringify(option)); - }, - - /** - * @brief 检测消息推荐开关 - */ - checkPushSwitchStatus: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callBack = fn; - device.is_ios && device.addEvent("checkPushSwitchStatus", JSON.stringify(option)); - device.is_android && GetInfoJs.checkPushSwitchStatus(JSON.stringify(option)) - }, - - showTPwdKeyboard: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.callback = fn; - option.len = "6"; - option.type ="LPWD"; - device.is_ios && device.addEvent("10", JSON.stringify(option)); - device.is_android && KeyboardJs.showTPwdKeyboard(JSON.stringify(option)) - }, - - /** - * @brief 新授权 - */ - getNewAuthorization: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - var option = {}; - option.fn = fn; - device.is_ios && device.addEvent("getNewAuthorization", JSON.stringify(fn)); - device.is_android && GetInfoJs.getNewAuthorization(JSON.stringify(fn)); - // device.is_android && GetInfoJs.getNewAuthorization(JSON.stringify(option)); - }, - - /** - * @brief 新授权 - */ - downloadPDF: function (fn) { - if (!device.is_ios && !device.is_android) { - alert("请在ios/android设备上使用!"); - return; - } - device.is_ios && device.addEvent("downloadPDF", JSON.stringify(fn)); - device.is_android && GetInfoJs.downloadPDF(JSON.stringify(fn)) - }, - - } -} - (); diff --git a/static/image/bg.png b/static/image/bg.png deleted file mode 100644 index 6ab8a3b..0000000 Binary files a/static/image/bg.png and /dev/null differ diff --git a/static/image/ic_close.png b/static/image/ic_close.png deleted file mode 100644 index dddf90a..0000000 Binary files a/static/image/ic_close.png and /dev/null differ diff --git a/static/image/icon-close.png b/static/image/icon-close.png deleted file mode 100644 index 7b206a8..0000000 Binary files a/static/image/icon-close.png and /dev/null differ diff --git a/static/image/input_c.png b/static/image/input_c.png deleted file mode 100644 index 7033c27..0000000 Binary files a/static/image/input_c.png and /dev/null differ diff --git a/static/image/popup_bg.png b/static/image/popup_bg.png deleted file mode 100644 index 3a56237..0000000 Binary files a/static/image/popup_bg.png and /dev/null differ diff --git a/static/image/popup_btn.png b/static/image/popup_btn.png deleted file mode 100644 index 5a2814f..0000000 Binary files a/static/image/popup_btn.png and /dev/null differ diff --git a/static/image/tips_bg.png b/static/image/tips_bg.png deleted file mode 100644 index 6ccdf45..0000000 Binary files a/static/image/tips_bg.png and /dev/null differ diff --git a/static/xyyk/bg-banner.png b/static/xyyk/bg-banner.png deleted file mode 100644 index 4dc110e..0000000 Binary files a/static/xyyk/bg-banner.png and /dev/null differ diff --git a/static/xyyk/bg-popup.png b/static/xyyk/bg-popup.png deleted file mode 100644 index c4f8045..0000000 Binary files a/static/xyyk/bg-popup.png and /dev/null differ diff --git a/static/xyyk/bg-product.png b/static/xyyk/bg-product.png deleted file mode 100644 index 9cff40b..0000000 Binary files a/static/xyyk/bg-product.png and /dev/null differ diff --git a/static/xyyk/bg-title.png b/static/xyyk/bg-title.png deleted file mode 100644 index 607f4ed..0000000 Binary files a/static/xyyk/bg-title.png and /dev/null differ diff --git a/static/xyyk/bg.png b/static/xyyk/bg.png deleted file mode 100644 index 0a2f30e..0000000 Binary files a/static/xyyk/bg.png and /dev/null differ diff --git a/static/xyyk/icon-ticket.png b/static/xyyk/icon-ticket.png deleted file mode 100644 index a4e07ea..0000000 Binary files a/static/xyyk/icon-ticket.png and /dev/null differ diff --git a/static/ycnc/bg-btn.png b/static/ycnc/bg-btn.png deleted file mode 100644 index 4e55fba..0000000 Binary files a/static/ycnc/bg-btn.png and /dev/null differ diff --git a/static/ycnc/bg-content.png b/static/ycnc/bg-content.png deleted file mode 100644 index 90173eb..0000000 Binary files a/static/ycnc/bg-content.png and /dev/null differ diff --git a/static/ycnc/bg-product.jpg b/static/ycnc/bg-product.jpg deleted file mode 100644 index 4e2d4ab..0000000 Binary files a/static/ycnc/bg-product.jpg and /dev/null differ diff --git a/static/ycnc/bg-product.png b/static/ycnc/bg-product.png deleted file mode 100644 index 5a3497c..0000000 Binary files a/static/ycnc/bg-product.png and /dev/null differ diff --git a/static/ycnc/bg.png b/static/ycnc/bg.png deleted file mode 100644 index b15b136..0000000 Binary files a/static/ycnc/bg.png and /dev/null differ diff --git a/uni-pages.d.ts b/uni-pages.d.ts index 06a6106..a800f95 100644 --- a/uni-pages.d.ts +++ b/uni-pages.d.ts @@ -4,9 +4,8 @@ // Generated by vite-plugin-uni-pages interface NavigateToOptions { - url: "/pages/ycnc/index" | - "/pages/ycnc/detail" | - "/pages/ycnc/order"; + url: "/pages/xyyk/index" | + "/pages/xyyk/tickets"; } interface RedirectToOptions extends NavigateToOptions {} diff --git a/uni.promisify.adaptor.js b/uni.promisify.adaptor.js deleted file mode 100644 index 47fbce1..0000000 --- a/uni.promisify.adaptor.js +++ /dev/null @@ -1,10 +0,0 @@ -uni.addInterceptor({ - returnValue (res) { - if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { - return res; - } - return new Promise((resolve, reject) => { - res.then((res) => res[0] ? reject(res[0]) : resolve(res[1])); - }); - }, -}); \ No newline at end of file diff --git a/uni.scss b/uni.scss deleted file mode 100644 index b9249e9..0000000 --- a/uni.scss +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ - -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ - -/* 颜色变量 */ - -/* 行为相关颜色 */ -$uni-color-primary: #007aff; -$uni-color-success: #4cd964; -$uni-color-warning: #f0ad4e; -$uni-color-error: #dd524d; - -/* 文字基本颜色 */ -$uni-text-color:#333;//基本色 -$uni-text-color-inverse:#fff;//反色 -$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 -$uni-text-color-placeholder: #808080; -$uni-text-color-disable:#c0c0c0; - -/* 背景颜色 */ -$uni-bg-color:#ffffff; -$uni-bg-color-grey:#f8f8f8; -$uni-bg-color-hover:#f1f1f1;//点击状态颜色 -$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 - -/* 边框颜色 */ -$uni-border-color:#c8c7cc; - -/* 尺寸变量 */ - -/* 文字尺寸 */ -$uni-font-size-sm:12px; -$uni-font-size-base:14px; -$uni-font-size-lg:16px; - -/* 图片尺寸 */ -$uni-img-size-sm:20px; -$uni-img-size-base:26px; -$uni-img-size-lg:40px; - -/* Border Radius */ -$uni-border-radius-sm: 2px; -$uni-border-radius-base: 3px; -$uni-border-radius-lg: 6px; -$uni-border-radius-circle: 50%; - -/* 水平间距 */ -$uni-spacing-row-sm: 5px; -$uni-spacing-row-base: 10px; -$uni-spacing-row-lg: 15px; - -/* 垂直间距 */ -$uni-spacing-col-sm: 4px; -$uni-spacing-col-base: 8px; -$uni-spacing-col-lg: 12px; - -/* 透明度 */ -$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 - -/* 文章场景相关 */ -$uni-color-title: #2C405A; // 文章标题颜色 -$uni-font-size-title:20px; -$uni-color-subtitle: #555555; // 二级标题颜色 -$uni-font-size-subtitle:26px; -$uni-color-paragraph: #3F536E; // 文章段落颜色 -$uni-font-size-paragraph:15px; diff --git a/uni_modules/uni-popup/changelog.md b/uni_modules/uni-popup/changelog.md deleted file mode 100644 index decd775..0000000 --- a/uni_modules/uni-popup/changelog.md +++ /dev/null @@ -1,84 +0,0 @@ -## 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 deleted file mode 100644 index 6ef26a2..0000000 --- a/uni_modules/uni-popup/components/uni-popup-dialog/keypress.js +++ /dev/null @@ -1,45 +0,0 @@ -// #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 deleted file mode 100644 index 08707d4..0000000 --- a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue +++ /dev/null @@ -1,316 +0,0 @@ - - - - - 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 deleted file mode 100644 index 91370a8..0000000 --- a/uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - - 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 deleted file mode 100644 index f7e667c..0000000 --- a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - diff --git a/uni_modules/uni-popup/components/uni-popup/i18n/en.json b/uni_modules/uni-popup/components/uni-popup/i18n/en.json deleted file mode 100644 index 7f1bd06..0000000 --- a/uni_modules/uni-popup/components/uni-popup/i18n/en.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "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 deleted file mode 100644 index de7509c..0000000 --- a/uni_modules/uni-popup/components/uni-popup/i18n/index.js +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index 5e3003c..0000000 --- a/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "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 deleted file mode 100644 index 13e39eb..0000000 --- a/uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "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 deleted file mode 100644 index 62dda46..0000000 --- a/uni_modules/uni-popup/components/uni-popup/keypress.js +++ /dev/null @@ -1,45 +0,0 @@ -// #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 deleted file mode 100644 index c4e5781..0000000 --- a/uni_modules/uni-popup/components/uni-popup/popup.js +++ /dev/null @@ -1,26 +0,0 @@ - -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 deleted file mode 100644 index 5eb8d5b..0000000 --- a/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - \ 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 deleted file mode 100644 index 8349e99..0000000 --- a/uni_modules/uni-popup/components/uni-popup/uni-popup.vue +++ /dev/null @@ -1,503 +0,0 @@ - - - - diff --git a/uni_modules/uni-popup/package.json b/uni_modules/uni-popup/package.json deleted file mode 100644 index 3cfa384..0000000 --- a/uni_modules/uni-popup/package.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "id": "uni-popup", - "displayName": "uni-popup 弹出层", - "version": "1.9.1", - "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" - }, - "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 deleted file mode 100644 index fdad4b3..0000000 --- a/uni_modules/uni-popup/readme.md +++ /dev/null @@ -1,17 +0,0 @@ - - -## 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-scss/changelog.md b/uni_modules/uni-scss/changelog.md deleted file mode 100644 index b863bb0..0000000 --- a/uni_modules/uni-scss/changelog.md +++ /dev/null @@ -1,8 +0,0 @@ -## 1.0.3(2022-01-21) -- 优化 组件示例 -## 1.0.2(2021-11-22) -- 修复 / 符号在 vue 不同版本兼容问题引起的报错问题 -## 1.0.1(2021-11-22) -- 修复 vue3中scss语法兼容问题 -## 1.0.0(2021-11-18) -- init diff --git a/uni_modules/uni-scss/index.scss b/uni_modules/uni-scss/index.scss deleted file mode 100644 index 1744a5f..0000000 --- a/uni_modules/uni-scss/index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './styles/index.scss'; diff --git a/uni_modules/uni-scss/package.json b/uni_modules/uni-scss/package.json deleted file mode 100644 index 7cc0ccb..0000000 --- a/uni_modules/uni-scss/package.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "id": "uni-scss", - "displayName": "uni-scss 辅助样式", - "version": "1.0.3", - "description": "uni-sass是uni-ui提供的一套全局样式 ,通过一些简单的类名和sass变量,实现简单的页面布局操作,比如颜色、边距、圆角等。", - "keywords": [ - "uni-scss", - "uni-ui", - "辅助样式" -], - "repository": "https://github.com/dcloudio/uni-ui", - "engines": { - "HBuilderX": "^3.1.0" - }, - "dcloudext": { - "category": [ - "JS SDK", - "通用 SDK" - ], - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "y", - "aliyun": "y" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "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" - }, - "快应用": { - "华为": "n", - "联盟": "n" - }, - "Vue": { - "vue2": "y", - "vue3": "y" - } - } - } - } -} diff --git a/uni_modules/uni-scss/readme.md b/uni_modules/uni-scss/readme.md deleted file mode 100644 index b7d1c25..0000000 --- a/uni_modules/uni-scss/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -`uni-sass` 是 `uni-ui`提供的一套全局样式 ,通过一些简单的类名和`sass`变量,实现简单的页面布局操作,比如颜色、边距、圆角等。 - -### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-sass) -#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 \ No newline at end of file diff --git a/uni_modules/uni-scss/styles/index.scss b/uni_modules/uni-scss/styles/index.scss deleted file mode 100644 index ffac4fe..0000000 --- a/uni_modules/uni-scss/styles/index.scss +++ /dev/null @@ -1,7 +0,0 @@ -@import './setting/_variables.scss'; -@import './setting/_border.scss'; -@import './setting/_color.scss'; -@import './setting/_space.scss'; -@import './setting/_radius.scss'; -@import './setting/_text.scss'; -@import './setting/_styles.scss'; diff --git a/uni_modules/uni-scss/styles/setting/_border.scss b/uni_modules/uni-scss/styles/setting/_border.scss deleted file mode 100644 index 12a11c3..0000000 --- a/uni_modules/uni-scss/styles/setting/_border.scss +++ /dev/null @@ -1,3 +0,0 @@ -.uni-border { - border: 1px $uni-border-1 solid; -} \ No newline at end of file diff --git a/uni_modules/uni-scss/styles/setting/_color.scss b/uni_modules/uni-scss/styles/setting/_color.scss deleted file mode 100644 index 1ededd9..0000000 --- a/uni_modules/uni-scss/styles/setting/_color.scss +++ /dev/null @@ -1,66 +0,0 @@ - -// TODO 暂时不需要 class ,需要用户使用变量实现 ,如果使用类名其实并不推荐 -// @mixin get-styles($k,$c) { -// @if $k == size or $k == weight{ -// font-#{$k}:#{$c} -// }@else{ -// #{$k}:#{$c} -// } -// } -$uni-ui-color:( - // 主色 - primary: $uni-primary, - primary-disable: $uni-primary-disable, - primary-light: $uni-primary-light, - // 辅助色 - success: $uni-success, - success-disable: $uni-success-disable, - success-light: $uni-success-light, - warning: $uni-warning, - warning-disable: $uni-warning-disable, - warning-light: $uni-warning-light, - error: $uni-error, - error-disable: $uni-error-disable, - error-light: $uni-error-light, - info: $uni-info, - info-disable: $uni-info-disable, - info-light: $uni-info-light, - // 中性色 - main-color: $uni-main-color, - base-color: $uni-base-color, - secondary-color: $uni-secondary-color, - extra-color: $uni-extra-color, - // 背景色 - bg-color: $uni-bg-color, - // 边框颜色 - border-1: $uni-border-1, - border-2: $uni-border-2, - border-3: $uni-border-3, - border-4: $uni-border-4, - // 黑色 - black:$uni-black, - // 白色 - white:$uni-white, - // 透明 - transparent:$uni-transparent -) !default; -@each $key, $child in $uni-ui-color { - .uni-#{"" + $key} { - color: $child; - } - .uni-#{"" + $key}-bg { - background-color: $child; - } -} -.uni-shadow-sm { - box-shadow: $uni-shadow-sm; -} -.uni-shadow-base { - box-shadow: $uni-shadow-base; -} -.uni-shadow-lg { - box-shadow: $uni-shadow-lg; -} -.uni-mask { - background-color:$uni-mask; -} diff --git a/uni_modules/uni-scss/styles/setting/_radius.scss b/uni_modules/uni-scss/styles/setting/_radius.scss deleted file mode 100644 index 9a0428b..0000000 --- a/uni_modules/uni-scss/styles/setting/_radius.scss +++ /dev/null @@ -1,55 +0,0 @@ -@mixin radius($r,$d:null ,$important: false){ - $radius-value:map-get($uni-radius, $r) if($important, !important, null); - // Key exists within the $uni-radius variable - @if (map-has-key($uni-radius, $r) and $d){ - @if $d == t { - border-top-left-radius:$radius-value; - border-top-right-radius:$radius-value; - }@else if $d == r { - border-top-right-radius:$radius-value; - border-bottom-right-radius:$radius-value; - }@else if $d == b { - border-bottom-left-radius:$radius-value; - border-bottom-right-radius:$radius-value; - }@else if $d == l { - border-top-left-radius:$radius-value; - border-bottom-left-radius:$radius-value; - }@else if $d == tl { - border-top-left-radius:$radius-value; - }@else if $d == tr { - border-top-right-radius:$radius-value; - }@else if $d == br { - border-bottom-right-radius:$radius-value; - }@else if $d == bl { - border-bottom-left-radius:$radius-value; - } - }@else{ - border-radius:$radius-value; - } -} - -@each $key, $child in $uni-radius { - @if($key){ - .uni-radius-#{"" + $key} { - @include radius($key) - } - }@else{ - .uni-radius { - @include radius($key) - } - } -} - -@each $direction in t, r, b, l,tl, tr, br, bl { - @each $key, $child in $uni-radius { - @if($key){ - .uni-radius-#{"" + $direction}-#{"" + $key} { - @include radius($key,$direction,false) - } - }@else{ - .uni-radius-#{$direction} { - @include radius($key,$direction,false) - } - } - } -} diff --git a/uni_modules/uni-scss/styles/setting/_space.scss b/uni_modules/uni-scss/styles/setting/_space.scss deleted file mode 100644 index 3c89528..0000000 --- a/uni_modules/uni-scss/styles/setting/_space.scss +++ /dev/null @@ -1,56 +0,0 @@ - -@mixin fn($space,$direction,$size,$n) { - @if $n { - #{$space}-#{$direction}: #{$size*$uni-space-root}px - } @else { - #{$space}-#{$direction}: #{-$size*$uni-space-root}px - } -} -@mixin get-styles($direction,$i,$space,$n){ - @if $direction == t { - @include fn($space, top,$i,$n); - } - @if $direction == r { - @include fn($space, right,$i,$n); - } - @if $direction == b { - @include fn($space, bottom,$i,$n); - } - @if $direction == l { - @include fn($space, left,$i,$n); - } - @if $direction == x { - @include fn($space, left,$i,$n); - @include fn($space, right,$i,$n); - } - @if $direction == y { - @include fn($space, top,$i,$n); - @include fn($space, bottom,$i,$n); - } - @if $direction == a { - @if $n { - #{$space}:#{$i*$uni-space-root}px; - } @else { - #{$space}:#{-$i*$uni-space-root}px; - } - } -} - -@each $orientation in m,p { - $space: margin; - @if $orientation == m { - $space: margin; - } @else { - $space: padding; - } - @for $i from 0 through 16 { - @each $direction in t, r, b, l, x, y, a { - .uni-#{$orientation}#{$direction}-#{$i} { - @include get-styles($direction,$i,$space,true); - } - .uni-#{$orientation}#{$direction}-n#{$i} { - @include get-styles($direction,$i,$space,false); - } - } - } -} \ No newline at end of file diff --git a/uni_modules/uni-scss/styles/setting/_styles.scss b/uni_modules/uni-scss/styles/setting/_styles.scss deleted file mode 100644 index 689afec..0000000 --- a/uni_modules/uni-scss/styles/setting/_styles.scss +++ /dev/null @@ -1,167 +0,0 @@ -/* #ifndef APP-NVUE */ - -$-color-white:#fff; -$-color-black:#000; -@mixin base-style($color) { - color: #fff; - background-color: $color; - border-color: mix($-color-black, $color, 8%); - &:not([hover-class]):active { - background: mix($-color-black, $color, 10%); - border-color: mix($-color-black, $color, 20%); - color: $-color-white; - outline: none; - } -} -@mixin is-color($color) { - @include base-style($color); - &[loading] { - @include base-style($color); - &::before { - margin-right:5px; - } - } - &[disabled] { - &, - &[loading], - &:not([hover-class]):active { - color: $-color-white; - border-color: mix(darken($color,10%), $-color-white); - background-color: mix($color, $-color-white); - } - } - -} -@mixin base-plain-style($color) { - color:$color; - background-color: mix($-color-white, $color, 90%); - border-color: mix($-color-white, $color, 70%); - &:not([hover-class]):active { - background: mix($-color-white, $color, 80%); - color: $color; - outline: none; - border-color: mix($-color-white, $color, 50%); - } -} -@mixin is-plain($color){ - &[plain] { - @include base-plain-style($color); - &[loading] { - @include base-plain-style($color); - &::before { - margin-right:5px; - } - } - &[disabled] { - &, - &:active { - color: mix($-color-white, $color, 40%); - background-color: mix($-color-white, $color, 90%); - border-color: mix($-color-white, $color, 80%); - } - } - } -} - - -.uni-btn { - margin: 5px; - color: #393939; - border:1px solid #ccc; - font-size: 16px; - font-weight: 200; - background-color: #F9F9F9; - // TODO 暂时处理边框隐藏一边的问题 - overflow: visible; - &::after{ - border: none; - } - - &:not([type]),&[type=default] { - color: #999; - &[loading] { - background: none; - &::before { - margin-right:5px; - } - } - - - - &[disabled]{ - color: mix($-color-white, #999, 60%); - &, - &[loading], - &:active { - color: mix($-color-white, #999, 60%); - background-color: mix($-color-white,$-color-black , 98%); - border-color: mix($-color-white, #999, 85%); - } - } - - &[plain] { - color: #999; - background: none; - border-color: $uni-border-1; - &:not([hover-class]):active { - background: none; - color: mix($-color-white, $-color-black, 80%); - border-color: mix($-color-white, $-color-black, 90%); - outline: none; - } - &[disabled]{ - &, - &[loading], - &:active { - background: none; - color: mix($-color-white, #999, 60%); - border-color: mix($-color-white, #999, 85%); - } - } - } - } - - &:not([hover-class]):active { - color: mix($-color-white, $-color-black, 50%); - } - - &[size=mini] { - font-size: 16px; - font-weight: 200; - border-radius: 8px; - } - - - - &.uni-btn-small { - font-size: 14px; - } - &.uni-btn-mini { - font-size: 12px; - } - - &.uni-btn-radius { - border-radius: 999px; - } - &[type=primary] { - @include is-color($uni-primary); - @include is-plain($uni-primary) - } - &[type=success] { - @include is-color($uni-success); - @include is-plain($uni-success) - } - &[type=error] { - @include is-color($uni-error); - @include is-plain($uni-error) - } - &[type=warning] { - @include is-color($uni-warning); - @include is-plain($uni-warning) - } - &[type=info] { - @include is-color($uni-info); - @include is-plain($uni-info) - } -} -/* #endif */ diff --git a/uni_modules/uni-scss/styles/setting/_text.scss b/uni_modules/uni-scss/styles/setting/_text.scss deleted file mode 100644 index a34d08f..0000000 --- a/uni_modules/uni-scss/styles/setting/_text.scss +++ /dev/null @@ -1,24 +0,0 @@ -@mixin get-styles($k,$c) { - @if $k == size or $k == weight{ - font-#{$k}:#{$c} - }@else{ - #{$k}:#{$c} - } -} - -@each $key, $child in $uni-headings { - /* #ifndef APP-NVUE */ - .uni-#{$key} { - @each $k, $c in $child { - @include get-styles($k,$c) - } - } - /* #endif */ - /* #ifdef APP-NVUE */ - .container .uni-#{$key} { - @each $k, $c in $child { - @include get-styles($k,$c) - } - } - /* #endif */ -} diff --git a/uni_modules/uni-scss/styles/setting/_variables.scss b/uni_modules/uni-scss/styles/setting/_variables.scss deleted file mode 100644 index 557d3d7..0000000 --- a/uni_modules/uni-scss/styles/setting/_variables.scss +++ /dev/null @@ -1,146 +0,0 @@ -// @use "sass:math"; -@import '../tools/functions.scss'; -// 间距基础倍数 -$uni-space-root: 2 !default; -// 边框半径默认值 -$uni-radius-root:5px !default; -$uni-radius: () !default; -// 边框半径断点 -$uni-radius: map-deep-merge( - ( - 0: 0, - // TODO 当前版本暂时不支持 sm 属性 - // 'sm': math.div($uni-radius-root, 2), - null: $uni-radius-root, - 'lg': $uni-radius-root * 2, - 'xl': $uni-radius-root * 6, - 'pill': 9999px, - 'circle': 50% - ), - $uni-radius -); -// 字体家族 -$body-font-family: 'Roboto', sans-serif !default; -// 文本 -$heading-font-family: $body-font-family !default; -$uni-headings: () !default; -$letterSpacing: -0.01562em; -$uni-headings: map-deep-merge( - ( - 'h1': ( - size: 32px, - weight: 300, - line-height: 50px, - // letter-spacing:-0.01562em - ), - 'h2': ( - size: 28px, - weight: 300, - line-height: 40px, - // letter-spacing: -0.00833em - ), - 'h3': ( - size: 24px, - weight: 400, - line-height: 32px, - // letter-spacing: normal - ), - 'h4': ( - size: 20px, - weight: 400, - line-height: 30px, - // letter-spacing: 0.00735em - ), - 'h5': ( - size: 16px, - weight: 400, - line-height: 24px, - // letter-spacing: normal - ), - 'h6': ( - size: 14px, - weight: 500, - line-height: 18px, - // letter-spacing: 0.0125em - ), - 'subtitle': ( - size: 12px, - weight: 400, - line-height: 20px, - // letter-spacing: 0.00937em - ), - 'body': ( - font-size: 14px, - font-weight: 400, - line-height: 22px, - // letter-spacing: 0.03125em - ), - 'caption': ( - 'size': 12px, - 'weight': 400, - 'line-height': 20px, - // 'letter-spacing': 0.03333em, - // 'text-transform': false - ) - ), - $uni-headings -); - - - -// 主色 -$uni-primary: #2979ff !default; -$uni-primary-disable:lighten($uni-primary,20%) !default; -$uni-primary-light: lighten($uni-primary,25%) !default; - -// 辅助色 -// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 -$uni-success: #18bc37 !default; -$uni-success-disable:lighten($uni-success,20%) !default; -$uni-success-light: lighten($uni-success,25%) !default; - -$uni-warning: #f3a73f !default; -$uni-warning-disable:lighten($uni-warning,20%) !default; -$uni-warning-light: lighten($uni-warning,25%) !default; - -$uni-error: #e43d33 !default; -$uni-error-disable:lighten($uni-error,20%) !default; -$uni-error-light: lighten($uni-error,25%) !default; - -$uni-info: #8f939c !default; -$uni-info-disable:lighten($uni-info,20%) !default; -$uni-info-light: lighten($uni-info,25%) !default; - -// 中性色 -// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 -$uni-main-color: #3a3a3a !default; // 主要文字 -$uni-base-color: #6a6a6a !default; // 常规文字 -$uni-secondary-color: #909399 !default; // 次要文字 -$uni-extra-color: #c7c7c7 !default; // 辅助说明 - -// 边框颜色 -$uni-border-1: #F0F0F0 !default; -$uni-border-2: #EDEDED !default; -$uni-border-3: #DCDCDC !default; -$uni-border-4: #B9B9B9 !default; - -// 常规色 -$uni-black: #000000 !default; -$uni-white: #ffffff !default; -$uni-transparent: rgba($color: #000000, $alpha: 0) !default; - -// 背景色 -$uni-bg-color: #f7f7f7 !default; - -/* 水平间距 */ -$uni-spacing-sm: 8px !default; -$uni-spacing-base: 15px !default; -$uni-spacing-lg: 30px !default; - -// 阴影 -$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5) !default; -$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2) !default; -$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5) !default; - -// 蒙版 -$uni-mask: rgba($color: #000000, $alpha: 0.4) !default; diff --git a/uni_modules/uni-scss/styles/tools/functions.scss b/uni_modules/uni-scss/styles/tools/functions.scss deleted file mode 100644 index ac6f63e..0000000 --- a/uni_modules/uni-scss/styles/tools/functions.scss +++ /dev/null @@ -1,19 +0,0 @@ -// 合并 map -@function map-deep-merge($parent-map, $child-map){ - $result: $parent-map; - @each $key, $child in $child-map { - $parent-has-key: map-has-key($result, $key); - $parent-value: map-get($result, $key); - $parent-type: type-of($parent-value); - $child-type: type-of($child); - $parent-is-map: $parent-type == map; - $child-is-map: $child-type == map; - - @if (not $parent-has-key) or ($parent-type != $child-type) or (not ($parent-is-map and $child-is-map)){ - $result: map-merge($result, ( $key: $child )); - }@else { - $result: map-merge($result, ( $key: map-deep-merge($parent-value, $child) )); - } - } - @return $result; -}; diff --git a/uni_modules/uni-scss/theme.scss b/uni_modules/uni-scss/theme.scss deleted file mode 100644 index 80ee62f..0000000 --- a/uni_modules/uni-scss/theme.scss +++ /dev/null @@ -1,31 +0,0 @@ -// 间距基础倍数 -$uni-space-root: 2; -// 边框半径默认值 -$uni-radius-root:5px; -// 主色 -$uni-primary: #2979ff; -// 辅助色 -$uni-success: #4cd964; -// 警告色 -$uni-warning: #f0ad4e; -// 错误色 -$uni-error: #dd524d; -// 描述色 -$uni-info: #909399; -// 中性色 -$uni-main-color: #303133; -$uni-base-color: #606266; -$uni-secondary-color: #909399; -$uni-extra-color: #C0C4CC; -// 背景色 -$uni-bg-color: #f5f5f5; -// 边框颜色 -$uni-border-1: #DCDFE6; -$uni-border-2: #E4E7ED; -$uni-border-3: #EBEEF5; -$uni-border-4: #F2F6FC; - -// 常规色 -$uni-black: #000000; -$uni-white: #ffffff; -$uni-transparent: rgba($color: #000000, $alpha: 0); diff --git a/uni_modules/uni-scss/variables.scss b/uni_modules/uni-scss/variables.scss deleted file mode 100644 index 1c062d4..0000000 --- a/uni_modules/uni-scss/variables.scss +++ /dev/null @@ -1,62 +0,0 @@ -@import './styles/setting/_variables.scss'; -// 间距基础倍数 -$uni-space-root: 2; -// 边框半径默认值 -$uni-radius-root:5px; - -// 主色 -$uni-primary: #2979ff; -$uni-primary-disable:mix(#fff,$uni-primary,50%); -$uni-primary-light: mix(#fff,$uni-primary,80%); - -// 辅助色 -// 除了主色外的场景色,需要在不同的场景中使用(例如危险色表示危险的操作)。 -$uni-success: #18bc37; -$uni-success-disable:mix(#fff,$uni-success,50%); -$uni-success-light: mix(#fff,$uni-success,80%); - -$uni-warning: #f3a73f; -$uni-warning-disable:mix(#fff,$uni-warning,50%); -$uni-warning-light: mix(#fff,$uni-warning,80%); - -$uni-error: #e43d33; -$uni-error-disable:mix(#fff,$uni-error,50%); -$uni-error-light: mix(#fff,$uni-error,80%); - -$uni-info: #8f939c; -$uni-info-disable:mix(#fff,$uni-info,50%); -$uni-info-light: mix(#fff,$uni-info,80%); - -// 中性色 -// 中性色用于文本、背景和边框颜色。通过运用不同的中性色,来表现层次结构。 -$uni-main-color: #3a3a3a; // 主要文字 -$uni-base-color: #6a6a6a; // 常规文字 -$uni-secondary-color: #909399; // 次要文字 -$uni-extra-color: #c7c7c7; // 辅助说明 - -// 边框颜色 -$uni-border-1: #F0F0F0; -$uni-border-2: #EDEDED; -$uni-border-3: #DCDCDC; -$uni-border-4: #B9B9B9; - -// 常规色 -$uni-black: #000000; -$uni-white: #ffffff; -$uni-transparent: rgba($color: #000000, $alpha: 0); - -// 背景色 -$uni-bg-color: #f7f7f7; - -/* 水平间距 */ -$uni-spacing-sm: 8px; -$uni-spacing-base: 15px; -$uni-spacing-lg: 30px; - -// 阴影 -$uni-shadow-sm:0 0 5px rgba($color: #d8d8d8, $alpha: 0.5); -$uni-shadow-base:0 1px 8px 1px rgba($color: #a5a5a5, $alpha: 0.2); -$uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5); - -// 蒙版 -$uni-mask: rgba($color: #000000, $alpha: 0.4); diff --git a/uni_modules/uni-transition/changelog.md b/uni_modules/uni-transition/changelog.md deleted file mode 100644 index faaf336..0000000 --- a/uni_modules/uni-transition/changelog.md +++ /dev/null @@ -1,24 +0,0 @@ -## 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 deleted file mode 100644 index 8f89b18..0000000 --- a/uni_modules/uni-transition/components/uni-transition/createAnimation.js +++ /dev/null @@ -1,131 +0,0 @@ -// 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 deleted file mode 100644 index f3ddd1f..0000000 --- a/uni_modules/uni-transition/components/uni-transition/uni-transition.vue +++ /dev/null @@ -1,286 +0,0 @@ - - - - - diff --git a/uni_modules/uni-transition/package.json b/uni_modules/uni-transition/package.json deleted file mode 100644 index d5c20e1..0000000 --- a/uni_modules/uni-transition/package.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "id": "uni-transition", - "displayName": "uni-transition 过渡动画", - "version": "1.3.3", - "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" - }, - "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 deleted file mode 100644 index 2f8a77e..0000000 --- a/uni_modules/uni-transition/readme.md +++ /dev/null @@ -1,11 +0,0 @@ - - -## 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/build/web.zip b/unpackage/dist/build/web.zip deleted file mode 100644 index 8c38332..0000000 Binary files a/unpackage/dist/build/web.zip and /dev/null differ diff --git a/unpackage/dist/build/web/assets/bg-3NzT_zCy.png b/unpackage/dist/build/web/assets/bg-3NzT_zCy.png deleted file mode 100644 index 6ab8a3b..0000000 Binary files a/unpackage/dist/build/web/assets/bg-3NzT_zCy.png and /dev/null differ diff --git a/unpackage/dist/build/web/assets/index-BgCuxJG8.css b/unpackage/dist/build/web/assets/index-BgCuxJG8.css deleted file mode 100644 index ed8fe4a..0000000 --- a/unpackage/dist/build/web/assets/index-BgCuxJG8.css +++ /dev/null @@ -1 +0,0 @@ -*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px} diff --git a/unpackage/dist/build/web/assets/index-CMpkHqXW.js b/unpackage/dist/build/web/assets/index-CMpkHqXW.js deleted file mode 100644 index c4073db..0000000 --- a/unpackage/dist/build/web/assets/index-CMpkHqXW.js +++ /dev/null @@ -1,25 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./pages-index-index.D7oNekXg.js","./index-CrO10ol2.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,b=e=>(_(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),S=e=>"[object Object]"===x(e),C=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=k((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),$=/\B([A-Z])/g,L=k((e=>e.replace($,"-$1").toLowerCase())),A=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=k((e=>e?`on${A(e)}`:"")),M=(e,t)=>!Object.is(e,t),N=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},I=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let R;const B=()=>R||(R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function F(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(W);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function D(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;nv(e)?e:null==e?"":p(e)||_(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:y(t)?K(t):!_(t)||p(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e)),Z=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),G=["list-item"].map((e=>"uni-"+e));function Q(e){if(-1!==G.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const ee=/^([a-z-]+:)?\/\//i,te=/^data:.*,.*/;function ne(e){if(!e)return;let t=e.type.name;for(;t&&Q(L(t));)t=(e=e.parent).type.name;return e.proxy}function oe(e){return 1===e.nodeType}function re(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),F(t)}if(v(e))return z(e);if(p(e)){const t={};for(let n=0;n{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function ce(e){return O(e.substring(5))}const ue=le((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[ce(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[ce(e)],n.call(this,e)}}));function de(e){return c({},e.dataset,e.__uniDataset)}const fe=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function pe(e){return{passive:e}}function he(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:de(e),offsetTop:n,offsetLeft:o}}function ge(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function me(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=ge(e[n])}catch(o){t[n]=e[n]}})),t}const ve=/\+/g;function ye(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o{if(m(e._component.onError))return t(e)})),Ce=function(){};Ce.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o=0;i--)if(o[i].fn===t||o[i].fn._===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var Te=Ce;const ke={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ee(e,t={},n="light"){const o=t[n],r={};return o?(Object.keys(e).forEach((i=>{let s=e[i];r[i]=(()=>{if(S(s))return Ee(s,t,n);if(p(s))return s.map((e=>S(e)?Ee(e,t,n):e));if(v(s)&&s.startsWith("@")){const t=s.replace("@","");let n=o[t]||s;switch(i){case"titleColor":n="black"===n?"#000000":"#ffffff";break;case"borderStyle":n=(e=n)&&e in ke?ke[e]:e}return n}var e;return s})()})),r):e} -/** -* @dcloudio/uni-h5-vue v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Oe,$e;class Le{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oe,!e&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Oe;try{return Oe=this,e()}finally{Oe=t}}}on(){Oe=this}off(){Oe=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ve()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ie,t=$e;try{return Ie=!0,$e=this,this._runnings++,Me(this),this.fn()}finally{Ne(this),this._runnings--,$e=t,Ie=e}}stop(){var e;this.active&&(Me(this),Ne(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Me(e){e._trackId++,e._depsLength=0}function Ne(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Xe=new WeakMap,Ye=Symbol(""),Ke=Symbol("");function Je(e,t,n){if(Ie&&$e){let t=Xe.get(e);t||Xe.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=qe((()=>t.delete(n)))),ze($e,o)}}function Ze(e,t,n,o,r,i){const s=Xe.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?C(n)&&a.push(s.get("length")):(a.push(s.get(Ye)),h(e)&&a.push(s.get(Ke)));break;case"delete":p(e)||(a.push(s.get(Ye)),h(e)&&a.push(s.get(Ke)));break;case"set":h(e)&&a.push(s.get(Ye))}We();for(const l of a)l&&Ue(l,4);He()}const Ge=n("__proto__,__v_isRef,__isVue"),Qe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),et=tt();function tt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ht(this);for(let t=0,r=this.length;t{e[t]=function(...e){Fe(),We();const n=Ht(this)[t].apply(this,e);return He(),Ve(),n}})),e}function nt(e){const t=Ht(this);return Je(t,0,e),t.hasOwnProperty(e)}class ot{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Mt:Pt:r?At:Lt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(et,t))return Reflect.get(et,t,n);if("hasOwnProperty"===t)return nt}const s=Reflect.get(e,t,n);return(y(t)?Qe.has(t):Ge(t))?s:(o||Je(e,0,t),r?s:Kt(s)?i&&C(t)?s:s.value:_(s)?o?It(s):jt(s):s)}}class rt extends ot{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Ft(r);if(Vt(n)||Ft(n)||(r=Ht(r),n=Ht(n)),!p(e)&&Kt(r)&&!Kt(n))return!t&&(r.value=n,!0)}const i=p(e)&&C(t)?Number(t)e,ut=e=>Reflect.getPrototypeOf(e);function dt(e,t,n=!1,o=!1){const r=Ht(e=e.__v_raw),i=Ht(t);n||(M(t,i)&&Je(r,0,t),Je(r,0,i));const{has:s}=ut(r),a=o?ct:n?Ut:Dt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function ft(e,t=!1){const n=this.__v_raw,o=Ht(n),r=Ht(e);return t||(M(e,r)&&Je(o,0,e),Je(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function pt(e,t=!1){return e=e.__v_raw,!t&&Je(Ht(e),0,Ye),Reflect.get(e,"size",e)}function ht(e){e=Ht(e);const t=Ht(this);return ut(t).has.call(t,e)||(t.add(e),Ze(t,"add",e,e)),this}function gt(e,t){t=Ht(t);const n=Ht(this),{has:o,get:r}=ut(n);let i=o.call(n,e);i||(e=Ht(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?M(t,s)&&Ze(n,"set",e,t):Ze(n,"add",e,t),this}function mt(e){const t=Ht(this),{has:n,get:o}=ut(t);let r=n.call(t,e);r||(e=Ht(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Ze(t,"delete",e,void 0),i}function vt(){const e=Ht(this),t=0!==e.size,n=e.clear();return t&&Ze(e,"clear",void 0,void 0),n}function yt(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Ht(i),a=t?ct:e?Ut:Dt;return!e&&Je(s,0,Ye),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function _t(e,t,n){return function(...o){const r=this.__v_raw,i=Ht(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?ct:t?Ut:Dt;return!t&&Je(i,0,l?Ke:Ye),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function bt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function wt(){const e={get(e){return dt(this,e)},get size(){return pt(this)},has:ft,add:ht,set:gt,delete:mt,clear:vt,forEach:yt(!1,!1)},t={get(e){return dt(this,e,!1,!0)},get size(){return pt(this)},has:ft,add:ht,set:gt,delete:mt,clear:vt,forEach:yt(!1,!0)},n={get(e){return dt(this,e,!0)},get size(){return pt(this,!0)},has(e){return ft.call(this,e,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:yt(!0,!1)},o={get(e){return dt(this,e,!0,!0)},get size(){return pt(this,!0)},has(e){return ft.call(this,e,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:yt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=_t(r,!1,!1),n[r]=_t(r,!0,!1),t[r]=_t(r,!1,!0),o[r]=_t(r,!0,!0)})),[e,n,t,o]}const[xt,St,Ct,Tt]=wt();function kt(e,t){const n=t?e?Tt:Ct:e?St:xt;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Et={get:kt(!1,!1)},Ot={get:kt(!1,!0)},$t={get:kt(!0,!1)},Lt=new WeakMap,At=new WeakMap,Pt=new WeakMap,Mt=new WeakMap;function Nt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function jt(e){return Ft(e)?e:Rt(e,!1,st,Et,Lt)}function It(e){return Rt(e,!0,at,$t,Pt)}function Rt(e,t,n,o,r){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Nt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Bt(e){return Ft(e)?Bt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ft(e){return!(!e||!e.__v_isReadonly)}function Vt(e){return!(!e||!e.__v_isShallow)}function Wt(e){return Bt(e)||Ft(e)}function Ht(e){const t=e&&e.__v_raw;return t?Ht(t):e}function zt(e){return Object.isExtensible(e)&&j(e,"__v_skip",!0),e}const Dt=e=>_(e)?jt(e):e,Ut=e=>_(e)?It(e):e;class qt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Pe((()=>e(this._value)),(()=>Yt(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Ht(this);return e._cacheable&&!e.effect.dirty||!M(e._value,e._value=e.effect.run())||Yt(e,4),Xt(e),e.effect._dirtyLevel>=2&&Yt(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Xt(e){var t;Ie&&$e&&(e=Ht(e),ze($e,null!=(t=e.dep)?t:e.dep=qe((()=>e.dep=void 0),e instanceof qt?e:void 0)))}function Yt(e,t=4,n){const o=(e=Ht(e)).dep;o&&Ue(o,t)}function Kt(e){return!(!e||!0!==e.__v_isRef)}function Jt(e){return function(e,t){if(Kt(e))return e;return new Zt(e,t)}(e,!1)}class Zt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ht(e),this._value=t?e:Dt(e)}get value(){return Xt(this),this._value}set value(e){const t=this.__v_isShallow||Vt(e)||Ft(e);e=t?e:Ht(e),M(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Dt(e),Yt(this,4))}}const Gt={get:(e,t,n)=>{return Kt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const r=e[t];return Kt(r)&&!Kt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Qt(e){return Bt(e)?e:new Proxy(e,Gt)}function en(e,t,n,o){try{return o?e(...o):e()}catch(r){nn(r,t,n)}}function tn(e,t,n,o){if(m(e)){const r=en(e,t,n,o);return r&&b(r)&&r.catch((e=>{nn(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=sn[o],i=yn(r);iyn(e)-yn(t)));if(ln.length=0,cn)return void cn.push(...e);for(cn=e,un=0;unnull==e.id?1/0:e.id,_n=(e,t)=>{const n=yn(e)-yn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bn(e){rn=!1,on=!0,sn.sort(_n);try{for(an=0;anv(e)?e.trim():e))),t&&(i=n.map(I))}let l,c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P(L(t))]),c&&tn(c,e,6,xn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,tn(u,e,6,xn(e,u,i))}}function xn(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Sn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!m(e)){const o=e=>{const n=Sn(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(p(i)?i.forEach((e=>s[e]=null)):c(s,i),_(e)&&o.set(e,s),s):(_(e)&&o.set(e,null),null)}function Cn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,L(t))||f(e,t))}let Tn=null,kn=null;function En(e){const t=Tn;return Tn=e,kn=e&&e.type.__scopeId||null,t}function On(e,t=Tn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&kr(-1);const r=En(t);let i;try{i=e(...n)}finally{En(r),o._d&&kr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function $n(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const _=En(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=Br(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=Br(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Ln(c)}}catch(w){xr.length=0,nn(w,e,1),v=Nr(br)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(l)&&(y=An(y,s)),b=jr(b,y))}return n.dirs&&(b=jr(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,En(_),v}const Ln=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},An=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Pn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r{e(...t),k()}}const d=Ur,f=e=>!0===r?e:Un(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(Kt(e)?(h=()=>e.value,v=Vt(e)):Bt(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>Bt(e)||Vt(e))),h=()=>e.map((e=>Kt(e)?e.value:Bt(e)?f(e):m(e)?en(e,d,2):void 0))):h=m(e)?t?()=>en(e,d,2):()=>(g&&g(),tn(e,d,3,[b])):i,t&&r){const e=h;h=()=>Un(e())}let _,b=e=>{g=C.onStop=()=>{en(e,d,4),g=C.onStop=void 0}};if(Gr){if(b=i,t?n&&tn(t,d,3,[h(),y?[]:void 0,b]):h(),"sync"!==s)return i;{const e=Zo(Bn);_=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Vn):Vn;const x=()=>{if(C.active&&C.dirty)if(t){const e=C.run();(r||v||(y?e.some(((e,t)=>M(e,w[t]))):M(e,w)))&&(g&&g(),tn(t,d,3,[e,w===Vn?void 0:y&&w[0]===Vn?[]:w,b]),w=e)}else C.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>fr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>hn(x));const C=new Pe(h,i,S),T=Oe,k=()=>{C.stop(),T&&u(T.effects,C)};return t?n?x():w=C.run():"post"===s?fr(C.run.bind(C),d&&d.suspense):C.run(),_&&_.push(k),k}function zn(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?Dn(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const s=Kr(this),a=Hn(r,i.bind(o),n);return s(),a}function Dn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Kt(e))Un(e.value,t,n,o);else if(p(e))for(let r=0;r{Un(e,t,n,o)}));else if(S(e))for(const r in e)Un(e[r],t,n,o);return e}function qn(e,t){if(null===Tn)return e;const n=ti(Tn)||Tn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),wo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&ro(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==br){i=e;break}const s=Ht(e),{mode:a}=s;if(o.isLeaving)return to(i);const l=no(i);if(!l)return to(i);const c=eo(l,s,o,n);oo(l,c);const u=n.subTree,d=u&&no(u);if(d&&d.type!==br&&!Lr(l,d)){const e=eo(d,s,o,n);if(oo(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},to(i);"in-out"===a&&l.type!==br&&(e.delayLeave=(e,t,n)=>{Qn(o,d)[String(d.key)]=d,e[Yn]=()=>{t(),e[Yn]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function Qn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function eo(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=Qn(n,e),x=(e,t)=>{e&&tn(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[Yn]&&t[Yn](!0);const i=w[b];i&&Lr(e,i)&&i.el[Yn]&&i.el[Yn](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=_||u}let s=!1;const a=e[Kn]=t=>{s||(s=!0,x(t?i:o,[e]),C.delayedLeave&&C.delayedLeave(),e[Kn]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[Kn]&&t[Kn](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[Yn]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[Yn]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?S(f,[t,s]):s()},clone:e=>eo(e,t,n,o)};return C}function to(e){if(co(e))return(e=jr(e)).children=null,e}function no(e){return co(e)?e.children?e.children[0]:void 0:e}function oo(e,t){6&e.shapeFlag&&e.component?oo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ro(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ic({name:e.name},t,{setup:e}))():e}const so=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;function ao(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return io({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=Ur;if(l)return()=>lo(l,e);const t=t=>{c=null,nn(t,e,13,!o)};if(s&&e.suspense||Gr)return d().then((t=>()=>lo(t,e))).catch((e=>(t(e),()=>o?Nr(o,{error:e}):null)));const a=Jt(!1),u=Jt(),f=Jt(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&co(e.parent.vnode)&&(e.parent.effect.dirty=!0,hn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?lo(l,e):u.value&&o?Nr(o,{error:u.value}):n&&!f.value?Nr(n):void 0}})}function lo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=Nr(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const co=e=>e.type.__isKeepAlive;function uo(e,t){po(e,"a",t)}function fo(e,t){po(e,"da",t)}function po(e,t,n=Ur){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,go(t,o,n),n){let e=n.parent;for(;e&&e.parent;)co(e.parent.vnode)&&ho(o,t,n,e),e=e.parent}}function ho(e,t,n,o){const r=go(t,e,o,!0);xo((()=>{u(o[t],r)}),n)}function go(e,t,n=Ur,o=!1){if(n){if(r=e,be.indexOf(r)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;tn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Fe();const r=Kr(n),i=tn(t,n,e,o);return r(),Ve(),i});return o?i.unshift(s):i.push(s),s}var r}const mo=e=>(t,n=Ur)=>(!Gr||"sp"===e)&&go(e,((...e)=>t(...e)),n),vo=mo("bm"),yo=mo("m"),_o=mo("bu"),bo=mo("u"),wo=mo("bum"),xo=mo("um"),So=mo("sp"),Co=mo("rtg"),To=mo("rtc");function ko(e,t=Ur){go("ec",e,t)}function Eo(e,t,n={},o,r){if(Tn.isCE||Tn.parent&&so(Tn.parent)&&Tn.parent.isCE)return"default"!==t&&(n.name=t),Nr("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),Cr();const s=i&&Oo(i(n)),a=Or(yr,{key:n.key||s&&s.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Oo(e){return e.some((e=>!$r(e)||e.type!==br&&!(e.type===yr&&!Oo(e.children))))?e:null}const $o=e=>{if(!e)return null;if(Zr(e)){return ti(e)||e.proxy}return $o(e.parent)},Lo=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$o(e.parent),$root:e=>$o(e.root),$emit:e=>e.emit,$options:e=>Bo(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,hn(e.update)})(e)),$nextTick:e=>e.n||(e.n=pn.bind(e.proxy)),$watch:e=>zn.bind(e)}),Ao=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Po={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Ao(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];No&&(a[t]=0)}}const d=Lo[t];let p,h;return d?("$attrs"===t&&Je(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Ao(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Ao(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Lo,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mo(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let No=!0;function jo(e){const t=Bo(e),n=e.proxy,o=e.ctx;No=!1,t.beforeCreate&&Io(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:C,render:T,renderTracked:k,renderTriggered:E,errorCaptured:O,serverPrefetch:$,expose:L,inheritAttrs:A,components:P,directives:M,filters:N}=t;if(u&&function(e,t,n=i){p(e)&&(e=Ho(e));for(const o in e){const n=e[o];let r;r=_(n)?"default"in n?Zo(n.from||o,n.default,!0):Zo(n.from||o):Zo(n),Kt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);_(t)&&(e.data=jt(t))}if(No=!0,s)for(const p in s){const e=s[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,a=oi({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)Ro(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Jo(t,e[t])}))}function j(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Io(d,e,"c"),j(vo,f),j(yo,h),j(_o,g),j(bo,v),j(uo,y),j(fo,b),j(ko,O),j(To,k),j(Co,E),j(wo,x),j(xo,C),j(So,$),p(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===i&&(e.render=T),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),M&&(e.directives=M);const I=e.appContext.config.globalProperties.$applyOptions;I&&I(t,e,n)}function Io(e,t,n){tn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ro(e,t,n,o){const r=o.includes(".")?Dn(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Wn(r,n)}else if(m(e))Wn(r,e.bind(n));else if(_(e))if(p(e))e.forEach((e=>Ro(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Wn(r,o,e)}}function Bo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>Fo(l,e,s,!0))),Fo(l,t,s)):l=t,_(t)&&i.set(t,l),l}function Fo(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Fo(e,i,n,!0),r&&r.forEach((t=>Fo(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=Vo[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Vo={data:Wo,props:Uo,emits:Uo,methods:Do,computed:Do,beforeCreate:zo,created:zo,beforeMount:zo,mounted:zo,beforeUpdate:zo,updated:zo,beforeDestroy:zo,beforeUnmount:zo,destroyed:zo,unmounted:zo,activated:zo,deactivated:zo,errorCaptured:zo,serverPrefetch:zo,components:Do,directives:Do,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=zo(e[o],t[o]);return n},provide:Wo,inject:function(e,t){return Do(Ho(e),Ho(t))}};function Wo(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Ho(e){if(p(e)){const t={};for(let n=0;n(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(a,...t)):m(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=Nr(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,ti(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=Ko;Ko=a;try{return e()}finally{Ko=t}}};return a}}let Ko=null;function Jo(e,t){if(Ur){let n=Ur.provides;const o=Ur.parent&&Ur.parent.provides;o===n&&(n=Ur.provides=Object.create(o)),n[e]=t,"app"===Ur.type.mpType&&Ur.appContext.app.provide(e,t)}else;}function Zo(e,t,n=!1){const o=Ur||Tn;if(o||Ko){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ko._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function Go(e,t,n,o=!1){const r={},i={};j(i,Ar,1),e.propsDefaults=Object.create(null),Qo(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Rt(r,!1,lt,Ot,At):e.type.props?e.props=r:e.props=i,e.attrs=i}function Qo(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(T(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Cn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=Ht(n),r=a||o;for(let o=0;o{d=!0;const[n,o]=tr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return _(e)&&i.set(e,r),r;if(p(a))for(let r=0;r-1,n[1]=o<0||t-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return _(e)&&i.set(e,h),h}function nr(e){return"$"!==e[0]&&!T(e)}function or(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function rr(e,t){return or(e)===or(t)}function ir(e,t){return p(t)?t.findIndex((t=>rr(t,e))):m(t)&&rr(t,e)?0:-1}const sr=e=>"_"===e[0]||"$stable"===e,ar=e=>p(e)?e.map(Br):[Br(e)],lr=(e,t,n)=>{if(t._n)return t;const o=On(((...e)=>ar(t(...e))),n);return o._c=!1,o},cr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(sr(r))continue;const n=e[r];if(m(n))t[r]=lr(0,n,o);else if(null!=n){const e=ar(n);t[r]=()=>e}}},ur=(e,t)=>{const n=ar(t);e.slots.default=()=>n};function dr(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>dr(e,t&&(p(t)?t[o]:t),n,r,i)));if(so(r)&&!i)return;const s=4&r.shapeFlag?ti(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(g,d)&&(g[d]=null)):Kt(d)&&(d.value=null)),m(c))en(c,l,12,[a,h]);else{const t=v(c),o=Kt(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,fr(r,n)):r()}}}const fr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?ln.push(...n):cn&&cn.includes(n,n.allowRecurse?un+1:un)||ln.push(n),gn())};function pr(e){return function(e,t){B().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:_}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Lr(e,t)&&(o=te(e),J(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case _r:x(e,t,n,o);break;case br:S(e,t,n,o);break;case wr:null==e&&C(t,n,o,s);break;case yr:V(e,t,n,o,r,i,s,a,l);break;default:1&d?$(e,t,n,o,r,i,s,a,l):6&d?W(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&dr(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=_(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},$=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):I(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&M(e.children,d,null,r,i,hr(e,s),l,c),v&&Xn(e,null,r,"created"),P(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||T(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&Hr(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&Xn(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&fr((()=>{f&&Hr(f,r,e),y&&m.enter(d),v&&Xn(e,null,r,"mounted")}),i)},P=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&gr(n,!1),(v=m.onVnodeBeforeUpdate)&&Hr(v,n,t,e),p&&Xn(t,e,n,"beforeUpdate"),n&&gr(n,!0),f?R(e.dynamicChildren,f,u,n,r,hr(t,i),s):c||q(e,t,u,null,n,r,hr(t,i),s,!1),d>0){if(16&d)F(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t{v&&Hr(v,n,t,e),p&&Xn(t,e,n,"updated")}),r)},R=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o)for(const o in n)T(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(T(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},V=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),M(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&mr(e,t,!0)):q(e,t,o,f,i,s,a,l,c)},W=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):H(t,n,o,r,i,s,l):z(e,t,l)},H=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||zr,s={uid:Dr++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Le(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tr(r,i),emitsOptions:Sn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=wn.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(co(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&Yr(t);const{props:n,children:o}=e.vnode,r=Zr(e);Go(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ht(t),j(t,"_",n)):cr(t,e.slots={})}else e.slots={},t&&ur(e,t);j(e.slots,Ar,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=zt(new Proxy(e.ctx,Po));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Je(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=Kr(e);Fe();const i=en(o,e,0,[e.props,n]);if(Ve(),r(),b(i)){if(i.then(Jr,Jr),t)return i.then((n=>{Qr(e,n,t)})).catch((t=>{nn(t,e,0)}));e.asyncDep=i}else Qr(e,i,t)}else ei(e,t)}(e,t):void 0;t&&Yr(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,D),!e.el){const e=l.subTree=Nr(br);S(null,e,t,n)}}else D(l,e,t,n,i,s,a)},z=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Pn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Pn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tan&&sn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},D=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=vr(e);if(n)return t&&(t.el=c.el,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;gr(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&N(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Hr(u,i,t,c),gr(e,!0);const f=$n(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&fr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&fr((()=>Hr(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=so(t);if(gr(e,!1),c&&N(c),!f&&(i=l&&l.onVnodeBeforeMount)&&Hr(i,d,t),gr(e,!0),a&&se){const n=()=>{e.subTree=$n(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=$n(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&fr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;fr((()=>Hr(i,d,e)),r)}(256&t.shapeFlag||d&&so(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&function(e){for(let t=0;thn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,gr(e,!0),u()},U=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Ht(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;Qo(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=L(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=er(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,cr(t,i)),a=t}else t&&(ur(e,t),a={default:1});if(s)for(const o in i)sr(o)||null!=a[o]||delete i[o]})(e,t.children,n),Fe(),mn(e),Ve()},q=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void Y(c,d,n,o,r,i,s,a,l);if(256&f)return void X(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?Y(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&M(d,n,o,r,i,s,a,l))},X=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?ee(e,i,s,!0,!1,f):M(t,n,o,i,s,a,l,c,f)},Y=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?Fr(t[u]):Br(t[u]);if(!Lr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?Fr(t[p]):Br(t[p]);if(!Lr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=ep)for(;u<=f;)J(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?Fr(t[u]):Br(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const _=p-g+1;let b=!1,x=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=_){J(o,i,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&Lr(o,t[v])){r=v;break}void 0===r?J(o,i,s,!0):(S[r-g]=u+1,r>=x?x=r:b=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const C=b?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):r;for(v=C.length-1,u=_-1;u>=0;u--){const e=g+u,r=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===yr){n(s,t,o);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},J=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&dr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!so(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&Hr(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&Xn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==yr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===yr&&384&d||!r&&16&u)&&ee(l,t,n),o&&Z(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&fr((()=>{g&&Hr(g,t,e),p&&Xn(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===yr)return void G(n,o);if(t===wr)return void E(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},G=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&N(o),r.stop(),i&&(i.active=!1,J(s,e,t,n)),a&&fr(a,t),fr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,mn(),vn(),ne=!1),t._vnode=e},re={p:w,um:J,m:K,r:Z,mt:H,mc:M,pc:q,pbc:R,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:Yo(oe,ie)}}(e)}function hr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i0?Sr||r:null,xr.pop(),Sr=xr[xr.length-1]||null,Tr>0&&Sr&&Sr.push(e),e}function Or(e,t,n,o,r){return Er(Nr(e,t,n,o,r,!0))}function $r(e){return!!e&&!0===e.__v_isVNode}function Lr(e,t){return e.type===t.type&&e.key===t.key}const Ar="__vInternal",Pr=({key:e})=>null!=e?e:null,Mr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||Kt(e)||m(e)?{i:Tn,r:e,k:t,f:!!n}:e:null);const Nr=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Nn||(e=br);if($r(e)){const o=jr(e,t,!0);return n&&Vr(o,n),Tr>0&&!i&&Sr&&(6&o.shapeFlag?Sr[Sr.indexOf(e)]=o:Sr.push(o)),o.patchFlag|=-2,o}s=e,m(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Wt(e)||Ar in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ie(e)),_(n)&&(Wt(n)&&!p(n)&&(n=c({},n)),t.style=re(n))}const a=v(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:m(e)?2:0;return function(e,t=null,n=null,o=0,r=null,i=(e===yr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pr(t),ref:t&&Mr(t),scopeId:kn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Tn};return a?(Vr(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Tr>0&&!s&&Sr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Sr.push(l),l}(e,t,n,o,r,a,i,!0)};function jr(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?Wr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Pr(a),ref:t&&t.ref?n&&r?p(r)?r.concat(Mr(t)):[r,Mr(t)]:Mr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==yr?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&jr(e.ssContent),ssFallback:e.ssFallback&&jr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ir(e=" ",t=0){return Nr(_r,null,e,t)}function Rr(e="",t=!1){return t?(Cr(),Or(br,null,e)):Nr(br,null,e)}function Br(e){return null==e||"boolean"==typeof e?Nr(br):p(e)?Nr(yr,null,e.slice()):"object"==typeof e?Fr(e):Nr(_r,null,String(e))}function Fr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:jr(e)}function Vr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Vr(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Ar in t?3===o&&Tn&&(1===Tn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Tn}}else m(t)?(t={default:t,_ctx:Tn},n=32):(t=String(t),64&o?(n=16,t=[Ir(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wr(...e){const t={};for(let n=0;nUr||Tn;let Xr,Yr;{const e=B(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Xr=t("__VUE_INSTANCE_SETTERS__",(e=>Ur=e)),Yr=t("__VUE_SSR_SETTERS__",(e=>Gr=e))}const Kr=e=>{const t=Ur;return Xr(e),e.scope.on(),()=>{e.scope.off(),Xr(t)}},Jr=()=>{Ur&&Ur.scope.off(),Xr(null)};function Zr(e){return 4&e.vnode.shapeFlag}let Gr=!1;function Qr(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=Qt(t)),ei(e,n)}function ei(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=Kr(e);Fe();try{jo(e)}finally{Ve(),t()}}}function ti(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qt(zt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Lo?Lo[n](e):void 0,has:(e,t)=>t in e||t in Lo}))}function ni(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const oi=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=m(e);return s?(o=e,r=i):(o=e.get,r=e.set),new qt(o,r,s||!r,n)}(e,0,Gr);return n};const ri="3.4.21",ii="undefined"!=typeof document?document:null,si=ii&&ii.createElement("template"),ai={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?ii.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ii.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ii.createElement(e,{is:n}):ii.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>ii.createTextNode(e),createComment:e=>ii.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ii.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{si.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=si.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},li="transition",ci=Symbol("_vtc"),ui=(e,{slots:t})=>function(e,t,n){const o=arguments.length;return 2===o?_(t)&&!p(t)?$r(t)?Nr(e,null,[t]):Nr(e,t):Nr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&$r(n)&&(n=[n]),Nr(e,t,n))}(Gn,function(e){const t={};for(const c in e)c in di||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(_(e))return[hi(e.enter),hi(e.leave)];{const t=hi(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=y,onAppear:T=b,onAppearCancelled:k=w}=t,E=(e,t,n)=>{mi(e,t?d:a),mi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,mi(e,f),mi(e,h),mi(e,p),t&&t()},$=e=>(t,n)=>{const r=e?T:b,s=()=>E(t,e,n);fi(r,[t,s]),vi((()=>{mi(t,e?l:i),gi(t,e?d:a),pi(r)||_i(t,o,m,s)}))};return c(t,{onBeforeEnter(e){fi(y,[e]),gi(e,i),gi(e,s)},onBeforeAppear(e){fi(C,[e]),gi(e,l),gi(e,u)},onEnter:$(!1),onAppear:$(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);gi(e,f),document.body.offsetHeight,gi(e,p),vi((()=>{e._isLeaving&&(mi(e,f),gi(e,h),pi(x)||_i(e,o,v,n))})),fi(x,[e,n])},onEnterCancelled(e){E(e,!1),fi(w,[e])},onAppearCancelled(e){E(e,!0),fi(k,[e])},onLeaveCancelled(e){O(e),fi(S,[e])}})}(e),t);ui.displayName="Transition";const di={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ui.props=c({},Zn,di);const fi=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},pi=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function hi(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function gi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[ci]||(e[ci]=new Set)).add(t)}function mi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[ci];n&&(n.delete(t),n.size||(e[ci]=void 0))}function vi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let yi=0;function _i(e,t,n,o){const r=e._endId=++yi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=bi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=bi(a,l);let u=null,d=0,f=0;t===li?s>0&&(u=li,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?li:"animation":null,f=u?u===li?i.length:l.length:0);const p=u===li&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uwi(t)+wi(e[n]))))}function wi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const xi=Symbol("_vod"),Si=Symbol("_vsh"),Ci={beforeMount(e,{value:t},{transition:n}){e[xi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ti(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ti(e,!0),o.enter(e)):o.leave(e,(()=>{Ti(e,!1)})):Ti(e,t))},beforeUnmount(e,{value:t}){Ti(e,t)}};function Ti(e,t){e.style.display=t?e[xi]:"none",e[Si]=!t}const ki=Symbol(""),Ei=/(^|;)\s*display\s*:/;const Oi=/\s*!important$/;function $i(e,t,n){if(p(n))n.forEach((n=>$i(e,t,n)));else if(null==n&&(n=""),n=Fi(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Ai[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return Ai[t]=o;o=A(o);for(let r=0;re.replace(fe,((e,t)=>{if(!t)return e;if(1===Ri)return`${t}${Ii}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Ri,Bi);return 0===n?"0":`${n}${Ii}`})));var Ii,Ri,Bi;const Fi=e=>v(e)?ji(e):e,Vi="http://www.w3.org/1999/xlink";const Wi=Symbol("_vei");function Hi(e,t,n,o,r=null){const i=e[Wi]||(e[Wi]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(zi.test(e)){let n;for(t={};n=e.match(zi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):L(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=qi(e,i);for(let o=0;oDi||(Ui.then((()=>Di=0)),Di=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const zi=/(?:Once|Passive|Capture)$/;let Di=0;const Ui=Promise.resolve();function qi(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const Xi=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Yi=["ctrl","shift","alt","meta"],Ki={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Yi.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ji=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;pn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[ci];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&$i(o,t,"")}else for(const e in t)null==n[e]&&$i(o,e,"");for(const e in n)"display"===e&&(i=!0),$i(o,e,n[e])}else if(r){if(t!==n){const e=o[ki];e&&(n+=";"+e),o.cssText=n,i=Ei.test(n)}}else t&&e.removeAttribute("style");xi in e&&(e[xi]=i?o.display:"",e[Si]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)$i(o,a,s[a])}(e,n,o):a(t)?l(t)||Hi(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Xi(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Xi(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=q(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Vi,t.slice(6,t.length)):e.setAttributeNS(Vi,t,n);else{const o=U(t);null==n||o&&!q(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},ai);let Gi;const Qi=(...e)=>{const t=(Gi||(Gi=pr(Zi))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e}(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const es=["{","}"];const ts=/^(?:\d)+/,ns=/^(?:\w)+/;const os=Object.prototype.hasOwnProperty,rs=(e,t)=>os.call(e,t),is=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=es){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class as{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||is,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ss(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{rs(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=ss(t,this.messages))&&(o=this.messages[t]):n=t,rs(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ls(e,t={},n,o){"string"!=typeof e&&([e,t]=[t,e]),"string"!=typeof e&&(e="undefined"!=typeof uni&&Yl?Yl():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new as({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=uu().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}} -/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */var cs,us,ds,fs;(us=cs||(cs={})).pop="pop",us.push="push",(fs=ds||(ds={})).back="back",fs.forward="forward",fs.unknown="";Symbol("");var ps,hs;(hs=ps||(ps={}))[hs.aborted=4]="aborted",hs[hs.cancelled=8]="cancelled",hs[hs.duplicated=16]="duplicated";const gs=le((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ms;function vs(){if(!ms){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ms=ls(e),gs()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ms.add(e,__uniConfig.locales[e]))),ms.setLocale(e)}}return ms}function ys(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const _s=le((()=>{const e="uni.async.",t=["error"];vs().add("en",ys(e,t,["The connection timed out, click the screen to try again."]),!1),vs().add("es",ys(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),vs().add("fr",ys(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),vs().add("zh-Hans",ys(e,t,["连接服务器超时,点击屏幕重试"]),!1),vs().add("zh-Hant",ys(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),bs=le((()=>{const e="uni.showToast.",t=["unpaired"];vs().add("en",ys(e,t,["Please note showToast must be paired with hideToast"]),!1),vs().add("es",ys(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),vs().add("fr",ys(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),vs().add("zh-Hans",ys(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),vs().add("zh-Hant",ys(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),ws=le((()=>{const e="uni.showLoading.",t=["unpaired"];vs().add("en",ys(e,t,["Please note showLoading must be paired with hideLoading"]),!1),vs().add("es",ys(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),vs().add("fr",ys(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),vs().add("zh-Hans",ys(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),vs().add("zh-Hant",ys(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),xs=le((()=>{const e="uni.showModal.",t=["cancel","confirm"];vs().add("en",ys(e,t,["Cancel","OK"]),!1),vs().add("es",ys(e,t,["Cancelar","OK"]),!1),vs().add("fr",ys(e,t,["Annuler","OK"]),!1),vs().add("zh-Hans",ys(e,t,["取消","确定"]),!1),vs().add("zh-Hant",ys(e,t,["取消","確定"]),!1)}));function Ss(e){const t=new Te;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let Cs=1;const Ts=Object.create(null);function ks(e,t){return e+"."+t}function Es({id:e,name:t,args:n},o){t=ks(o,t);const r=t=>{e&&hd.publishHandler("invokeViewApi."+e,t)},i=Ts[t];i?i(n,r):r({})}const Os=c(Ss("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=hd,i=n?Cs++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),$s=pe(!0);let Ls;function As(){Ls&&(clearTimeout(Ls),Ls=null)}let Ps=0,Ms=0;function Ns(e){if(As(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ps=t,Ms=n,Ls=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function js(e){if(!Ls)return;if(1!==e.touches.length)return As();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ps)>10||Math.abs(n-Ms)>10?As():void 0}function Is(e,t){const n=Number(e);return isNaN(n)?t:n}function Rs(){const e=__uniConfig.globalStyle||{},t=Is(e.rpxCalcMaxDeviceWidth,960),n=Is(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Bs(){Rs(),ue(),window.addEventListener("touchstart",Ns,$s),window.addEventListener("touchmove",js,$s),window.addEventListener("touchend",As,$s),window.addEventListener("touchcancel",As,$s)}function Fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vs,Ws,Hs=["top","left","right","bottom"],zs={};function Ds(){return Ws="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Us(){if(Ws="string"==typeof Ws?Ws:Ds()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Hs.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Vs=!0}else Hs.forEach((function(e){zs[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ws+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Xs.length||setTimeout((function(){var e={};Xs.forEach((function(t){e[t]=zs[t]})),Xs.length=0,Ys.forEach((function(t){t(e)}))}),0);Xs.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(zs,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function qs(e){return Vs||Us(),zs[e]}var Xs=[];var Ys=[];const Ks=Fs({get support(){return 0!=("string"==typeof Ws?Ws:Ds()).length},get top(){return qs("top")},get left(){return qs("left")},get right(){return qs("right")},get bottom(){return qs("bottom")},onChange:function(e){Ds()&&(Vs||Us(),"function"==typeof e&&Ys.push(e))},offChange:function(e){var t=Ys.indexOf(e);t>=0&&Ys.splice(t,1)}}),Js=Ji((()=>{}),["prevent"]),Zs=Ji((e=>{}),["stop"]);function Gs(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Qs(){const e=Gs(document.documentElement.style,"--window-top");return e?e+Ks.top:0}function ea(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}const ta="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",na="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function oa(e,t="#000",n=27){return Nr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Nr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function ra(){const e=Xc(),t=e.length;if(t)return e[t-1]}function ia(){const e=ra();if(e)return e.$page.meta}function sa(){const e=ra();if(e)return e.$vm}const aa=["navigationBar","pullToRefresh"];function la(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);aa.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function ca(e,t,n){if(v(e))n=t,t=e,e=sa();else if("number"==typeof e){const t=Xc().find((t=>t.$page.id===e));e=t?t.$vm:sa()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-fa)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(fa=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(da=setTimeout(s,300))),o=!1};return function(){clearTimeout(da),o||requestAnimationFrame(s),o=!0}}function ha(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return ha(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),ae(i.concat(n).join("/"))}function ga(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class ma{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(oe(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&oe(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=ba(this.$el.querySelector(e));return t?va(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&hd.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function va(e,t=!0){if(t&&e&&(e=ne(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new ma(e)),e.$el.__wxsComponentDescriptor}function ya(e,t){return va(e,t)}function _a(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>ya(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ne(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,ya(r,!1)]}}function ba(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function wa(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=he(t?r:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(r)),a=he(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function xa(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Sa(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Qs();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[xa(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Qs();i.touches=Sa(e.touches,t),i.changedTouches=Sa(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return _a(i,t,n)||[i]},createNativeEvent:wa},Symbol.toStringTag,{value:"Module"});function Ta(e){!function(e){const t=e.globalProperties;c(t,Ca),t.$gcd=ya}(e._context.config)}let ka=1;function Ea(e){return(e||function(){const e=ia();return e?e.id:-1}())+".invokeViewApi"}const Oa=c(Ss("view"),{invokeOnCallback:(e,t)=>gd.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=gd,s=o?ka++:0;o&&r("invokeViewApi."+s,o,!0),i(Ea(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=gd,a=ka++,l="invokeViewApi."+a;return r(l,n),s(Ea(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function $a(e){ca(ra(),"onResize",e),gd.invokeOnCallback("onWindowResize",e)}function La(e){const t=ra();ca(uu(),"onShow",e),ca(t,"onShow")}function Aa(){ca(uu(),"onHide"),ca(ra(),"onHide")}const Pa=["onPageScroll","onReachBottom"];function Ma(){Pa.forEach((e=>gd.subscribe(e,function(e){return(t,n)=>{ca(parseInt(n),e,t)}}(e))))}function Na(){!function(){const{on:e}=gd;e("onResize",$a),e("onAppEnterForeground",La),e("onAppEnterBackground",Aa)}(),Ma()}function ja(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new _e(this.$page.id)),e.eventChannel}}function Ia(e){e._context.config.globalProperties.getOpenerEventChannel=ja}function Ra(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Ba(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Hl(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Fa(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Ba)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Ba(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Va={props:["animation"],watch:{animation:{deep:!0,handler(){Fa(this)}}},mounted(){Fa(this)}},Wa=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Va),Ha(e)},Ha=e=>(e.__reserved=!0,e.compatConfig={MODE:3},io(e));function za(e){return e.__wwe=!0,e}function Da(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=he(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Ua={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function qa(e){const t=Jt(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:za((function(e){e.touches.length>1||s(e)})),onMousedown:za((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:za((function(){a()})),onMouseup:za((function(){r&&l()})),onTouchcancel:za((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Xa(e){const{base:t}=__uniConfig.router;return 0===ae(e).indexOf(t)?ae(e):t+e}function Ya(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Xa(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=Xc();return o.length?Xa(ha(o[o.length-1].$page.route,e).slice(1)):e}const Ka=navigator.userAgent,Ja=/android/i.test(Ka),Za=/iphone|ipad|ipod/i.test(Ka),Ga=Ka.match(/Windows NT ([\d|\d.\d]*)/i),Qa=/Macintosh|Mac/i.test(Ka),el=/Linux|X11/i.test(Ka),tl=Qa&&navigator.maxTouchPoints>0;function nl(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function ol(e){return e&&90===Math.abs(window.orientation)}function rl(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function il(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const sl=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function al(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function ll(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let cl=1;const ul={};function dl(e,t,n){if("number"==typeof e){const o=ul[e];if(o)return o.keepAlive||delete ul[e],o.callback(t,n)}return t}const fl="success",pl="fail",hl="complete";function gl(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=ll(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=cl++;return function(e,t,n,o=!1){ul[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const ml="success",vl="fail",yl="complete",_l={},bl={};function wl(e,t){return function(n){return e(n,t)||n}}function xl(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Sl(e,t={}){return[ml,vl,yl].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){xl(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function Cl(e,t){const n=[];p(_l.returnValue)&&n.push(..._l.returnValue);const o=bl[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Tl(e){const t=Object.create(null);Object.keys(_l).forEach((e=>{"returnValue"!==e&&(t[e]=_l[e].slice())}));const n=bl[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function kl(e,t,n,o){const r=Tl(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return xl(r.invoke,n).then((n=>t(Sl(Tl(e),n),...o)))}return t(Sl(r,n),...o)}return t(n,...o)}function El(e,t){return(n={},...o)=>function(e){return!(!S(e)||![fl,pl,hl].find((t=>m(e[t]))))}(n)?Cl(e,kl(e,t,n,o)):Cl(e,new Promise(((r,i)=>{kl(e,t,c(n,{success:r,fail:i}),o)})))}function Ol(e,t,n,o={}){const r=t+":fail"+(n?" "+n:"");return delete o.errCode,dl(e,c({errMsg:r},o))}function $l(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=gl(e,n,o),i=$l(0,[n],0,o);return i?Ol(r,e,i):t(n,{resolve:t=>function(e,t,n){return dl(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Ol(r,e,function(e){return!e||v(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Al(e,t,n,o){return El(e,Ll(e,t,0,o))}function Pl(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=$l(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Ml(e,t,n,o){return El(e,function(e,t,n,o){return Ll(e,t,0,o)}(e,t,0,o))}let Nl=!1,jl=0,Il=0,Rl=960,Bl=375,Fl=750;function Vl(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=nl(),t=il(rl(e,ol(e)));return{platform:Za?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();jl=n,Il=t,Nl="ios"===e}function Wl(e,t){const n=Number(e);return isNaN(n)?t:n}const Hl=Pl(0,((e,t)=>{if(0===jl&&(Vl(),function(){const e=__uniConfig.globalStyle||{};Rl=Wl(e.rpxCalcMaxDeviceWidth,960),Bl=Wl(e.rpxCalcBaseDeviceWidth,375),Fl=Wl(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||jl;n=e===Fl||n<=Rl?n:Bl;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Il&&Nl?.5:1),e<0?-o:o})),zl={formatArgs:{}},Dl={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class Ul{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},Dl,e)}_getOption(e){const t={transition:c({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const ql=le((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{Ul.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),Xl=Pl(0,(e=>(ql(),new Ul(e))),0,zl),Yl=Pl(0,(()=>{const e=uu();return e&&e.$vm?e.$vm.$locale:vs().getLocale()})),Kl={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Jl="json",Zl=["text","arraybuffer"],Gl=encodeURIComponent;ArrayBuffer,Boolean;const Ql={formatArgs:{method(e,t){t.method=al((e||"").toUpperCase(),sl)},data(e,t){t.data=e||""},url(e,t){t.method===sl[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[Gl(a)]=Gl(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==sl[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Jl).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Zl.indexOf(t.responseType)&&(t.responseType="text")}}};const ec={url:{type:String,required:!0}};tc(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),tc(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]);function tc(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}Boolean;const nc={formatArgs:{title:"",mask:!1}},oc=(Boolean,{beforeInvoke(){xs()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=vs();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=vs();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),rc=["success","loading","none","error"],ic=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=al(e,rc)},image(e,t){t.image=e?Ya(e):""},duration:1500,mask:!1}}),sc=Ra(),ac=Ra();const lc=Wa({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Jt(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=jt({width:-1,height:-1});return Wn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){uo(o),yo((()=>{t.initial&&pn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>Nr("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Nr("div",{onScroll:r},[Nr("div",null,null)],40,["onScroll"]),Nr("div",{onScroll:r},[Nr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const cc={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},uc={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},dc={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},fc=Wa({name:"Image",props:cc,setup(e,{emit:t}){const n=Jt(null),o=function(e,t){const n=Jt(""),o=oi((()=>{let e="auto",o="";const r=dc[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=jt({rootEl:e,src:oi((()=>t.src?Ya(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return yo((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=Da(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=uc[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){pc&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Wn((()=>t.mode),((e,t)=>{uc[t]&&r(),uc[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),o(),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Wn((()=>e.src),(e=>l(e))),Wn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),yo((()=>l(e.src))),wo((()=>c()))}(o,e,n,i,r),()=>Nr("uni-image",{ref:n},[Nr("div",{style:o.modeStyle},null,4),uc[e.mode]?Nr(lc,{onResize:i},null,8,["onResize"]):Nr("span",null,null)],512)}});const pc="Google Inc."===navigator.vendor;const hc=pe(!0),gc=[];let mc,vc=0;const yc=e=>gc.forEach((t=>t.userAction=e));const _c=["navigate","redirect","switchTab","reLaunch","navigateBack"],bc=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],wc=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],xc={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~_c.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||bc.concat(wc).includes(e)},animationDuration:{type:[String,Number],default:300}};c({},xc,{renderLink:{type:Boolean,default:!0}});const Sc={ensp:" ",emsp:" ",nbsp:" "};function Cc(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Sc[t]&&" "===i&&(i=Sc[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Sc.nbsp).replace(/ /g,Sc.ensp).replace(/ /g,Sc.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Tc=Wa({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Jt(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==br){const n=Cc(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(Ir(e)),t!==r&&o.push(Nr("br"))}))}else o.push(t)})),Nr("uni-text",{ref:n,selectable:!!e.selectable||null},[Nr("span",null,o)],8,["selectable"])}}}),kc=Wa({name:"View",props:c({},Ua),setup(e,{slots:t}){const n=Jt(null),{hovering:o,binding:r}=qa(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Nr("uni-view",Wr({class:o.value?i:"",ref:n},r),[t.default&&t.default()],16):Nr("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Ec(e,t,n,o){m(t)&&go(e,t.bind(n),o)}function Oc(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(we.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>Ec(o,e,n,t))):Ec(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,ca(n,"onLoad",e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&ca(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function $c(e,t,n){Oc(e,t,n)}function Lc(e,t,n){return e[t]=n}function Ac(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Pc(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;ca(r.proxy,"onError",t)}}function Mc(e,t){return e?[...new Set([].concat(e,t))]:t}function Nc(e){const t=e._context.config;var n;t.errorHandler=Se(e,Pc),n=t.optionMergeStrategies,we.forEach((e=>{n[e]=Mc}));const o=t.globalProperties;o.$set=Lc,o.$applyOptions=$c,o.$callMethod=Ac,function(e){xe.forEach((t=>t(e)))}(e)}const jc=Symbol("upm");function Ic(){return Zo(jc)}function Rc(e){const t=function(e){return jt(JSON.parse(JSON.stringify(la(__uniRoutes[0].meta,e))))}(e);return Jo(jc,t),t}function Bc(){const e=location.href,t=e.indexOf("?"),n=e.indexOf("#",t>-1?t:0);let o={};t>-1&&(o=ye(e.slice(t+1,n>-1?n:e.length)));const{meta:r}=__uniRoutes[0],i=ae(r.route);return{meta:r,query:o,path:i,matched:[{path:i}]}}function Fc(){return history.state&&history.state.__id__||1}const Vc=window.CSS&&window.CSS.supports;function Wc(e){return Vc&&(Vc(e)||Vc.apply(window.CSS,e.split(":")))}const Hc=Wc("top:env(a)"),zc=Wc("top:constant(a)"),Dc=(()=>Hc?"env":zc?"constant":"")();function Uc(e){var t,n;ea({"--window-top":(n=0,Dc?`calc(${n}px + ${Dc}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Dc?`calc(${t}px + ${Dc}(safe-area-inset-bottom))`:`${t}px`)})}const qc=new Map;function Xc(){const e=[],t=qc.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Yc(e){const t=Ic();return function(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ee(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:ae(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",__uniRoutes[0].path,{},t)}function Kc(e){e.$route;const t=Yc();!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),qc.set(Jc(t.path,t.id),e)}function Jc(e,t){return e+"$$"+t}function Zc(e,t){!function(e){const t=Qc(e),{body:n}=document;eu&&n.removeAttribute(eu),t&&n.setAttribute(t,""),eu=t}(e),Uc(),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),function(e,t){document.removeEventListener("touchmove",ua),tu&&document.removeEventListener("scroll",tu);if(t.disableScroll)return document.addEventListener("touchmove",ua);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},s=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&hd.publishHandler("onPageScroll",{scrollTop:o},e),n&&hd.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>hd.publishHandler("onReachBottom",{},s));tu=pa(i),requestAnimationFrame((()=>document.addEventListener("scroll",tu)))}(e,t)}function Gc(e){const t=Qc(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Qc(e){return e.type.__scopeId}let eu,tu;const nu={install(e){Nc(e),Ta(e),Ia(e),e.config.warnHandler||(e.config.warnHandler=ou)}};function ou(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const ru={class:"uni-async-loading"},iu=Nr("i",{class:"uni-loading"},null,-1),su=Ha({name:"AsyncLoading",render:()=>(Cr(),Or("div",ru,[iu]))});function au(){window.location.reload()}const lu=Ha({name:"AsyncError",setup(){_s();const{t:e}=vs();return()=>Nr("div",{class:"uni-async-error",onClick:au},[e("uni.async.error")],8,["onClick"])}});let cu;function uu(){return cu}function du(e){cu=e,Object.defineProperty(cu.$.ctx,"$children",{get:()=>Xc().map((e=>e.$vm))});const t=cu.$.appContext.app;t.component(su.name)||t.component(su.name,su),t.component(lu.name)||t.component(lu.name,lu),function(e){e.$vm=e,e.$mpType="app";const t=Jt(vs().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(cu),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(cu),Na(),Bs()}function fu(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=qr();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function pu(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?fu(e.default,t):fu(e,t)}function hu(e){return pu(e,{clone:!0,init:Kc,setup(e){e.$pageInstance=e;const t=Bc(),n=me(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=Ic();var r,i,s;return vo((()=>{Zc(e,o)})),yo((()=>{Gc(e);const{onReady:n}=e;n&&N(n),yu(t)})),po((()=>{if(!e.__isVisible){Zc(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&N(n),pn((()=>{yu(t)}))}}),"ba",r),function(e,t){po(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&N(t)}})),i=o.id,hd.subscribe(ks(i,"invokeViewApi"),s?s(Es):Es),wo((()=>{!function(e){hd.unsubscribe(ks(e,"invokeViewApi")),Object.keys(Ts).forEach((t=>{0===t.indexOf(e+".")&&delete Ts[t]}))}(o.id)})),n}})}function gu(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Lu(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";gd.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function mu(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&gd.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function vu(){const{emit:e}=gd;"visible"===document.visibilityState?e("onAppEnterForeground",c({},ac)):e("onAppEnterBackground")}function yu(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&ca("onTabItemTap",{index:n,text:t,pagePath:o})}const _u=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let bu;function wu(){if(bu=bu||_u.__DC_STAT_UUID,!bu){bu=Date.now()+""+Math.floor(1e7*Math.random());try{_u.__DC_STAT_UUID=bu}catch(e){}}return bu}function xu(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Su(){let e,t="0",n="",o="phone";const r=navigator.language;if(Za){e="iOS";const o=Ka.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Ka.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Ja){e="Android";const o=Ka.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Ka.match(/\((.+?)\)/),i=r?r[1].split(";"):Ka.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=nl(),n=ol(t),o=rl(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=il(o);let s=window.innerHeight;const a=Ks.top,l={left:Ks.left,right:i-Ks.right,top:Ks.top,bottom:s-Ks.bottom,width:i-Ks.left-Ks.right,height:s-Ks.top-Ks.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Qs(),n=Gs(e,"--window-bottom"),o=Gs(e,"--window-left"),r=Gs(e,"--window-right"),i=Gs(e,"--top-window-height");return{top:t,bottom:n?n+Ks.bottom:0,left:o?o+Ks.left:0,right:r?r+Ks.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Ks.top,right:Ks.right,bottom:Ks.bottom,left:Ks.left},screenTop:r-s}}));let Tu,ku=!0;function Eu(){ku&&(Tu=Su())}const Ou=Pl(0,(()=>{Eu();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a}=Tu;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:wu(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i}})),$u=Pl(0,(()=>{Eu();const{theme:e,language:t,browserName:n,browserVersion:o}=Tu;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Yl?Yl():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:""}})),Lu=Pl(0,(()=>{ku=!0,Eu(),ku=!1;const e=Cu(),t=Ou(),n=$u();ku=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Tu,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Au=Pl(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Pu(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Mu=Pl(0,(e=>{try{return Pu(e)}catch(t){return""}}));!function(e={userAction:!1}){if(!mc){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!vc&&yc(!0),vc++,setTimeout((()=>{!--vc&&yc(!1)}),0)}),hc)})),mc=!0}gc.push(e)}();const Nu={esc:["Esc","Escape"],enter:["Enter"]},ju=Object.keys(Nu);const Iu=Nr("div",{class:"uni-mask"},null,-1);function Ru(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Qi(io({setup:()=>()=>(Cr(),Or(e,t,null,16))}))}function Bu(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Fu(e,{onEsc:t,onEnter:n}){const o=Jt(e.visible),{key:r,disable:i}=function(){const e=Jt(""),t=Jt(!1),n=n=>{if(t.value)return;const o=ju.find((e=>-1!==Nu[e].indexOf(n.key)));o&&(e.value=o),pn((()=>e.value=""))};return yo((()=>{document.addEventListener("keyup",n)})),wo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Wn((()=>e.visible),(e=>o.value=e)),Wn((()=>o.value),(e=>i.value=!e)),Fn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Vu=Al("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const p=new XMLHttpRequest,h=new Wu(p);p.open(o,e);for(const v in n)f(n,v)&&p.setRequestHeader(v,n[v]);const g=setTimeout((function(){p.onload=p.onabort=p.onerror=null,h.abort(),c("timeout",{errCode:5})}),a);return p.responseType=i,p.onload=function(){clearTimeout(g);const e=p.status;let t="text"===i?p.responseText:p.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:Hu(p.getAllResponseHeaders()),cookies:[]})},p.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},p.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},p.withCredentials=s,p.send(u),h}),0,Ql);class Wu{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function Hu(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function zu(e){__uniConfig.darkmode&&gd.on("onThemeChange",e)}function Du(e){gd.off("onThemeChange",e)}const Uu={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},qu=io({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=Jt(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Fu(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=Jt(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Uu[e].cancelColor})(e,t)};return Fn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===xu()&&n({theme:"dark"}),zu(n))):Du(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,Nr(ui,{name:"uni-fade"},{default:()=>[qn(Nr("uni-modal",{onTouchmove:Js},[Iu,Nr("div",{class:"uni-modal"},[t?Nr("div",{class:"uni-modal__hd"},[Nr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?Nr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Nr("div",{class:"uni-modal__bd",onTouchmovePassive:Zs,textContent:o},null,40,["onTouchmovePassive","textContent"]),Nr("div",{class:"uni-modal__ft"},[l&&Nr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Nr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ci,s.value]])]})}}});let Xu;const Yu=le((()=>{gd.on("onHidePopup",(()=>Xu.visible=!1))}));let Ku;function Ju(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Xu.editable&&(o.content=t),Ku&&Ku(o)}const Zu=Ml("showModal",((e,{resolve:t})=>{Yu(),Ku=t,Xu?(c(Xu,e),Xu.visible=!0):(Xu=jt(e),pn((()=>(Ru(qu,Xu,Ju).mount(Bu("u-a-m")),pn((()=>Xu.visible=!0))))))}),0,oc),Gu={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==rc.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Qu={light:"#fff",dark:"rgba(255,255,255,0.9)"},ed=e=>Qu[e],td=io({name:"Toast",props:Gu,setup(e){bs(),ws();const{Icon:t}=function(e){const t=Jt(ed(xu())),n=({theme:e})=>t.value=ed(e);Fn((()=>{e.visible?zu(n):Du(n)}));return{Icon:oi((()=>{switch(e.icon){case"success":return Nr(oa(ta,t.value,38),{class:"uni-toast__icon"});case"error":return Nr(oa(na,t.value,38),{class:"uni-toast__icon"});case"loading":return Nr("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Fu(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Nr(ui,{name:"uni-fade"},{default:()=>[qn(Nr("uni-toast",{"data-duration":r},[o?Nr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Js},null,40,["onTouchmove"]):"",s||t.value?Nr("div",{class:"uni-toast"},[s?Nr("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,Nr("p",{class:"uni-toast__content"},[i])]):Nr("div",{class:"uni-sample-toast"},[Nr("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ci,n.value]])]})}}});let nd,od,rd="";const id=Ae();function sd(e){nd?c(nd,e):(nd=jt(c(e,{visible:!1})),pn((()=>{id.run((()=>{Wn([()=>nd.visible,()=>nd.duration],(([e,t])=>{if(e){if(od&&clearTimeout(od),"onShowLoading"===rd)return;od=setTimeout((()=>{dd("onHideToast")}),t)}else od&&clearTimeout(od)}))})),gd.on("onHidePopup",(()=>dd("onHidePopup"))),Ru(td,nd,(()=>{})).mount(Bu("u-a-t"))}))),setTimeout((()=>{nd.visible=!0}),10)}const ad=Ml("showToast",((e,{resolve:t,reject:n})=>{sd(e),rd="onShowToast",t()}),0,ic),ld={icon:"loading",duration:1e8,image:""},cd=Ml("showLoading",((e,{resolve:t,reject:n})=>{c(e,ld),sd(e),rd="onShowLoading",t()}),0,nc),ud=Ml("hideLoading",((e,{resolve:t,reject:n})=>{dd("onHideLoading"),t()}));function dd(e){const{t:t}=vs();if(!rd)return;let n="";if("onHideToast"===e&&"onShowToast"!==rd?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==rd&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);rd="",setTimeout((()=>{nd.visible=!1}),10)}function fd(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,gd.emit("onNavigationBarChange",{titleText:t})}Fn(t),uo(t)}const pd=Ha({name:"Layout",setup(e,{emit:t}){const n=Jt(null);ea({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const{layoutState:o,windowState:r}=function(){Bc();{const e=jt({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Wn((()=>e.marginWidth),(e=>ea({"--window-margin":e+"px"}))),Wn((()=>e.leftWindowWidth+e.marginWidth),(e=>{ea({"--window-left":e+"px"})})),Wn((()=>e.rightWindowWidth+e.marginWidth),(e=>{ea({"--window-right":e+"px"})})),{layoutState:e,windowState:oi((()=>({})))}}}();!function(e,t){const n=Bc();function o(){const o=document.body.clientWidth,r=Xc();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=ga(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,pn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,pn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Wn([()=>n.path],o),yo((()=>{o(),window.addEventListener("resize",o)}))}(o,n);const i=function(e){const t=Jt(!1);return oi((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=Nr(__uniRoutes[0].component);return Nr("uni-app",{ref:n,class:i.value},[e,!1],2)}}});const hd=c(Os,{publishHandler(e,t,n){gd.subscribeHandler(e,t,n)}}),gd=c(Oa,{publishHandler(e,t,n){hd.subscribeHandler(e,t,n)}}),md=Ha({name:"PageBody",setup(e,t){const n=Jt(null);return Wn((()=>false.enablePullDownRefresh),(()=>{n.value=null}),{immediate:!0}),()=>Nr(yr,null,[!1,Nr("uni-page-wrapper",n.value,[Nr("uni-page-body",null,[Eo(t.slots,"default")])],16)])}}),vd=Ha({name:"Page",setup(e,t){const n=Rc(Fc());n.navigationBar;const o={};return fd(n),()=>Nr("uni-page",{"data-page":n.route,style:o},[yd(t)])}});function yd(e){return Cr(),Or(md,{key:0},{default:On((()=>[Eo(e.slots,"page")])),_:3})}const _d={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Hl;const bd=Object.assign({}),wd=Object.assign;window.__uniConfig=wd({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",style:"custom",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.15"},{appId:"__UNI__1EFA9EE",appName:"vue-h5",appVersion:"1.0.0",appVersionCode:"100",async:_d,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(bd).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return wd(e[n]||(e[n]={}),bd[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const xd={delay:_d.delay,timeout:_d.timeout,suspensible:_d.suspensible};_d.loading&&(xd.loadingComponent={name:"SystemAsyncLoading",render:()=>Nr(Mn(_d.loading))}),_d.error&&(xd.errorComponent={name:"SystemAsyncError",render:()=>Nr(Mn(_d.error))});const Sd=()=>t((()=>import("./pages-index-index.D7oNekXg.js")),__vite__mapDeps([0,1]),import.meta.url).then((e=>hu(e.default||e))),Cd=ao(wd({loader:Sd},xd));window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=uu(),t=e&&e.$route&&e.$route.query||{};return()=>{return e=Cd,n=t,Cr(),Or(vd,null,{page:On((()=>[Nr(e,wd({},n,{ref:"page"}),null,512)])),_:1});var e,n}}},loader:Sd,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"现金红包明细",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Td={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};pu(Td,{init:du,setup(e){const t=Bc();return vo((()=>{var n;n=e,Object.keys(Kl).forEach((e=>{Kl[e].forEach((t=>{go(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:s}=e,a=function({path:e,query:t}){return c(sc,{path:e,query:t}),c(ac,sc),c({},sc)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:me(t.query)});o&&N(o,a),r&&N(r,a),s&&(e.appContext.config.errorHandler=e=>{N(s,e)})})),yo((()=>{window.addEventListener("resize",function(e,t,{clearTimeout:n,setTimeout:o}){let r;const i=function(){n(r),r=o((()=>e.apply(this,arguments)),t)};return i.cancel=function(){n(r)},i}(gu,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",mu),document.addEventListener("visibilitychange",vu),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{gd.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Cr(),Or(pd));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),Qi(Td).use(nu).mount("#app");export{fc as A,Tc as B,Or as a,On as b,Xl as c,re as d,jn as e,Mn as f,Nr as g,Rr as h,kc as i,Lu as j,Vu as k,ud as l,ad as m,ie as n,Cr as o,Jt as p,yo as q,Eo as r,cd as s,Au as t,Zu as u,Ci as v,qn as w,Mu as x,Ir as y,X as z}; diff --git a/unpackage/dist/build/web/assets/index-CrO10ol2.css b/unpackage/dist/build/web/assets/index-CrO10ol2.css deleted file mode 100644 index f674897..0000000 --- a/unpackage/dist/build/web/assets/index-CrO10ol2.css +++ /dev/null @@ -1 +0,0 @@ -.uni-popup[data-v-f0b957f8]{position:fixed;z-index:99}.uni-popup.top[data-v-f0b957f8],.uni-popup.left[data-v-f0b957f8],.uni-popup.right[data-v-f0b957f8]{top:var(--window-top)}.uni-popup .uni-popup__wrapper[data-v-f0b957f8]{display:block;position:relative}.uni-popup .uni-popup__wrapper.left[data-v-f0b957f8],.uni-popup .uni-popup__wrapper.right[data-v-f0b957f8]{padding-top:var(--window-top);flex:1}.fixforpc-z-index[data-v-f0b957f8]{z-index:999}.fixforpc-top[data-v-f0b957f8]{top:0}.content[data-v-ebd11ddf]{width:100vw;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:url(./bg-3NzT_zCy.png) no-repeat;background-size:100% 100%;box-sizing:border-box;padding-bottom:.625rem}.content .tips-text[data-v-ebd11ddf]{color:#310000;font-size:1.25rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.content .btn-area[data-v-ebd11ddf]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.content .btn-area uni-image[data-v-ebd11ddf]{width:9.375rem;height:3.125rem;border-radius:3.125rem}.content .tips-area[data-v-ebd11ddf]{width:21.875rem;margin-top:1.25rem}.content .tips-area .tips-img[data-v-ebd11ddf]{display:block;width:100%}.popup-content[data-v-ebd11ddf]{width:23.4375rem;height:26.5625rem;background:url(./popup_bg-g-F1YU-s.png) no-repeat;background-size:100% 25rem;display:flex;flex-direction:column;align-items:center;box-sizing:border-box;padding-top:7.1875rem}.popup-content .title[data-v-ebd11ddf]{font-weight:bolder;margin-bottom:.625rem;color:#0a0200;font-size:1.0625rem}.popup-content .number[data-v-ebd11ddf]{color:#f71e00;font-size:2.8125rem;font-weight:bolder;margin-bottom:.46875rem}.popup-content .number>uni-text[data-v-ebd11ddf]{font-size:1.25rem}.popup-content .tips[data-v-ebd11ddf]{color:#43403f;font-size:.9375rem;margin-bottom:2.65625rem;opacity:.6;font-size:.875rem;font-weight:400}.popup-content .btn>uni-image[data-v-ebd11ddf]{width:9.375rem;height:2.8125rem}.popup-content .close[data-v-ebd11ddf]{margin-top:1.875rem}.popup-content .close>uni-image[data-v-ebd11ddf]{width:1.875rem;height:1.875rem} diff --git a/unpackage/dist/build/web/assets/pages-index-index.D7oNekXg.js b/unpackage/dist/build/web/assets/pages-index-index.D7oNekXg.js deleted file mode 100644 index 03f2cd1..0000000 --- a/unpackage/dist/build/web/assets/pages-index-index.D7oNekXg.js +++ /dev/null @@ -1 +0,0 @@ -import{c as t,w as s,v as e,o as i,a as o,b as a,r as n,n as r,d as l,i as h,e as c,f as d,g as u,h as p,j as m,s as f,k as g,l as k,m as y,p as b,q as w,t as A,u as C,x as S,y as T,z as x,A as R,B as _}from"./index-CMpkHqXW.js";class ${constructor(s,e){this.options=s,this.animation=t({...s}),this.currentStepAnimates={},this.next=0,this.$=e}_nvuePushAnimates(t,s){let e=this.currentStepAnimates[this.next],i={};if(i=e||{styles:{},config:{}},v.includes(t)){i.styles.transform||(i.styles.transform="");let e="";"rotate"===t&&(e="deg"),i.styles.transform+=`${t}(${s+e}) `}else i.styles[t]=`${s}`;this.currentStepAnimates[this.next]=i}_animateRun(t={},s={}){let e=this.$.$refs.ani.ref;if(e)return new Promise(((i,o)=>{nvueAnimation.transition(e,{styles:t,...s},(t=>{i()}))}))}_nvueNextAnimate(t,s=0,e){let i=t[s];if(i){let{styles:o,config:a}=i;this._animateRun(o,a).then((()=>{s+=1,this._nvueNextAnimate(t,s,e)}))}else this.currentStepAnimates={},"function"==typeof e&&e(),this.isEnd=!0}step(t={}){return this.animation.step(t),this}run(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof t&&t()}),this.$.durationTime)}}const v=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function B(t,s){if(s)return clearTimeout(s.timer),new $(t,s)}v.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((t=>{$.prototype[t]=function(...s){return this.animation[t](...s),this}}));const P=(t,s)=>{const e=t.__vccOpts||t;for(const[i,o]of s)e[i]=o;return e};const E=P({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let t={...this.styles,"transition-duration":this.duration/1e3+"s"},s="";for(let e in t){s+=this.toLine(e)+":"+t[e]+";"}return s},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:{init(t={}){t.duration&&(this.durationTime=t.duration),this.animation=B(Object.assign(this.config,t),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(t,s={}){if(this.animation){for(let s in t)try{"object"==typeof t[s]?this.animation[s](...t[s]):this.animation[s](t[s])}catch(e){console.error(`方法 ${s} 不存在`)}return this.animation.step(s),this}},run(t){this.animation&&this.animation.run(t)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:t,transform:s}=this.styleInit(!1);void 0!==t&&(this.opacity=t),this.transform=s,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=B(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(t){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:t,transform:s}=this.styleInit(!1);this.opacity=t||1,this.transform=s,this.$emit("change",{detail:this.isShow})}))},styleInit(t){let s={transform:""},e=(t,e)=>{"fade"===e?s.opacity=this.animationType(t)[e]:s.transform+=this.animationType(t)[e]+" "};return"string"==typeof this.modeClass?e(t,this.modeClass):this.modeClass.forEach((s=>{e(t,s)})),s},tranfromInit(t){let s=(t,s)=>{let e=null;"fade"===s?e=t?0:1:(e=t?"-100%":"0","zoom-in"===s&&(e=t?.8:1),"zoom-out"===s&&(e=t?1.2:1),"slide-right"===s&&(e=t?"100%":"0"),"slide-bottom"===s&&(e=t?"100%":"0")),this.animation[this.animationMode()[s]](e)};return"string"==typeof this.modeClass?s(t,this.modeClass):this.modeClass.forEach((e=>{s(t,e)})),this.animation},animationType:t=>({fade:t?0:1,"slide-top":`translateY(${t?"0":"-100%"})`,"slide-right":`translateX(${t?"0":"100%"})`,"slide-bottom":`translateY(${t?"0":"100%"})`,"slide-left":`translateX(${t?"0":"-100%"})`,"zoom-in":`scaleX(${t?1:.8}) scaleY(${t?1:.8})`,"zoom-out":`scaleX(${t?1:1.2}) scaleY(${t?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:t=>t.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(t,c,d,u,p,m){const f=h;return s((i(),o(f,{ref:"ani",animation:p.animationData,class:r(d.customClass),style:l(m.transformStyles),onClick:m.onClick},{default:a((()=>[n(t.$slots,"default")])),_:3},8,["animation","class","style","onClick"])),[[e,p.isShow]])}]]);function z(t,s){return"string"==typeof t?s:t}const D=P({name:"uniPopup",components:{keypress:{name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted(){const t={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"]};document.addEventListener("keyup",(s=>{if(this.disable)return;const e=Object.keys(t).find((e=>{const i=s.key,o=t[e];return o===i||Array.isArray(o)&&o.includes(i)}));e&&setTimeout((()=>{this.$emit(e,{})}),0)}))},render:()=>{}}},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup(t){document.getElementsByTagName("body")[0].style.overflow=t?"hidden":"visible"}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,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:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let t={backgroundColor:this.bg};return this.borderRadius,t=Object.assign(t,{borderRadius:this.borderRadius}),t},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:t,windowHeight:s,windowTop:e,safeArea:i,screenHeight:o,safeAreaInsets:a}=m();this.popupWidth=t,this.popupHeight=s+(e||0),i&&this.safeArea?this.safeAreaInsets=a.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(t=!0){document.getElementsByTagName("body")[0].style.overflow=t?"visible":"hidden"},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(t){t.stopPropagation(),this.clearPropagation=!0},open(t){if(this.showPopup)return;t&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(t)||(t=this.type),this.config[t]?(this[this.config[t]](),this.$emit("change",{show:!0,type:t})):console.error("缺少类型:",t)},close(t){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(t){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"},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(t){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"},t||(this.showPopup=!0,this.showTrans=!0)},center(t){this.popupstyle="center",this.ani=["zoom-out","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"},t||(this.showPopup=!0,this.showTrans=!0)},left(t){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"},t||(this.showPopup=!0,this.showTrans=!0)},right(t){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"},t||(this.showPopup=!0,this.showTrans=!0)}}},[["render",function(t,s,e,m,f,g){const k=z(c("uni-transition"),E),y=h,b=d("keypress");return f.showPopup?(i(),o(y,{key:0,class:r(["uni-popup",[f.popupstyle,g.isDesktop?"fixforpc-z-index":""]])},{default:a((()=>[u(y,{onTouchstart:g.touchstart},{default:a((()=>[f.maskShow?(i(),o(k,{key:"1",name:"mask","mode-class":"fade",styles:f.maskClass,duration:f.duration,show:f.showTrans,onClick:g.onTap},null,8,["styles","duration","show","onClick"])):p("",!0),u(k,{key:"2","mode-class":f.ani,name:"content",styles:f.transClass,duration:f.duration,show:f.showTrans,onClick:g.onTap},{default:a((()=>[u(y,{class:r(["uni-popup__wrapper",[f.popupstyle]]),style:l(g.getStyles),onClick:g.clear},{default:a((()=>[n(t.$slots,"default",{},void 0,!0)])),_:3},8,["style","class","onClick"])])),_:3},8,["mode-class","styles","duration","show","onClick"])])),_:3},8,["onTouchstart"]),f.maskShow?(i(),o(b,{key:0,onEsc:g.onTap},null,8,["onEsc"])):p("",!0)])),_:3},8,["class"])):p("",!0)}],["__scopeId","data-v-f0b957f8"]]),J=""+new URL("tips_bg-DPLO8ec5.png",import.meta.url).href,N=""+new URL("popup_btn-X0iV3SKS.png",import.meta.url).href,j=t=>{let s=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),e=window.location.search.substr(1).match(s);return null!=e?unescape(e[2]):null};function I(t){f({title:"加载中",mask:!0});let s={};return t.params&&(t.data=t.params,s["Content-Type"]="application/json"),new Promise(((e,i)=>{g({url:"https://zxjt.86698.cn"+t.url,method:t.method||"GET",data:t.data||{},header:{...s,...t.header},success:t=>{if(t.statusCode&&200!=t.statusCode)k().then((()=>{y({title:"api错误"+t.errMsg,icon:"none"})})),i();else{const s=t.data;200==s.code?(k(),e(s.data)):(k().then((()=>{y({title:"请求失败了,稍后再试",icon:"none"})})),i(t.msg))}},fail:t=>{k().then((()=>{y({title:t,icon:"none"})})),i(t)}})}))}console.log("https://zxjt.86698.cn");const X=P({__name:"index",setup(t){const s=b(null),e=b(0);w((()=>{if(!!j("code"))r();else{const t={tid:j("tid"),timeStamp:j("timeStamp"),sign:j("sign"),tradeNo:j("tradeNo")};A("orderInfo",JSON.stringify(t)),n()}}));const n=()=>{(t=>I({url:"/backend/zxjt_redpacket/orders/is_exist",method:"POST",...t}))({params:{tradeNo:j("tradeNo")}}).then((t=>{!0===t.status?l():C({title:"提示",content:"暂无可领取的红包!!!",showCancel:!1,success:function(t){t.confirm?console.log("用户点击确定"):t.cancel&&console.log("用户点击取消")}})})).catch((()=>{C({title:"提示",content:"暂无可领取的红包!!!",showCancel:!1,success:function(t){t.confirm?console.log("用户点击确定"):t.cancel&&console.log("用户点击取消")}})}))},r=()=>{const t=JSON.parse(S("orderInfo")),{tid:i,timeStamp:o,sign:a,tradeNo:n}=t;(t=>I({url:"/backend/zxjt_redpacket/orders/send_packet",method:"POST",...t}))({params:{tid:Number(i),code:j("code"),timeStamp:o,sign:a,tradeNo:n}}).then((t=>{e.value=t.amount/100,s.value.open()})).catch((t=>{console.log(t)}))},l=()=>{const t=JSON.parse(S("orderInfo")),{tid:s,timeStamp:e,sign:i,tradeNo:o}=t,a=`https://lsxdwx.access.86698.cn/?tid=${s}&tradeNo=${o}`;console.log(a),window.location.href=a},d=()=>{s.value.close()};return(t,n)=>{const r=R,l=h,p=_,m=z(c("uni-popup"),D);return i(),o(l,{class:"content"},{default:a((()=>[u(l,{class:"tips-area"},{default:a((()=>[u(r,{src:J,class:"tips-img",mode:"widthFix"})])),_:1}),u(m,{ref_key:"popupRef",ref:s,type:"center","is-mask-click":!1,"mask-click":!1},{default:a((()=>[u(l,{class:"popup-content"},{default:a((()=>[u(l,{class:"title"},{default:a((()=>[T("恭喜你提现成功!")])),_:1}),u(l,{class:"number"},{default:a((()=>[T(x(e.value),1),u(p,null,{default:a((()=>[T("元")])),_:1})])),_:1}),u(l,{class:"tips"},{default:a((()=>[T('*24小时内在微信"服务通知"中领取')])),_:1}),u(l,{class:"btn",onClick:d},{default:a((()=>[u(r,{src:N})])),_:1}),u(l,{class:"close"},{default:a((()=>[u(r,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAk9JREFUSEvFl02oTVEUx39/A/lKyeilzGRIb4LkxoSBkhIzQkxNkY8BBgyZvuKFgZSSGJj4eJInJQMTGTAzkhKSgeUurfPa95y7z93uq2NP7uDsvX9r//d/rb2u+E9DJVwz83lbgJ3AJmANsCLWfgHeAy+AB8AzSTZq31awmS0ADgIngB/AHd8YeAd8js1XAmsjsD3AEuAiMC3pdy6ALNjMfLMbwHfgtKTno07h381sM3ABWArsl+RBNsZQsJntAK4HcKoEWJ9jZkcjgAOSHta/N8ABnQZ2S3o5DrRaY2YbgLt+XXX4ADjknQF2zRdag98Deqnsc+Aw0iwwJWkseXPqhOwu/cbKcCn4cJhh23zkbYE/drNKuupz/oIjT919h4a518wWA6tzDk1k9VRaJcnzemCE26956nmeV+AecEXS+mERx917/u6T9CQzx9PnPjAr6WRmzhvgmKSZCnwJ+CbpfItUW4Hbw+BmVkE/AEdyhcPMzgDLJB2vwO7ks7nTJFI24KXQuFJff05SrwJ/AiYl+W/rMLM5eL92vwp5W0+aBD7RT9XXkiYq8E9guaRfo8BJ5C77R+Btm7zpfma2EPgqadG4YL9TT49JYHtfukeFATfA/yJ1aqSbwK02t9dO3JC61FwN96Z3XmjOAXOVpFM2ZUrhw9JpVAHxiuTdRda9CXyvpKelBcRN1lYyvdXxWn6qrasI+DpJl4tKZqRI949EgL2/6v5ZDLj3Wd02AklZ836r29anBu+22Uvg3be3Cbz7hr5WY7v9C1Py4ow75w8phHsudUY80wAAAABJRU5ErkJggg==",onClick:d})])),_:1})])),_:1})])),_:1},512)])),_:1})}}},[["__scopeId","data-v-ebd11ddf"]]);export{X as default}; diff --git a/unpackage/dist/build/web/assets/popup_bg-g-F1YU-s.png b/unpackage/dist/build/web/assets/popup_bg-g-F1YU-s.png deleted file mode 100644 index 3a56237..0000000 Binary files a/unpackage/dist/build/web/assets/popup_bg-g-F1YU-s.png and /dev/null differ diff --git a/unpackage/dist/build/web/assets/popup_btn-X0iV3SKS.png b/unpackage/dist/build/web/assets/popup_btn-X0iV3SKS.png deleted file mode 100644 index 5a2814f..0000000 Binary files a/unpackage/dist/build/web/assets/popup_btn-X0iV3SKS.png and /dev/null differ diff --git a/unpackage/dist/build/web/assets/tips_bg-DPLO8ec5.png b/unpackage/dist/build/web/assets/tips_bg-DPLO8ec5.png deleted file mode 100644 index 6ccdf45..0000000 Binary files a/unpackage/dist/build/web/assets/tips_bg-DPLO8ec5.png and /dev/null differ diff --git a/unpackage/dist/build/web/assets/uni.6f8e8158.css b/unpackage/dist/build/web/assets/uni.6f8e8158.css deleted file mode 100644 index ce53ed5..0000000 --- a/unpackage/dist/build/web/assets/uni.6f8e8158.css +++ /dev/null @@ -1 +0,0 @@ -uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}.uni-modal{position:fixed;z-index:999;width:80%;max-width:300px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.uni-modal *{box-sizing:border-box}.uni-modal__hd{padding:1em 1.6em .3em}.uni-modal__title{font-weight:400;font-size:18px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-modal__bd{padding:1.3em 1.6em;min-height:40px;font-size:15px;line-height:1.4;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;color:#999;max-height:400px;overflow-x:hidden;overflow-y:auto}.uni-modal__textarea{resize:none;border:0;margin:0;width:90%;padding:10px;font-size:20px;outline:none;border:none;background-color:#eee;text-decoration:inherit}.uni-modal__ft{position:relative;line-height:48px;font-size:18px;display:flex}.uni-modal__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleY(.5)}.uni-modal__btn{display:block;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;cursor:pointer}.uni-modal__btn:active{background-color:#eee}.uni-modal__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleX(.5)}.uni-modal__btn:first-child:after{display:none}.uni-modal__btn_default{color:#353535}.uni-modal__btn_primary{color:#007aff}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-all;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px} diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html deleted file mode 100644 index 10c3e7e..0000000 --- a/unpackage/dist/build/web/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - vue-h5 - - - - - - -
- - diff --git a/unpackage/dist/build/web/static/image/bg.png b/unpackage/dist/build/web/static/image/bg.png deleted file mode 100644 index 6ab8a3b..0000000 Binary files a/unpackage/dist/build/web/static/image/bg.png and /dev/null differ diff --git a/unpackage/dist/build/web/static/image/ic_close.png b/unpackage/dist/build/web/static/image/ic_close.png deleted file mode 100644 index dddf90a..0000000 Binary files a/unpackage/dist/build/web/static/image/ic_close.png and /dev/null differ diff --git a/unpackage/dist/build/web/static/image/icon-close.png b/unpackage/dist/build/web/static/image/icon-close.png deleted file mode 100644 index 7b206a8..0000000 Binary files a/unpackage/dist/build/web/static/image/icon-close.png and /dev/null differ diff --git a/unpackage/dist/build/web/static/image/input_c.png b/unpackage/dist/build/web/static/image/input_c.png deleted file mode 100644 index 7033c27..0000000 Binary files a/unpackage/dist/build/web/static/image/input_c.png and /dev/null differ diff --git a/unpackage/dist/build/web/static/image/popup_bg.png b/unpackage/dist/build/web/static/image/popup_bg.png deleted file mode 100644 index 3a56237..0000000 Binary files a/unpackage/dist/build/web/static/image/popup_bg.png and /dev/null differ diff --git a/unpackage/dist/build/web/static/image/popup_btn.png b/unpackage/dist/build/web/static/image/popup_btn.png deleted file mode 100644 index 5a2814f..0000000 Binary files a/unpackage/dist/build/web/static/image/popup_btn.png and /dev/null differ diff --git a/unpackage/dist/build/web/static/image/tips_bg.png b/unpackage/dist/build/web/static/image/tips_bg.png deleted file mode 100644 index 6ccdf45..0000000 Binary files a/unpackage/dist/build/web/static/image/tips_bg.png and /dev/null differ diff --git a/unpackage/dist/cache/.vite/deps/_metadata.json b/unpackage/dist/cache/.vite/deps/_metadata.json deleted file mode 100644 index 6f7301a..0000000 --- a/unpackage/dist/cache/.vite/deps/_metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "hash": "01c15a5a", - "configHash": "d144ff1f", - "lockfileHash": "e3b0c442", - "browserHash": "5acd962d", - "optimized": {}, - "chunks": {} -} \ No newline at end of file diff --git a/unpackage/dist/cache/.vite/deps/package.json b/unpackage/dist/cache/.vite/deps/package.json deleted file mode 100644 index 3dbc1ca..0000000 --- a/unpackage/dist/cache/.vite/deps/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} diff --git a/utils/request.js b/utils/request.js deleted file mode 100644 index 457fa2b..0000000 --- a/utils/request.js +++ /dev/null @@ -1,69 +0,0 @@ -const baseUrl = process.env.REQUEST_BASE_URL - -function request(options) { - uni.showLoading({ - title: "加载中", - mask: true, - }); - let defaultHeader = { - - } - // // 如果使用params传参则,以&符拼接的格式传参 - if (options.params) { - options.data = options.params - // defaultHeader['Content-Type'] = 'application/json' - defaultHeader['Content-Type'] = 'application/x-www-form-urlencoded' - } - const token = uni.getStorageSync('token'); - if (token) { - defaultHeader.Authorization = `Bearer ${token}` - } - return new Promise((resolve, reject) => { - uni.request({ - url: baseUrl + options.url, // 接口地址:前缀+方法中传入的地址 - method: options.method || 'GET', // 请求方法:传入的方法或者默认是“GET” - data: options.data || {}, // 传递参数:传入的参数或者默认传递空集合 - header: { - ...defaultHeader, - ...options.header - }, - success: (res) => { - if (res.statusCode && res.statusCode != 200) { - uni.hideLoading().then(() => { - uni.showToast({ - title: "api错误" + res.errMsg, - icon: 'none' - }); - }) - reject() - } else { - const resData = res.data - if (resData.code == 200) { - uni.hideLoading() - resolve(resData.data) - } else { - uni.hideLoading().then(() => { - uni.showToast({ - title: '请求失败了,稍后再试', - icon: 'none' - }); - }) - reject(res.msg) - } - } - }, - // 这里的接口请求,如果出现问题就输出接口请求失败 - fail: (err) => { - uni.hideLoading().then(() => { - uni.showToast({ - title: err, - icon: 'none' - }); - }) - reject(err) - } - }) - }) -} - -export default request \ No newline at end of file diff --git a/utils/utils.js b/utils/utils.js deleted file mode 100644 index fc76398..0000000 --- a/utils/utils.js +++ /dev/null @@ -1,7 +0,0 @@ -//获取url后面拼接的参数 -export const getQueryString = (name) => { -    let reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); - let r = window.location.search.substr(1).match(reg); - if (r != null) return unescape(r[2]); - return null; -} \ No newline at end of file