diff --git a/app.js b/app.js new file mode 100644 index 0000000..1ed57c4 --- /dev/null +++ b/app.js @@ -0,0 +1,19 @@ +// app.js +App({ + onLaunch() { + // 展示本地存储能力 + const logs = wx.getStorageSync('logs') || [] + logs.unshift(Date.now()) + wx.setStorageSync('logs', logs) + + // 登录 + wx.login({ + success: res => { + // 发送 res.code 到后台换取 openId, sessionKey, unionId + } + }) + }, + globalData: { + userInfo: null + } +}) diff --git a/app.json b/app.json new file mode 100644 index 0000000..2ddd8ae --- /dev/null +++ b/app.json @@ -0,0 +1,49 @@ +{ + "pages":[ + "pages/calendar/calendar", + "pages/look/look", + "pages/index/index", + "pages/calculation/calculation", + "pages/ucenter/ucenter", + "pages/message/message" + ], + "window":{ + "backgroundTextStyle":"light", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "Weixin", + "navigationBarTextStyle":"black", + "navigationStyle": "custom" + }, + "tabBar": { + "custom": true, + "color": "#000000", + "selectedColor": "#000000", + "backgroundColor": "#000000", + "list": [{ + "pagePath": "pages/calendar/calendar", + "text": "日历" + }, { + "pagePath": "pages/look/look", + "text": "看地" + },{ + "pagePath": "pages/index/index", + "text": "首页" + },{ + "pagePath": "pages/calculation/calculation", + "text": "测算" + },{ + "pagePath": "pages/ucenter/ucenter", + "text": "我的" + } + ] + }, + "usingComponents": { + "mp-navigation-bar": "weui-miniprogram/navigation-bar/navigation-bar" + }, + "style": "v2", + "sitemapLocation": "sitemap.json", + "useExtendedLib": { + "kbone": true, + "weui": true + } +} diff --git a/app.wxss b/app.wxss new file mode 100644 index 0000000..269e3e4 --- /dev/null +++ b/app.wxss @@ -0,0 +1,70 @@ +/**app.wxss**/ +.pages { + height: 100vh; + width: 100%; + overflow: hidden; + display: flex; + flex-direction: column; + background-color: #F8F8F8; +} + +.main{ + flex: 1; + overflow-y: auto; + padding-bottom: 200rpx; +} + +.set-bar text{ + font-weight: bold; + color: #262936; + font-size: 36rpx; +} + +.flex-center{ + display: flex; + justify-content: space-between; + align-items: center; +} + +.my-pos{ + position: absolute; + left: 0; + width: 100%; + height: 100%; + z-index: 1; +} + +.center{ + display: flex; + align-items: center; + justify-content: center; +} + +.option-box{ + padding-top: 10rpx; +} + +.o-item{ + height: 104rpx; + border-bottom: 2rpx solid #E3E3E3; + font-size: 30rpx; + color: #262936; + font-weight: bold; +} + +.icon{ + width: 24rpx; + height: 24rpx; + transform:rotate(-90deg); +} + +.sign-out{ + width: 514rpx !important; + height: 86rpx; + line-height: 50rpx; + background: linear-gradient(171deg, #262936, #48494E); + border-radius: 44rpx; + margin-top: 110rpx; + font-size: 32rpx; + color: #FFFFFF; +} diff --git a/assets/images/arrow-down.png b/assets/images/arrow-down.png new file mode 100644 index 0000000..69d0c2f Binary files /dev/null and b/assets/images/arrow-down.png differ diff --git a/assets/images/bg1.png b/assets/images/bg1.png new file mode 100644 index 0000000..7a47a5d Binary files /dev/null and b/assets/images/bg1.png differ diff --git a/assets/images/bg2.png b/assets/images/bg2.png new file mode 100644 index 0000000..0294ac0 Binary files /dev/null and b/assets/images/bg2.png differ diff --git a/assets/images/bg3.png b/assets/images/bg3.png new file mode 100644 index 0000000..8d77b44 Binary files /dev/null and b/assets/images/bg3.png differ diff --git a/assets/images/cal-back.png b/assets/images/cal-back.png new file mode 100644 index 0000000..74666a2 Binary files /dev/null and b/assets/images/cal-back.png differ diff --git a/assets/images/member.png b/assets/images/member.png new file mode 100644 index 0000000..e769761 Binary files /dev/null and b/assets/images/member.png differ diff --git a/assets/images/tabIcon/air.png b/assets/images/tabIcon/air.png new file mode 100644 index 0000000..f318f5f Binary files /dev/null and b/assets/images/tabIcon/air.png differ diff --git a/assets/images/tabIcon/calculation-a.png b/assets/images/tabIcon/calculation-a.png new file mode 100644 index 0000000..dadc8d4 Binary files /dev/null and b/assets/images/tabIcon/calculation-a.png differ diff --git a/assets/images/tabIcon/calculation.png b/assets/images/tabIcon/calculation.png new file mode 100644 index 0000000..09ccfb5 Binary files /dev/null and b/assets/images/tabIcon/calculation.png differ diff --git a/assets/images/tabIcon/calendar-a.png b/assets/images/tabIcon/calendar-a.png new file mode 100644 index 0000000..5a6030e Binary files /dev/null and b/assets/images/tabIcon/calendar-a.png differ diff --git a/assets/images/tabIcon/calendar.png b/assets/images/tabIcon/calendar.png new file mode 100644 index 0000000..1b8485e Binary files /dev/null and b/assets/images/tabIcon/calendar.png differ diff --git a/assets/images/tabIcon/look-a.png b/assets/images/tabIcon/look-a.png new file mode 100644 index 0000000..c4ee11a Binary files /dev/null and b/assets/images/tabIcon/look-a.png differ diff --git a/assets/images/tabIcon/look.png b/assets/images/tabIcon/look.png new file mode 100644 index 0000000..ef1afba Binary files /dev/null and b/assets/images/tabIcon/look.png differ diff --git a/assets/images/tabIcon/my-bord.png b/assets/images/tabIcon/my-bord.png new file mode 100644 index 0000000..799611f Binary files /dev/null and b/assets/images/tabIcon/my-bord.png differ diff --git a/assets/images/tabIcon/ucenter-a.png b/assets/images/tabIcon/ucenter-a.png new file mode 100644 index 0000000..aef788d Binary files /dev/null and b/assets/images/tabIcon/ucenter-a.png differ diff --git a/assets/images/tabIcon/ucenter.png b/assets/images/tabIcon/ucenter.png new file mode 100644 index 0000000..3d0758b Binary files /dev/null and b/assets/images/tabIcon/ucenter.png differ diff --git a/assets/images/user-back.png b/assets/images/user-back.png new file mode 100644 index 0000000..9881820 Binary files /dev/null and b/assets/images/user-back.png differ diff --git a/assets/images/zhuan_1.png b/assets/images/zhuan_1.png new file mode 100644 index 0000000..9dfa8a4 Binary files /dev/null and b/assets/images/zhuan_1.png differ diff --git a/assets/images/zhuan_2.png b/assets/images/zhuan_2.png new file mode 100644 index 0000000..e589f42 Binary files /dev/null and b/assets/images/zhuan_2.png differ diff --git a/assets/images/zhuan_3.png b/assets/images/zhuan_3.png new file mode 100644 index 0000000..b93064d Binary files /dev/null and b/assets/images/zhuan_3.png differ diff --git a/assets/images/列表.png b/assets/images/列表.png new file mode 100644 index 0000000..abb86ee Binary files /dev/null and b/assets/images/列表.png differ diff --git a/assets/images/历史记录.png b/assets/images/历史记录.png new file mode 100644 index 0000000..ccdef0e Binary files /dev/null and b/assets/images/历史记录.png differ diff --git a/assets/images/启动 拷贝 2.png b/assets/images/启动 拷贝 2.png new file mode 100644 index 0000000..915ed39 Binary files /dev/null and b/assets/images/启动 拷贝 2.png differ diff --git a/assets/images/地图.png b/assets/images/地图.png new file mode 100644 index 0000000..8d50d12 Binary files /dev/null and b/assets/images/地图.png differ diff --git a/assets/images/提示.png b/assets/images/提示.png new file mode 100644 index 0000000..ff0e0d4 Binary files /dev/null and b/assets/images/提示.png differ diff --git a/assets/images/搜索.png b/assets/images/搜索.png new file mode 100644 index 0000000..08b62f8 Binary files /dev/null and b/assets/images/搜索.png differ diff --git a/assets/images/矩形.png b/assets/images/矩形.png new file mode 100644 index 0000000..b146e73 Binary files /dev/null and b/assets/images/矩形.png differ diff --git a/assets/images/组 319.png b/assets/images/组 319.png new file mode 100644 index 0000000..687aea4 Binary files /dev/null and b/assets/images/组 319.png differ diff --git a/assets/images/组 40.png b/assets/images/组 40.png new file mode 100644 index 0000000..9c84e4b Binary files /dev/null and b/assets/images/组 40.png differ diff --git a/assets/images/组 41.png b/assets/images/组 41.png new file mode 100644 index 0000000..b2bd64d Binary files /dev/null and b/assets/images/组 41.png differ diff --git a/assets/images/组 412.png b/assets/images/组 412.png new file mode 100644 index 0000000..c347986 Binary files /dev/null and b/assets/images/组 412.png differ diff --git a/assets/images/组 42.png b/assets/images/组 42.png new file mode 100644 index 0000000..83e2073 Binary files /dev/null and b/assets/images/组 42.png differ diff --git a/assets/images/组 44.png b/assets/images/组 44.png new file mode 100644 index 0000000..5f572e3 Binary files /dev/null and b/assets/images/组 44.png differ diff --git a/components/ui-calendar/behavior-layer.js b/components/ui-calendar/behavior-layer.js new file mode 100644 index 0000000..4c32016 --- /dev/null +++ b/components/ui-calendar/behavior-layer.js @@ -0,0 +1,25 @@ +//behavior-layer +const util = require('../utils/util.js') +module.exports = Behavior({ + properties: { + //重要属性,每个组件必带,定义组件是否显示 + isShow: { + type: String + } + }, + //这里设置弹出层必须带有一个遮盖层,所以每个弹出层都一定具有有个z-index属性 + data: { + maskzIndex: util.getBiggerzIndex(), + uiIndex: util.getBiggerzIndex(), + //默认点击遮盖层不关闭组件 + clickToHide: true + }, + attached: function() { + }, + methods: { + onMaskEvent: function (e) { + if (this.data.maskEventName) + this.triggerEvent(this.data.maskEventName, e, {}) + } + } +}) \ No newline at end of file diff --git a/components/ui-calendar/behavior-view.js b/components/ui-calendar/behavior-view.js new file mode 100644 index 0000000..6691448 --- /dev/null +++ b/components/ui-calendar/behavior-view.js @@ -0,0 +1,18 @@ +module.exports = Behavior({ + behaviors: [], + properties: { + //重要属性,每个组件必带,定义组件是否显示 + isShow: { + type: String + } + }, + data: { + }, + attached: function () { + }, + methods: { + myBehaviorMethod: function () { + console.log('log from my-behavior.js') + } + } +}) \ No newline at end of file diff --git a/components/ui-calendar/ui-calendar.js b/components/ui-calendar/ui-calendar.js new file mode 100644 index 0000000..f94ab07 --- /dev/null +++ b/components/ui-calendar/ui-calendar.js @@ -0,0 +1,32 @@ +let View = require('behavior-view'); + +Component({ + externalClasses: ['ex-class'], + behaviors: [ + View + ], + properties: { + displayMonthNum: { + type: Number + }, + displayTime: { + type: String + }, + selectedDate: { + type: String + } + }, + data: { + weekDayArr: ['日', '一', '二', '三', '四', '五', '六'], + }, + + attached: function () { + //console.log(this) + // debugger + }, + methods: { + onDayTap: function (e) { + this.triggerEvent('onDayTap', e.currentTarget.dataset) + } + } +}) \ No newline at end of file diff --git a/components/ui-calendar/ui-calendar.json b/components/ui-calendar/ui-calendar.json new file mode 100644 index 0000000..78013bd --- /dev/null +++ b/components/ui-calendar/ui-calendar.json @@ -0,0 +1,5 @@ +{ + "component": true, + "usingComponents": { + } +} \ No newline at end of file diff --git a/components/ui-calendar/ui-calendar.wxml b/components/ui-calendar/ui-calendar.wxml new file mode 100644 index 0000000..5f02c42 --- /dev/null +++ b/components/ui-calendar/ui-calendar.wxml @@ -0,0 +1,120 @@ + + var isDate = function(date) { + return date && date.getMonth; + }; + + var isLeapYear = function(year) { + //传入为时间格式需要处理 + if (isDate(year)) year = year.getFullYear() + if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) return true; + return false; + }; + + var getDaysOfMonth = function(date) { + var month = date.getMonth(); //注意此处月份要加1,所以我们要减一 + var year = date.getFullYear(); + return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]; + } + + var getBeginDayOfMouth = function(date) { + var month = date.getMonth(); + var year = date.getFullYear(); + var d = getDate(year, month, 1); + return d.getDay(); + } + + var getDisplayInfo = function(date) { + + if (!isDate(date)) { + date = getDate(date) + } + var year = date.getFullYear(); + + var month = date.getMonth(); + var d = getDate(year, month); + + + //这个月一共多少天 + var days = getDaysOfMonth(d); + + //这个月是星期几开始的 + var beginWeek = getBeginDayOfMouth(d); + + return { + year: year, + month: month, + days: days, + beginWeek: beginWeek + } + }; + + //分割月之间的展示 + var monthClapFn = function(year, month) { + month = month + 1; + return year + '年' + (month) + '月'; + }; + + + //时间转化 + var getChangedDate = function(date) { + var timer = date.split('-') + var changedYear = parseInt(timer[0]) + var changedMonth = parseInt(timer[1])-1 + var my_month = parseInt(timer[1]) + return { + str_month: monthClapFn(changedYear, changedMonth) + date: getDate(changedYear, changedMonth), + year: changedYear, + month: changedMonth, + my_month: my_month + }; + }; + + var isSelected = function(date, year, month, day) { + if (!isDate(date)) { + date = getDate(date); + } + + if (date.getFullYear() == year && date.getMonth() == month && date.getDate() == day) return 'active active-back-one'; + return ''; + + }; + + var formatNum = function(n) { + if (n < 10) return '0' + n; + return n; + }; + + module.exports = { + getDipalyInfo: getDisplayInfo, + getChangedDate: getChangedDate, + isSelected: isSelected + } + + + + + {{item}} + + + + + + + + + + {{index + 1 - dateUtil.getDipalyInfo(dateUtil.getChangedDate(displayTime).date).beginWeek }} + + + + + + + \ No newline at end of file diff --git a/components/ui-calendar/ui-calendar.wxss b/components/ui-calendar/ui-calendar.wxss new file mode 100644 index 0000000..7ad1d3b --- /dev/null +++ b/components/ui-calendar/ui-calendar.wxss @@ -0,0 +1,52 @@ +.cm-calendar .cm-calendar-hd { + display: flex; +} + +.cm-calendar .cm-month { + text-align: center; + font-size: 32rpx; + line-height: 100rpx; +} + + +.cm-day-list .item, .cm-calendar .cm-calendar-hd .item { + display: flex; + align-items: center; + justify-content: center; + margin: 12rpx; + width: 72rpx; + height: 72rpx; + box-sizing: border-box; +} + +.cm-day-list { + display: flex; + flex-wrap: wrap; +} + +.cm-field-title{ + font-size: 26rpx; + font-weight: bold; + color: #525252; +} + +.cm-day-list .active { + border: 5rpx solid #FFB821; + border-radius: 50%; +} + +.active-back-one{ + background: linear-gradient(to left, #ffffff 0%, #ffffff 50%, #FFCC00 50%, #FFCC00 100%); +} + +.active-back-two{ + background: linear-gradient(to left, #FFCC00 0%, #FFCC00 50%, #ffffff 50%, #ffffff 100%); +} + +.active-back-three{ + background: linear-gradient(to left, #37F492 0%, #37F492 50%, #ffffff 50%, #ffffff 100%); +} + +.active-back-four{ + background: linear-gradient(to left, #FFCC00 0%, #FFCC00 50%, #37F492 50%, #37F492 100%); +} \ No newline at end of file diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js new file mode 100644 index 0000000..31775aa --- /dev/null +++ b/custom-tab-bar/index.js @@ -0,0 +1,45 @@ +Component({ + data: { + selected: 0, + color: "#e2e2e2", + selectedColor: "#000000", + list: [{ + pagePath: "/pages/calendar/calendar", + iconPath: "../assets/images/tabIcon/calendar.png", + selectedIconPath: "../assets/images/tabIcon/calendar-a.png", + text: "日历" + }, { + pagePath: "/pages/look/look", + iconPath: "../assets/images/tabIcon/look.png", + selectedIconPath: "../assets/images/tabIcon/look-a.png", + text: "看地" + },{ + pagePath: "/pages/index/index", + iconPath: "../assets/images/tabIcon/air.png", + selectedIconPath: "../assets/images/tabIcon/air.png", + text: "首页" + },{ + pagePath: "/pages/calculation/calculation", + iconPath: "../assets/images/tabIcon/calculation.png", + selectedIconPath: "../assets/images/tabIcon/calculation-a.png", + text: "测算" + },{ + pagePath: "/pages/ucenter/ucenter", + iconPath: "../assets/images/tabIcon/ucenter.png", + selectedIconPath: "../assets/images/tabIcon/ucenter-a.png", + text: "我的" + }] + }, + attached() { + }, + methods: { + switchTab(e) { + const data = e.currentTarget.dataset + const url = data.path + wx.switchTab({url}) + this.setData({ + selected: data.index + }) + } + } +}) \ No newline at end of file diff --git a/custom-tab-bar/index.json b/custom-tab-bar/index.json new file mode 100644 index 0000000..32640e0 --- /dev/null +++ b/custom-tab-bar/index.json @@ -0,0 +1,3 @@ +{ + "component": true +} \ No newline at end of file diff --git a/custom-tab-bar/index.wxml b/custom-tab-bar/index.wxml new file mode 100644 index 0000000..b896999 --- /dev/null +++ b/custom-tab-bar/index.wxml @@ -0,0 +1,14 @@ + + + + + + + + + + {{item.text}} + + + \ No newline at end of file diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss new file mode 100644 index 0000000..bbeb74e --- /dev/null +++ b/custom-tab-bar/index.wxss @@ -0,0 +1,51 @@ +.tab-box{ + position: relative; + bottom: 0; + left: 0; + right: 0; + height: 166rpx; +} +.tab-bar { + display: flex; + align-items: flex-end; + position: absolute; + left: 0; + bottom: 0; + width: 100%; + background-color: #fff; + height: 120rpx; + z-index: 2; +} + +.tab-bord{ + width: 750rpx; + height: 166rpx; + position: absolute; + z-index: 1; +} + +.tab-bar-item { + flex: 1; + text-align: center; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.tab-bar-item image { + width: 35rpx; + height: 35rpx; +} + +.tab-bar-item .tab-index{ + width: 140rpx; + height: 140rpx; + border-radius: 50%; + padding-bottom: 10rpx; +} + +.tab-bar-item view { + font-size: 10px; + line-height: 25px; +} diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json new file mode 100644 index 0000000..c909677 --- /dev/null +++ b/node_modules/.package-lock.json @@ -0,0 +1,12 @@ +{ + "name": "mini-program", + "lockfileVersion": 2, + "requires": true, + "packages": { + "node_modules/weui-miniprogram": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weui-miniprogram/-/weui-miniprogram-1.0.8.tgz", + "integrity": "sha512-fm9Hi/3s2Imp2xufuxBcbzYxIcrVt0gPMIdjHfuIFA0Fxiukztc+c2nyFspmkI9YkrdHM1o2h6qsStdK+wFhWQ==" + } + } +} diff --git a/node_modules/weui-miniprogram/CHANGELOG.md b/node_modules/weui-miniprogram/CHANGELOG.md new file mode 100644 index 0000000..767bb68 --- /dev/null +++ b/node_modules/weui-miniprogram/CHANGELOG.md @@ -0,0 +1,48 @@ +# 更新日志 + +## 1.0.8 + +- fix: 修复 #153 +- fix: 修复 `mp-searchbar` 点击取消时错误 focus +- fix: 修复 `mp-half-screen-dialog` 按钮在部分机型按钮排列出错 + +## 1.0.7 + +- fix: 修复 `mp-icon` 在 type 改变时报错 + +## 1.0.6 + +- feat: `mp-grids` 支持动态修改 grids +- feat: `mp-searchbar` 点击取消按钮时触发 `cancel` 事件 +- fix: 修复 `mp-half-screen-dialog` 中的 desc 属性判断 +- fix: 修复 `mp-searchbar` 节流搜索没有获取最新数据 +- fix: 修复 `form-validator` 中 bytelength 报错 + +## 1.0.5 + +- updata: 升级 weui-wxss +- update:使用 `hover-class` 代替 `:active` + +## 1.0.4 + +- fix: 修复 rangelength 校验 +- feat: 支持自适应 tabbar + +## 1.0.3 + +- fix: `required` 判断 (#93) +- fix: dialog 未居中 (#94) + +## 1.0.2 + +- fix: Toptips 不展示的bug +- fix: Form 校验失效的bug + +## 1.0.1 + +- 补充 package.json repository + +## 1.0.0 + +- 更新`weui-wxss`到`2.3.0`版本,支持 DarkMode +- Demo 支持 DarkMode \ No newline at end of file diff --git a/node_modules/weui-miniprogram/LICENSE b/node_modules/weui-miniprogram/LICENSE new file mode 100644 index 0000000..e3c0e45 --- /dev/null +++ b/node_modules/weui-miniprogram/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 cunjinli,rockhou,xushengni,tomylin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/weui-miniprogram/README.md b/node_modules/weui-miniprogram/README.md new file mode 100644 index 0000000..082ad09 --- /dev/null +++ b/node_modules/weui-miniprogram/README.md @@ -0,0 +1,56 @@ +## WeUI组件库简介 + +[![](https://img.shields.io/npm/v/weui-miniprogram.svg?style=flat-square)](https://www.npmjs.com/package/weui-miniprogram) +[![](https://img.shields.io/npm/dw/weui-miniprogram?style=flat-square)](https://www.npmjs.com/package/weui-miniprogram) +[![](https://img.shields.io/travis/wechat-miniprogram/weui-miniprogram.svg?style=flat-square)](https://github.com/wechat-miniprogram/weui-miniprogram) +[![](https://img.shields.io/github/license/wechat-miniprogram/weui-miniprogram.svg?style=flat-square)](https://github.com/wechat-miniprogram/weui-miniprogram) +[![](https://img.shields.io/codecov/c/github/wechat-miniprogram/weui-miniprogram.svg?style=flat-square)](https://github.com/wechat-miniprogram/weui-miniprogram) + +这是一套基于样式库[weui-wxss](https://github.com/Tencent/weui-wxss/)开发的小程序扩展组件库,同微信原生视觉体验一致的扩展组件库,由微信官方设计团队和小程序团队为微信小程序量身设计,令用户的使用感知更加统一。 + +## 如何使用 +详细使用参考[文档](https://developers.weixin.qq.com/miniprogram/dev/extended/weui) + +## 开发 +1. 初始化 +``` +npm run init +``` + +2. 执行命令: + +``` +npm run dev +``` + +默认会在包根目录下生成 miniprogram\_dev 目录,src 中的源代码会被构建并生成到 miniprogram\_dev/components 目录下。如果需要监听文件变化动态构建,则可以执行命令: + +``` +npm run watch +``` + +3. 生成的 miniprogram\_dev 目录是一个小程序项目目录,以此目录作为小程序项目目录在开发者工具中打开即可查看自定义组件被使用的效果。 + +## 其他命令 + +* 清空 miniprogram_dist 目录: + +``` +npm run clean +``` + +* 清空 miniprogam_dev 目录: + +``` +npm run clean-dev +``` + +## 适配 DarkMode + +在根结点(或组件的外层结点)增加属性 `data-weui-theme="dark"`,即把 WeUI 组件切换到 DarkMode 的表现,如: + +```html + + ... + +``` diff --git a/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.js b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.js new file mode 100644 index 0000000..e89857b --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.js @@ -0,0 +1,193 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 1); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */, +/* 1 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + multipleSlots: true, + // 在组件定义时的选项中启用多slot支持 + addGlobalClass: true + }, + properties: { + title: { + // 标题 + type: String, + value: '' + }, + showCancel: { + // 是否显示取消按钮 + type: Boolean, + value: true + }, + cancelText: { + // 取消按钮文案 + type: String, + value: '取消' + }, + maskClass: { + // 遮罩层class + type: String, + value: '' + }, + extClass: { + // 弹出窗 class + type: String, + value: '' + }, + maskClosable: { + // 点击遮罩 关闭 actionsheet + type: Boolean, + value: true + }, + mask: { + // 是否需要 遮罩层 + type: Boolean, + value: true + }, + show: { + // 是否开启 actionsheet + type: Boolean, + value: false + }, + actions: { + // actions 列表 + type: Array, + value: [], + // {text, extClass} + observer: '_groupChange' + } + }, + methods: { + _groupChange(e) { + // 支持 一维数组 写法 + if (e.length > 0 && typeof e[0] !== 'string' && !(e[0] instanceof Array)) { + this.setData({ + actions: [this.data.actions] + }); + } + }, + + buttonTap(e) { + const { + value, + groupindex, + index + } = e.currentTarget.dataset; + this.triggerEvent('actiontap', { + value, + groupindex, + index + }); + }, + + closeActionSheet(e) { + const { + type + } = e.currentTarget.dataset; + + if (this.data.maskClosable || type) { + // 点击 action 里面的 取消 + this.setData({ + show: false + }); // 关闭回调事件 + + this.triggerEvent('close'); + } + } + + } +}); + +/***/ }) +/******/ ]); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.json b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.wxml b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.wxml new file mode 100644 index 0000000..4b00657 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.wxml @@ -0,0 +1,51 @@ + + var join = function(a,b) { + return a+b + }; + var isNotSlot = function(v) { + return typeof v !== 'string' + } + module.exports = { + join: join, + isNotSlot: isNotSlot + } + + + + + + + + {{title}} + + + + + + + {{item.text}} + + + + + + + {{cancelText}} + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.wxss b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.wxss new file mode 100644 index 0000000..75d3286 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/actionsheet/actionsheet.wxss @@ -0,0 +1 @@ +.weui-mask.weui-mask_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-mask{opacity:1;transform:scale3d(1, 1, 1);transition:all .3s} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.js b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.js new file mode 100644 index 0000000..9e1c9c4 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.js @@ -0,0 +1,114 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 15); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 15: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + content: { + type: String, + value: '' + } + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.json b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.wxml b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.wxml new file mode 100644 index 0000000..b7caee3 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.wxml @@ -0,0 +1 @@ +{{content}} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.wxss b/node_modules/weui-miniprogram/miniprogram_dist/badge/badge.wxss new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.js b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.js new file mode 100644 index 0000000..45d6429 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.js @@ -0,0 +1,231 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 9); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 9: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + hover: { + type: Boolean, + value: false + }, + link: { + type: Boolean, + value: false + }, + extClass: { + type: String, + value: '' + }, + iconClass: { + type: String, + value: '' + }, + bodyClass: { + type: String, + value: '' + }, + icon: { + type: String, + value: '' + }, + title: { + // 和icon二选一,都是放在cell_hd里面 + type: String, + value: '' + }, + value: { + type: String, + value: '' + }, + showError: { + type: Boolean, + value: false + }, + prop: { + // 校验的属性,给父元素form使用 + type: String, + value: '' + }, + url: { + // 在link为true的时候有效,表示navigator的跳转url + type: String, + value: '' + }, + footerClass: { + type: String, + value: '' + }, + footer: { + type: String, + value: '' + }, + inline: { + // 左右布局样式还是上下布局 + type: Boolean, + value: true + }, + hasHeader: { + type: Boolean, + value: true + }, + hasFooter: { + type: Boolean, + value: true + }, + hasBody: { + type: Boolean, + value: true + }, + extHoverClass: { + // 提供给需要定制 hover-class 的场景,要求 hover 为 false + type: String, + value: '' + } + }, + relations: { + '../form/form': { + type: 'ancestor' + }, + '../cells/cells': { + type: 'ancestor' + } + }, + data: { + inForm: false + }, + methods: { + setError(error) { + this.setData({ + error: error || false + }); + }, + + setInForm() { + this.setData({ + inForm: true + }); + }, + + setOuterClass(className) { + this.setData({ + outerClass: className + }); + }, + + navigateTo() { + const data = this.data; + + if (data.url && data.link) { + wx.navigateTo({ + url: data.url, + success: res => { + this.triggerEvent('navigatesuccess', res, {}); + }, + fail: fail => { + this.triggerEvent('navigateerror', fail, {}); + } + }); + } + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.json b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.json new file mode 100644 index 0000000..38feec9 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-cells": "../cells/cells" + } +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.wxml b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.wxml new file mode 100644 index 0000000..b77fa98 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.wxml @@ -0,0 +1,73 @@ + + + + + + + + + + + {{title}} + + + + + + {{title}} + + + + + + + {{value}} + + + + + + {{footer}} + + + + + + + + + + + + + + + + + {{title}} + + + + + + {{title}} + + + + + + + {{value}} + + + + + + {{footer}} + + + + + + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.wxss b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.wxss new file mode 100644 index 0000000..a2142c5 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cell/cell.wxss @@ -0,0 +1 @@ +.weui-cell_wxss.weui-cell_wxss:before{display:block} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.js b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.js new file mode 100644 index 0000000..be2ed19 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.js @@ -0,0 +1,183 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 8); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 8: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + title: { + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + footer: { + type: String, + value: '' + } + }, + data: { + firstItem: null, + checkboxCount: 0, + checkboxIsMulti: false, + outerClass: '', + childClass: '' + }, + relations: { + '../cell/cell': { + type: 'descendant', + + linked(target) { + if (!this.data.firstItem) { + this.data.firstItem = target; + } + + if (target !== this.data.firstItem) { + target.setOuterClass('weui-cell_wxss'); + } + } + + }, + '../form-page/form-page': { + type: 'ancestor' + }, + '../checkbox-group/checkbox-group': { + type: 'descendant', + + linked(target) { + this.setData({ + checkboxCount: this.data.checkboxCount + 1, + checkboxIsMulti: target.data.multi + }); + }, + + unlinked(target) { + this.setData({ + checkboxCount: this.data.checkboxCount - 1, + checkboxIsMulti: target.data.multi + }); + } + + } + }, + methods: { + setCellMulti(multi) { + this.setData({ + checkboxIsMulti: multi + }); + }, + + setCellsClass(className) { + this.setData({ + childClass: className + }); + }, + + setOuterClass(className) { + this.setData({ + outerClass: className + }); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.json b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.wxml b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.wxml new file mode 100644 index 0000000..60a4705 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.wxml @@ -0,0 +1,8 @@ + + {{title}} + + + + {{footer}} + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.wxss b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.wxss new file mode 100644 index 0000000..656c106 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/cells/cells.wxss @@ -0,0 +1 @@ +.weui-cells__group_wxss.weui-cells__group_wxss .weui-cells__title{margin-top:24px}.weui-cells__group_form .weui-cells__tips{margin-top:8px;padding:0 32px;color:var(--weui-FG-1)} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.js b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.js new file mode 100644 index 0000000..b252058 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.js @@ -0,0 +1,226 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 24); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 24: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + multi: { + type: Boolean, + value: true, + observer: '_multiChange' + }, + extClass: { + type: String, + value: '' + }, + prop: { + type: String, + value: '' + } + }, + data: { + targetList: [], + parentCell: null + }, + relations: { + '../checkbox/checkbox': { + type: 'descendant', + + linked(target) { + this.data.targetList.push(target); + target.setMulti(this.data.multi); + + if (!this.data.firstItem) { + this.data.firstItem = target; + } + + if (target !== this.data.firstItem) { + target.setOuterClass('weui-cell_wxss'); + } + }, + + unlinked(target) { + let index = -1; + this.data.targetList.forEach((item, idx) => { + if (item === target) { + index = idx; + } + }); + this.data.targetList.splice(index, 1); + + if (!this.data.targetList) { + this.data.firstItem = null; + } + } + + }, + '../form/form': { + type: 'ancestor' + }, + '../cells/cells': { + type: 'ancestor', + + linked(target) { + if (!this.data.parentCell) { + this.data.parentCell = target; + } + + this.setParentCellsClass(); + }, + + unlinked() { + this.data.parentCell = null; // 方便内存回收 + } + + } + }, + methods: { + checkedChange(checked, target) { + if (this.data.multi) { + const vals = []; + this.data.targetList.forEach(item => { + if (item.data.checked) { + vals.push(item.data.value); + } + }); + this.triggerEvent('change', { + value: vals + }); + } else { + let val = ''; + this.data.targetList.forEach(item => { + if (item === target) { + val = item.data.value; + } else { + item.setData({ + checked: false + }); + } + }); + this.triggerEvent('change', { + value: val + }, {}); + } + }, + + setParentCellsClass() { + const className = this.data.multi ? 'weui-cells_checkbox' : ''; + + if (this.data.parentCell) { + this.data.parentCell.setCellsClass(className); + } + }, + + _multiChange(multi) { + this.data.targetList.forEach(target => { + target.setMulti(multi); + }); + + if (this.data.parentCell) { + this.data.parentCell.setCellMulti(multi); + } + + return multi; + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.json b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.json new file mode 100644 index 0000000..38feec9 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-cells": "../cells/cells" + } +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.wxml b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.wxml new file mode 100644 index 0000000..9864e38 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.wxml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.wxss b/node_modules/weui-miniprogram/miniprogram_dist/checkbox-group/checkbox-group.wxss new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.js b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.js new file mode 100644 index 0000000..987970b --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.js @@ -0,0 +1,184 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 25); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 25: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + multi: { + type: Boolean, + value: true + }, + checked: { + type: Boolean, + value: false + }, + value: { + type: String, + value: '' + }, + label: { + type: String, + value: 'label' + }, + extClass: { + type: String, + value: '' + } + }, + data: {}, + relations: { + '../checkbox-group/checkbox-group': { + type: 'ancestor', + + linked(target) { + this.data.group = target; + }, + + unlinked() { + this.data.group = null; + } + + } + }, + methods: { + setMulti(multi) { + this.setData({ + multi + }); + }, + + setOuterClass(className) { + this.setData({ + outerClass: className + }); + }, + + checkedChange() { + if (this.data.multi) { + const checked = !this.data.checked; + this.setData({ + checked + }); + + if (this.data.group) { + this.data.group.checkedChange(checked, this); + } + } else { + const checked = this.data.checked; + if (checked) return; + this.setData({ + checked: true + }); + + if (this.data.group) { + this.data.group.checkedChange(checked, this); + } + } + + this.triggerEvent('change', { + value: this.data.value, + checked: this.data.checked + }); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.json b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.json new file mode 100644 index 0000000..6ebe5fc --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "mp-cell": "../cell/cell", + "mp-checkbox-group": "../checkbox-group/checkbox-group" + } +} diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.wxml b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.wxml new file mode 100644 index 0000000..fa59203 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.wxml @@ -0,0 +1,20 @@ + + + + + + + + + {{label}} + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.wxss b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.wxss new file mode 100644 index 0000000..5cd2327 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/checkbox/checkbox.wxss @@ -0,0 +1 @@ +.weui-cell_radio .weui-check+.weui-icon-checked{color:transparent}.weui-check[checked]+.weui-icon-checked{color:var(--weui-BRAND);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.js b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.js new file mode 100644 index 0000000..f85153d --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.js @@ -0,0 +1,182 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 20); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 20: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + multipleSlots: true, + // 在组件定义时的选项中启用多slot支持 + addGlobalClass: true + }, + properties: { + title: { + // 弹窗标题,也可以通过 slot 自定义 + type: String, + value: '' + }, + extClass: { + // 弹窗 class + type: String, + value: '' + }, + maskClosable: { + type: Boolean, + value: true + }, + mask: { + // 是否需要 遮罩层 + type: Boolean, + value: true + }, + show: { + // 是否开启弹窗 + type: Boolean, + value: false, + observer: '_showChange' + }, + buttons: { + type: Array, + value: [] // {text, extClass} + + } + }, + data: { + innerShow: false + }, + + ready() { + const buttons = this.data.buttons; + const len = buttons.length; + buttons.forEach((btn, index) => { + if (len === 1) { + btn.className = 'weui-dialog__btn_primary'; + } else if (index === 0) { + btn.className = 'weui-dialog__btn_default'; + } else { + btn.className = 'weui-dialog__btn_primary'; + } + }); + this.setData({ + buttons + }); + }, + + methods: { + buttonTap(e) { + const { + index + } = e.currentTarget.dataset; + this.triggerEvent('buttontap', { + index, + item: this.data.buttons[index] + }, {}); + }, + + close() { + const data = this.data; + if (!data.maskClosable) return; + this.setData({ + show: false + }); + this.triggerEvent('close', {}, {}); + }, + + stopEvent() {} + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.json b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.wxml b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.wxml new file mode 100644 index 0000000..e18685f --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.wxml @@ -0,0 +1,20 @@ + + + + + {{title}} + + + + + + + + + {{item.text}} + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.wxss b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.wxss new file mode 100644 index 0000000..d105026 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/dialog/dialog.wxss @@ -0,0 +1 @@ +.weui-dialog.weui-dialog_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-dialog{opacity:1;-webkit-transform:scale3d(1, 1, 1) translateY(-50%);transform:scale3d(1, 1, 1) translateY(-50%);transition:all .2s ease-in}.weui-mask.weui-mask_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-mask{opacity:1;transform:scale3d(1, 1, 1);transition:all .2s ease-in} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.js b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.js new file mode 100644 index 0000000..b1a96d9 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.js @@ -0,0 +1,138 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 2); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 2: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + title: { + // Msg 标题 + type: String, + value: '' + }, + subtitle: { + // icon 的 type + type: String, + value: '' + } + }, + relations: { + '../cells/cells': { + type: 'descendant', + + linked(target) { + if (!this.data.firstItem) { + this.data.firstItem = target; + } + + target.setOuterClass('weui-cells__group weui-cells__group_form weui-cells_form'); + + if (target !== this.data.firstItem) { + target.setOuterClass('weui-cells__group_wxss weui-cells__group weui-cells__group_form weui-cells_form'); + } + } + + } + }, + data: { + firstItem: null + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.json b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.wxml b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.wxml new file mode 100644 index 0000000..b459fa6 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.wxml @@ -0,0 +1,31 @@ + + + + {{title}} + {{subtitle}} + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.wxss b/node_modules/weui-miniprogram/miniprogram_dist/form-page/form-page.wxss new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form/form.js b/node_modules/weui-miniprogram/miniprogram_dist/form/form.js new file mode 100644 index 0000000..0e98aca --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/form/form.js @@ -0,0 +1,745 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 4); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.diffObject = exports.diff = void 0; + +const diff = (old, newVal) => { + if (!old && newVal || old && !newVal) return true; + + for (const k in newVal) { + if (old[k] !== newVal[k]) return true; + } + + for (const k in old) { + if (old[k] !== newVal[k]) return true; + } + + return false; +}; + +exports.diff = diff; + +const diffObject = (old, newVal) => { + if (!old && newVal) return newVal; + if (!newVal && old) return old; + const diffObj = {}; + let isDiff = false; + + for (const k in newVal) { + if (old[k] !== newVal[k]) { + isDiff = true; + diffObj[k] = newVal[k]; + } + } + + for (const k in old) { + if (old[k] !== newVal[k]) { + isDiff = true; + diffObj[k] = newVal[k]; + } + } + + return isDiff ? diffObj : null; +}; + +exports.diffObject = diffObject; + +/***/ }), +/* 1 */, +/* 2 */, +/* 3 */, +/* 4 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.default = void 0; + +var _formValidator = _interopRequireDefault(__webpack_require__(5)); + +var _object = __webpack_require__(0); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function linked(target) { + if (target.data.prop) { + this.data.formItems[target.data.prop] = target; + } + + if (target.setInForm) { + target.setInForm(); + } + + if (!this.data.firstItem) { + this.data.firstItem = target; + } +} + +function unlinked(target) { + if (target.data.prop) { + delete this.data.formItems[target.data.prop]; + } +} + +Component({ + properties: { + models: { + type: Object, + value: {}, + observer: '_modelChange' + }, + rules: { + // 格式是[{name, rules: {}}] + type: Array, + value: [], + observer: '_rulesChange' + }, + extClass: { + type: String, + value: '' + } + }, + data: { + errors: {}, + formItems: {}, + firstItem: null + }, + relations: { + '../cell/cell': { + type: 'descendant', + linked, + unlinked + }, + '../checkbox-group/checkbox-group': { + type: 'descendant', + linked, + unlinked + } + }, + + attached() { + this.initRules(); + this.formValidator = new _formValidator.default(this.data.models, this.data.newRules); + }, + + methods: { + initRules(rules) { + const newRules = {}; + (rules || this.data.rules).forEach(rule => { + if (rule.name && rule.rules) { + newRules[rule.name] = rule.rules || []; + } + }); + this.setData({ + newRules + }); + return newRules; + }, + + _modelChange(newVal, oldVal) { + if (!this.formValidator) { + return newVal; + } // 这个必须在前面 + + + this.formValidator.setModel(newVal); + const diffObj = (0, _object.diffObject)(oldVal, newVal); + + if (diffObj) { + let isValid = true; + const errors = []; + const errorMap = {}; + Object.keys(diffObj).forEach(k => { + this.formValidator.validateField(k, diffObj[k], function (isValided, error) { + if (error && error[k]) { + errors.push(error[k]); + errorMap[k] = error[k]; + } + + isValid = isValided; + }); + }); + + this._showErrors(diffObj, errorMap); + + this.triggerEvent(isValid ? 'success' : 'fail', isValid ? { + trigger: 'change' + } : { + errors, + trigger: 'change' + }); + } + + return newVal; + }, + + _rulesChange(newVal) { + const newRules = this.initRules(newVal); + + if (this.formValidator) { + this.formValidator.setRules(newRules); + } + + return newVal; + }, + + _showAllErrors(errors) { + Object.keys(this.data.newRules).forEach(k => { + this._showError(k, errors && errors[k]); + }); + }, + + _showErrors(objs, errors) { + Object.keys(objs).forEach(k => { + this._showError(k, errors && errors[k]); + }); + }, + + _showError(prop, error) { + const formItem = this.data.formItems[prop]; + + if (formItem && formItem.data.showError) { + formItem.setError(error); + } + }, + + validate(cb) { + return this.formValidator.validate((isValid, errors) => { + this._showAllErrors(errors); + + const handleError = this.handleErrors(errors); + this.triggerEvent(isValid ? 'success' : 'fail', isValid ? { + trigger: 'validate' + } : { + errors: handleError, + trigger: 'validate' + }); + cb && cb(isValid, handleError); + }); + }, + + // eslint-disable-next-line @typescript-eslint/no-unused-vars + validateField(name, value, cb = (v, error = null) => {}) { + return this.formValidator.validateField(name, value, (isValid, errors) => { + this._showError(name, errors); + + const handleError = this.handleErrors(errors); + this.triggerEvent(isValid ? 'success' : 'fail', isValid ? { + trigger: 'validate' + } : { + errors: handleError, + trigger: 'validate' + }); + cb && cb(isValid, handleError); + }); + }, + + handleErrors(errors) { + if (errors) { + const newErrors = []; + this.data.rules.forEach(rule => { + if (errors[rule.name]) { + errors[rule.name].name = rule.name; + newErrors.push(errors[rule.name]); + } + }); + return newErrors; + } + + return errors; + }, + + addMethod(ruleName, method) { + return this.formValidator.addMethod(ruleName, method); + } + + } +}); +var _default = _formValidator.default; +exports.default = _default; + +/***/ }), +/* 5 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.default = void 0; + +var _validator = _interopRequireDefault(__webpack_require__(6)); + +var _object = __webpack_require__(0); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +const toString = Object.prototype.toString; + +const validateSingleRule = (rule, value, param = null, models = null) => { + let message = ''; + const ruleKeys = Object.keys(rule); + + for (let i = 0, l = ruleKeys.length; i < l; ++i) { + const ruleKey = ruleKeys[i]; + if (ruleKey === 'name' || ruleKey === 'message') continue; + const validateMethod = typeof rule.validator !== 'undefined' ? rule.validator : _validator.default[ruleKey]; + + if (typeof validateMethod === 'function') { + message = validateMethod(rule, value, param, models); + + if (message) { + return message; + } + } + } + + return message; +}; + +class FormValidator { + constructor(models, rules) { + _defineProperty(this, "models", void 0); + + _defineProperty(this, "rules", void 0); + + _defineProperty(this, "errors", void 0); + + this.models = models; + this.rules = rules; + this.errors = {}; + } + + validate(cb) { + return new Promise(resolve => { + let failCount = 0; + const errors = this.errors; + const models = this.models; // let errorChanged = false + + Object.keys(this.rules).forEach(fieldName => { + const oldError = errors[fieldName]; + + this._innerValidateField(fieldName, models[fieldName], (valid, newError) => { + if (!valid) failCount++; + + if ((0, _object.diff)(oldError, newError)) { + errors[fieldName] = newError; // errorChanged = true + } + }); + }); + const keys = Object.keys(errors); + keys.forEach(key => { + if (!errors[key]) delete errors[key]; + }); // 先支持同步的接口吧 + + resolve({ + isValid: !failCount, + errors: failCount ? errors : undefined + }); + cb && cb(!failCount, failCount ? errors : undefined); + }); + } + + validateField(name, value, cb) { + return new Promise(resolve => { + this._innerValidateField(name, value, (valid, error) => { + const errObj = {}; + errObj[name] = error; + resolve({ + valid, + error: valid ? undefined : error + }); + cb && cb(valid, valid ? undefined : errObj); + const oldError = this.errors[name]; + const errorChanged = (0, _object.diff)(oldError, error); + + if (errorChanged) { + if (!error) delete this.errors[name]; + this.errors[name] = error; + } + }); + }); + } + + _innerValidateField(name, value, cb) { + const rules = this.rules[name]; + + if (!rules) { + console.warn(`[form-validator] rule name ${name} not exists.`); + cb(true); + return; + } // 处理参数 + + + if (typeof value === 'function') { + cb = value; + value = undefined; + } + + let isFail = false; + const models = this.models; + + if (toString.call(rules) === '[object Array]') { + rules.forEach(rule => { + rule.name = name; // 字段名称 + + const resMessage = validateSingleRule(rule, value || models[name], rule.param, models); // 失败了直接中止 + + if (resMessage && !isFail) { + isFail = true; // errors[name] = {message: resMessage} + + const error = resMessage ? { + message: resMessage, + rule + } : undefined; + cb(false, error); + } + }); // 成功的回调 + + if (!isFail) { + cb(!isFail); + } + } else { + const rule = rules; + rule.name = name; + const resMessage = validateSingleRule(rule, value || models[name], rule.param, models); + const error = resMessage ? { + message: resMessage, + rule + } : undefined; + + if (resMessage) { + isFail = true; + } + + cb(!isFail, error); + } + } + + static addMethod(ruleName, method) { + _validator.default[ruleName] = method; + } + + setModel(newModel) { + this.models = newModel; + } + + setRules(newRules) { + this.rules = newRules; + } + +} + +var _default = FormValidator; +exports.default = _default; + +/***/ }), +/* 6 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.default = void 0; + +var _string = __webpack_require__(7); + +const defaultMessage = { + required: '%s必填', + minlength: '长度最少为%s', + maxlength: '长度最大为%s', + rangelength: '长度在%s和%s之间', + bytelength: '最多只能输入%s个字', + min: '值最小为%s', + max: '值最大为%s', + range: '值的范围为%s和%s之间', + mobile: '请输入正确的手机号', + email: '请输入正确的电子邮件', + url: '请输入正确的URL地址', + equalTo: '值和字段%s不相等' +}; + +const isEmpty = function (val) { + if (val === 0 || val === false) return false; + return !val; +}; + +var _default = { + required(r, val) { + if (r.required === false) return '';else if (isEmpty(val)) return (0, _string.sprintf)(r.message || defaultMessage.required, r.name);else return ''; + }, + + minlength(r, val) { + const minlen = r.minlength; + val = val || ''; + if (val.length < minlen) return (0, _string.sprintf)(r.message || defaultMessage.minlength, minlen);else return ''; + }, + + maxlength(r, val) { + const maxlen = r.maxlength; + val = val || ''; + + if (val.length > maxlen) { + return (0, _string.sprintf)(r.message || defaultMessage.maxlength, maxlen); + } else { + return ''; + } + }, + + rangelength(r, val) { + const range = r.rangelength; + val = val || ''; + + if (val.length > range[1] || val.length < range[0]) { + return (0, _string.sprintf)(r.message || defaultMessage.rangelength, range[0], range[1]); + } else { + return ''; + } + }, + + min(r, val) { + const min = r.min; + + if (val < min) { + return (0, _string.sprintf)(r.message || defaultMessage.min, min); + } else { + return ''; + } + }, + + max(r, val) { + const max = r.max; + + if (val > max) { + return (0, _string.sprintf)(r.message || defaultMessage.max, max); + } else { + return ''; + } + }, + + range(r, val) { + const range = r.range; + + if (val < range[0] || val > range[1]) { + return (0, _string.sprintf)(r.message || defaultMessage.range, range[0], range[1]); + } else { + return ''; + } + }, + + mobile(r, val) { + val = val || ''; + + if (r.mobile === false) { + return ''; + } else if (val.length !== 11) { + return (0, _string.sprintf)(r.message || defaultMessage.mobile); + } else { + return ''; + } + }, + + email(r, value) { + if (r.email === false) return ''; // contributed by Scott Gonzalez: http://projects.scottsplayground.com/email_address_validation/ + // eslint-disable-next-line + + if (!/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(value)) { + return (0, _string.sprintf)(r.message || defaultMessage.email); + } else { + return ''; + } + }, + + // http://docs.jquery.com/Plugins/Validation/Methods/url + url(r, value) { + if (r.url === false) return ''; // contributed by Scott Gonzalez: http://projects.scottsplayground.com/iri/ + + if ( // eslint-disable-next-line no-useless-escape + !/^(https?|s?ftp|weixin):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value)) { + return r.message || defaultMessage.url; + } else { + return ''; + } + }, + + equalTo(r, value, param, models) { + const equalTo = r.equalTo; + + if (value !== models[equalTo]) { + return (0, _string.sprintf)(r.message || defaultMessage.equalTo, r.name); + } else { + return ''; + } + }, + + bytelength(r, value, param) { + param = r.param; + value = value || ''; // eslint-disable-next-line no-control-regex + + const len = value.replace(/[^\x00-\xff]/g, '**').length; + + if (len > param) { + return (0, _string.sprintf)(r.message || defaultMessage.bytelength, param); + } else { + return ''; + } + } + +}; +exports.default = _default; + +/***/ }), +/* 7 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.sprintf = void 0; + +/** + * 占位替换 + * @method sprintf + * @method String.prototype.sprintf + * @example + * "my name is %s %s".sprintf("a","b") =》"my name is a b" + */ +const sprintf = (...args) => { + let i; + let result = args[0] || ''; + let para; + let reg; + const length = args.length - 1; + + if (length < 1) { + return result; + } + + i = 1; + + while (i < length + 1) { + result = result.replace(/%s/, '{#' + i + '#}'); + i++; + } + + result.replace('%s', ''); + i = 1; // eslint-disable-next-line + + while (true) { + para = args[i]; + + if (para === undefined) { + // 0 也是可能的替换数字 + break; + } + + reg = new RegExp('{#' + i + '#}', 'g'); + result = result.replace(reg, para); + i++; + } + + return result; +}; + +exports.sprintf = sprintf; + +/***/ }) +/******/ ]); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form/form.json b/node_modules/weui-miniprogram/miniprogram_dist/form/form.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/form/form.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/form/form.wxml b/node_modules/weui-miniprogram/miniprogram_dist/form/form.wxml new file mode 100644 index 0000000..d58aa4d --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/form/form.wxml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.js b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.js new file mode 100644 index 0000000..4f6afa3 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.js @@ -0,0 +1,192 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 21); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 21: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + imgUrls: { + type: Array, + value: [], + + observer(newVal) { + this.setData({ + currentImgs: newVal + }); + } + + }, + showDelete: { + // 是否显示delete按钮 + type: Boolean, + value: true + }, + show: { + type: Boolean, + value: true + }, + current: { + type: Number, + value: 0 + }, + hideOnClick: { + type: Boolean, + value: true + }, + extClass: { + type: String, + value: '' + } + }, + data: { + currentImgs: [] + }, + + ready() { + const data = this.data; + this.setData({ + currentImgs: data.imgUrls + }); + }, + + methods: { + change(e) { + this.setData({ + current: e.detail.current + }); + this.triggerEvent('change', { + current: e.detail.current + }, {}); + }, + + deleteImg() { + const data = this.data; + const imgs = data.currentImgs; + const url = imgs.splice(data.current, 1); + this.triggerEvent('delete', { + url: url[0], + index: data.current + }, {}); + + if (imgs.length === 0) { + // @ts-ignore + this.hideGallery(); + return; + } + + this.setData({ + current: 0, + currentImgs: imgs + }); + }, + + hideGallery() { + const data = this.data; + + if (data.hideOnClick) { + this.setData({ + show: false + }); + this.triggerEvent('hide', {}, {}); + } + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.json b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.wxml b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.wxml new file mode 100644 index 0000000..c2b2086 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.wxml @@ -0,0 +1,13 @@ + + {{current+1}}/{{currentImgs.length}} + + + + + + + + + 删除 + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.wxss b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.wxss new file mode 100644 index 0000000..c6010c5 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/gallery/gallery.wxss @@ -0,0 +1 @@ +.weui-gallery{display:none}.weui-gallery_show.weui-gallery{display:flex} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.js b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.js new file mode 100644 index 0000000..7f7d76d --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.js @@ -0,0 +1,149 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 23); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 23: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +const defaultGridProps = { + target: 'self', + url: '', + openType: 'navigate', + delta: 1, + appId: '', + path: '', + extraData: '', + version: 'release', + hoverClass: 'navigator-hover', + hoverStopPropagation: false, + hoverStartTime: 50, + hoverStayTime: 600, + bindsuccess: () => {}, + bindfail: () => {}, + bindcomplete: () => {} +}; +Component({ + options: { + addGlobalClass: true, + pureDataPattern: /^_/ + }, + properties: { + extClass: { + type: String, + value: '' + }, + grids: { + type: Array, + value: [], + observer: '_onGridsChange' + } + }, + data: { + innerGrids: [] + }, + + ready() {}, + + methods: { + _onGridsChange(grids) { + if (grids) { + this.setData({ + innerGrids: grids.map(grid => Object.assign({}, defaultGridProps, grid)) + }); + } + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.json b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.wxml b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.wxml new file mode 100644 index 0000000..277f3a8 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.wxml @@ -0,0 +1,26 @@ + + + + + + + {{item.text}} + + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.wxss b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.wxss new file mode 100644 index 0000000..9896a21 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/grids/grids.wxss @@ -0,0 +1 @@ +.weui-grid .weui-grid__icon_img{width:100%;height:100%} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.js b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.js new file mode 100644 index 0000000..1beb6c3 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.js @@ -0,0 +1,185 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 17); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 17: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + multipleSlots: true, + // 在组件定义时的选项中启用多slot支持 + addGlobalClass: true + }, + properties: { + closabled: { + // 是否具有关闭标签 + type: Boolean, + value: true + }, + title: { + // 标题,也可以通过 slot 自定义 + type: String, + value: '' + }, + subTitle: { + // 副标题,也可以通过 slot 自定义 + type: String, + value: '' + }, + extClass: { + // 弹窗 class + type: String, + value: '' + }, + desc: { + type: String, + value: '' + }, + tips: { + type: String, + value: '' + }, + maskClosable: { + type: Boolean, + value: true + }, + mask: { + // 是否需要 遮罩层 + type: Boolean, + value: true + }, + show: { + // 是否开启弹窗 + type: Boolean, + value: false, + observer: '_showChange' + }, + buttons: { + type: Array, + value: [] // {text, extClass} + + } + }, + methods: { + close(e) { + const { + type + } = e.currentTarget.dataset; + + if (this.data.maskClosable || type === 'close') { + this.setData({ + show: false + }); // 关闭弹窗回调事件 + + this.triggerEvent('close'); + } + }, + + buttonTap(e) { + const { + index + } = e.currentTarget.dataset; + this.triggerEvent('buttontap', { + index, + item: this.data.buttons[index] + }, {}); + }, + + onMaskMouseMove() {// do nothing + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.json b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.wxml b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.wxml new file mode 100644 index 0000000..13f9252 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.wxml @@ -0,0 +1,42 @@ + + + + + + 关闭 + + + + {{title}} + {{subTitle}} + + + + + + + 更多 + + + + + {{desc}} + {{tips}} + + + + + + + + + + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.wxss b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.wxss new file mode 100644 index 0000000..c27824c --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/half-screen-dialog/half-screen-dialog.wxss @@ -0,0 +1 @@ +.weui-mask,.weui-half-screen-dialog{transition:all .3s}.weui-hidden .weui-mask{visibility:hidden;opacity:0}.weui-hidden .weui-half-screen-dialog{transform:translateY(100%)}.weui-show .weui-mask{opacity:1;visibility:visible}.weui-show .weui-half-screen-dialog{transform:translateY(0%)}.weui-half-screen-dialog__ft{display:flex} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.js b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.js new file mode 100644 index 0000000..192dab2 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.js @@ -0,0 +1,569 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 10); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 10: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var _base = _interopRequireDefault(__webpack_require__(11)); + +var _icondata = _interopRequireDefault(__webpack_require__(12)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const getFixedIconType = function (type) { + // 兼容旧版本 typo + return type === 'field' ? 'filled' : type; +}; + +Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + type: { + type: String, + value: 'outline', + observer: '_genSrcByType' + }, + icon: { + type: String, + value: '', + observer: '_genSrcByIcon' + }, + size: { + type: Number, + value: 20 + }, + color: { + type: String, + value: '#000000' + } + }, + data: { + src: '', + height: 20, + width: 20 + }, + methods: { + _genSrcByIcon(v) { + this._genSrc(_icondata.default[v][getFixedIconType(this.data.type)]); + }, + + _genSrcByType(v) { + const iconDataItem = _icondata.default[this.data.icon]; + if (iconDataItem) this._genSrc(iconDataItem[getFixedIconType(v)]); + }, + + _genSrc(rawData) { + if (!rawData) return; // type 不存在 + + const base64 = _base.default.encode(rawData); + + this.setData({ + src: 'data:image/svg+xml;base64,' + base64 + }); + } + + } +}); + +/***/ }), + +/***/ 11: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.default = void 0; + +/* eslint-disable */ +var b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + +var cb_encode = function (ccc) { + var padlen = [0, 2, 1][ccc.length % 3], + ord = ccc.charCodeAt(0) << 16 | (ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8 | (ccc.length > 2 ? ccc.charCodeAt(2) : 0), + chars = [b64chars.charAt(ord >>> 18), b64chars.charAt(ord >>> 12 & 63), padlen >= 2 ? '=' : b64chars.charAt(ord >>> 6 & 63), padlen >= 1 ? '=' : b64chars.charAt(ord & 63)]; + return chars.join(''); +}; // @ts-ignore + + +var btoa = global.btoa ? function (b) { + // @ts-ignore + return global.btoa(b); +} : function (b) { + return b.replace(/[\s\S]{1,3}/g, cb_encode); +}; +var fromCharCode = String.fromCharCode; + +var cb_utob = function (c) { + var cc; + + if (c.length < 2) { + cc = c.charCodeAt(0); + return cc < 0x80 ? c : cc < 0x800 ? fromCharCode(0xc0 | cc >>> 6) + fromCharCode(0x80 | cc & 0x3f) : fromCharCode(0xe0 | cc >>> 12 & 0x0f) + fromCharCode(0x80 | cc >>> 6 & 0x3f) + fromCharCode(0x80 | cc & 0x3f); + } else { + cc = 0x10000 + (c.charCodeAt(0) - 0xD800) * 0x400 + (c.charCodeAt(1) - 0xDC00); + return fromCharCode(0xf0 | cc >>> 18 & 0x07) + fromCharCode(0x80 | cc >>> 12 & 0x3f) + fromCharCode(0x80 | cc >>> 6 & 0x3f) + fromCharCode(0x80 | cc & 0x3f); + } +}; + +var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; + +var utob = function (u) { + return u.replace(re_utob, cb_utob); +}; + +var _encode = function (u) { + const isUint8Array = Object.prototype.toString.call(u) === '[object Uint8Array]'; + return isUint8Array ? u.toString('base64') : btoa(utob(String(u))); +}; + +var encode = function (u, urisafe = false) { + return !urisafe ? _encode(u) : _encode(String(u)).replace(/[+\/]/g, function (m0) { + return m0 == '+' ? '-' : '_'; + }).replace(/=/g, ''); +}; + +var _default = { + encode +}; +exports.default = _default; + +/***/ }), + +/***/ 12: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.default = void 0; + +/* eslint-disable */ +var _default = { + "add-friends": { + outline: `3.Icons/Outlined/add-friendsCreated with Sketch. `, + filled: ` 3.Icons/Filled/add-friends Created with Sketch. ` + }, + "add": { + outline: ` 3.Icons/Outlined/add Created with Sketch. `, + filled: ` 3.Icons/Filled/add Created with Sketch. ` + }, + "add2": { + outline: ` 3.Icons/Outlined/add2 Created with Sketch. `, + filled: ` 3.Icons/Filled/add2 Created with Sketch. ` + }, + "album": { + outline: ` 3.Icons/Outlined/album Created with Sketch. `, + filled: ` 3.Icons/Filled/album Created with Sketch. ` + }, + "arrow": { + outline: ` 3.Icons/Outlined/arrow Created with Sketch. `, + filled: ` 3.Icons/Filled/arrow Created with Sketch. ` + }, + "at": { + outline: ` 3.Icons/Outlined/at Created with Sketch. `, + filled: ` 3.Icons/Filled/at Created with Sketch. ` + }, + "back": { + outline: ` 3.Icons/Outlined/back Created with Sketch. `, + filled: ` 3.Icons/Filled/back Created with Sketch. ` + }, + "back2": { + outline: ` 3.Icons/Outlined/back2 Created with Sketch. `, + filled: ` 3.Icons/Filled/back2 Created with Sketch. ` + }, + "bellring-off": { + outline: ` 3.Icons/Outlined/bellring_off Created with Sketch. `, + filled: ` 3.Icons/Filled/bell-ring_off Created with Sketch. ` + }, + "bellring-on": { + outline: ` 3.Icons/Outlined/bellring_on Created with Sketch. `, + filled: ` 3.Icons/Filled/bell-ring_on Created with Sketch. ` + }, + "camera": { + outline: ` 3.Icons/Outlined/camera Created with Sketch. `, + filled: ` 3.Icons/Filled/camera Created with Sketch. ` + }, + "cellphone": { + outline: ` 3.Icons/Outlined/cellphone Created with Sketch. `, + filled: ` 3.Icons/Filled/cellphone Created with Sketch. ` + }, + "clip": { + outline: ` 3.Icons/Outlined/clip Created with Sketch. `, + filled: ` 3.Icons/Filled/clip Created with Sketch. ` + }, + "close": { + outline: ` 3.Icons/Outlined/close Created with Sketch. `, + filled: ` 3.Icons/Filled/close Created with Sketch. ` + }, + "close2": { + outline: ` 3.Icons/Outlined/close2 Created with Sketch. `, + filled: ` 3.Icons/Filled/close2 Created with Sketch. ` + }, + "comment": { + outline: ` 3.Icons/Outlined/comment Created with Sketch. `, + filled: ` 3.Icons/Filled/comment Created with Sketch. ` + }, + "contacts": { + outline: ` 3.Icons/Outlined/contacts Created with Sketch. `, + filled: ` 3.Icons/Filled/contacts Created with Sketch. ` + }, + "copy": { + outline: ` 3.Icons/Outlined/copy Created with Sketch. `, + filled: ` 3.Icons/Filled/copy Created with Sketch. ` + }, + "delete-on": { + outline: ` 3.Icons/Outlined/delete_on Created with Sketch. `, + filled: ` 3.Icons/Filled/delete_on Created with Sketch. ` + }, + "delete": { + outline: ` 3.Icons/Outlined/delete Created with Sketch. `, + filled: ` 3.Icons/Filled/delete Created with Sketch. ` + }, + "discover": { + outline: ` 3.Icons/Outlined/discover Created with Sketch. `, + filled: ` 3.Icons/Filled/discover Created with Sketch. ` + }, + "display": { + outline: ` 3.Icons/Outlined/display Created with Sketch. `, + filled: ` 3.Icons/Filled/display Created with Sketch. ` + }, + "done": { + outline: ` 3.Icons/Outlined/done Created with Sketch. `, + filled: ` 3.Icons/Filled/done Created with Sketch. ` + }, + "done2": { + outline: ` 3.Icons/Outlined/done2 Created with Sketch. `, + filled: ` 3.Icons/Filled/done2 Created with Sketch. ` + }, + "download": { + outline: ` 3.Icons/Outlined/download Created with Sketch. `, + filled: ` 3.Icons/Filled/download Created with Sketch. ` + }, + "email": { + outline: ` 3.Icons/Outlined/email Created with Sketch. `, + filled: ` 3.Icons/Filled/email Created with Sketch. ` + }, + "error": { + outline: ` 3.Icons/Outlined/error Created with Sketch. `, + filled: ` 3.Icons/Filled/error Created with Sketch. ` + }, + "eyes-off": { + outline: ` 3.Icons/Outlined/eyes_off Created with Sketch. `, + filled: ` 3.Icons/Filled/eyes_off Created with Sketch. ` + }, + "eyes-on": { + outline: ` 3.Icons/Outlined/eyes_on Created with Sketch. `, + filled: ` 3.Icons/Filled/eyes_on Created with Sketch. ` + }, + "folder": { + outline: ` 3.Icons/Outlined/folder Created with Sketch. `, + filled: ` 3.Icons/Filled/folder Created with Sketch. ` + }, + "group-detail": { + outline: ` 3.Icons/Outlined/group-detail Created with Sketch. `, + filled: ` 3.Icons/Filled/group-detail Created with Sketch. ` + }, + "help": { + outline: ` 3.Icons/Outlined/help Created with Sketch. `, + filled: ` 3.Icons/Filled/help Created with Sketch. ` + }, + "home": { + outline: ` 3.Icons/Outlined/home Created with Sketch. `, + filled: ` 3.Icons/Filled/home Created with Sketch. ` + }, + "imac": { + outline: ` 3.Icons/Outlined/imac Created with Sketch. `, + filled: ` 3.Icons/Filled/imac Created with Sketch. ` + }, + "info": { + outline: ` 3.Icons/Outlined/info Created with Sketch. `, + filled: ` 3.Icons/Filled/info Created with Sketch. ` + }, + "keyboard": { + outline: ` 3.Icons/Outlined/keyboard Created with Sketch. `, + filled: ` 3.Icons/Filled/keyboard Created with Sketch. ` + }, + "like": { + outline: ` 3.Icons/Outlined/like Created with Sketch. `, + filled: ` 3.Icons/Filled/like Created with Sketch. ` + }, + "link": { + outline: ` 3.Icons/Outlined/link Created with Sketch. `, + filled: ` 3.Icons/Filled/link Created with Sketch. ` + }, + "location": { + outline: ` 3.Icons/Outlined/location Created with Sketch. `, + filled: ` 3.Icons/Filled/location Created with Sketch. ` + }, + "lock": { + outline: ` 3.Icons/Outlined/lock Created with Sketch. `, + filled: ` 3.Icons/Filled/lock Created with Sketch. ` + }, + "max-window": { + outline: ` 3.Icons/Outlined/max-window Created with Sketch. `, + filled: ` 3.Icons/Filled/max-window Created with Sketch. ` + }, + "me": { + outline: ` 3.Icons/Outlined/me Created with Sketch. `, + filled: ` 3.Icons/Filled/me Created with Sketch. ` + }, + "mike": { + outline: ` 3.Icons/Outlined/mike Created with Sketch. `, + filled: ` 3.Icons/Filled/mike Created with Sketch. ` + }, + "mike2": { + outline: ` 3.Icons/Outlined/mike2 Created with Sketch. `, + filled: ` 3.Icons/Filled/mike2 Created with Sketch. ` + }, + "mobile-contacts": { + outline: ` 3.Icons/Outlined/mobile-contacts Created with Sketch. `, + filled: ` 3.Icons/Filled/mobile-contacts Created with Sketch. ` + }, + "more": { + outline: ` 3.Icons/Outlined/more Created with Sketch. `, + filled: ` 3.Icons/Filled/more Created with Sketch. ` + }, + "more2": { + outline: ` 3.Icons/Outlined/more2 Created with Sketch. `, + filled: ` 3.Icons/Filled/more2 Created with Sketch. ` + }, + "mosaic": { + outline: ` 3.Icons/Outlined/mosaic Created with Sketch. `, + filled: ` 3.Icons/Filled/mask Created with Sketch. ` + }, + "music-off": { + outline: ` 3.Icons/Outlined/music_off Created with Sketch. `, + filled: ` 3.Icons/Filled/music-off Created with Sketch. ` + }, + "music": { + outline: ` 3.Icons/Outlined/music Created with Sketch. `, + filled: ` 3.Icons/Filled/music Created with Sketch. ` + }, + "note": { + outline: ` 3.Icons/Outlined/note Created with Sketch. `, + filled: ` 3.Icons/Filled/note Created with Sketch. ` + }, + "pad": { + outline: ` 3.Icons/Outlined/pad Created with Sketch. `, + filled: ` 3.Icons/Filled/pad Created with Sketch. ` + }, + "pause": { + outline: ` 3.Icons/Outlined/pause Created with Sketch. `, + filled: ` 3.Icons/Filled/pause Created with Sketch. ` + }, + "pencil": { + outline: ` 3.Icons/Outlined/pencil Created with Sketch. `, + filled: ` 3.Icons/Filled/pencil Created with Sketch. ` + }, + "photo-wall": { + outline: ` 3.Icons/Outlined/photo-wall Created with Sketch. `, + filled: ` 3.Icons/Filled/photo-wall Created with Sketch. ` + }, + "play": { + outline: ` 3.Icons/Outlined/play Created with Sketch. `, + filled: ` 3.Icons/Filled/play Created with Sketch. ` + }, + "play2": { + outline: ` 3.Icons/Outlined/play2 Created with Sketch. `, + filled: ` 3.Icons/Filled/play2 Created with Sketch. ` + }, + "previous": { + outline: ` 3.Icons/Outlined/previous Created with Sketch. `, + filled: ` 3.Icons/Filled/previous Created with Sketch. ` + }, + "previous2": { + outline: ` 3.Icons/Outlined/previous2 Created with Sketch. `, + filled: ` 3.Icons/Filled/previous2 Created with Sketch. ` + }, + "qr-code": { + outline: ` 3.Icons/Outlined/qr-code Created with Sketch. `, + filled: ` 3.Icons/Filled/qr-code Created with Sketch. ` + }, + "refresh": { + outline: ` 3.Icons/Outlined/refresh Created with Sketch. `, + filled: ` 3.Icons/Filled/refresh Created with Sketch. ` + }, + "report-problem": { + outline: ` 3.Icons/Outlined/report_problem Created with Sketch. `, + filled: ` 3.Icons/Filled/report-problem Created with Sketch. ` + }, + "search": { + outline: ` 3.Icons/Outlined/search Created with Sketch. `, + filled: ` 3.Icons/Filled/search Created with Sketch. ` + }, + "sending": { + outline: ` 3.Icons/Outlined/sending Created with Sketch. `, + filled: ` 3.Icons/Filled/sending Created with Sketch. ` + }, + "setting": { + outline: ` 3.Icons/Outlined/setting Created with Sketch. `, + filled: ` 3.Icons/Filled/setting Created with Sketch. ` + }, + "share": { + outline: ` 3.Icons/Outlined/share Created with Sketch. `, + filled: ` 3.Icons/Filled/share Created with Sketch. ` + }, + "shop": { + outline: ` 3.Icons/Outlined/shop Created with Sketch. `, + filled: ` 3.Icons/Filled/shop Created with Sketch. ` + }, + "star": { + outline: ` 3.Icons/Outlined/star Created with Sketch. `, + filled: ` 3.Icons/Filled/star Created with Sketch. ` + }, + "sticker": { + outline: ` 3.Icons/Outlined/sticker Created with Sketch. `, + filled: ` 3.Icons/Filled/sticker Created with Sketch. ` + }, + "tag": { + outline: ` 3.Icons/Outlined/tag Created with Sketch. `, + filled: ` 3.Icons/Filled/tag Created with Sketch. ` + }, + "text": { + outline: ` 3.Icons/Outlined/text Created with Sketch. `, + filled: ` 3.Icons/Filled/text Created with Sketch. ` + }, + "time": { + outline: ` 3.Icons/Outlined/time Created with Sketch. `, + filled: ` 3.Icons/Filled/time Created with Sketch. ` + }, + "transfer-text": { + outline: ` 3.Icons/Outlined/transfer-text Created with Sketch. `, + filled: ` 3.Icons/Filled/transfer-text Created with Sketch. ` + }, + "transfer2": { + outline: ` 3.Icons/Outlined/transfer2 Created with Sketch. `, + filled: ` 3.Icons/Filled/transfer2 Created with Sketch. ` + }, + "translate": { + outline: ` 3.Icons/Outlined/translate Created with Sketch. `, + filled: ` 3.Icons/Filled/translate Created with Sketch. ` + }, + "tv": { + outline: ` 3.Icons/Outlined/tv Created with Sketch. `, + filled: ` 3.Icons/Filled/tv Created with Sketch. ` + }, + "video-call": { + outline: ` 3.Icons/Outlined/video-call Created with Sketch. `, + filled: ` 3.Icons/Filled/video-call Created with Sketch. ` + }, + "voice": { + outline: ` 3.Icons/Outlined/voice Created with Sketch. `, + filled: ` 3.Icons/Filled/voice Created with Sketch. ` + }, + "volume-down": { + outline: ` 3.Icons/Outlined/volume_down Created with Sketch. `, + filled: ` 3.Icons/Filled/volume-down Created with Sketch. ` + }, + "volume-off": { + outline: ` 3.Icons/Outlined/volume_off Created with Sketch. `, + filled: ` 3.Icons/Filled/volume-off Created with Sketch. ` + }, + "volume-up": { + outline: ` 3.Icons/Outlined/volume_up Created with Sketch. `, + filled: ` 3.Icons/Filled/volume-up Created with Sketch. ` + } +}; +exports.default = _default; + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.json b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.wxml b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.wxml new file mode 100644 index 0000000..dba5634 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.wxml @@ -0,0 +1,14 @@ + + var double = function(a) { + return 2*a + }; + var ifSpecialIcon = function(v) { + return v === 'arrow' || v === 'back' + } + module.exports = { + double: double, + ifSpecialIcon: ifSpecialIcon + } + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.wxss b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.wxss new file mode 100644 index 0000000..f84d9ca --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/icon/icon.wxss @@ -0,0 +1 @@ +.weui-icon{vertical-align:middle;display:inline-block;background:black;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;-moz-mask-repeat:no-repeat;mask-size:cover;-webkit-mask-size:cover;-moz-mask-size:cover} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/index.js b/node_modules/weui-miniprogram/miniprogram_dist/index.js new file mode 100644 index 0000000..781674b --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/index.js @@ -0,0 +1,100 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 27); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 27: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.js b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.js new file mode 100644 index 0000000..95a4940 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.js @@ -0,0 +1,134 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 14); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 14: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + show: { + // 默认显示出来 + type: Boolean, + value: true + }, + animated: { + type: Boolean, + value: false + }, + duration: { + // 过渡动画时间 + type: Number, + value: 350 + }, + type: { + type: String, + value: 'dot-gray' // 取值dot-white、dot-gray、circle + + }, + tips: { + // type是circle的时候才有效 + type: String, + value: '加载中' + } + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.json b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.wxml b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.wxml new file mode 100644 index 0000000..a48540f --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.wxml @@ -0,0 +1,9 @@ + + + + + + + {{tips}} + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.wxss b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.wxss new file mode 100644 index 0000000..776ac45 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/loading/loading.wxss @@ -0,0 +1 @@ +.wx_loading_view{display:flex;justify-content:center;align-items:center;overflow:hidden}.wx_loading_view__hide{height:0 !important;display:none}.wx_loading_view__animated.wx_loading_view__hide{display:flex}.loading{color:rgba(255,255,255,0.9);font-size:17px;text-align:center}.loading_view_translation{transition:height .2s .3s ease} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.js b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.js new file mode 100644 index 0000000..48d060e --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.js @@ -0,0 +1,137 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 19); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 19: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + title: { + // Msg 标题 + type: String, + value: '' + }, + type: { + // icon 的 type + type: String, + value: '' + }, + icon: { + // 可以自行设置 icon, 设置icon 之后,type 失效 + type: String, + value: '' + }, + desc: { + // 描述 + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + size: { + // 可以自行设置 icon, 设置icon 之后,type 失效 + type: Number, + value: 64 + } + }, + data: {} +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.json b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.wxml b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.wxml new file mode 100644 index 0000000..f794877 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.wxml @@ -0,0 +1,29 @@ + + + + + + + {{title}} + + {{desc}} + + + + + + + + + + + + + + + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.wxss b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.wxss new file mode 100644 index 0000000..ccf2b0d --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/msg/msg.wxss @@ -0,0 +1 @@ +.weui-msg__icon-img{width:190rpx;height:190rpx} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.js b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.js new file mode 100644 index 0000000..8a21ca0 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.js @@ -0,0 +1,211 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 3); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 3: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + multipleSlots: true, + // 在组件定义时的选项中启用多slot支持 + addGlobalClass: true + }, + + /** + * 组件的属性列表 + */ + properties: { + extClass: { + type: String, + value: '' + }, + title: { + type: String, + value: '' + }, + background: { + type: String, + value: '' + }, + color: { + type: String, + value: '' + }, + back: { + type: Boolean, + value: true + }, + loading: { + type: Boolean, + value: false + }, + animated: { + // 显示隐藏的时候opacity动画效果 + type: Boolean, + value: true + }, + show: { + // 显示隐藏导航,隐藏的时候navigation-bar的高度占位还在 + type: Boolean, + value: true, + observer: '_showChange' + }, + // back为true的时候,返回的页面深度 + delta: { + type: Number, + value: 1 + } + }, + + /** + * 组件的初始数据 + */ + data: { + displayStyle: '' + }, + + attached() { + const isSupport = !!wx.getMenuButtonBoundingClientRect; + const rect = wx.getMenuButtonBoundingClientRect ? wx.getMenuButtonBoundingClientRect() : null; + wx.getSystemInfo({ + success: res => { + const ios = !!(res.system.toLowerCase().search('ios') + 1); + this.setData({ + ios, + statusBarHeight: res.statusBarHeight, + innerWidth: isSupport ? `width:${rect.left}px` : '', + innerPaddingRight: isSupport ? `padding-right:${res.windowWidth - rect.left}px` : '', + leftWidth: isSupport ? `width:${res.windowWidth - rect.left}px` : '' + }); + } + }); + }, + + /** + * 组件的方法列表 + */ + methods: { + _showChange(show) { + const animated = this.data.animated; + let displayStyle = ''; + + if (animated) { + displayStyle = `opacity: ${show ? '1' : '0'};-webkit-transition:opacity 0.5s;transition:opacity 0.5s;`; + } else { + displayStyle = `display: ${show ? '' : 'none'}`; + } + + this.setData({ + displayStyle + }); + }, + + back() { + const data = this.data; + + if (data.delta) { + wx.navigateBack({ + delta: data.delta + }); + } + + this.triggerEvent('back', { + delta: data.delta + }, {}); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.json b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.wxml b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.wxml new file mode 100644 index 0000000..a28fae0 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.wxml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + {{title}} + + + + + + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.wxss b/node_modules/weui-miniprogram/miniprogram_dist/navigation-bar/navigation-bar.wxss new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/weui-miniprogram/miniprogram_dist/package.json b/node_modules/weui-miniprogram/miniprogram_dist/package.json new file mode 100644 index 0000000..a04357f --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/package.json @@ -0,0 +1,7 @@ +{ + "name": "weui-miniprogram", + "version": "1.0.8", + "description": "小程序 WeUI 组件库", + "author": "xushengni,tomylin,cunjinli,rockhou", + "license": "MIT" +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.js b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.js new file mode 100644 index 0000000..d185c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.js @@ -0,0 +1,243 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 26); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 26: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + focus: { + type: Boolean, + value: false + }, + placeholder: { + type: String, + value: '搜索' + }, + value: { + type: String, + value: '' + }, + search: { + // 返回Promise的函数 + type: null, + // type: Function 等价 null + value: null + }, + throttle: { + // 500ms内只会调用一次search函数 + type: Number, + value: 500 + }, + cancelText: { + type: String, + value: '取消' + }, + cancel: { + type: Boolean, + value: true + } + }, + data: { + result: [] // 搜索结果 + + }, + + /* @ts-ignore */ + lastSearch: Date.now(), + lifetimes: { + // @ts-ignore + attached() { + // @ts-ignore + if (this.data.focus) { + this.setData({ + searchState: true + }); + } + } + + }, + methods: { + clearInput() { + // @ts-ignore + this.setData({ + value: '', + focus: false, + result: [] + }); // @ts-ignore + + this.triggerEvent('clear'); + }, + + // @ts-ignore + inputFocus(e) { + // this.setData({ + // searchState: true + // }) + // @ts-ignore + this.triggerEvent('focus', e.detail); + }, + + // @ts-ignore + inputBlur(e) { + this.setData({ + focus: false + }); + this.triggerEvent('blur', e.detail); + }, + + showInput() { + this.setData({ + focus: true, + searchState: true + }); + }, + + hideInput() { + this.setData({ + searchState: false + }); + this.triggerEvent('cancel'); + }, + + // @ts-ignore + inputChange(e) { + this.setData({ + value: e.detail.value + }); + this.triggerEvent('input', e.detail); + + if (Date.now() - this.lastSearch < this.data.throttle) { + return; + } + + if (typeof this.data.search !== 'function') { + return; + } + + this.lastSearch = Date.now(); + this.timerId = setTimeout(() => { + this.data.search(this.data.value).then(json => { + this.setData({ + result: json + }); + }).catch(err => { + console.error('search error', err); + }); + }, this.data.throttle); + }, + + // @ts-ignore + selectResult(e) { + const { + index + } = e.currentTarget.dataset; + const item = this.data.result[index]; + this.triggerEvent('selectresult', { + index, + item + }); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.json b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.json new file mode 100644 index 0000000..67ee694 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "mp-cells": "../cells/cells", + "mp-cell": "../cell/cell" + } +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.wxml b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.wxml new file mode 100644 index 0000000..5e6b06e --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.wxml @@ -0,0 +1,19 @@ + + + + + + + + + + {{cancelText}} + + + + {{item.text}} + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.wxss b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.wxss new file mode 100644 index 0000000..b3424f5 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/searchbar/searchbar.wxss @@ -0,0 +1 @@ +.weui-search-bar__label text{display:inline-block;font-size:14px;vertical-align:middle} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.js b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.js new file mode 100644 index 0000000..e36e89b --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.js @@ -0,0 +1,225 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 18); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 18: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + /** + * 组件的属性列表 + */ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + buttons: { + type: Array, + value: [], + + // type, data, text, src, extClass + observer() { + this.addClassNameForButton(); + } + + }, + disable: { + type: Boolean, + value: false + }, + icon: { + // 是否是icon + type: Boolean, + value: false + }, + show: { + type: Boolean, + value: false + }, + duration: { + type: Number, + value: 350 // 动画市场,单位ms + + }, + throttle: { + type: Number, + value: 40 + }, + rebounce: { + type: Number, + value: 0 // 回弹距离 + + } + }, + + /** + * 组件的初始数据 + */ + data: { + size: null + }, + + /** + * 组件的方法列表 + */ + ready() { + // @ts-ignore + this.updateRight(); + this.addClassNameForButton(); + }, + + methods: { + updateRight() { + // 获取右侧滑动显示区域的宽度 + const data = this.data; + const query = wx.createSelectorQuery().in(this); + query.select('.left').boundingClientRect(res => { + const btnQuery = wx.createSelectorQuery().in(this); + btnQuery.selectAll('.btn').boundingClientRect(rects => { + this.setData({ + size: { + buttons: rects, + button: res, + show: data.show, + disable: data.disable, + throttle: data.throttle, + rebounce: data.rebounce + } + }); + }).exec(); + }).exec(); + }, + + addClassNameForButton() { + // @ts-ignore + const { + buttons, + icon + } = this.data; + buttons.forEach(btn => { + if (icon) { + btn.className = ''; + } else if (btn.type === 'warn') { + btn.className = 'weui-slideview__btn-group_warn'; + } else { + btn.className = 'weui-slideview__btn-group_default'; + } + }); + this.setData({ + buttons + }); + }, + + buttonTapByWxs(data) { + this.triggerEvent('buttontap', data, {}); + }, + + hide() { + this.triggerEvent('hide', {}, {}); + }, + + show() { + this.triggerEvent('show', {}, {}); + }, + + transitionEnd() {} + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.json b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxml b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxml new file mode 100644 index 0000000..f1f49da --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxml @@ -0,0 +1,23 @@ + + + + + + + + + + + {{item.text}} + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxs b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxs new file mode 100644 index 0000000..b439900 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxs @@ -0,0 +1,243 @@ +/* eslint-disable */ +var touchstart = function(event, ownerInstance) { + var ins = event.instance + var st = ins.getState() + if (st.disable) return // disable的逻辑 + // console.log('touchstart st', JSON.stringify(st)) + if (!st.size) return + // console.log('touchstart', JSON.stringify(event)) + st.isMoving = true + st.startX = event.touches[0].pageX + st.startY = event.touches[0].pageY + st.firstAngle = 0 +} +var touchmove = function(event, ownerInstance) { + var ins = event.instance + var st = ins.getState() + if (!st.size || !st.isMoving) return + // console.log('touchmove', JSON.stringify(event)) + var pagex = event.touches[0].pageX - st.startX + var pagey = event.touches[0].pageY - st.startY + // 左侧45度角为界限,大于45度则允许水平滑动 + if (st.firstAngle === 0) { + st.firstAngle = Math.abs(pagex) - Math.abs(pagey) + } + if (st.firstAngle < 0) { + return + } + var movex = pagex > 0 ? Math.min(st.max, pagex) : Math.max(-st.max, pagex) + // 往回滑动的情况 + if (st.out) { + // 已经是划出来了,还要往左滑动,忽略 + if (movex < 0) return + ins.setStyle({ + 'transform': 'translateX(' + (st.transformx + movex) + 'px)', + 'transition': '' + }) + var btns = ownerInstance.selectAllComponents('.btn') + var transformTotal = 0 + var len = btns.length + var i = len - 1; + for (;i >= 0; i--) { + var transform = st.size.buttons[i].width / st.max * movex + var transformx = st.size.buttons[i].max - Math.min(st.size.buttons[i].max, transform + transformTotal) + btns[i].setStyle({ + 'transform': 'translateX(' + (-transformx) + 'px)', + 'transition': '' + }) + transformTotal += transform + } + return false + } + if (movex > 0) movex = 0 + ins.setStyle({ + 'transform': 'translateX(' + movex + 'px)', + 'transition': '' + }) + st.transformx = movex + var btns = ownerInstance.selectAllComponents('.btn') + var transformTotal = 0 + var len = btns.length + var i = len - 1; + for (;i >= 0; i--) { + var transform = st.size.buttons[i].width / st.max * movex + var transformx = Math.max(-st.size.buttons[i].max, transform + transformTotal) + btns[i].setStyle({ + 'transform': 'translateX(' + transformx + 'px)', + 'transition': '' + }) + st.size.buttons[i].transformx = transformx + transformTotal += transform + } + return false // 禁止垂直方向的滑动 +} +var touchend = function(event, ownerInstance) { + var ins = event.instance + var st = ins.getState() + if (!st.size || !st.isMoving) return + // 左侧45度角为界限,大于45度则允许水平滑动 + if (st.firstAngle < 0) { + return + } + var duration = st.duration / 1000 + st.isMoving = false + // console.log('touchend', JSON.stringify(event)) + var btns = ownerInstance.selectAllComponents('.btn') + var len = btns.length + var i = len - 1 + // console.log('len size', len) + if (Math.abs(event.changedTouches[0].pageX - st.startX) < st.throttle || event.changedTouches[0].pageX - st.startX > 0) { // 方向也要控制 + st.out = false + ins.setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + for (;i >= 0; i--) { + btns[i].setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + } + ownerInstance.callMethod('hide') + return + } + showButtons(ins, ownerInstance, duration) + ownerInstance.callMethod('show') +} +var REBOUNCE_TIME = 0.2 +var showButtons = function(ins, ownerInstance, withDuration) { + var st = ins.getState() + if (!st.size) return + var rebounceTime = st.rebounce ? REBOUNCE_TIME : 0 + var movex = st.max + st.out = true + var btns = ownerInstance.selectAllComponents('.btn') + var rebounce = st.rebounce || 0 + var len = btns.length + var i = len - 1 + ins.setStyle({ + 'transform': 'translate3d(' + (-movex - rebounce) + 'px, 0, 0)', + 'transition': 'transform ' + (withDuration) + 's' + }) + st.transformx = -movex + var transformTotal = 0 + for (;i >= 0; i--) { + var transform = st.size.buttons[i].width / st.max * movex + var transformx = (-(transform + transformTotal)) + btns[i].setStyle({ + 'transform': 'translate3d(' + transformx + 'px, 0, 0)', + 'transition': 'transform ' + (withDuration ? withDuration + rebounceTime : withDuration) + 's' + }) + st.size.buttons[i].transformx = transformx + transformTotal += transform + } +} +var innerHideButton = function(ownerInstance) { + var ins = ownerInstance.selectComponent('.left') + var st = ins.getState() + if (!st.size) return + var duration = st.duration ? st.duration / 1000 : 0 + var btns = ownerInstance.selectAllComponents('.btn') + var len = btns.length + var i = len - 1 + ins.setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + st.transformx = 0 + for (;i >= 0; i--) { + btns[i].setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + st.size.buttons[i].transformx = 0 + } +} +var hideButton = function(event, ownerInstance) { + innerHideButton(ownerInstance) + ownerInstance.callMethod('buttonTapByWxs', {index: event.currentTarget.dataset.index, data: event.currentTarget.dataset.data}) + return false +} +var sizeReady = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + // st.disable = newVal && newVal.disable + if (newVal && newVal.button && newVal.buttons) { + st.size = newVal + st.transformx = 0 + // var min = newVal.button.width + var max = 0 + var len = newVal.buttons.length + var i = newVal.buttons.length - 1; + var total = 0 + for (; i >= 0; i--) { + max += newVal.buttons[i].width + // if (min > newVal.buttons[i]) { + // min = newVal.buttons[i].width + // } + total += newVal.buttons[i].width + newVal.buttons[i].max = total + newVal.buttons[i].transformx = 0 + } + st.throttle = st.size.throttle || 40 // 固定值 + st.rebounce = st.size.rebounce + st.max = max + ownerInstance.selectComponent('.right').setStyle({ + 'line-height': newVal.button.height + 'px', + left: (newVal.button.width) + 'px', + width: max + 'px' + }) + // console.log('st size', JSON.stringify(newVal)) + if (!st.size.disable && st.size.show) { + showButtons(ins, ownerInstance) + } + } +} +var disableChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + st.disable = newVal +} +var durationChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + st.duration = newVal || 400 +} +var showChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + st.show = newVal + if (st.disable) return + // console.log('show change') + if (st.show) { + showButtons(ins, ownerInstance, st.duration) + } else { + innerHideButton(ownerInstance) + } +} +var rebounceChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + // console.log('rebounce', st.rebounce) + st.rebounce = newVal +} +var transitionEnd = function(event, ownerInstance) { + // console.log('transition') + var ins = event.instance + var st = ins.getState() + // 回弹效果 + if (st.out && st.rebounce) { + // console.log('transition rebounce', st.rebounce) + ins.setStyle({ + 'transform': 'translate3d(' + (-st.max) + 'px, 0, 0)', + 'transition': 'transform ' + REBOUNCE_TIME +'s' + }) + } +} +module.exports = { + touchstart: touchstart, + touchmove: touchmove, + touchend: touchend, + hideButton: hideButton, + sizeReady: sizeReady, + disableChange: disableChange, + durationChange: durationChange, + showChange: showChange, + rebounceChange: rebounceChange, + transitionEnd: transitionEnd +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxss b/node_modules/weui-miniprogram/miniprogram_dist/slideview/slideview.wxss new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/weui-miniprogram/miniprogram_dist/static/icon/s-arrow-back.png b/node_modules/weui-miniprogram/miniprogram_dist/static/icon/s-arrow-back.png new file mode 100644 index 0000000..c422538 Binary files /dev/null and b/node_modules/weui-miniprogram/miniprogram_dist/static/icon/s-arrow-back.png differ diff --git a/node_modules/weui-miniprogram/miniprogram_dist/static/icon/s-arrow-back.svg b/node_modules/weui-miniprogram/miniprogram_dist/static/icon/s-arrow-back.svg new file mode 100644 index 0000000..ac849c0 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/static/icon/s-arrow-back.svg @@ -0,0 +1,20 @@ + + + + Icons/Filled/arrow Copy 2 + Created with Sketch. + + + + + + + + + + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.js b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.js new file mode 100644 index 0000000..142f0c9 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.js @@ -0,0 +1,138 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 16); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 16: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + list: { + type: Array, + value: [] + }, + current: { + type: Number, + value: 0 + } + }, + methods: { + tabChange(e) { + const { + index + } = e.currentTarget.dataset; + + if (index === this.data.current) { + return; + } + + this.setData({ + current: index + }); + this.triggerEvent('change', { + index, + item: this.data.list[index] + }); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.json b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.json new file mode 100644 index 0000000..e083792 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-badge": "../badge/badge" + } +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.wxml b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.wxml new file mode 100644 index 0000000..e7270e2 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.wxml @@ -0,0 +1,10 @@ + + + + + + + + {{item.text}} + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.wxss b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.wxss new file mode 100644 index 0000000..6d0ef94 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/tabbar/tabbar.wxss @@ -0,0 +1 @@ +page,[data-weui-theme='light']{--weui-BG-0:#ededed;--weui-BG-1:#f7f7f7;--weui-BG-2:#fff;--weui-BG-3:#f7f7f7;--weui-BG-4:#4c4c4c;--weui-BG-5:#fff;--weui-FG-0:rgba(0,0,0,0.9);--weui-FG-HALF:rgba(0,0,0,0.9);--weui-FG-1:rgba(0,0,0,0.5);--weui-FG-2:rgba(0,0,0,0.3);--weui-FG-3:rgba(0,0,0,0.1);--weui-RED:#fa5151;--weui-ORANGE:#fa9d3b;--weui-YELLOW:#ffc300;--weui-GREEN:#91d300;--weui-LIGHTGREEN:#95ec69;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1485ee;--weui-PURPLE:#6467f0;--weui-WHITE:#fff;--weui-LINK:#576b95;--weui-TEXTGREEN:#06ae56;--weui-FG:black;--weui-BG:white;--weui-TAG-TEXT-ORANGE:#fa9d3b;--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,0.1);--weui-TAG-TEXT-GREEN:#06ae56;--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,0.1);--weui-TAG-TEXT-BLUE:#10aeff;--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,0.1);--weui-TAG-TEXT-BLACK:rgba(0,0,0,0.5);--weui-TAG-BACKGROUND-BLACK:rgba(0,0,0,0.05)}[data-weui-theme='dark']{--weui-BG-0:#111111;--weui-BG-1:#1e1e1e;--weui-BG-2:#191919;--weui-BG-3:#202020;--weui-BG-4:#404040;--weui-BG-5:#2c2c2c;--weui-FG-0:rgba(255,255,255,0.8);--weui-FG-HALF:rgba(255,255,255,0.6);--weui-FG-1:rgba(255,255,255,0.5);--weui-FG-2:rgba(255,255,255,0.3);--weui-FG-3:rgba(255,255,255,0.05);--weui-RED:#fa5151;--weui-ORANGE:#c87d2f;--weui-YELLOW:#cc9c00;--weui-GREEN:#74a800;--weui-LIGHTGREEN:#3eb575;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1196ff;--weui-PURPLE:#8183ff;--weui-WHITE:rgba(255,255,255,0.8);--weui-LINK:#7d90a9;--weui-TEXTGREEN:#259c5c;--weui-FG:white;--weui-BG:black;--weui-TAG-TEXT-ORANGE:rgba(250,157,59,0.6);--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,0.1);--weui-TAG-TEXT-GREEN:rgba(6,174,86,0.6);--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,0.1);--weui-TAG-TEXT-BLUE:rgba(16,174,255,0.6);--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,0.1);--weui-TAG-TEXT-BLACK:rgba(255,255,255,0.5);--weui-TAG-BACKGROUND-BLACK:rgba(255,255,255,0.05)}page,[data-weui-theme='light']{--weui-BG-COLOR-ACTIVE:#ececec}[data-weui-theme='dark']{--weui-BG-COLOR-ACTIVE:#373737}page,[data-weui-theme='light']{--weui-BTN-DISABLED-FONT-COLOR:rgba(0,0,0,0.2)}[data-weui-theme='dark']{--weui-BTN-DISABLED-FONT-COLOR:rgba(255,255,255,0.2)}page,[data-weui-theme='light']{--weui-BTN-DEFAULT-BG:#f2f2f2}[data-weui-theme='dark']{--weui-BTN-DEFAULT-BG:rgba(255,255,255,0.08)}page,[data-weui-theme='light']{--weui-BTN-DEFAULT-COLOR:#06ae56}[data-weui-theme='dark']{--weui-BTN-DEFAULT-COLOR:rgba(255,255,255,0.8)}page,[data-weui-theme='light']{--weui-BTN-DEFAULT-ACTIVE-BG:#e6e6e6}[data-weui-theme='dark']{--weui-BTN-DEFAULT-ACTIVE-BG:rgba(255,255,255,0.126)}page,[data-weui-theme='light']{--weui-DIALOG-LINE-COLOR:rgba(0,0,0,0.1)}[data-weui-theme='dark']{--weui-DIALOG-LINE-COLOR:rgba(255,255,255,0.1)}@media only screen and (min-width:450px){.weui-tabbar{flex-direction:column;width:60px;height:100%}.weui-tabbar:before{left:unset;height:unset;content:" ";position:absolute;right:0;top:0;width:1px;bottom:0;border-right:1px solid var(--weui-FG-3);color:var(--weui-FG-3);transform-origin:100% 0;transform:scaleX(.5)}.weui-tabbar__item{flex:none}} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.js b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.js new file mode 100644 index 0000000..12e028f --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.js @@ -0,0 +1,174 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 13); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 13: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + type: { + type: String, + value: 'error', + observer: '_typeChange' + }, + show: { + type: Boolean, + value: false, + observer: '_showChange' + }, + msg: { + type: String, + value: '' + }, + delay: { + type: Number, + value: 2000 + }, + extClass: { + type: String, + value: '' + } + }, + data: { + typeClassMap: { + warn: 'weui-toptips_warn', + info: 'weui-toptips_info', + success: 'weui-toptips_success', + error: 'weui-toptips_error' + } + }, + + attached() { + const data = this.data; + this.setData({ + className: data.typeClassMap[data.type] || '' + }); + }, + + methods: { + _typeChange(newVal) { + this.setData({ + className: this.data.typeClassMap[newVal] || '' + }); + return newVal; + }, + + _showChange(newVal) { + this._showToptips(newVal); + }, + + _showToptips(newVal) { + if (newVal && this.data.delay) { + setTimeout(() => { + this.setData({ + show: false + }, () => { + // tooltips 隐藏了,触发 hide 事件 + this.triggerEvent('hide', {}, {}); + }); + }, this.data.delay); + } + + this.setData({ + show: newVal + }); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.json b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.wxml b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.wxml new file mode 100644 index 0000000..61a337c --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.wxml @@ -0,0 +1,6 @@ + + {{msg}} + + + + \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.wxss b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.wxss new file mode 100644 index 0000000..3950287 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/toptips/toptips.wxss @@ -0,0 +1 @@ +.weui-toptips_show.weui-toptips{display:block}.weui-toptips_show{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}.weui-toptips_success{background-color:var(--weui-BRAND)}.weui-toptips_error{background-color:var(--weui-RED)}.weui-toptips_info{background-color:var(--weui-BLUE)} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.js b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.js new file mode 100644 index 0000000..2788a57 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.js @@ -0,0 +1,316 @@ +module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 22); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 22: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + title: { + type: String, + value: '图片上传' + }, + sizeType: { + type: Array, + value: ['original', 'compressed'] + }, + sourceType: { + type: Array, + value: ['album', 'camera'] + }, + maxSize: { + type: Number, + value: 5 * 1024 * 1024 + }, + maxCount: { + // 最多上传多少个文件 + type: Number, + value: 1 + }, + files: { + // 当前的图片列表, {url, error, loading} + type: Array, + value: [], + + observer(newVal) { + this.setData({ + currentFiles: newVal + }); + } + + }, + select: { + // 过滤某个文件 + type: null, + value: () => {} + }, + upload: { + // 返回Promise的一个文件上传的函数 + type: null, + value: null + }, + tips: { + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + showDelete: { + // 是否显示delete按钮 + type: Boolean, + value: true + } + }, + data: { + currentFiles: [], + showPreview: false, + previewImageUrls: [] + }, + + ready() {}, + + methods: { + previewImage(e) { + const { + index + } = e.currentTarget.dataset; + const previewImageUrls = []; + this.data.files.forEach(item => { + previewImageUrls.push(item.url); + }); + this.setData({ + previewImageUrls, + previewCurrent: index, + showPreview: true + }); + }, + + chooseImage() { + if (this.uploading) return; + wx.chooseImage({ + count: this.data.maxCount - this.data.files.length, + sizeType: this.data.sizeType, + sourceType: this.data.sourceType, + success: res => { + // console.log('chooseImage resp', res) + // 首先检查文件大小 + let invalidIndex = -1; // @ts-ignore + + res.tempFiles.forEach((item, index) => { + if (item.size > this.data.maxSize) { + invalidIndex = index; + } + }); + + if (typeof this.data.select === 'function') { + const ret = this.data.select(res); + + if (ret === false) { + return; + } + } + + if (invalidIndex >= 0) { + this.triggerEvent('fail', { + type: 1, + errMsg: `chooseImage:fail size exceed ${this.data.maxSize}`, + total: res.tempFilePaths.length, + index: invalidIndex + }, {}); + return; + } // 获取文件内容 + + + const mgr = wx.getFileSystemManager(); + const contents = res.tempFilePaths.map(item => { + // @ts-ignore + const fileContent = mgr.readFileSync(item); + return fileContent; + }); + const obj = { + tempFilePaths: res.tempFilePaths, + tempFiles: res.tempFiles, + contents + }; // 触发选中的事件,开发者根据内容来上传文件,上传了把上传的结果反馈到files属性里面 + + this.triggerEvent('select', obj, {}); + const files = res.tempFilePaths.map((item, i) => ({ + loading: true, + // @ts-ignore + url: res.tempFilePaths[i] || `data:image/jpg;base64,${wx.arrayBufferToBase64(contents[i])}` + })); + if (!files || !files.length) return; + + if (typeof this.data.upload === 'function') { + const len = this.data.files.length; + const newFiles = this.data.files.concat(files); + this.setData({ + files: newFiles, + currentFiles: newFiles + }); + this.loading = true; + this.data.upload(obj).then(json => { + this.loading = false; + + if (json.urls) { + const oldFiles = this.data.files; + json.urls.forEach((url, index) => { + oldFiles[len + index].url = url; + oldFiles[len + index].loading = false; + }); + this.setData({ + files: oldFiles, + currentFiles: newFiles + }); + this.triggerEvent('success', json, {}); + } else { + this.triggerEvent('fail', { + type: 3, + errMsg: 'upload file fail, urls not found' + }, {}); + } + }).catch(err => { + this.loading = false; + const oldFiles = this.data.files; + res.tempFilePaths.forEach((item, index) => { + oldFiles[len + index].error = true; + oldFiles[len + index].loading = false; + }); + this.setData({ + files: oldFiles, + currentFiles: newFiles + }); + this.triggerEvent('fail', { + type: 3, + errMsg: 'upload file fail', + error: err + }, {}); + }); + } + }, + fail: fail => { + if (fail.errMsg.indexOf('chooseImage:fail cancel') >= 0) { + this.triggerEvent('cancel', {}, {}); + return; + } + + fail.type = 2; + this.triggerEvent('fail', fail, {}); + } + }); + }, + + deletePic(e) { + const index = e.detail.index; + const files = this.data.files; + const file = files.splice(index, 1); + this.setData({ + files, + currentFiles: files + }); + this.triggerEvent('delete', { + index, + item: file[0] + }); + } + + } +}); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.json b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.json new file mode 100644 index 0000000..e3479ce --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-gallery": "../gallery/gallery" + } +} diff --git a/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.wxml b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.wxml new file mode 100644 index 0000000..9213035 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.wxml @@ -0,0 +1,36 @@ + + + + {{title}} + {{currentFiles.length}}/{{maxCount}} + + + {{tips}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.wxss b/node_modules/weui-miniprogram/miniprogram_dist/uploader/uploader.wxss new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/weui-miniprogram/miniprogram_dist/weui-wxss/dist/style/icon/weui-icon.wxss b/node_modules/weui-miniprogram/miniprogram_dist/weui-wxss/dist/style/icon/weui-icon.wxss new file mode 100644 index 0000000..3c92bf4 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/weui-wxss/dist/style/icon/weui-icon.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.4.0 (https://github.com/weui/weui-wxss) + * Copyright 2020 Tencent, Inc. + * Licensed under the MIT license + */ +[data-weui-theme=light],page{--weui-BG-0:#ededed;--weui-BG-1:#f7f7f7;--weui-BG-2:#fff;--weui-BG-3:#f7f7f7;--weui-BG-4:#4c4c4c;--weui-BG-5:#fff;--weui-FG-0:rgba(0,0,0,.9);--weui-FG-HALF:rgba(0,0,0,.9);--weui-FG-1:rgba(0,0,0,.5);--weui-FG-2:rgba(0,0,0,.3);--weui-FG-3:rgba(0,0,0,.1);--weui-RED:#fa5151;--weui-ORANGE:#fa9d3b;--weui-YELLOW:#ffc300;--weui-GREEN:#91d300;--weui-LIGHTGREEN:#95ec69;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1485ee;--weui-PURPLE:#6467f0;--weui-WHITE:#fff;--weui-LINK:#576b95;--weui-TEXTGREEN:#06ae56;--weui-FG:#000;--weui-BG:#fff;--weui-TAG-TEXT-ORANGE:#fa9d3b;--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,.1);--weui-TAG-TEXT-GREEN:#06ae56;--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,.1);--weui-TAG-TEXT-BLUE:#10aeff;--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,.1);--weui-TAG-TEXT-BLACK:rgba(0,0,0,.5);--weui-TAG-BACKGROUND-BLACK:rgba(0,0,0,.05)}[data-weui-theme=dark]{--weui-BG-0:#111;--weui-BG-1:#1e1e1e;--weui-BG-2:#191919;--weui-BG-3:#202020;--weui-BG-4:#404040;--weui-BG-5:#2c2c2c;--weui-FG-0:hsla(0,0%,100%,.8);--weui-FG-HALF:hsla(0,0%,100%,.6);--weui-FG-1:hsla(0,0%,100%,.5);--weui-FG-2:hsla(0,0%,100%,.3);--weui-FG-3:hsla(0,0%,100%,.05);--weui-RED:#fa5151;--weui-ORANGE:#c87d2f;--weui-YELLOW:#cc9c00;--weui-GREEN:#74a800;--weui-LIGHTGREEN:#3eb575;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1196ff;--weui-PURPLE:#8183ff;--weui-WHITE:hsla(0,0%,100%,.8);--weui-LINK:#7d90a9;--weui-TEXTGREEN:#259c5c;--weui-FG:#fff;--weui-BG:#000;--weui-TAG-TEXT-ORANGE:rgba(250,157,59,.6);--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,.1);--weui-TAG-TEXT-GREEN:rgba(6,174,86,.6);--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,.1);--weui-TAG-TEXT-BLUE:rgba(16,174,255,.6);--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,.1);--weui-TAG-TEXT-BLACK:hsla(0,0%,100%,.5);--weui-TAG-BACKGROUND-BLACK:hsla(0,0%,100%,.05)}[data-weui-theme=light],page{--weui-BG-COLOR-ACTIVE:#ececec}[data-weui-theme=dark]{--weui-BG-COLOR-ACTIVE:#373737}[class*=" weui-icon-"],[class^=weui-icon-]{display:inline-block;vertical-align:middle;width:24px;height:24px;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;background-color:currentColor}.weui-icon-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-download{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-info{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-safe-success{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-safe-warn{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-no-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-waiting{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-waiting-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-warn{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-info-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-cancel{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)}.weui-icon-search{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-clear{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-delete{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-no-circle-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-arrow{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-arrow-bold{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-arrow{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-arrow-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-close{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-close-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success{color:var(--weui-BRAND)}.weui-icon-waiting{color:var(--weui-BLUE)}.weui-icon-warn{color:var(--weui-RED)}.weui-icon-info{color:var(--weui-BLUE)}.weui-icon-success-circle,.weui-icon-success-no-circle,.weui-icon-success-no-circle-thin{color:var(--weui-BRAND)}.weui-icon-waiting-circle{color:var(--weui-BLUE)}.weui-icon-circle{color:var(--weui-FG-2)}.weui-icon-download{color:var(--weui-BRAND)}.weui-icon-info-circle{color:var(--weui-FG-2)}.weui-icon-safe-success{color:var(--weui-BRAND)}.weui-icon-safe-warn{color:var(--weui-YELLOW)}.weui-icon-cancel{color:var(--weui-RED)}.weui-icon-search{color:var(--weui-FG-1)}.weui-icon-clear{color:var(--weui-FG-2)}.weui-icon-clear.weui-active{color:var(--weui-FG-1)}.weui-icon-delete.weui-icon_gallery-delete{color:var(--weui-WHITE)}.weui-icon-arrow,.weui-icon-arrow-bold,.weui-icon-back-arrow,.weui-icon-back-arrow-thin{width:12px}.weui-icon-arrow,.weui-icon-arrow-bold{color:var(--weui-FG-2)}.weui-icon-back,.weui-icon-back-arrow,.weui-icon-back-arrow-thin,.weui-icon-back-circle{color:var(--weui-FG-0)}.weui-icon_msg{width:64px;height:64px}.weui-icon_msg.weui-icon-warn{color:var(--weui-RED)}.weui-icon_msg-primary{width:64px;height:64px}.weui-icon_msg-primary.weui-icon-warn{color:var(--weui-YELLOW)} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/miniprogram_dist/weui-wxss/dist/style/weui.wxss b/node_modules/weui-miniprogram/miniprogram_dist/weui-wxss/dist/style/weui.wxss new file mode 100644 index 0000000..123fe88 --- /dev/null +++ b/node_modules/weui-miniprogram/miniprogram_dist/weui-wxss/dist/style/weui.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.4.0 (https://github.com/weui/weui-wxss) + * Copyright 2020 Tencent, Inc. + * Licensed under the MIT license + */ +[data-weui-theme=light],page{--weui-BTN-DISABLED-FONT-COLOR:rgba(0,0,0,.2)}[data-weui-theme=dark]{--weui-BTN-DISABLED-FONT-COLOR:hsla(0,0%,100%,.2)}[data-weui-theme=light],page{--weui-BTN-DEFAULT-BG:#f2f2f2}[data-weui-theme=dark]{--weui-BTN-DEFAULT-BG:hsla(0,0%,100%,.08)}[data-weui-theme=light],page{--weui-BTN-DEFAULT-COLOR:#06ae56}[data-weui-theme=dark]{--weui-BTN-DEFAULT-COLOR:hsla(0,0%,100%,.8)}[data-weui-theme=light],page{--weui-BTN-DEFAULT-ACTIVE-BG:#e6e6e6}[data-weui-theme=dark]{--weui-BTN-DEFAULT-ACTIVE-BG:hsla(0,0%,100%,.126)}[data-weui-theme=light],page{--weui-DIALOG-LINE-COLOR:rgba(0,0,0,.1)}[data-weui-theme=dark]{--weui-DIALOG-LINE-COLOR:hsla(0,0%,100%,.1)}page{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}icon{vertical-align:middle}[data-weui-theme=light],page{--weui-BG-0:#ededed;--weui-BG-1:#f7f7f7;--weui-BG-2:#fff;--weui-BG-3:#f7f7f7;--weui-BG-4:#4c4c4c;--weui-BG-5:#fff;--weui-FG-0:rgba(0,0,0,.9);--weui-FG-HALF:rgba(0,0,0,.9);--weui-FG-1:rgba(0,0,0,.5);--weui-FG-2:rgba(0,0,0,.3);--weui-FG-3:rgba(0,0,0,.1);--weui-RED:#fa5151;--weui-ORANGE:#fa9d3b;--weui-YELLOW:#ffc300;--weui-GREEN:#91d300;--weui-LIGHTGREEN:#95ec69;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1485ee;--weui-PURPLE:#6467f0;--weui-WHITE:#fff;--weui-LINK:#576b95;--weui-TEXTGREEN:#06ae56;--weui-FG:#000;--weui-BG:#fff;--weui-TAG-TEXT-ORANGE:#fa9d3b;--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,.1);--weui-TAG-TEXT-GREEN:#06ae56;--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,.1);--weui-TAG-TEXT-BLUE:#10aeff;--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,.1);--weui-TAG-TEXT-BLACK:rgba(0,0,0,.5);--weui-TAG-BACKGROUND-BLACK:rgba(0,0,0,.05)}[data-weui-theme=dark]{--weui-BG-0:#111;--weui-BG-1:#1e1e1e;--weui-BG-2:#191919;--weui-BG-3:#202020;--weui-BG-4:#404040;--weui-BG-5:#2c2c2c;--weui-FG-0:hsla(0,0%,100%,.8);--weui-FG-HALF:hsla(0,0%,100%,.6);--weui-FG-1:hsla(0,0%,100%,.5);--weui-FG-2:hsla(0,0%,100%,.3);--weui-FG-3:hsla(0,0%,100%,.05);--weui-RED:#fa5151;--weui-ORANGE:#c87d2f;--weui-YELLOW:#cc9c00;--weui-GREEN:#74a800;--weui-LIGHTGREEN:#3eb575;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1196ff;--weui-PURPLE:#8183ff;--weui-WHITE:hsla(0,0%,100%,.8);--weui-LINK:#7d90a9;--weui-TEXTGREEN:#259c5c;--weui-FG:#fff;--weui-BG:#000;--weui-TAG-TEXT-ORANGE:rgba(250,157,59,.6);--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,.1);--weui-TAG-TEXT-GREEN:rgba(6,174,86,.6);--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,.1);--weui-TAG-TEXT-BLUE:rgba(16,174,255,.6);--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,.1);--weui-TAG-TEXT-BLACK:hsla(0,0%,100%,.5);--weui-TAG-BACKGROUND-BLACK:hsla(0,0%,100%,.05)}[data-weui-theme=light],page{--weui-BG-COLOR-ACTIVE:#ececec}[data-weui-theme=dark]{--weui-BG-COLOR-ACTIVE:#373737}[class*=" weui-icon-"],[class^=weui-icon-]{display:inline-block;vertical-align:middle;width:24px;height:24px;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;background-color:currentColor}.weui-icon-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-download{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-info{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-safe-success{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-safe-warn{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-no-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-waiting{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-waiting-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-warn{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-info-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-cancel{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)}.weui-icon-search{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-clear{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-delete{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-no-circle-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-arrow{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-arrow-bold{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-arrow{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-arrow-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-close{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-close-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success{color:var(--weui-BRAND)}.weui-icon-waiting{color:var(--weui-BLUE)}.weui-icon-warn{color:var(--weui-RED)}.weui-icon-info{color:var(--weui-BLUE)}.weui-icon-success-circle,.weui-icon-success-no-circle,.weui-icon-success-no-circle-thin{color:var(--weui-BRAND)}.weui-icon-waiting-circle{color:var(--weui-BLUE)}.weui-icon-circle{color:var(--weui-FG-2)}.weui-icon-download{color:var(--weui-BRAND)}.weui-icon-info-circle{color:var(--weui-FG-2)}.weui-icon-safe-success{color:var(--weui-BRAND)}.weui-icon-safe-warn{color:var(--weui-YELLOW)}.weui-icon-cancel{color:var(--weui-RED)}.weui-icon-search{color:var(--weui-FG-1)}.weui-icon-clear{color:var(--weui-FG-2)}.weui-icon-clear.weui-active{color:var(--weui-FG-1)}.weui-icon-delete.weui-icon_gallery-delete{color:var(--weui-WHITE)}.weui-icon-arrow,.weui-icon-arrow-bold,.weui-icon-back-arrow,.weui-icon-back-arrow-thin{width:12px}.weui-icon-arrow,.weui-icon-arrow-bold{color:var(--weui-FG-2)}.weui-icon-back,.weui-icon-back-arrow,.weui-icon-back-arrow-thin,.weui-icon-back-circle{color:var(--weui-FG-0)}.weui-icon_msg{width:64px;height:64px}.weui-icon_msg.weui-icon-warn{color:var(--weui-RED)}.weui-icon_msg-primary{width:64px;height:64px}.weui-icon_msg-primary.weui-icon-warn{color:var(--weui-YELLOW)}.weui-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-link,.weui-link:visited{color:var(--weui-LINK)}.weui-btn{position:relative;display:block;width:184px;margin-left:auto;margin-right:auto;padding:8px 24px;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;border-radius:4px;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-btn_block{width:auto}.weui-btn_inline{display:inline-block}.weui-btn_default{background-color:var(--weui-BTN-DEFAULT-BG)}.weui-btn_default,.weui-btn_default:not(.weui-btn_disabled):visited{color:var(--weui-BTN-DEFAULT-COLOR)}.weui-btn_default:not(.weui-btn_disabled).weui-active{background-color:var(--weui-BTN-DEFAULT-ACTIVE-BG)}.weui-btn_primary{background-color:var(--weui-BRAND)}.weui-btn_primary:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_primary:not(.weui-btn_disabled).weui-active{background-color:var(--weui-TAG-TEXT-GREEN)}.weui-btn_warn{background-color:var(--weui-BTN-DEFAULT-BG)}.weui-btn_warn,.weui-btn_warn:not(.weui-btn_disabled):visited{color:var(--weui-RED)}.weui-btn_warn:not(.weui-btn_disabled).weui-active{background-color:var(--weui-BTN-DEFAULT-ACTIVE-BG)}.weui-btn_disabled{color:var(--weui-BTN-DISABLED-FONT-COLOR);background-color:var(--weui-BTN-DEFAULT-BG)}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary{background-color:var(--weui-TAG-TEXT-GREEN);color:var(--weui-WHITE)}.weui-btn_loading.weui-btn_default,.weui-btn_loading.weui-btn_warn{background-color:var(--weui-BTN-DEFAULT-ACTIVE-BG)}.weui-btn_cell{position:relative;display:block;margin-left:auto;margin-right:auto;box-sizing:border-box;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;padding:16px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;background-color:var(--weui-BG-5)}.weui-btn_cell+.weui-btn_cell{margin-top:16px}.weui-btn_cell.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-btn_cell__icon{display:inline-block;vertical-align:middle;width:24px;height:24px;margin:-.2em .34em 0 0}.weui-btn_cell-default{color:var(--weui-FG-0)}.weui-btn_cell-primary{color:var(--weui-LINK)}.weui-btn_cell-warn{color:var(--weui-RED)}button.weui-btn,input.weui-btn{border-width:0;outline:0;-webkit-appearance:none}button.weui-btn:focus,input.weui-btn:focus{outline:0}button.weui-btn_inline,button.weui-btn_mini,input.weui-btn_inline,input.weui-btn_mini{width:auto}.weui-btn_mini{display:inline-block;width:auto;padding:0 .75em;line-height:2;font-size:16px}.weui-btn:not(.weui-btn_mini)+.weui-btn:not(.weui-btn_mini){margin-top:16px}.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline{margin-top:auto;margin-left:16px}.weui-btn-area{margin:48px 16px 8px}.weui-btn-area_inline{display:-webkit-box;display:-webkit-flex;display:flex}.weui-btn-area_inline .weui-btn{margin-top:auto;margin-right:16px;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn-area_inline .weui-btn:last-child{margin-right:0}.weui-btn_reset{background:transparent;border:0;padding:0;outline:0}.weui-btn_icon{font-size:0}.weui-btn_icon.weui-active [class*=weui-icon-]{color:var(--weui-FG-1)}.weui-cells{margin-top:8px;background-color:var(--weui-BG-2);line-height:1.41176471;font-size:17px;overflow:hidden;position:relative}.weui-cells:before{top:0;border-top:1px solid var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-cells:after,.weui-cells:before{content:" ";position:absolute;left:0;right:0;height:1px;color:var(--weui-FG-3);z-index:2}.weui-cells:after{bottom:0;border-bottom:1px solid var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-cells__title{margin-top:16px;margin-bottom:3px;padding-left:16px;padding-right:16px;color:var(--weui-FG-1);font-size:14px;line-height:1.4}.weui-cells__title+.weui-cells{margin-top:0}.weui-cells__tips{margin-top:8px;color:var(--weui-FG-1);padding-left:16px;padding-right:16px;font-size:14px;line-height:1.4}.weui-cells__tips a,.weui-cells__tips navigator{color:var(--weui-LINK)}.weui-cells__tips navigator{display:inline}.weui-cell{padding:16px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:16px;z-index:2}.weui-cell:first-child:before{display:none}.weui-cell_active.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-cell_primary{-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.weui-cell__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-cell__ft{text-align:right;color:var(--weui-FG-1)}.weui-cell_swiped{display:block;padding:0}.weui-cell_swiped>.weui-cell__bd{position:relative;z-index:1;background-color:var(--weui-BG-2)}.weui-cell_swiped>.weui-cell__ft{position:absolute;right:0;top:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:flex;color:#fff}.weui-swiped-btn{display:block;padding:16px 1em;line-height:1.41176471;color:inherit}.weui-swiped-btn_default{background-color:var(--weui-BG-0)}.weui-swiped-btn_warn{background-color:var(--weui-RED)}.weui-cell_access{-webkit-tap-highlight-color:rgba(0,0,0,0);color:inherit}.weui-cell_access.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-cell_access .weui-cell__ft{padding-right:22px;position:relative}.weui-cell_access .weui-cell__ft:after{content:" ";width:12px;height:24px;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;background-color:currentColor;color:var(--weui-FG-2);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);position:absolute;top:50%;right:0;margin-top:-12px}.weui-cell_link{color:var(--weui-LINK);font-size:17px}.weui-cell_link:first-child:before{display:block}.weui-check__label{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-check__label.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-check{position:absolute;left:-9999px}.weui-cells_radio .weui-cell__ft{padding-left:16px;font-size:0}.weui-cells_radio .weui-check+.weui-icon-checked{min-width:16px;color:transparent}.weui-cells_radio .weui-check:checked+.weui-icon-checked,.weui-cells_radio .weui-check[aria-checked=true]+.weui-icon-checked{color:var(--weui-BRAND);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-cells_checkbox .weui-check__label:before{left:55px}.weui-cells_checkbox .weui-cell__hd{padding-right:16px;font-size:0}.weui-cells_checkbox .weui-icon-checked{color:var(--weui-FG-2);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E)}.weui-cells_checkbox .weui-check:checked+.weui-icon-checked,.weui-cells_checkbox .weui-check[aria-checked=true]+.weui-icon-checked{color:var(--weui-BRAND);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-label{display:block;width:105px;word-wrap:break-word;word-break:break-all}.weui-input{width:100%;border:0;outline:0;-webkit-appearance:none;background-color:transparent;font-size:inherit;color:inherit;height:1.41176471em;line-height:1.41176471}.weui-input::-webkit-inner-spin-button,.weui-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.weui-input:focus:not(:placeholder-shown)+.weui-btn_input-clear{display:inline}.weui-input::-webkit-input-placeholder,.weui-input__placeholder{color:var(--weui-FG-2)}.weui-input::placeholder,.weui-input__placeholder{color:var(--weui-FG-2)}.weui-textarea{display:block;border:0;resize:none;background:transparent;width:100%;color:inherit;font-size:1em;line-height:inherit;outline:0}.weui-textarea-counter{color:var(--weui-FG-2);text-align:right;font-size:14px}.weui-cell_warn .weui-textarea-counter{color:var(--weui-RED)}.weui-cells_form .weui-cell_disabled.weui-active,.weui-cells_form .weui-cell_readonly.weui-active,.weui-cells_form .weui-cell_switch.weui-active,.weui-cells_form .weui-cell_vcode.weui-active{background-color:transparent}.weui-cells_form .weui-cell__ft{font-size:0}.weui-cells_form .weui-icon-warn{display:none}.weui-cells_form input,.weui-cells_form label[for],.weui-cells_form textarea{-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-cell_warn{color:var(--weui-RED)}.weui-cell_warn .weui-icon-warn{display:inline-block}.weui-cell_disabled .weui-input:disabled,.weui-cell_disabled .weui-textarea:disabled,.weui-cell_readonly .weui-input:disabled,.weui-cell_readonly .weui-textarea:disabled{opacity:1;-webkit-text-fill-color:var(--weui-FG-1)}.weui-cell_disabled .weui-input[disabled],.weui-cell_disabled .weui-input[readonly],.weui-cell_disabled .weui-textarea[disabled],.weui-cell_disabled .weui-textarea[readonly],.weui-cell_readonly .weui-input[disabled],.weui-cell_readonly .weui-input[readonly],.weui-cell_readonly .weui-textarea[disabled],.weui-cell_readonly .weui-textarea[readonly]{color:var(--weui-FG-1)}.weui-btn_input-clear{display:none;padding-left:8px}.weui-btn_input-clear [class*=weui-icon-]{width:18px}.weui-form-preview{position:relative;background-color:var(--weui-BG-2)}.weui-form-preview:before{top:0;border-top:1px solid var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-form-preview:after,.weui-form-preview:before{content:" ";position:absolute;left:0;right:0;height:1px;color:var(--weui-FG-3)}.weui-form-preview:after{bottom:0;border-bottom:1px solid var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-form-preview__hd{position:relative;padding:16px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:16px}.weui-form-preview__hd .weui-form-preview__value{font-style:normal;font-size:1.6em}.weui-form-preview__bd{padding:16px;font-size:.9em;text-align:right;color:var(--weui-FG-1);line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:-webkit-box;display:-webkit-flex;display:flex}.weui-form-preview__ft:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid var(--weui-DIALOG-LINE-COLOR);color:var(--weui-DIALOG-LINE-COLOR);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:var(--weui-FG-1);text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word;color:var(--weui-FG-0)}.weui-form-preview__btn{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:var(--weui-LINK);text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}button.weui-form-preview__btn{background-color:transparent;border:0;outline:0;line-height:inherit;font-size:inherit}.weui-form-preview__btn.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid var(--weui-DIALOG-LINE-COLOR);color:var(--weui-DIALOG-LINE-COLOR);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_default{color:var(--weui-FG-HALF)}.weui-form-preview__btn_primary{color:var(--weui-LINK)}.weui-cell_select{padding:0}.weui-cell_select .weui-select{padding-right:30px}.weui-cell_select .weui-cell__bd:after{content:" ";width:12px;height:24px;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;background-color:currentColor;color:var(--weui-FG-2);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);position:absolute;top:50%;right:16px;margin-top:-12px}.weui-select{-webkit-appearance:none;border:0;outline:0;background-color:transparent;width:100%;font-size:inherit;height:56px;line-height:56px;position:relative;z-index:1;padding-left:16px;color:var(--weui-FG-0)}.weui-cell_select-before{padding-right:16px}.weui-cell_select-before .weui-select{width:105px;box-sizing:border-box}.weui-cell_select-before .weui-cell__hd{position:relative}.weui-cell_select-before .weui-cell__hd:after{content:" ";position:absolute;right:0;top:0;width:1px;bottom:0;border-right:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-cell_select-before .weui-cell__hd:before{content:" ";width:12px;height:24px;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;background-color:currentColor;color:var(--weui-FG-2);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);position:absolute;top:50%;right:16px;margin-top:-12px}.weui-cell_select-before .weui-cell__bd{padding-left:16px}.weui-cell_select-before .weui-cell__bd:after{display:none}.weui-cell_select-before.weui-cell_access .weui-cell__hd{line-height:56px;padding-left:32px}.weui-cell_select-after{padding-left:16px}.weui-cell_select-after .weui-select{padding-left:0}.weui-cell_select-after.weui-cell_access .weui-cell__bd{line-height:56px}.weui-cell_vcode{padding-top:0;padding-right:0;padding-bottom:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:56px;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;line-height:56px;font-size:17px;color:var(--weui-LINK);position:relative}.weui-vcode-btn:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}button.weui-vcode-btn{background-color:transparent;border:0;outline:0}.weui-vcode-btn.weui-active{color:#767676}.weui-gallery{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;z-index:1000}.weui-gallery__img,.weui-gallery__opr{position:absolute;left:0;left:constant(safe-area-inset-left);left:env(safe-area-inset-left);right:0;right:constant(safe-area-inset-right);right:env(safe-area-inset-right)}.weui-gallery__img{top:0;top:constant(safe-area-inset-top);top:env(safe-area-inset-top);bottom:60px;bottom:calc(60px + constant(safe-area-inset-bottom));bottom:calc(60px + env(safe-area-inset-bottom));background:50% no-repeat;background-size:contain}.weui-gallery__opr{position:absolute;bottom:0;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#0d0d0d;color:var(--weui-WHITE);line-height:60px;text-align:center}.weui-gallery__del{display:block}.weui-cell_switch{padding-top:12px;padding-bottom:12px}.weui-switch{-webkit-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{position:relative;width:52px;height:32px;border:2px solid var(--weui-FG-3);outline:0;border-radius:16px;box-sizing:border-box;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s}.weui-switch-cp__box:before,.weui-switch:before{content:" ";position:absolute;top:0;left:0;bottom:0;right:0;border-radius:15px;background-color:var(--weui-BG-3);-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1),-webkit-transform .35s cubic-bezier(.45,1,.4,1)}.weui-switch-cp__box:after,.weui-switch:after{content:" ";position:absolute;top:0;left:0;width:28px;height:28px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35),-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35)}.weui-switch-cp__input:checked+.weui-switch-cp__box,.weui-switch-cp__input[aria-checked=true]+.weui-switch-cp__box,.weui-switch:checked{border-color:var(--weui-BRAND);background-color:var(--weui-BRAND)}.weui-switch-cp__input:checked+.weui-switch-cp__box:before,.weui-switch-cp__input[aria-checked=true]+.weui-switch-cp__box:before,.weui-switch:checked:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch-cp__input:checked+.weui-switch-cp__box:after,.weui-switch-cp__input[aria-checked=true]+.weui-switch-cp__box:after,.weui-switch:checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}.weui-uploader{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding-bottom:16px;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__title{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-uploader__info{color:var(--weui-FG-2)}.weui-uploader__bd{margin-bottom:-8px;margin-right:-8px;overflow:hidden}.weui-uploader__files{list-style:none}.weui-uploader__file{float:left;margin-right:8px;margin-bottom:8px;width:96px;height:96px;background:no-repeat 50%;background-size:cover}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5)}.weui-uploader__file_status .weui-uploader__file-content{display:block}.weui-uploader__file-content{display:none;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:var(--weui-WHITE)}.weui-uploader__file-content .weui-icon-warn{display:inline-block}.weui-uploader__input-box{float:left;position:relative;margin-right:8px;margin-bottom:8px;width:96px;height:96px;box-sizing:border-box;background-color:#ededed}[data-weui-theme=dark] .weui-uploader__input-box{background-color:#2e2e2e}.weui-uploader__input-box:after,.weui-uploader__input-box:before{content:" ";position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#a3a3a3}[data-weui-theme=dark] .weui-uploader__input-box:after,[data-weui-theme=dark] .weui-uploader__input-box:before{background-color:#6d6d6d}.weui-uploader__input-box:before{width:2px;height:32px}.weui-uploader__input-box:after{width:32px;height:2px}.weui-uploader__input-box.weui-active:after,.weui-uploader__input-box.weui-active:before{opacity:.7}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-msg{padding-top:48px;padding:calc(48px + constant(safe-area-inset-top)) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);padding:calc(48px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);text-align:center;line-height:1.4;min-height:100%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:var(--weui-BG-2)}.weui-msg a:not(.weui-btn){color:var(--weui-LINK);display:inline-block;vertical-align:baseline}.weui-msg__icon-area{margin-bottom:32px}.weui-msg__text-area{margin-bottom:32px;padding:0 32px;-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:1.6}.weui-msg__text-area:first-child{padding-top:96px}.weui-msg__title{font-weight:700;font-size:22px}.weui-msg__desc,.weui-msg__title{margin-bottom:16px;color:var(--weui-FG-0);word-wrap:break-word;word-break:break-all}.weui-msg__desc{font-size:17px}.weui-msg__desc-primary{font-size:14px;color:var(--weui-FG-1);word-wrap:break-word;word-break:break-all;margin-bottom:16px}.weui-msg__opr-area{margin-bottom:16px}.weui-msg__opr-area .weui-btn-area{margin:0}.weui-msg__opr-area .weui-btn+.weui-btn{margin-bottom:16px}.weui-msg__opr-area:last-child{margin-bottom:96px}.weui-msg__opr-area+.weui-msg__extra-area{margin-top:48px}.weui-msg__tips-area{margin-bottom:16px;padding:0 40px}.weui-msg__opr-area+.weui-msg__tips-area{margin-bottom:48px}.weui-msg__tips-area:last-child{margin-bottom:64px}.weui-msg__extra-area,.weui-msg__tips{font-size:12px;color:var(--weui-FG-1)}.weui-msg__extra-area{margin-bottom:24px}.weui-msg__extra-area a,.weui-msg__extra-area navigator{color:var(--weui-LINK)}.weui-msg__extra-area navigator{display:inline}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form .weui-cell:before,.weui-cells__group_form .weui-cells:before{left:32px;right:32px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:72px}.weui-cells__group_form .weui-cells:after{left:32px;right:32px}.weui-cells__group_form .weui-cell{padding:16px 32px}.weui-cells__group_form .weui-cell:not(.weui-cell_link){color:var(--weui-FG-0)}.weui-cells__group_form .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cell_warn input{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cells__tips{margin-top:8px;padding:0 32px;color:rgba(0,0,0,.3)}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cell_vcode{padding:12px 32px}.weui-cells__group_form .weui-vcode-btn{font-size:16px;padding:0 12px;margin-left:0;height:auto;width:auto;line-height:2em;color:var(--weui-BTN-DEFAULT-COLOR);background-color:var(--weui-BTN-DEFAULT-BG)}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select .weui-select{padding:0 32px}.weui-cells__group_form .weui-cell_select .weui-cell__bd:after{right:32px}.weui-cells__group_form .weui-cell_select-before .weui-label{margin-right:24px}.weui-cells__group_form .weui-cell_select-before .weui-select{padding-right:24px;box-sizing:initial}.weui-cells__group_form .weui-cell_select-after{padding-left:32px}.weui-cells__group_form .weui-cell_select-after .weui-select{padding-left:0}.weui-cells__group_form .weui-cell_switch{padding:12px 32px}.weui-form{padding:56px 0 0;padding:calc(56px + constant(safe-area-inset-top)) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);padding:calc(56px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;line-height:1.4;min-height:100%;box-sizing:border-box;background-color:var(--weui-BG-2)}.weui-form .weui-footer,.weui-form .weui-footer__link{font-size:14px}.weui-form .weui-agree{padding:0}.weui-form__text-area{padding:0 32px;color:var(--weui-FG-0);text-align:center}.weui-form__control-area{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin:48px 0}.weui-form__tips-area{overflow:hidden}.weui-form__extra-area,.weui-form__tips-area{margin-bottom:24px;text-align:center}.weui-form__opr-area{margin-bottom:64px}.weui-form__opr-area:last-child{margin-bottom:96px}.weui-form__title{font-size:22px;font-weight:700;line-height:1.36}.weui-form__desc{font-size:17px;margin-top:16px}.weui-form__tips{color:var(--weui-FG-1);font-size:14px}.weui-form__tips a,.weui-form__tips navigator{color:var(--weui-LINK)}.weui-form__tips navigator{display:inline}.weui-article{padding:24px 16px;padding:24px calc(16px + constant(safe-area-inset-right)) calc(24px + constant(safe-area-inset-bottom)) calc(16px + constant(safe-area-inset-left));padding:24px calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));font-size:17px;color:var(--weui-FG-0)}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:22px;font-weight:700;margin-bottom:.9em;line-height:1.4}.weui-article__h2{font-size:17px}.weui-article__h2,.weui-article__h3{font-weight:700;margin-bottom:.34em;line-height:1.4}.weui-article__h3{font-size:15px}.weui-article__p{margin:0 0 .8em}.weui-tabbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:var(--weui-BG-1)}.weui-tabbar:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:8px 0;padding-bottom:calc(8px + constant(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom));font-size:0;color:var(--weui-FG-1);text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-tabbar__item:first-child{padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}.weui-tabbar__item:last-child{padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:var(--weui-BRAND)}.weui-tabbar__icon{display:inline-block;width:28px;height:28px;margin-bottom:2px}.weui-tabbar__icon>i,i.weui-tabbar__icon{font-size:24px;color:var(--weui-FG-1)}.weui-tabbar__icon img{width:100%;height:100%}.weui-tabbar__label{color:var(--weui-FG-0);font-size:10px;line-height:1.4}.weui-navbar{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;z-index:500;background-color:var(--weui-BG-2);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.weui-navbar:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-navbar+.weui-tab__panel{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.weui-navbar__item{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:16px 0;padding-top:calc(16px + constant(safe-area-inset-top));padding-top:calc(16px + env(safe-area-inset-top));text-align:center;font-size:17px;line-height:1.41176471;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-navbar__item.weui-bar__item_on,.weui-navbar__item.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-navbar__item:after{content:" ";position:absolute;right:0;top:0;width:1px;bottom:0;border-right:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-navbar__item:first-child{padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}.weui-navbar__item:last-child{padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.weui-navbar__item:last-child:after{display:none}.weui-tab{display:-webkit-box;display:-webkit-flex;display:flex;height:100%;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.weui-tab__panel{box-sizing:border-box;-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.weui-tab__content{display:none}.weui-progress{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-progress__bar{background-color:var(--weui-BG-0);height:3px;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-progress__inner-bar{width:0;height:100%;background-color:var(--weui-BRAND)}.weui-progress__opr{display:block;margin-left:15px;font-size:0}.weui-panel{background-color:var(--weui-BG-2);margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1px solid var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:var(--weui-FG-3)}.weui-panel:after{bottom:0;border-bottom:1px solid var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-panel__hd{padding:16px 16px 13px;color:var(--weui-FG-0);font-size:15px;font-weight:700;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:15px}.weui-media-box{padding:16px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:16px}.weui-media-box:first-child:before{display:none}a.weui-media-box{color:#000;-webkit-tap-highlight-color:rgba(0,0,0,0)}a.weui-media-box.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-media-box__title{font-weight:400;font-size:17px;color:var(--weui-FG-0);width:auto;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc,.weui-media-box__title{line-height:1.4;overflow:hidden;text-overflow:ellipsis}.weui-media-box__desc{color:var(--weui-FG-2);font-size:14px;padding-top:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:16px;padding-bottom:4px;font-size:13px;color:var(--weui-FG-2);line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid var(--weui-FG-2)}.weui-media-box_appmsg{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-media-box_appmsg .weui-media-box__hd{margin-right:16px;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box_appmsg .weui-media-box__thumb{width:100%;max-height:100%;vertical-align:top}.weui-media-box_appmsg .weui-media-box__bd{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-media-box_small-appmsg .weui-cells{margin-top:0}.weui-media-box_small-appmsg .weui-cells:before{display:none}.weui-grids{position:relative;overflow:hidden}.weui-grids:before{right:0;height:1px;border-top:1px solid var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-grids:after,.weui-grids:before{content:" ";position:absolute;left:0;top:0;color:var(--weui-FG-3)}.weui-grids:after{width:1px;bottom:0;border-left:1px solid var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box}.weui-grid:before{top:0;width:1px;border-right:1px solid var(--weui-FG-3);-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-grid:after,.weui-grid:before{content:" ";position:absolute;right:0;bottom:0;color:var(--weui-FG-3)}.weui-grid:after{left:0;height:1px;border-bottom:1px solid var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-grid.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-grid__icon{width:28px;height:28px;margin:0 auto}.weui-grid__icon img{display:block;width:100%;height:100%}.weui-grid__icon+.weui-grid__label{margin-top:4px}.weui-grid__label{display:block;color:var(--weui-FG-0);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.weui-footer,.weui-grid__label{text-align:center;font-size:14px}.weui-footer{color:var(--weui-FG-2);line-height:1.4}.weui-footer a,.weui-footer navigator{color:var(--weui-LINK)}.weui-footer navigator{display:inline}.weui-footer_fixed-bottom{position:fixed;bottom:0;left:0;right:0;padding-top:16px;padding-bottom:16px;padding-bottom:calc(16px + constant(safe-area-inset-bottom));padding-bottom:calc(16px + env(safe-area-inset-bottom));left:constant(safe-area-inset-left);left:env(safe-area-inset-left);right:constant(safe-area-inset-right);right:env(safe-area-inset-right)}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 8px;position:relative;font-size:14px}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5);left:-8px;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 16px;font-size:12px}.weui-flex{display:-webkit-box;display:-webkit-flex;display:flex}.weui-flex__item{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-dialog{position:fixed;z-index:5000;top:50%;left:16px;right:16px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:var(--weui-BG-2);text-align:center;border-radius:12px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;max-height:90%}.weui-dialog__hd{padding:32px 24px 16px}.weui-dialog__title{font-weight:700;font-size:17px;line-height:1.4}.weui-dialog__bd{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 24px;margin-bottom:32px;font-size:17px;line-height:1.4;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;color:var(--weui-FG-1)}.weui-dialog__bd:first-child{min-height:40px;padding:32px 24px 0;font-weight:700;color:var(--weui-FG-0);-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.weui-dialog__bd:first-child,.weui-dialog__ft{display:-webkit-box;display:-webkit-flex;display:flex}.weui-dialog__ft{position:relative;line-height:56px;min-height:56px;font-size:17px}.weui-dialog__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid var(--weui-DIALOG-LINE-COLOR);color:var(--weui-DIALOG-LINE-COLOR);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-dialog__btn{display:block;-webkit-box-flex:1;-webkit-flex:1;flex:1;color:var(--weui-LINK);font-weight:700;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.weui-dialog__btn.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-dialog__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid var(--weui-DIALOG-LINE-COLOR);color:var(--weui-DIALOG-LINE-COLOR);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-dialog__btn:first-child:after{display:none}.weui-dialog__btn_default{color:var(--weui-FG-HALF)}.weui-skin_android .weui-dialog{text-align:left;box-shadow:0 6px 30px 0 rgba(0,0,0,.1)}.weui-skin_android .weui-dialog__title{font-size:22px;line-height:1.4}.weui-skin_android .weui-dialog__hd{text-align:left}.weui-skin_android .weui-dialog__bd{color:var(--weui-FG-1);text-align:left}.weui-skin_android .weui-dialog__bd:first-child{color:var(--weui-FG-0)}.weui-skin_android .weui-dialog__ft{display:block;text-align:right;line-height:40px;min-height:40px;padding:0 24px 16px}.weui-skin_android .weui-dialog__ft:after{display:none}.weui-skin_android .weui-dialog__btn{display:inline-block;vertical-align:top;padding:0 .8em}.weui-skin_android .weui-dialog__btn:after{display:none}.weui-skin_android .weui-dialog__btn:last-child{margin-right:-.8em}.weui-skin_android .weui-dialog__btn_default{color:var(--weui-FG-HALF)}@media screen and (min-width:352px){.weui-dialog{width:320px;margin:0 auto}}.weui-half-screen-dialog{position:fixed;left:0;right:0;bottom:0;max-height:75%;z-index:5000;line-height:1.4;background-color:var(--weui-BG-2);border-top-left-radius:12px;border-top-right-radius:12px;overflow:hidden;padding:0 24px;padding:0 calc(24px + constant(safe-area-inset-right)) constant(safe-area-inset-bottom) calc(24px + constant(safe-area-inset-left));padding:0 calc(24px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(24px + env(safe-area-inset-left))}@media only screen and (max-height:558px){.weui-half-screen-dialog{max-height:none}}.weui-half-screen-dialog__hd{font-size:8px;height:8em;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-half-screen-dialog__hd .weui-icon-btn{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.weui-half-screen-dialog__hd .weui-icon-btn.weui-active{opacity:.5}.weui-half-screen-dialog__hd__side{position:relative;left:-8px}.weui-half-screen-dialog__hd__main{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-half-screen-dialog__hd__side+.weui-half-screen-dialog__hd__main{text-align:center;padding:0 40px}.weui-half-screen-dialog__hd__main+.weui-half-screen-dialog__hd__side{right:-8px;left:auto}.weui-half-screen-dialog__hd__main+.weui-half-screen-dialog__hd__side .weui-icon-btn{right:0}.weui-half-screen-dialog__title{display:block;color:var(--weui-FG-0);font-weight:700;font-size:15px}.weui-half-screen-dialog__subtitle{display:block;color:var(--weui-FG-1);font-size:10px}.weui-half-screen-dialog__bd{word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-y:auto;padding-top:4px;padding-bottom:40px;font-size:14px;color:var(--weui-FG-0)}.weui-half-screen-dialog__desc{font-size:17px;font-weight:700;color:var(--weui-FG-0);line-height:1.4}.weui-half-screen-dialog__tips{padding-top:16px;font-size:14px;color:var(--weui-FG-2);line-height:1.4}.weui-half-screen-dialog__ft{padding:0 24px 32px;text-align:center}.weui-half-screen-dialog__ft .weui-btn:nth-last-child(n+2),.weui-half-screen-dialog__ft .weui-btn:nth-last-child(n+2)+.weui-btn{display:inline-block;vertical-align:top;margin:0 8px;width:120px}.weui-icon-btn{outline:0;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border-width:0;background-color:transparent;color:var(--weui-FG-0);font-size:0}.weui-icon-more{width:24px;-webkit-mask:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M5 10.25a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5z'/%3E%3C/svg%3E") no-repeat 50% 50%;mask:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M5 10.25a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5z'/%3E%3C/svg%3E") no-repeat 50% 50%;-webkit-mask-size:cover;mask-size:cover}.weui-icon-btn_goback,.weui-icon-more{display:inline-block;vertical-align:middle;height:24px;background-color:currentColor;color:var(--weui-FG-0)}.weui-icon-btn_goback{width:12px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;mask:url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;-webkit-mask-size:cover;mask-size:cover}.weui-icon-btn_close{color:var(--weui-FG-0);display:inline-block;vertical-align:middle;width:14px;height:24px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;mask:url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%;-webkit-mask-size:cover;mask-size:cover;background-color:currentColor}.weui-toast{position:fixed;z-index:5000;width:120px;height:120px;top:40%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center;border-radius:5px;color:hsla(0,0%,100%,.9);display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:var(--weui-BG-4)}.weui-icon_toast{display:block}.weui-icon_toast.weui-icon-success-no-circle{color:hsla(0,0%,100%,.9);width:55px;height:55px}.weui-icon_toast.weui-loading{margin:8px 0;width:38px;height:38px;vertical-align:baseline}.weui-toast__content{font-size:14px}.weui-mask{background:rgba(0,0,0,.6)}.weui-mask,.weui-mask_transparent{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0}.weui-actionsheet{position:fixed;left:0;bottom:0;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:5000;width:100%;background-color:var(--weui-BG-1);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;border-top-left-radius:12px;border-top-right-radius:12px;overflow:hidden}.weui-actionsheet__title{position:relative;height:56px;padding:0 24px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;text-align:center;font-size:12px;color:var(--weui-FG-1);line-height:1.4;background:var(--weui-BG-2)}.weui-actionsheet__title:before{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-actionsheet__title .weui-actionsheet__title-text{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-actionsheet__menu{color:var(--weui-FG-0);background-color:var(--weui-BG-2)}.weui-actionsheet__action{margin-top:8px;background-color:var(--weui-BG-2);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.weui-actionsheet__cell{position:relative;padding:16px;text-align:center;font-size:17px;line-height:1.41176471}.weui-actionsheet__cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-actionsheet__cell.weui-active{background-color:var(--weui-BG-COLOR-ACTIVE)}.weui-actionsheet__cell:first-child:before{display:none}.weui-actionsheet__cell_warn{color:var(--weui-RED)}.weui-skin_android .weui-actionsheet{position:fixed;left:50%;top:50%;bottom:auto;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:274px;box-sizing:border-box;-webkit-backface-visibility:hidden;backface-visibility:hidden;background:transparent;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;border-top-left-radius:0;border-top-right-radius:0}.weui-skin_android .weui-actionsheet__action{display:none}.weui-skin_android .weui-actionsheet__menu{border-radius:2px;box-shadow:0 6px 30px 0 rgba(0,0,0,.1)}.weui-skin_android .weui-actionsheet__cell{padding:16px;font-size:17px;line-height:1.41176471;color:var(--weui-FG-0);text-align:left}.weui-skin_android .weui-actionsheet__cell:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.weui-skin_android .weui-actionsheet__cell:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.weui-actionsheet_toggle{-webkit-transform:translate(0);transform:translate(0)}.weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle;color:var(--weui-FG-0)}.weui-loadmore_line{border-top:1px solid var(--weui-FG-3);margin-top:2.4em}.weui-loadmore_line .weui-loadmore__tips{position:relative;top:-.9em;padding:0 .55em;background-color:var(--weui-BG-2);color:var(--weui-FG-1)}.weui-loadmore_dot .weui-loadmore__tips{padding:0 .16em}.weui-loadmore_dot .weui-loadmore__tips:before{content:" ";width:4px;height:4px;border-radius:50%;background-color:var(--weui-FG-3);display:inline-block;position:relative;vertical-align:0;top:-.16em}.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:var(--weui-RED);color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0}.weui-toptips{display:none;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);top:8px;left:8px;right:8px;padding:10px;border-radius:8px;font-size:14px;text-align:center;color:#fff;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:var(--weui-RED)}.weui-search-bar{position:relative;padding:8px;display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;background-color:var(--weui-BG-0);-webkit-text-size-adjust:100%;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-search-bar.weui-search-bar_focusing .weui-search-bar__cancel-btn{display:block}.weui-search-bar.weui-search-bar_focusing .weui-search-bar__label{display:none}.weui-search-bar .weui-icon-search{width:16px;height:16px}.weui-search-bar__form{position:relative;-webkit-box-flex:1;-webkit-flex:auto;flex:auto;background-color:var(--weui-BG-2);border-radius:4px}.weui-search-bar__box{position:relative;padding-left:28px;padding-right:32px;height:100%;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__box .weui-search-bar__input{padding:8px 0;width:100%;height:1.14285714em;border:0;font-size:14px;line-height:1.14285714em;box-sizing:content-box;background:transparent;caret-color:var(--weui-BRAND);color:var(--weui-FG-0)}.weui-search-bar__box .weui-search-bar__input:focus{outline:none}.weui-search-bar__box .weui-icon-search{position:absolute;top:50%;left:8px;margin-top:-8px}.weui-search-bar__box .weui-icon-clear{position:absolute;top:50%;right:0;margin-top:-16px;padding:8px;width:16px;height:16px;-webkit-mask-size:16px;mask-size:16px}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;font-size:0;border-radius:4px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;color:var(--weui-FG-1);background:var(--weui-BG-2)}.weui-search-bar__label span{display:inline-block;font-size:14px;vertical-align:middle}.weui-search-bar__label .weui-icon-search{margin-right:4px}.weui-search-bar__cancel-btn{display:none;margin-left:8px;line-height:28px;color:var(--weui-LINK);white-space:nowrap}.weui-search-bar__input:not(:valid)+.weui-icon-clear{display:none}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.weui-picker{position:fixed;width:100%;box-sizing:border-box;left:0;bottom:0;z-index:5000;background-color:var(--weui-BG-2);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.weui-picker__hd{display:-webkit-box;display:-webkit-flex;display:flex;padding:16px;padding:16px calc(16px + constant(safe-area-inset-right)) 16px calc(16px + constant(safe-area-inset-left));padding:16px calc(16px + env(safe-area-inset-right)) 16px calc(16px + env(safe-area-inset-left));position:relative;text-align:center;font-size:17px;line-height:1.4}.weui-picker__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1px solid var(--weui-FG-3);color:var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__bd{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;background-color:var(--weui-BG-2);height:240px;overflow:hidden}.weui-picker__group{-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;height:100%}.weui-picker__group:first-child .weui-picker__item{padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}.weui-picker__group:last-child .weui-picker__item{padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.weui-picker__mask{position:absolute;top:0;left:0;width:100%;height:100%;margin:0 auto;z-index:3;background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-image:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 92px;background-repeat:no-repeat;-webkit-transform:translateZ(0);transform:translateZ(0)}[data-weui-theme=dark] .weui-picker__mask{background-image:-webkit-linear-gradient(top,rgba(35,35,35,.95),rgba(35,35,35,.6)),-webkit-linear-gradient(bottom,rgba(35,35,35,.95),rgba(35,35,35,.6));background-image:linear-gradient(180deg,rgba(35,35,35,.95),rgba(35,35,35,.6)),linear-gradient(0deg,rgba(35,35,35,.95),rgba(35,35,35,.6))}.weui-picker__indicator{width:100%;height:56px;position:absolute;left:0;top:92px;z-index:3}.weui-picker__indicator:before{top:0;border-top:1px solid var(--weui-FG-3);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after,.weui-picker__indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:var(--weui-FG-3)}.weui-picker__indicator:after{bottom:0;border-bottom:1px solid var(--weui-FG-3);-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__content{position:absolute;top:0;left:0;width:100%}.weui-picker__item{height:48px;line-height:48px;text-align:center;color:var(--weui-FG-0);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.weui-picker__item_disabled{color:var(--weui-FG-1)}@-webkit-keyframes a{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes a{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.weui-animate-slide-up{-webkit-animation:a ease .3s forwards;animation:a ease .3s forwards}@-webkit-keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes b{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.weui-animate-slide-down{-webkit-animation:b ease .3s forwards;animation:b ease .3s forwards}@-webkit-keyframes c{0%{opacity:0}to{opacity:1}}@keyframes c{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:c ease .3s forwards;animation:c ease .3s forwards}@-webkit-keyframes d{0%{opacity:1}to{opacity:0}}@keyframes d{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:d ease .3s forwards;animation:d ease .3s forwards}.weui-agree{display:block;padding:8px 15px 0;font-size:14px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-agree a,.weui-agree navigator{color:var(--weui-LINK)}.weui-agree navigator{display:inline}.weui-agree__text{color:var(--weui-FG-1);margin-left:2px}.weui-agree__checkbox{-webkit-appearance:none;appearance:none;display:inline-block;border:0;outline:0;vertical-align:middle;background-color:currentColor;-webkit-mask-position:0 0;mask-position:0 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);color:var(--weui-FG-2);width:1em;height:1em;font-size:17px;margin-top:-.2em}.weui-agree__checkbox-check{position:absolute;left:-9999px}.weui-agree__checkbox-check[aria-checked=true]+.weui-agree__checkbox,.weui-agree__checkbox:checked{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);color:var(--weui-BRAND)}.weui-agree_animate{-webkit-animation:e .3s 1;animation:e .3s 1}@-webkit-keyframes e{0%{-webkit-transform:translateX(0);transform:translateX(0)}16%{-webkit-transform:translateX(-8px);transform:translateX(-8px)}28%{-webkit-transform:translateX(-16px);transform:translateX(-16px)}44%{-webkit-transform:translateX(0);transform:translateX(0)}59%{-webkit-transform:translateX(-16px);transform:translateX(-16px)}73%{-webkit-transform:translateX(0);transform:translateX(0)}82%{-webkit-transform:translateX(16px);transform:translateX(16px)}94%{-webkit-transform:translateX(8px);transform:translateX(8px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes e{0%{-webkit-transform:translateX(0);transform:translateX(0)}16%{-webkit-transform:translateX(-8px);transform:translateX(-8px)}28%{-webkit-transform:translateX(-16px);transform:translateX(-16px)}44%{-webkit-transform:translateX(0);transform:translateX(0)}59%{-webkit-transform:translateX(-16px);transform:translateX(-16px)}73%{-webkit-transform:translateX(0);transform:translateX(0)}82%{-webkit-transform:translateX(16px);transform:translateX(16px)}94%{-webkit-transform:translateX(8px);transform:translateX(8px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}.weui-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:f 1s steps(12) infinite;animation:f 1s steps(12) infinite;background:transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;background-size:100%}.weui-btn_loading.weui-btn_primary .weui-loading,.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E")}@-webkit-keyframes f{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes f{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.weui-slider{padding:15px 18px;-webkit-user-select:none;user-select:none}.weui-slider__inner{position:relative;height:2px;background-color:var(--weui-FG-3)}.weui-slider__track{height:2px;background-color:var(--weui-BRAND);width:0}.weui-slider__handler{position:absolute;left:0;top:50%;width:28px;height:28px;margin-left:-14px;margin-top:-14px;border-radius:50%;background-color:#fff;box-shadow:0 0 4px var(--weui-FG-3)}.weui-slider-box{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-slider-box .weui-slider{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-slider-box__value{margin-left:.5em;min-width:24px;color:var(--weui-FG-1);text-align:center;font-size:14px}.wx_dot_loading,.wx_dot_loading:after,.wx_dot_loading:before{display:inline-block;vertical-align:middle;width:6px;height:6px;border-radius:50%;background-color:rgba(0,0,0,.3);font-size:0;-webkit-animation:h 1.6s step-start infinite;animation:h 1.6s step-start infinite}.wx_dot_loading{position:relative}.wx_dot_loading:before{content:"";position:absolute;left:-12px;background-color:rgba(0,0,0,.1);-webkit-animation:g 1.6s step-start infinite;animation:g 1.6s step-start infinite}.wx_dot_loading:after{content:"";position:absolute;right:-12px;background-color:rgba(0,0,0,.5);-webkit-animation:i 1.6s step-start infinite;animation:i 1.6s step-start infinite}@-webkit-keyframes g{0%,to{background-color:rgba(0,0,0,.1)}30%{background-color:rgba(0,0,0,.5)}60%{background-color:rgba(0,0,0,.3)}}@keyframes g{0%,to{background-color:rgba(0,0,0,.1)}30%{background-color:rgba(0,0,0,.5)}60%{background-color:rgba(0,0,0,.3)}}@-webkit-keyframes h{0%,to{background-color:rgba(0,0,0,.3)}30%{background-color:rgba(0,0,0,.1)}60%{background-color:rgba(0,0,0,.5)}}@keyframes h{0%,to{background-color:rgba(0,0,0,.3)}30%{background-color:rgba(0,0,0,.1)}60%{background-color:rgba(0,0,0,.5)}}@-webkit-keyframes i{0%,to{background-color:rgba(0,0,0,.5)}30%{background-color:rgba(0,0,0,.3)}60%{background-color:rgba(0,0,0,.1)}}@keyframes i{0%,to{background-color:rgba(0,0,0,.5)}30%{background-color:rgba(0,0,0,.3)}60%{background-color:rgba(0,0,0,.1)}}.wx_dot_loading_white{background-color:hsla(0,0%,100%,.3);-webkit-animation:k 1.6s step-start infinite;animation:k 1.6s step-start infinite}.wx_dot_loading_white:before{background-color:hsla(0,0%,100%,.5);-webkit-animation:j 1.6s step-start infinite;animation:j 1.6s step-start infinite}.wx_dot_loading_white:after{background-color:hsla(0,0%,100%,.1);-webkit-animation:l 1.6s step-start infinite;animation:l 1.6s step-start infinite}@-webkit-keyframes j{0%,to{background-color:hsla(0,0%,100%,.5)}30%{background-color:hsla(0,0%,100%,.1)}60%{background-color:hsla(0,0%,100%,.3)}}@keyframes j{0%,to{background-color:hsla(0,0%,100%,.5)}30%{background-color:hsla(0,0%,100%,.1)}60%{background-color:hsla(0,0%,100%,.3)}}@-webkit-keyframes k{0%,to{background-color:hsla(0,0%,100%,.3)}30%{background-color:hsla(0,0%,100%,.5)}60%{background-color:hsla(0,0%,100%,.1)}}@keyframes k{0%,to{background-color:hsla(0,0%,100%,.3)}30%{background-color:hsla(0,0%,100%,.5)}60%{background-color:hsla(0,0%,100%,.1)}}@-webkit-keyframes l{0%,to{background-color:hsla(0,0%,100%,.1)}30%{background-color:hsla(0,0%,100%,.3)}60%{background-color:hsla(0,0%,100%,.5)}}@keyframes l{0%,to{background-color:hsla(0,0%,100%,.1)}30%{background-color:hsla(0,0%,100%,.3)}60%{background-color:hsla(0,0%,100%,.5)}}:host{width:100%}.weui-slideview{position:relative;overflow:hidden}.weui-slideview__left{position:relative;z-index:10}.weui-slideview__right{position:absolute;z-index:1;left:100%;top:0;height:100%}.weui-slideview__btn__wrp{position:absolute;left:0;bottom:0;text-align:center;min-width:69px;height:100%;white-space:nowrap}.weui-slideview__btn{color:#fff;padding:0 17px}.weui-slideview__btn-group_default .weui-slideview__btn{background:#c7c7cc}[data-weui-theme=dark] .weui-slideview__btn-group_default .weui-slideview__btn{background:var(--weui-BG-4)}.weui-slideview__btn-group_default~.weui-slideview__btn-group_default:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #fff;color:#fff;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}[data-weui-theme=dark] .weui-slideview__btn-group_default~.weui-slideview__btn-group_default:before{border-left-color:var(--weui-FG-3)}.weui-slideview__btn-group_default:first-child:before{display:none}.weui-slideview__btn-group_warn .weui-slideview__btn{background:#fe3b30}.weui-slideview__btn-group_warn~.weui-slideview__btn-group_warn:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #fff;color:#fff;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui-slideview__btn-group_warn:first-child:before{display:none}.weui-slideview_icon .weui-slideview__btn__wrp{background:transparent;font-size:0}.weui-slideview_icon .weui-slideview__btn__wrp:first-child{padding-left:16px}.weui-slideview_icon .weui-slideview__btn__wrp:last-child{padding-right:8px}.weui-slideview_icon .weui-slideview__btn{width:48px;height:48px;line-height:48px;padding:0;display:inline-block;vertical-align:middle;border-radius:50%;background-color:#fff}[data-weui-theme=dark] .weui-slideview_icon .weui-slideview__btn{background-color:var(--weui-BG-4)}.weui-slideview_icon .weui-slideview__btn__icon{display:inline-block;vertical-align:middle;width:22px;height:22px}page{--height:44px;--right:190rpx}.weui-navigation-bar{overflow:hidden;color:var(--weui-FG-0)}.weui-navigation-bar .android{--height:48px;--right:222rpx}.weui-navigation-bar__inner{position:fixed;top:0;left:0;z-index:5001;height:var(--height);padding-right:var(--right);width:calc(100% - var(--right))}.weui-navigation-bar__inner,.weui-navigation-bar__inner .weui-navigation-bar__left{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-navigation-bar__inner .weui-navigation-bar__left{position:relative;width:var(--right);padding-left:16px}.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn{display:inline-block;vertical-align:middle;background-repeat:no-repeat}.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn_goback{font-size:12px;width:1em;height:2em;-webkit-mask:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%;mask:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%;-webkit-mask-size:cover;mask-size:cover;background-color:currentColor}.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn_goback.weui-active{opacity:.5}.weui-navigation-bar__inner .weui-navigation-bar__center{font-size:17px;text-align:center;position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.weui-navigation-bar__inner .weui-navigation-bar__loading{margin-right:4px;font-size:0}.weui-navigation-bar__inner .weui-navigation-bar__loading .weui-loading{margin-left:0}.weui-navigation-bar__inner .weui-navigation-bar__right{margin-right:16px}.weui-navigation-bar__placeholder{height:var(--height);background:var(--weui-BG-1);position:relative;z-index:50}.weui-uploader__hd{display:block}.weui-uploader__overview{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-uploader__tips{color:var(--weui-FG-2);font-size:14px;line-height:1.4;padding-top:4px}.weui-uploader__img{display:block;width:100%;height:100%}.weui-gallery{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.weui-gallery__info{color:#fff;font-size:17px;line-height:60px;min-height:60px;text-align:center}.weui-gallery__img__wrp{-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;font-size:0}.weui-gallery__img{position:absolute;width:100%;height:100%}.weui-gallery__opr{position:static}.weui-search-bar .weui-search-bar__box .weui-search-bar__input{height:inherit;line-height:inherit}.weui-search-bar .weui-search-bar__box .weui-icon-clear{display:block}.weui-loadmore .weui-loading{margin-right:.3em}.weui-btn_input-clear{display:block} \ No newline at end of file diff --git a/node_modules/weui-miniprogram/package.json b/node_modules/weui-miniprogram/package.json new file mode 100644 index 0000000..6b522c6 --- /dev/null +++ b/node_modules/weui-miniprogram/package.json @@ -0,0 +1,82 @@ +{ + "name": "weui-miniprogram", + "version": "1.0.8", + "description": "小程序 WeUI 组件库", + "main": "miniprogram_dist/index.js", + "files": [ + "miniprogram_dist" + ], + "scripts": { + "submodule": "git submodule init && git submodule update --init", + "init": "npm run submodule && npm i && npm run dev", + "dev": "gulp dev --develop", + "demo": "gulp demo --develop", + "watch": "gulp watch --develop --watch", + "build": "gulp", + "dist": "npm run build", + "clean-dev": "gulp clean --develop", + "clean": "gulp clean", + "lint": "eslint \"src/**/*.js\"", + "lint-tools": "eslint \"tools/**/*.js\" --rule \"import/no-extraneous-dependencies: false\"", + "test": "jest", + "test-debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --verbose", + "codecov": "jest --coverage && codecov" + }, + "miniprogram": "miniprogram_dist", + "repository": { + "type": "git", + "url": "https://github.com/wechat-miniprogram/weui-miniprogram.git" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "homepage": "https://github.com/wechat-miniprogram/weui-miniprogram", + "author": "xushengni,tomylin,cunjinli,rockhou", + "license": "MIT", + "devDependencies": { + "@babel/cli": "^7.8.4", + "@babel/core": "^7.8.7", + "@babel/plugin-proposal-class-properties": "^7.8.3", + "@babel/plugin-proposal-object-rest-spread": "^7.8.3", + "@babel/preset-env": "^7.12.1", + "@babel/preset-typescript": "^7.8.3", + "@types/jest": "^25.2.2", + "@typescript-eslint/eslint-plugin": "^2.23.0", + "@typescript-eslint/parser": "^2.23.0", + "autoprefixer": "^6.5.1", + "babel-loader": "^8.0.6", + "babel-plugin-module-resolver": "^4.0.0", + "codecov": "^3.7.0", + "colors": "^1.3.1", + "core-js": "^3.6.4", + "eslint": "^5.14.1", + "eslint-config-airbnb-base": "13.1.0", + "eslint-config-prettier": "^6.10.1", + "eslint-loader": "^2.1.2", + "eslint-plugin-import": "^2.16.0", + "eslint-plugin-node": "^7.0.1", + "eslint-plugin-prettier": "^3.1.2", + "eslint-plugin-promise": "^3.8.0", + "gulp": "^4.0.0", + "gulp-clean": "^0.4.0", + "gulp-if": "^2.0.2", + "gulp-install": "^1.1.0", + "gulp-less": "^4.0.1", + "gulp-rename": "^1.4.0", + "gulp-sourcemaps": "^2.6.5", + "jest": "^25.5.4", + "jsdom": "^16.2.2", + "miniprogram-api-typings": "^2.6.5", + "miniprogram-simulate": "^1.2.7", + "prettier": "2.0.1", + "through2": "^2.0.3", + "ts-loader": "^5.3.3", + "tslint": "^5.13.1", + "tslint-loader": "^3.5.4", + "typescript": "^3.3.3333", + "vinyl": "^2.2.0", + "webpack": "^4.29.5", + "webpack-node-externals": "^1.7.2" + }, + "dependencies": {} +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..b1e8351 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,24 @@ +{ + "name": "mini-program", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "dependencies": { + "weui-miniprogram": "^1.0.8" + } + }, + "node_modules/weui-miniprogram": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weui-miniprogram/-/weui-miniprogram-1.0.8.tgz", + "integrity": "sha512-fm9Hi/3s2Imp2xufuxBcbzYxIcrVt0gPMIdjHfuIFA0Fxiukztc+c2nyFspmkI9YkrdHM1o2h6qsStdK+wFhWQ==" + } + }, + "dependencies": { + "weui-miniprogram": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weui-miniprogram/-/weui-miniprogram-1.0.8.tgz", + "integrity": "sha512-fm9Hi/3s2Imp2xufuxBcbzYxIcrVt0gPMIdjHfuIFA0Fxiukztc+c2nyFspmkI9YkrdHM1o2h6qsStdK+wFhWQ==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..b1e8351 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "mini-program", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "dependencies": { + "weui-miniprogram": "^1.0.8" + } + }, + "node_modules/weui-miniprogram": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weui-miniprogram/-/weui-miniprogram-1.0.8.tgz", + "integrity": "sha512-fm9Hi/3s2Imp2xufuxBcbzYxIcrVt0gPMIdjHfuIFA0Fxiukztc+c2nyFspmkI9YkrdHM1o2h6qsStdK+wFhWQ==" + } + }, + "dependencies": { + "weui-miniprogram": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/weui-miniprogram/-/weui-miniprogram-1.0.8.tgz", + "integrity": "sha512-fm9Hi/3s2Imp2xufuxBcbzYxIcrVt0gPMIdjHfuIFA0Fxiukztc+c2nyFspmkI9YkrdHM1o2h6qsStdK+wFhWQ==" + } + } +} diff --git a/pages/calculation/calculation.js b/pages/calculation/calculation.js new file mode 100644 index 0000000..49c995d --- /dev/null +++ b/pages/calculation/calculation.js @@ -0,0 +1,75 @@ +// pages/calculation/calculation.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + loading: false, + color: '#000', + background: '#f8f8f8', + show: true, + animated: false + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 3 + }) + } + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/calculation/calculation.json b/pages/calculation/calculation.json new file mode 100644 index 0000000..6639c76 --- /dev/null +++ b/pages/calculation/calculation.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + "mp-navigation-bar": "weui-miniprogram/navigation-bar/navigation-bar" + } +} \ No newline at end of file diff --git a/pages/calculation/calculation.wxml b/pages/calculation/calculation.wxml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pages/calculation/calculation.wxml @@ -0,0 +1 @@ + diff --git a/pages/calculation/calculation.wxss b/pages/calculation/calculation.wxss new file mode 100644 index 0000000..25e48d9 --- /dev/null +++ b/pages/calculation/calculation.wxss @@ -0,0 +1 @@ +/* pages/calculation/calculation.wxss */ \ No newline at end of file diff --git a/pages/calendar/calendar.js b/pages/calendar/calendar.js new file mode 100644 index 0000000..c86302f --- /dev/null +++ b/pages/calendar/calendar.js @@ -0,0 +1,121 @@ +// pages/calendar/calendar.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + loading: false, + color: '#000', + background: '#f8f8f8', + show: true, + animated: false, + isCalendarShow: 'block', + calendarDisplayMonthNum: 1, + calendarDisplayTime: '2021-05', + calendarSelectedDate: new Date().toString(), + calendarSelectedDateStr: '', + region: ["500000", "500100"], + cityName: '重庆', + list:[{ + lable:'本日挂牌', + info:[{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'}] + },{ + lable:'本日拍卖', + info:[{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'},{id:1,name:'CQ210001'}] + }] + }, + + bindDateChange(res){ + let calendarDisplayTime = res.detail.value + this.setData({ + calendarDisplayTime + }) + }, + backToday(){ + let timer = new Date() + let year = timer.getFullYear() + let month = timer.getMonth()+1 + month = month.length>1?month:'0'+month + let date = `${year}-${month}` + if(date!==this.data.calendarDisplayTime){ + this.setData({ + calendarDisplayTime:date + }) + } + }, + + bindAddressChange(res){ + let cityName = res.detail.value[1] + if(cityName){ + this.setData({ + cityName + }) + } + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 0 + }) + } + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + onCalendarDayTap(res){ + let detail = res.detail; + } +}) \ No newline at end of file diff --git a/pages/calendar/calendar.json b/pages/calendar/calendar.json new file mode 100644 index 0000000..3f8811d --- /dev/null +++ b/pages/calendar/calendar.json @@ -0,0 +1,6 @@ +{ + "usingComponents": { + "mp-navigation-bar": "weui-miniprogram/navigation-bar/navigation-bar", + "ui-calendar": "../../components/ui-calendar/ui-calendar" + } +} \ No newline at end of file diff --git a/pages/calendar/calendar.wxml b/pages/calendar/calendar.wxml new file mode 100644 index 0000000..94dcd94 --- /dev/null +++ b/pages/calendar/calendar.wxml @@ -0,0 +1,57 @@ + + var setTime = function(str,type) { + var timer = str.split('-'); + if(type==='year'){ + return timer[0]; + }else{ + return timer[1]; + } + }; + module.exports = {setTime:setTime}; + + + + + + + + + + 当前选择 + + + {{cityName}} + + + + + + + 回到今天 + + + {{calendarDisplayTime}} + + {{tools.setTime(calendarDisplayTime, 'year')}}年 + {{tools.setTime(calendarDisplayTime, 'month')}}月 + + + + + + + + + + {{ele.lable}} + + {{item.name}} + + + + + \ No newline at end of file diff --git a/pages/calendar/calendar.wxss b/pages/calendar/calendar.wxss new file mode 100644 index 0000000..bac2ee2 --- /dev/null +++ b/pages/calendar/calendar.wxss @@ -0,0 +1,116 @@ +.top { + padding-bottom: 10rpx; +} + +.address { + display: flex; + align-items: center; + font-size: 30rpx; + color: #222222; + line-height: 34rpx; + padding-left: 30rpx; +} + +.address .tag { + width: 24rpx; + height: 24rpx; + margin-left: 12rpx; +} + +.cal-box { + margin-top: 16rpx; + width: 100%; + height: 860rpx; + position: relative; +} + +.cal-back { + width: 100%; + height: 860rpx; + position: absolute; + z-index: 1; + left: 0; + top: 0; +} + +.calendar { + position: absolute; + z-index: 2; + left: 30rpx; + top: 80rpx; + width: 684rpx; +} + +.timer { + padding: 0 24rpx; + font-size: 28rpx; +} + +.back-now{ + color: #038AF3; +} + +.timer .year, +.timer .month { + line-height: 58rpx; + padding: 0 22rpx; + border: 2rpx solid #525252; + border-radius: 28px; + margin-left: 18rpx; + font-weight: bold; + color: #525252; +} + +.t-box{ + position: relative; +} + +.t-box picker{ + position: absolute; + width: 100%; + height: 100%; + z-index: 2; + opacity: 0; +} + +.address{ + position: relative; +} + +.address picker{ + position: absolute; + width: 150rpx; + height: 100%; + z-index: 2; + opacity: 0; +} + +.list .item{ + margin-top: 26rpx; + background-color: #ffffff; + padding: 30rpx; +} + +.item .lable{ + font-size: 30rpx; + font-weight: bold; + color: #F69F06; +} + +.item:last-of-type .lable{ + color: #37F492; +} + +.list .info{ + display: flex; + flex-wrap: wrap; +} + +.list .info-item{ + padding: 30rpx; + font-size: 30rpx; + font-weight: bold; + color: #838B99; + line-height: 36rpx; + height: 36rpx; +} \ No newline at end of file diff --git a/pages/index/index.js b/pages/index/index.js new file mode 100644 index 0000000..21d3239 --- /dev/null +++ b/pages/index/index.js @@ -0,0 +1,17 @@ +// index.js +// 获取应用实例 +const app = getApp() + +Page({ + data: { + + }, + onShow(){ + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 2 + }) + } + } +}) diff --git a/pages/index/index.json b/pages/index/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/index/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/index/index.wxml b/pages/index/index.wxml new file mode 100644 index 0000000..7514239 --- /dev/null +++ b/pages/index/index.wxml @@ -0,0 +1,4 @@ + + + + diff --git a/pages/index/index.wxss b/pages/index/index.wxss new file mode 100644 index 0000000..eb64203 --- /dev/null +++ b/pages/index/index.wxss @@ -0,0 +1,19 @@ +/**index.wxss**/ +.userinfo { + display: flex; + flex-direction: column; + align-items: center; + color: #aaa; +} + +.userinfo-avatar { + overflow: hidden; + width: 128rpx; + height: 128rpx; + margin: 20rpx; + border-radius: 50%; +} + +.usermotto { + margin-top: 200px; +} \ No newline at end of file diff --git a/pages/look/look.js b/pages/look/look.js new file mode 100644 index 0000000..0474e6f --- /dev/null +++ b/pages/look/look.js @@ -0,0 +1,71 @@ +// pages/look/look.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 1 + }) + } + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/look/look.json b/pages/look/look.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/look/look.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/look/look.wxml b/pages/look/look.wxml new file mode 100644 index 0000000..71a3b8a --- /dev/null +++ b/pages/look/look.wxml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/pages/look/look.wxss b/pages/look/look.wxss new file mode 100644 index 0000000..be39acd --- /dev/null +++ b/pages/look/look.wxss @@ -0,0 +1 @@ +/* pages/look/look.wxss */ \ No newline at end of file diff --git a/pages/message/message.js b/pages/message/message.js new file mode 100644 index 0000000..cbe2eac --- /dev/null +++ b/pages/message/message.js @@ -0,0 +1,66 @@ +// pages/message/message.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/message/message.json b/pages/message/message.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/message/message.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/message/message.wxml b/pages/message/message.wxml new file mode 100644 index 0000000..8846faf --- /dev/null +++ b/pages/message/message.wxml @@ -0,0 +1,11 @@ + + + + + + CQ210003-九龙坡区大桥石区大桥石区大桥石S区十组245-2 + + 2021/01/01 + + + diff --git a/pages/message/message.wxss b/pages/message/message.wxss new file mode 100644 index 0000000..7fc75fb --- /dev/null +++ b/pages/message/message.wxss @@ -0,0 +1,28 @@ +/* pages/message/message.wxss */ +.main{ + display: flex; + flex-direction: column; + align-items: center; +} +.info{ + width: 687rpx; + box-sizing: border-box; + background: #FFFFFF; + box-shadow: 0 2rpx 24rpx 0 rgba(191, 191, 191, 0.15); + border-radius: 18rpx; + margin-top: 24rpx; + padding: 30rpx; +} + +.text{ + font-size: 34rpx; + color: #262936; + line-height: 48rpx; +} + +.timer{ + display: block; + font-size: 26rpx; + color: #838B99; + margin-top: 14rpx; +} \ No newline at end of file diff --git a/pages/ucenter/ucenter.js b/pages/ucenter/ucenter.js new file mode 100644 index 0000000..9dc13dc --- /dev/null +++ b/pages/ucenter/ucenter.js @@ -0,0 +1,81 @@ +// pages/ucenter/ucenter.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + comePage(e){ + console.log(e) + let type = e.currentTarget.dataset.type + if(type==1){ + wx.navigateTo({ + url: '/pages/message/message', + }) + } + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 4 + }) + } + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/ucenter/ucenter.json b/pages/ucenter/ucenter.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/ucenter/ucenter.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/ucenter/ucenter.wxml b/pages/ucenter/ucenter.wxml new file mode 100644 index 0000000..5a178c4 --- /dev/null +++ b/pages/ucenter/ucenter.wxml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + VIP会员 + 会员权益 + + + + + 消息通知 + + + + 修改密码 + + + + 建议反馈 + + + + 关于我们 + + + + + + + + diff --git a/pages/ucenter/ucenter.wxss b/pages/ucenter/ucenter.wxss new file mode 100644 index 0000000..e782596 --- /dev/null +++ b/pages/ucenter/ucenter.wxss @@ -0,0 +1,95 @@ +.pages{ + position: relative; +} + +.main{ + position: absolute; + left: 0; + top: 0; + z-index: 2; + padding-top: 172rpx; + width: 100%; +} + +.back-img{ + position: absolute; + left: 0; + top: 0; + z-index: 1; + width: 100%; + height: 100%; +} + +.user{ + box-sizing: border-box; + padding: 0 30rpx; +} + +.user-box{ + display: flex; + align-items: center; +} + +.log{ + width: 118rpx; + height: 118rpx; + border-radius: 50%; +} + +.user-info{ + flex: 1; + padding-left: 30rpx; +} + +.info-box{ + display: flex; + align-items: center; +} + +.info-box .text{ + font-size: 34rpx; + font-weight: bold; + color: #262936; + line-height: 42px; +} + +.info-box .tag{ + width: 70rpx; + height: 36rpx; + margin-left: 28rpx; +} + +.code{ + font-size: 34rpx; + color: #565A6B; + line-height: 48rpx; +} + +.member-box{ + position: relative; + width: 100%; + height: 110rpx; + margin-top: 30rpx; +} + +.member{ + z-index: 2; + box-sizing: border-box; + padding: 0 30rpx 0 94rpx; +} + +.member text{ + font-size: 32rpx; + font-weight: bold; + color: #976117; +} + +.member-btn{ + width: 150rpx; + height: 54rpx; + background: #976117; + border-radius: 26rpx; + font-size: 24rpx; + font-weight: bold; + color: #FFFFFF; +} \ No newline at end of file diff --git a/project.config.json b/project.config.json new file mode 100644 index 0000000..222bfa0 --- /dev/null +++ b/project.config.json @@ -0,0 +1,74 @@ +{ + "description": "项目配置文件", + "packOptions": { + "ignore": [] + }, + "setting": { + "urlCheck": true, + "es6": true, + "enhance": false, + "postcss": true, + "preloadBackgroundData": false, + "minified": true, + "newFeature": false, + "coverView": true, + "nodeModules": true, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "scopeDataCheck": false, + "uglifyFileName": false, + "checkInvalidKey": true, + "checkSiteMap": true, + "uploadWithSourceMap": true, + "compileHotReLoad": false, + "useMultiFrameRuntime": true, + "useApiHook": true, + "useApiHostProcess": true, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "enableEngineNative": false, + "useIsolateContext": true, + "useCompilerModule": true, + "userConfirmedUseCompilerModuleSwitch": false, + "userConfirmedBundleSwitch": false, + "packNpmManually": true, + "packNpmRelationList": [], + "minifyWXSS": true + }, + "compileType": "miniprogram", + "libVersion": "2.17.0", + "appid": "wx1be3eff14fa81352", + "projectname": "airApp", + "debugOptions": { + "hidedInDevtools": [] + }, + "scripts": {}, + "staticServerOptions": { + "baseURL": "", + "servePath": "" + }, + "isGameTourist": false, + "condition": { + "search": { + "list": [] + }, + "conversation": { + "list": [] + }, + "game": { + "list": [] + }, + "plugin": { + "list": [] + }, + "gamePlugin": { + "list": [] + }, + "miniprogram": { + "list": [] + } + } +} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json new file mode 100644 index 0000000..7c0f7f8 --- /dev/null +++ b/project.private.config.json @@ -0,0 +1,30 @@ +{ + "setting": {}, + "condition": { + "plugin": { + "list": [] + }, + "game": { + "list": [] + }, + "gamePlugin": { + "list": [] + }, + "miniprogram": { + "list": [ + { + "name": "pages/ucenter/ucenter", + "pathName": "pages/ucenter/ucenter", + "query": "", + "scene": null + }, + { + "name": "消息通知", + "pathName": "pages/message/message", + "query": "", + "scene": null + } + ] + } + } +} \ No newline at end of file diff --git a/sitemap.json b/sitemap.json new file mode 100644 index 0000000..ca02add --- /dev/null +++ b/sitemap.json @@ -0,0 +1,7 @@ +{ + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", + "rules": [{ + "action": "allow", + "page": "*" + }] +} \ No newline at end of file diff --git a/utils/util.js b/utils/util.js new file mode 100644 index 0000000..764bc2c --- /dev/null +++ b/utils/util.js @@ -0,0 +1,19 @@ +const formatTime = date => { + const year = date.getFullYear() + const month = date.getMonth() + 1 + const day = date.getDate() + const hour = date.getHours() + const minute = date.getMinutes() + const second = date.getSeconds() + + return `${[year, month, day].map(formatNumber).join('/')} ${[hour, minute, second].map(formatNumber).join(':')}` +} + +const formatNumber = n => { + n = n.toString() + return n[1] ? n : `0${n}` +} + +module.exports = { + formatTime +}