├── .gitignore ├── miniprogram_npm ├── weui-miniprogram │ ├── index.wxml │ ├── badge │ │ ├── badge.wxss │ │ ├── badge.json │ │ ├── badge.wxml │ │ └── badge.js │ ├── dialog │ │ ├── dialog.wxss │ │ ├── dialog.json │ │ ├── dialog.wxml │ │ └── dialog.js │ ├── checkbox │ │ ├── checkbox.wxss │ │ ├── checkbox.json │ │ ├── checkbox.wxml │ │ └── checkbox.js │ ├── form-page │ │ ├── form-page.wxss │ │ ├── form-page.json │ │ ├── form-page.js │ │ └── form-page.wxml │ ├── uploader │ │ ├── uploader.wxss │ │ └── uploader.json │ ├── checkbox-group │ │ ├── checkbox-group.wxss │ │ ├── checkbox-group.json │ │ └── checkbox-group.wxml │ ├── half-screen-dialog │ │ ├── half-screen-dialog.wxss │ │ ├── half-screen-dialog.json │ │ └── half-screen-dialog.js │ ├── form │ │ ├── form.wxml │ │ └── form.json │ ├── msg │ │ ├── msg.wxss │ │ ├── msg.json │ │ ├── msg.js │ │ └── msg.wxml │ ├── cell │ │ ├── cell.wxss │ │ ├── cell.json │ │ ├── cell.wxml │ │ └── cell.js │ ├── icon │ │ ├── icon.json │ │ ├── icon.wxss │ │ └── icon.wxml │ ├── cells │ │ ├── cells.json │ │ ├── cells.wxss │ │ ├── cells.wxml │ │ └── cells.js │ ├── gallery │ │ ├── gallery.json │ │ ├── gallery.wxss │ │ ├── gallery.wxml │ │ └── gallery.js │ ├── grids │ │ ├── grids.json │ │ ├── grids.wxss │ │ ├── grids.wxml │ │ └── grids.js │ ├── loading │ │ ├── loading.json │ │ ├── loading.wxss │ │ ├── loading.js │ │ └── loading.wxml │ ├── toptips │ │ ├── toptips.json │ │ ├── toptips.wxss │ │ ├── toptips.wxml │ │ └── toptips.js │ ├── slideview │ │ ├── slideview.json │ │ ├── slideview.wxss │ │ └── slideview.wxml │ ├── actionsheet │ │ ├── actionsheet.json │ │ ├── actionsheet.wxss │ │ └── actionsheet.js │ ├── navigation-bar │ │ ├── navigation-bar.json │ │ ├── navigation-bar.wxss │ │ └── navigation-bar.wxml │ ├── searchbar │ │ ├── searchbar.wxss │ │ └── searchbar.json │ ├── tabbar │ │ ├── tabbar.json │ │ ├── tabbar.js │ │ └── tabbar.wxml │ ├── index.js │ └── index.json └── @vant │ └── weapp │ ├── common │ ├── style │ │ ├── var.wxss │ │ ├── mixins │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ └── hairline.wxss │ │ ├── clearfix.wxss │ │ ├── ellipsis.wxss │ │ └── hairline.wxss │ ├── color.js │ └── index.wxss │ ├── area │ ├── index.wxss │ ├── index.json │ ├── index.wxs │ └── index.wxml │ ├── col │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.wxs │ ├── collapse │ ├── index.wxss │ ├── index.json │ └── index.wxml │ ├── row │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ ├── index.wxs │ └── index.js │ ├── tab │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── circle │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── grid │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.wxs │ ├── info │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.wxss │ ├── loading │ ├── index.json │ ├── index.js │ ├── index.wxs │ └── index.wxml │ ├── progress │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.wxs │ ├── sidebar │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.js │ ├── slider │ ├── index.json │ └── index.wxs │ ├── stepper │ ├── index.json │ └── index.wxs │ ├── sticky │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.wxs │ ├── tabbar │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── cell-group │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.wxss │ ├── count-down │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── datetime-picker │ ├── index.wxss │ ├── index.json │ └── index.wxml │ ├── dropdown-menu │ ├── index.json │ ├── index.wxs │ ├── index.wxml │ └── index.wxss │ ├── goods-action │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.js │ ├── index-anchor │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.js │ ├── index-bar │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── picker-column │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.wxs │ ├── radio-group │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.js │ ├── share-sheet │ ├── options.json │ ├── index.json │ ├── index.wxs │ ├── options.wxs │ ├── options.wxml │ ├── index.wxss │ ├── options.wxss │ └── options.js │ ├── swipe-cell │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── transition │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.js │ └── index.wxss │ ├── checkbox-group │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── config-provider │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.wxs │ ├── calendar │ ├── components │ │ ├── header │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── month │ │ │ └── index.json │ ├── index.json │ ├── utils.wxs │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── divider │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.js │ └── index.wxss │ ├── empty │ ├── index.json │ ├── index.wxs │ ├── index.js │ ├── index.wxss │ └── index.wxml │ ├── skeleton │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── definitions │ └── index.js │ ├── dropdown-item │ ├── shared.js │ ├── index.json │ └── index.wxss │ ├── card │ └── index.json │ ├── cell │ ├── index.json │ ├── index.wxs │ └── index.js │ ├── icon │ ├── index.json │ ├── index.wxml │ ├── index.js │ └── index.wxs │ ├── panel │ ├── index.json │ ├── index.wxss │ ├── index.js │ └── index.wxml │ ├── radio │ ├── index.json │ ├── index.wxs │ ├── index.wxml │ └── index.wxss │ ├── rate │ ├── index.json │ └── index.wxss │ ├── steps │ ├── index.json │ └── index.js │ ├── tag │ ├── index.json │ ├── index.wxs │ ├── index.wxml │ └── index.js │ ├── checkbox │ ├── index.json │ ├── index.wxs │ └── index.wxml │ ├── grid-item │ ├── index.json │ ├── index.wxs │ └── index.wxml │ ├── nav-bar │ ├── index.json │ ├── index.wxs │ └── index.wxss │ ├── notice-bar │ ├── index.json │ ├── index.wxs │ ├── index.wxss │ └── index.wxml │ ├── search │ ├── index.json │ └── index.wxss │ ├── collapse-item │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── sidebar-item │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.js │ ├── switch │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ └── index.js │ ├── notify │ ├── index.json │ ├── index.wxs │ ├── index.wxss │ └── index.wxml │ ├── overlay │ ├── index.json │ ├── index.wxss │ ├── index.wxml │ └── index.js │ ├── goods-action-button │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── index.js │ ├── wxs │ ├── array.wxs │ ├── utils.wxs │ ├── add-unit.wxs │ ├── object.wxs │ ├── bem.wxs │ ├── style.wxs │ └── memoize.wxs │ ├── field │ ├── index.json │ ├── index.wxs │ ├── input.wxml │ └── textarea.wxml │ ├── tabs │ └── index.json │ ├── button │ ├── index.json │ └── index.wxs │ ├── image │ ├── index.json │ ├── index.wxs │ ├── index.wxss │ └── index.wxml │ ├── popup │ ├── index.json │ ├── index.wxs │ └── index.wxml │ ├── submit-bar │ └── index.json │ ├── tabbar-item │ ├── index.json │ ├── index.wxss │ └── index.wxml │ ├── uploader │ ├── index.json │ ├── index.wxs │ └── shared.js │ ├── goods-action-icon │ ├── index.json │ ├── index.wxss │ ├── index.js │ └── index.wxml │ ├── picker │ ├── index.json │ ├── shared.js │ ├── toolbar.wxml │ └── index.wxs │ ├── action-sheet │ └── index.json │ ├── tree-select │ ├── index.json │ ├── index.wxs │ └── index.wxss │ ├── toast │ ├── index.json │ ├── index.js │ ├── index.wxss │ └── index.wxml │ ├── dialog │ └── index.json │ └── mixins │ ├── basic.js │ └── link.js ├── pages ├── address │ ├── edit.json │ ├── address.json │ ├── address.wxml │ └── edit.wxss ├── test │ ├── test.json │ ├── test.wxml │ └── test.wxss ├── order │ ├── orderDetail.json │ └── order.json ├── search │ └── search.json ├── orderList │ ├── logistics.json │ ├── orderList.json │ ├── logistics.wxml │ └── logistics.js ├── index │ └── index.json ├── my │ └── my.json ├── login │ ├── login.json │ ├── login.js │ ├── login.wxml │ └── login.wxss ├── sort │ ├── sort.json │ └── sort.wxss ├── detail │ └── detail.json └── cart │ └── cart.json ├── custom-tab-bar ├── index.wxss ├── index.json └── index.wxml ├── app.wxss ├── dist └── images │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── wx.png │ ├── wx2.png │ ├── arrow.png │ ├── cart1.png │ ├── cart2.png │ ├── cart3.png │ ├── sdlr.png │ ├── shop.png │ ├── 圣诞老人6.png │ ├── 圣诞老人7.png │ ├── address.png │ ├── address2.png │ ├── address3.png │ ├── setting.png │ ├── setting2.png │ ├── defaultAvatar.png │ ├── selectAddress.png │ ├── defaultAvatar2.png │ └── defaultAvatar3.png ├── cloudfunctions ├── getOpenid │ ├── config.json │ ├── package.json │ └── index.js └── wechat_sign │ ├── config.json │ └── package.json ├── sitemap.json ├── package.json ├── README.md ├── utils └── util.js ├── yarn.lock └── app.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/var.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/address/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /pages/test/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /pages/order/orderDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /pages/search/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /custom-tab-bar/index.wxss: -------------------------------------------------------------------------------- 1 | /* components/custom-tab-bar/index.wxss */ -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/uploader/uploader.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /pages/orderList/logistics.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /pages/orderList/orderList.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox-group/checkbox-group.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | @import '/miniprogram_npm/weui-miniprogram/weui-wxss/dist/style/weui.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /dist/images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/1.jpg -------------------------------------------------------------------------------- /dist/images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/2.jpg -------------------------------------------------------------------------------- /dist/images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/3.jpg -------------------------------------------------------------------------------- /dist/images/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/4.jpg -------------------------------------------------------------------------------- /dist/images/wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/wx.png -------------------------------------------------------------------------------- /dist/images/wx2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/wx2.png -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/half-screen-dialog/half-screen-dialog.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /dist/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/arrow.png -------------------------------------------------------------------------------- /dist/images/cart1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/cart1.png -------------------------------------------------------------------------------- /dist/images/cart2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/cart2.png -------------------------------------------------------------------------------- /dist/images/cart3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/cart3.png -------------------------------------------------------------------------------- /dist/images/sdlr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/sdlr.png -------------------------------------------------------------------------------- /dist/images/shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/shop.png -------------------------------------------------------------------------------- /dist/images/圣诞老人6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/圣诞老人6.png -------------------------------------------------------------------------------- /dist/images/圣诞老人7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/圣诞老人7.png -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form/form.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component":true, 3 | "navigationBarTitleText": "圣诞兔电商" 4 | } -------------------------------------------------------------------------------- /pages/my/my.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "个人中心" 4 | } -------------------------------------------------------------------------------- /custom-tab-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component":true, 3 | "usingComponents": { 4 | 5 | } 6 | } -------------------------------------------------------------------------------- /dist/images/address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/address.png -------------------------------------------------------------------------------- /dist/images/address2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/address2.png -------------------------------------------------------------------------------- /dist/images/address3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/address3.png -------------------------------------------------------------------------------- /dist/images/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/setting.png -------------------------------------------------------------------------------- /dist/images/setting2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/setting2.png -------------------------------------------------------------------------------- /pages/login/login.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "用户登录" 4 | } -------------------------------------------------------------------------------- /pages/order/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "确认订单" 4 | } -------------------------------------------------------------------------------- /pages/sort/sort.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "商品分类" 4 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/month/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.wxss: -------------------------------------------------------------------------------- 1 | .weui-msg__icon-img{width:190rpx;height:190rpx} 2 | 3 | -------------------------------------------------------------------------------- /pages/address/address.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "收货地址" 4 | } -------------------------------------------------------------------------------- /pages/detail/detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "商品详情" 4 | } -------------------------------------------------------------------------------- /cloudfunctions/getOpenid/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/wechat_sign/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /dist/images/defaultAvatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/defaultAvatar.png -------------------------------------------------------------------------------- /dist/images/selectAddress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/selectAddress.png -------------------------------------------------------------------------------- /dist/images/defaultAvatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/defaultAvatar2.png -------------------------------------------------------------------------------- /dist/images/defaultAvatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aafx11/WX-mall/HEAD/dist/images/defaultAvatar3.png -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cell/cell.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_wxss.weui-cell_wxss:before{display:block} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form/form.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/icon/icon.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/gallery/gallery.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.wxss: -------------------------------------------------------------------------------- 1 | .weui-grid .weui-grid__icon_img{width:100%;height:100%} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/toptips/toptips.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:var(--sidebar-width,80px)} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/slideview/slideview.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/actionsheet/actionsheet.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/definitions/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/navigation-bar/navigation-bar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /pages/cart/cart.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "购物车", 4 | "enablePullDownRefresh": true 5 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-item/shared.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{box-sizing:border-box;overflow:hidden;position:relative} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/half-screen-dialog/half-screen-dialog.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cell/cell.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cells": "../cells/cells" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/searchbar/searchbar.wxss: -------------------------------------------------------------------------------- 1 | .weui-search-bar__label text{display:inline-block;font-size:14px;vertical-align:middle} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{left:0;position:fixed;right:0} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/gallery/gallery.wxss: -------------------------------------------------------------------------------- 1 | .weui-gallery__opr{padding-bottom:0}.weui-gallery__del{padding-bottom:env(safe-area-inset-bottom)} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/tabbar/tabbar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-badge": "../badge/badge" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/uploader/uploader.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-gallery": "../gallery/gallery" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.wxml: -------------------------------------------------------------------------------- 1 | {{content}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox-group/checkbox-group.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cells": "../cells/cells" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/navigation-bar/navigation-bar.wxss: -------------------------------------------------------------------------------- 1 | .weui-navigation-bar__btn_goback_wrapper{padding:11px 18px 11px 16px;margin:-11px -18px -11px -16px} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/actionsheet/actionsheet.wxss: -------------------------------------------------------------------------------- 1 | .weui-actionsheet__action{padding-bottom:0}.weui-actionsheet__cell_cancel{padding-bottom:env(safe-area-inset-bottom)} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "options": "./options" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index", 5 | "van-sticky": "../sticky/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-overlay": "../overlay/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/uploader/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/searchbar/searchbar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cells": "../cells/cells", 5 | "mp-cell": "../cell/cell" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{background-color:var(--overlay-background-color,rgba(0,0,0,.7));height:100%;left:0;position:fixed;top:0;width:100%} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/slideview/slideview.wxss: -------------------------------------------------------------------------------- 1 | .weui-slideview__btn{flex:1;min-width:0}.weui-slideview_icon .weui-slideview__btn{flex:none}.weui-slideview__btn__wrp{justify-content:center} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "mp-cell": "../cell/cell", 5 | "mp-checkbox-group": "../checkbox-group/checkbox-group" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:var(--count-down-text-color,#323233);font-size:var(--count-down-font-size,14px);line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-cell": "../cell/index", 6 | "van-icon": "../icon/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.wxss: -------------------------------------------------------------------------------- 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)} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/action-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-popup": "../popup/index", 6 | "van-loading": "../loading/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function displayColumns(columns, columnsNum) { 3 | return columns.slice(0, +columnsNum); 4 | } 5 | 6 | module.exports = { 7 | displayColumns: displayColumns, 8 | }; 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tree-select/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-sidebar": "../sidebar/index", 6 | "van-sidebar-item": "../sidebar-item/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/toptips/toptips.wxss: -------------------------------------------------------------------------------- 1 | .weui-toptips{display:block}.weui-toptips_success{background-color:var(--weui-BRAND)}.weui-toptips_error{background-color:var(--weui-RED)}.weui-toptips_info{background-color:var(--weui-BLUE)} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox-group/checkbox-group.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/icon/icon.wxss: -------------------------------------------------------------------------------- 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} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/index.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("./_commons/0.js")([{ids:[14],modules:{0:function(s,e,o){s.exports=o(33)},24:function(s,e,o){s.exports=o(0)},33:function(s,e,o){"use strict";o.r(e)}},entries:[[24,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{display:inline-block;position:relative;text-align:center}.van-circle__text{color:var(--circle-text-color,#323233);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/toptips/toptips.wxml: -------------------------------------------------------------------------------- 1 | {{msg}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{box-sizing:border-box;flex-shrink:0;width:100%}.van-tab__pane{-webkit-overflow-scrolling:touch;box-sizing:border-box;overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/toast/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index", 6 | "van-overlay": "../overlay/index", 7 | "van-transition": "../transition/index" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:var(--panel-background-color,#fff)}.van-panel__header-value{color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:var(--panel-footer-padding,8px 16px)}.van-panel__footer:empty{display:none} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/utils.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var bem = require('./bem.wxs'); 3 | var memoize = require('./memoize.wxs'); 4 | var addUnit = require('./add-unit.wxs'); 5 | 6 | module.exports = { 7 | bem: memoize(bem), 8 | memoize: memoize, 9 | addUnit: addUnit 10 | }; 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-button": "../button/index", 6 | "van-goods-action": "../goods-action/index", 7 | "van-goods-action-button": "../goods-action-button/index" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{background-color:var(--tabbar-background-color,#fff);box-sizing:initial;display:flex;height:var(--tabbar-height,50px);width:100%}.van-tabbar--fixed{bottom:0;left:0;position:fixed}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/add-unit.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var REGEXP = getRegExp('^-?\d+(\.\d+)?$'); 3 | 4 | function addUnit(value) { 5 | if (value == null) { 6 | return undefined; 7 | } 8 | 9 | return REGEXP.test('' + value) ? value + 'px' : value; 10 | } 11 | 12 | module.exports = addUnit; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/swipe-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-swipe-cell{overflow:hidden;position:relative}.van-swipe-cell__left,.van-swipe-cell__right{height:100%;position:absolute;top:0}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "header": "./components/header/index", 5 | "month": "./components/month/index", 6 | "van-button": "../button/index", 7 | "van-popup": "../popup/index", 8 | "van-toast": "../toast/index" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | customStyle: String, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function isMulti(options) { 3 | if (options == null || options[0] == null) { 4 | return false; 5 | } 6 | 7 | return "Array" === options.constructor && "Array" === options[0].constructor; 8 | } 9 | 10 | module.exports = { 11 | isMulti: isMulti 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{align-items:center;background-color:var(--goods-action-background-color,#fff);bottom:0;box-sizing:initial;display:flex;height:var(--goods-action-height,50px);left:0;position:fixed;right:0}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style({ 7 | 'padding-left': addUnit(data.gutter), 8 | }); 9 | } 10 | 11 | module.exports = { 12 | rootStyle: rootStyle, 13 | }; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/object.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var REGEXP = getRegExp('{|}|"', 'g'); 3 | 4 | function keys(obj) { 5 | return JSON.stringify(obj) 6 | .replace(REGEXP, '') 7 | .split(',') 8 | .map(function(item) { 9 | return item.split(':')[0]; 10 | }); 11 | } 12 | 13 | module.exports.keys = keys; 14 | -------------------------------------------------------------------------------- /cloudfunctions/getOpenid/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getOpenid", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/badge/badge.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[2],modules:{11:function(e,t,s){e.exports=s(117)},117:function(e,t){Component({options:{addGlobalClass:!0},properties:{extClass:{type:String,value:""},content:{type:String,value:""},ariaLabel:{type:String,value:""}}})}},entries:[[11,0]]}]); -------------------------------------------------------------------------------- /cloudfunctions/wechat_sign/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wechat_sign", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | themeVars: { 7 | type: Object, 8 | value: {}, 9 | }, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tree-select/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var array = require('../wxs/array.wxs'); 3 | 4 | function isActive (activeList, itemId) { 5 | if (array.isArray(activeList)) { 6 | return activeList.indexOf(itemId) > -1; 7 | } 8 | 9 | return activeList === itemId; 10 | } 11 | 12 | module.exports.isActive = isActive; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/nav-bar/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function barStyle(data) { 5 | return style({ 6 | 'z-index': data.zIndex, 7 | 'padding-top': data.safeAreaInsetTop ? data.statusBarHeight + 'px' : 0, 8 | }); 9 | } 10 | 11 | module.exports = { 12 | barStyle: barStyle, 13 | }; 14 | -------------------------------------------------------------------------------- /custom-tab-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{item.text}} 7 | 8 | 9 | -------------------------------------------------------------------------------- /cloudfunctions/getOpenid/index.js: -------------------------------------------------------------------------------- 1 | // 云函数入口文件 2 | const cloud = require('wx-server-sdk') 3 | 4 | cloud.init() 5 | 6 | // 云函数入口函数 7 | exports.main = async (event, context) => { 8 | const wxContext = cloud.getWXContext() 9 | 10 | return { 11 | event, 12 | openid: wxContext.OPENID, 13 | appid: wxContext.APPID, 14 | unionid: wxContext.UNIONID, 15 | } 16 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | {{ title }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESETS = ['error', 'search', 'default', 'network']; 3 | 4 | function imageUrl(image) { 5 | if (PRESETS.indexOf(image) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/empty-image-' + image + '.png'; 7 | } 8 | 9 | return image; 10 | } 11 | 12 | module.exports = { 13 | imageUrl: imageUrl, 14 | }; 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | classes: ['header-class', 'footer-class'], 6 | props: { 7 | desc: String, 8 | title: String, 9 | status: String, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.wxss: -------------------------------------------------------------------------------- 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 0.2s 0.3s ease} 2 | 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | description: String, 7 | image: { 8 | type: String, 9 | value: 'default', 10 | }, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function barStyle(barHeight, activeColor) { 6 | return style({ 7 | height: addUnit(barHeight), 8 | background: activeColor, 9 | }); 10 | } 11 | 12 | module.exports = { 13 | barStyle: barStyle, 14 | }; 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function rootStyle(data) { 5 | return style({ 6 | 'background-color': data.plain ? '' : data.color, 7 | color: data.textColor || data.plain ? data.textColor || data.color : '', 8 | }); 9 | } 10 | 11 | module.exports = { 12 | rootStyle: rootStyle, 13 | }; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/uploader/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function sizeStyle(data) { 6 | return style({ 7 | width: addUnit(data.previewSize), 8 | height: addUnit(data.previewSize), 9 | }); 10 | } 11 | 12 | module.exports = { 13 | sizeStyle: sizeStyle, 14 | }; 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var relation_1 = require("../common/relation"); 4 | var component_1 = require("../common/component"); 5 | (0, component_1.VantComponent)({ 6 | relation: (0, relation_1.useParent)('row'), 7 | props: { 8 | span: Number, 9 | offset: Number, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | title: String, 7 | border: { 8 | type: Boolean, 9 | value: true, 10 | }, 11 | inset: Boolean, 12 | }, 13 | }); 14 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notice-bar/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style({ 7 | color: data.color, 8 | 'background-color': data.backgroundColor, 9 | background: data.background, 10 | }); 11 | } 12 | 13 | module.exports = { 14 | rootStyle: rootStyle, 15 | }; 16 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.wxml: -------------------------------------------------------------------------------- 1 | {{title}}{{footer}} 2 | -------------------------------------------------------------------------------- /pages/login/login.js: -------------------------------------------------------------------------------- 1 | import userLogin from '../../util/login.js' 2 | // const util = require('../../util/login.js') 3 | Page({ 4 | 5 | 6 | data: { 7 | 8 | }, 9 | 10 | 11 | onLoad: function (options) { 12 | 13 | }, 14 | 15 | back(){ 16 | wx.navigateBack() 17 | }, 18 | login(){ 19 | let that = this 20 | userLogin(that) 21 | // userLogin().apply(this) 22 | // util.userLogin.apply(this) 23 | } 24 | 25 | }) -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function titleStyle(data) { 6 | return style([ 7 | { 8 | 'max-width': addUnit(data.titleWidth), 9 | 'min-width': addUnit(data.titleWidth), 10 | }, 11 | data.titleStyle, 12 | ]); 13 | } 14 | 15 | module.exports = { 16 | titleStyle: titleStyle, 17 | }; 18 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function displayTitle(item) { 3 | if (item.title) { 4 | return item.title; 5 | } 6 | 7 | var match = item.options.filter(function(option) { 8 | return option.value === item.value; 9 | }); 10 | var displayTitle = match.length ? match[0].text : ''; 11 | return displayTitle; 12 | } 13 | 14 | module.exports = { 15 | displayTitle: displayTitle 16 | }; 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'link', 'weibo', 'wechat', 'poster', 'qrcode', 'weapp-qrcode', 'wechat-moments']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-sheet-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[15],modules:{101:function(e,t){Component({options:{addGlobalClass:!0},properties:{extClass:{type:String,value:""},show:{type:Boolean,value:!0},animated:{type:Boolean,value:!1},duration:{type:Number,value:350},type:{type:String,value:"dot-gray"},tips:{type:String,value:"加载中"}}})},9:function(e,t,o){e.exports=o(101)}},entries:[[9,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[16],modules:{14:function(e,t,s){e.exports=s(141)},141:function(e,t){Component({options:{addGlobalClass:!0,multipleSlots:!0},properties:{title:{type:String,value:""},type:{type:String,value:""},icon:{type:String,value:""},desc:{type:String,value:""},extClass:{type:String,value:""},size:{type:Number,value:64}},data:{}})}},entries:[[14,0]]}]); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mall", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "app.js", 6 | "dependencies": { 7 | "@vant/area-data": "^1.1.3", 8 | "@vant/weapp": "^1.9.2", 9 | "weui-miniprogram": "^1.2.1" 10 | }, 11 | "devDependencies": {}, 12 | "scripts": { 13 | "test": "echo \"Error: no test specified\" && exit 1" 14 | }, 15 | "keywords": [], 16 | "author": "", 17 | "license": "ISC" 18 | } 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | if (!data.gutter) { 7 | return ''; 8 | } 9 | 10 | return style({ 11 | 'padding-right': addUnit(data.gutter / 2), 12 | 'padding-left': addUnit(data.gutter / 2), 13 | }); 14 | } 15 | 16 | module.exports = { 17 | rootStyle: rootStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{color:var(--picker-option-text-color,#000);font-size:var(--picker-option-font-size,16px);overflow:hidden;text-align:center}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{color:var(--picker-option-selected-text-color,#323233);font-weight:var(--font-weight-bold,500)}.van-picker-column__item--disabled{opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | if (!data.gutter) { 7 | return ''; 8 | } 9 | 10 | return style({ 11 | 'margin-right': addUnit(-data.gutter / 2), 12 | 'margin-left': addUnit(-data.gutter / 2), 13 | }); 14 | } 15 | 16 | module.exports = { 17 | rootStyle: rootStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/color.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.GRAY_DARK = exports.GRAY = exports.ORANGE = exports.GREEN = exports.WHITE = exports.BLUE = exports.RED = void 0; 4 | exports.RED = '#ee0a24'; 5 | exports.BLUE = '#1989fa'; 6 | exports.WHITE = '#fff'; 7 | exports.GREEN = '#07c160'; 8 | exports.ORANGE = '#ff976a'; 9 | exports.GRAY = '#323233'; 10 | exports.GRAY_DARK = '#969799'; 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{display:flex;flex-direction:column;position:fixed;right:0;text-align:center;top:50%;transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-size:var(--index-bar-index-font-size,10px);font-weight:500;line-height:var(--index-bar-index-line-height,14px);padding:0 var(--padding-base,4px) 0 var(--padding-md,16px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style([ 7 | { 8 | 'border-color': data.borderColor, 9 | color: data.textColor, 10 | 'font-size': addUnit(data.fontSize), 11 | }, 12 | data.customStyle, 13 | ]); 14 | } 15 | 16 | module.exports = { 17 | rootStyle: rootStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{left:0;overflow:hidden;position:fixed;right:0}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active .van-dropdown-item__icon,.van-dropdown-item__option--active .van-dropdown-item__title{color:var(--dropdown-menu-option-active-color,#ee0a24)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__icon{display:block;line-height:inherit} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | dashed: Boolean, 7 | hairline: Boolean, 8 | contentPosition: String, 9 | fontSize: String, 10 | borderColor: String, 11 | textColor: String, 12 | customStyle: String, 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function rootStyle(data) { 5 | return style([ 6 | { 7 | '-webkit-transition-duration': data.currentDuration + 'ms', 8 | 'transition-duration': data.currentDuration + 'ms', 9 | }, 10 | data.display ? null : 'display: none', 11 | data.customStyle, 12 | ]); 13 | } 14 | 15 | module.exports = { 16 | rootStyle: rootStyle, 17 | }; 18 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 首页 2 | ![Image text](https://raw.githubusercontent.com/aafx11/image/main/index.png) 3 | 4 | ## 分类页面 5 | ![Image text](https://raw.githubusercontent.com/aafx11/image/main/sort.jpg) 6 | 7 | ## 购物车页面 8 | ![Image text](https://raw.githubusercontent.com/aafx11/image/main/cart.jpg) 9 | 10 | ## 个人中心页面 11 | ![Image text](https://raw.githubusercontent.com/aafx11/image/main/center.jpg) 12 | 13 | ## 订单页面 14 | ![Image text](https://raw.githubusercontent.com/aafx11/image/main/order.jpg) 15 | 16 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/field/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function inputStyle(autosize) { 6 | if (autosize && autosize.constructor === 'Object') { 7 | return style({ 8 | 'min-height': addUnit(autosize.minHeight), 9 | 'max-height': addUnit(autosize.maxHeight), 10 | }); 11 | } 12 | 13 | return ''; 14 | } 15 | 16 | module.exports = { 17 | inputStyle: inputStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/popup/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function popupStyle(data) { 5 | return style([ 6 | { 7 | 'z-index': data.zIndex, 8 | '-webkit-transition-duration': data.currentDuration + 'ms', 9 | 'transition-duration': data.currentDuration + 'ms', 10 | }, 11 | data.display ? null : 'display: none', 12 | data.customStyle, 13 | ]); 14 | } 15 | 16 | module.exports = { 17 | popupStyle: popupStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group--inset{border-radius:var(--cell-group-inset-border-radius,8px);margin:var(--cell-group-inset-padding,0 16px);overflow:hidden}.van-cell-group__title{color:var(--cell-group-title-color,#969799);font-size:var(--cell-group-title-font-size,14px);line-height:var(--cell-group-title-line-height,16px);padding:var(--cell-group-title-padding,16px 16px 8px)}.van-cell-group__title--inset{padding:var(--cell-group-inset-title-padding,16px 16px 8px 32px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/mixins/basic.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.basic = void 0; 4 | exports.basic = Behavior({ 5 | methods: { 6 | $emit: function (name, detail, options) { 7 | this.triggerEvent(name, detail, options); 8 | }, 9 | set: function (data) { 10 | this.setData(data); 11 | return new Promise(function (resolve) { return wx.nextTick(resolve); }); 12 | }, 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /pages/login/login.wxml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 13 | 14 | 请完成登录后,再继续操作 15 | 16 | -------------------------------------------------------------------------------- /pages/login/login.wxss: -------------------------------------------------------------------------------- 1 | .box{ 2 | /* width: 100vw; 3 | height: 100vh; */ 4 | width: 100%; 5 | height: 100%; 6 | margin-top: 15rpx; 7 | } 8 | .image-container{ 9 | display: flex; 10 | justify-content: center; 11 | } 12 | .login-container{ 13 | display: flex; 14 | justify-content: center; 15 | align-items: center; 16 | margin-top: 20rpx; 17 | } 18 | .login-button{ 19 | width: 80%; 20 | 21 | } 22 | .desc-container{ 23 | margin-top: 10rpx; 24 | text-align: center; 25 | font-size: 0.8rem; 26 | color: gray; 27 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{background-color:var(--index-anchor-background-color,transparent);color:var(--index-anchor-text-color,#323233);font-size:var(--index-anchor-font-size,14px);font-weight:var(--index-anchor-font-weight,500);line-height:var(--index-anchor-line-height,32px);padding:var(--index-anchor-padding,0 16px)}.van-index-anchor--active{background-color:var(--index-anchor-active-background-color,#fff);color:var(--index-anchor-active-text-color,#07c160);left:0;right:0} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notify/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style({ 7 | 'z-index': data.zIndex, 8 | top: addUnit(data.top), 9 | }); 10 | } 11 | 12 | function notifyStyle(data) { 13 | return style({ 14 | background: data.background, 15 | color: data.color, 16 | }); 17 | } 18 | 19 | module.exports = { 20 | rootStyle: rootStyle, 21 | notifyStyle: notifyStyle, 22 | }; 23 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/tabbar/tabbar.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[20],modules:{10:function(t,e,s){t.exports=s(109)},109:function(t,e){Component({options:{addGlobalClass:!0,writeIdToDOM:!0},properties:{extClass:{type:String,value:""},list:{type:Array,value:[]},current:{type:Number,value:0}},methods:{tabChange:function(t){var e=t.currentTarget.dataset.index;e!==this.data.current&&(this.setData({current:e}),this.triggerEvent("change",{index:e,item:this.data.list[e]}))}}})}},entries:[[10,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | color: String, 7 | vertical: Boolean, 8 | type: { 9 | type: String, 10 | value: 'circular', 11 | }, 12 | size: String, 13 | textSize: String, 14 | }, 15 | data: { 16 | array12: Array.from({ length: 12 }), 17 | }, 18 | }); 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var transition_1 = require("../mixins/transition"); 5 | (0, component_1.VantComponent)({ 6 | classes: [ 7 | 'enter-class', 8 | 'enter-active-class', 9 | 'enter-to-class', 10 | 'leave-class', 11 | 'leave-active-class', 12 | 'leave-to-class', 13 | ], 14 | mixins: [(0, transition_1.transition)(true)], 15 | }); 16 | -------------------------------------------------------------------------------- /utils/util.js: -------------------------------------------------------------------------------- 1 | const formatTime = date => { 2 | const year = date.getFullYear() 3 | const month = date.getMonth() + 1 4 | const day = date.getDate() 5 | const hour = date.getHours() 6 | const minute = date.getMinutes() 7 | const second = date.getSeconds() 8 | 9 | return `${[year, month, day].map(formatNumber).join('/')} ${[hour, minute, second].map(formatNumber).join(':')}` 10 | } 11 | 12 | const formatNumber = n => { 13 | n = n.toString() 14 | return n[1] ? n : `0${n}` 15 | } 16 | 17 | module.exports = { 18 | formatTime 19 | } 20 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function spinnerStyle(data) { 6 | return style({ 7 | color: data.color, 8 | width: addUnit(data.size), 9 | height: addUnit(data.size), 10 | }); 11 | } 12 | 13 | function textStyle(data) { 14 | return style({ 15 | 'font-size': addUnit(data.textSize), 16 | }); 17 | } 18 | 19 | module.exports = { 20 | spinnerStyle: spinnerStyle, 21 | textStyle: textStyle, 22 | }; 23 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/stepper/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function buttonStyle(data) { 6 | return style({ 7 | width: addUnit(data.buttonSize), 8 | height: addUnit(data.buttonSize), 9 | }); 10 | } 11 | 12 | function inputStyle(data) { 13 | return style({ 14 | width: addUnit(data.inputWidth), 15 | height: addUnit(data.buttonSize), 16 | }); 17 | } 18 | 19 | module.exports = { 20 | buttonStyle: buttonStyle, 21 | inputStyle: inputStyle, 22 | }; 23 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/icon/icon.wxml: -------------------------------------------------------------------------------- 1 | 2 | var double = function(a) { 3 | return 2*a 4 | }; 5 | var ifSpecialIcon = function(v) { 6 | return v === 'arrow' || v === 'back' 7 | } 8 | module.exports = { 9 | double: double, 10 | ifSpecialIcon: ifSpecialIcon 11 | } 12 | 13 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/loading/loading.wxml: -------------------------------------------------------------------------------- 1 | {{tips}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/datetime-picker/index.wxml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action-icon{border:none!important;color:var(--goods-action-icon-text-color,#646566)!important;display:flex!important;flex-direction:column;font-size:var(--goods-action-icon-font-size,10px)!important;height:var(--goods-action-icon-height,50px)!important;justify-content:center!important;line-height:1!important;min-width:var(--goods-action-icon-width,48px)}.van-goods-action-icon__icon{color:var(--goods-action-icon-color,#323233);display:flex;font-size:var(--goods-action-icon-size,18px);margin:0 auto 5px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 14 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /pages/sort/sort.wxss: -------------------------------------------------------------------------------- 1 | /* .container{ 2 | height: 100vh; 3 | } */ 4 | .right-container{ 5 | /* height: 500rpx; */ 6 | height: 100vh; 7 | } 8 | .title{ 9 | font-weight: 600; 10 | font-size: 1rem; 11 | margin-left: 50rpx; 12 | } 13 | .item-name{ 14 | margin-top: 13rpx; 15 | font-size: 0.7rem; 16 | } 17 | .item-title{ 18 | font-weight: 600; 19 | font-size: 0.9rem; 20 | } 21 | .bottom-container{ 22 | display: flex; 23 | justify-content: center; 24 | align-items: center; 25 | font-size: 0.8rem; 26 | color: gray; 27 | background-color: #f5f2f2; 28 | padding: 30rpx 0 ; 29 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) { 6 | var styles = { 7 | 'font-size': addUnit(iconSize), 8 | }; 9 | 10 | if (checkedColor && value && !disabled && !parentDisabled) { 11 | styles['border-color'] = checkedColor; 12 | styles['background-color'] = checkedColor; 13 | } 14 | 15 | return style(styles); 16 | } 17 | 18 | module.exports = { 19 | iconStyle: iconStyle, 20 | }; 21 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-empty{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:32px 0}.van-empty__image{height:160px;width:160px}.van-empty__image:empty{display:none}.van-empty__image__img{height:100%;width:100%}.van-empty__image:not(:empty)+.van-empty__image{display:none}.van-empty__description{color:#969799;font-size:14px;line-height:20px;margin-top:16px;padding:0 60px}.van-empty__description:empty,.van-empty__description:not(:empty)+.van-empty__description{display:none}.van-empty__bottom{margin-top:24px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.wxml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{flex:1}.van-tabbar-item{align-items:center;color:var(--tabbar-item-text-color,#646566);display:flex;flex-direction:column;font-size:var(--tabbar-item-font-size,12px);height:100%;justify-content:center;line-height:var(--tabbar-item-line-height,1)}.van-tabbar-item__icon{font-size:var(--tabbar-item-icon-size,22px);margin-bottom:var(--tabbar-item-margin-bottom,4px);position:relative}.van-tabbar-item__icon__inner{display:block;min-width:1em}.van-tabbar-item--active{color:var(--tabbar-item-active-color,#1989fa)}.van-tabbar-item__info{margin-top:2px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var relation_1 = require("../common/relation"); 5 | (0, component_1.VantComponent)({ 6 | relation: (0, relation_1.useChildren)('goods-action-button', function () { 7 | this.children.forEach(function (item) { 8 | item.updateStyle(); 9 | }); 10 | }), 11 | props: { 12 | safeAreaInsetBottom: { 13 | type: Boolean, 14 | value: true, 15 | }, 16 | }, 17 | }); 18 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/shared.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.pickerProps = void 0; 4 | exports.pickerProps = { 5 | title: String, 6 | loading: Boolean, 7 | showToolbar: Boolean, 8 | cancelButtonText: { 9 | type: String, 10 | value: '取消', 11 | }, 12 | confirmButtonText: { 13 | type: String, 14 | value: '确认', 15 | }, 16 | visibleItemCount: { 17 | type: Number, 18 | value: 6, 19 | }, 20 | itemHeight: { 21 | type: Number, 22 | value: 44, 23 | }, 24 | }; 25 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | size: null, 9 | color: String, 10 | customStyle: String, 11 | classPrefix: { 12 | type: String, 13 | value: 'van-icon', 14 | }, 15 | name: String, 16 | }, 17 | methods: { 18 | onClick: function () { 19 | this.$emit('click'); 20 | }, 21 | }, 22 | }); 23 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ title }} 5 | 6 | 7 | 8 | {{ subtitle }} 9 | 10 | 11 | 12 | 13 | {{ item }} 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notify/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-notify{word-wrap:break-word;font-size:var(--notify-font-size,14px);line-height:var(--notify-line-height,20px);padding:var(--notify-padding,6px 15px);text-align:center}.van-notify__container{box-sizing:border-box;left:0;position:fixed;top:0;width:100%}.van-notify--primary{background-color:var(--notify-primary-background-color,#1989fa)}.van-notify--success{background-color:var(--notify-success-background-color,#07c160)}.van-notify--danger{background-color:var(--notify-danger-background-color,#ee0a24)}.van-notify--warning{background-color:var(--notify-warning-background-color,#ff976a)} -------------------------------------------------------------------------------- /pages/test/test.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{i.name}} 4 | 5 | 6 | {{j.name}} 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[8],modules:{2:function(e,s,t){e.exports=t(49)},49:function(e,s){Component({options:{addGlobalClass:!0,multipleSlots:!0},properties:{title:{type:String,value:""},subtitle:{type:String,value:""}},relations:{"../cells/cells":{type:"descendant",linked:function(e){this.data.firstItem||(this.data.firstItem=e),e.setOuterClass("weui-cells__group weui-cells__group_form weui-cells_form"),e!==this.data.firstItem&&e.setOuterClass("weui-cells__group_wxss weui-cells__group weui-cells__group_form weui-cells_form")}}},data:{firstItem:null}})}},entries:[[2,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 19 | {{ item }} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/rate/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-rate{display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{padding:0 var(--rate-horizontal-padding,2px);position:relative}.van-rate__item:not(:last-child){padding-right:var(--rate-icon-gutter,4px)}.van-rate__icon{color:var(--rate-icon-void-color,#c8c9cc);display:block;font-size:var(--rate-icon-size,20px);height:1em}.van-rate__icon--half{left:var(--rate-horizontal-padding,2px);overflow:hidden;position:absolute;top:0;width:.5em}.van-rate__icon--full,.van-rate__icon--half{color:var(--rate-icon-full-color,#ee0a24)}.van-rate__icon--disabled{color:var(--rate-icon-disabled-color,#c8c9cc)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | size: String, 7 | mark: Boolean, 8 | color: String, 9 | plain: Boolean, 10 | round: Boolean, 11 | textColor: String, 12 | type: { 13 | type: String, 14 | value: 'default', 15 | }, 16 | closeable: Boolean, 17 | }, 18 | methods: { 19 | onClose: function () { 20 | this.$emit('close'); 21 | }, 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 15 | 19 | {{ message }} 20 | 21 | 22 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@vant/area-data@^1.1.3": 6 | version "1.1.3" 7 | resolved "https://registry.yarnpkg.com/@vant/area-data/-/area-data-1.1.3.tgz#aa1f146787c19c6b571428596cda76945571beac" 8 | integrity sha512-RLPVLVG7tINIASaKfLXZGw8Z83S9DDuln0CPDwAASSNmUb7busFWPVZKscP79znTErkog7kdfAQMtN9+oz7PHQ== 9 | 10 | "@vant/weapp@^1.9.2": 11 | version "1.9.2" 12 | resolved "https://registry.yarnpkg.com/@vant/weapp/-/weapp-1.9.2.tgz#406174c11d3f421dbbeff995a556ce1d30629908" 13 | integrity sha512-brz1JLiXZev4u6cQFyDrGX5xddOHKwKUDgfbUrpqMcpW+dliV4oXMtkDt0rRNfYcEHyfewbvW9O+aas6KJUJYw== 14 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/form-page/form-page.wxml: -------------------------------------------------------------------------------- 1 | {{title}}{{subtitle}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/area/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | // app.js 2 | App({ 3 | onLaunch() { 4 | wx.cloud.init({ 5 | env: '', //填自己的cloudId 6 | traceUser: true 7 | }) 8 | 9 | // this.getCartCount() 10 | }, 11 | 12 | globalData: { 13 | userInfo: null, 14 | number: '' 15 | }, 16 | 17 | // 用户登录后,获取购物车商品数量 18 | getCartCount() { 19 | if (wx.getStorageSync('storage_info') == 1) { 20 | console.log('用户登录后') 21 | let cart = wx.getStorageSync('cart') || [] 22 | if (cart.length > 0) { 23 | this.globalData.number = cart.length 24 | } else { 25 | this.globalData.number = '' 26 | 27 | } 28 | } else{ 29 | this.globalData.number = '' 30 | } 31 | } 32 | }) 33 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/toolbar.wxml: -------------------------------------------------------------------------------- 1 | 2 | 9 | {{ cancelButtonText }} 10 | 11 | {{ 12 | title 13 | }} 14 | 21 | {{ confirmButtonText }} 22 | 23 | 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 15 | {{ title }} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function wrapStyle(data) { 6 | return style({ 7 | transform: data.transform 8 | ? 'translate3d(0, ' + data.transform + 'px, 0)' 9 | : '', 10 | top: data.fixed ? addUnit(data.offsetTop) : '', 11 | 'z-index': data.zIndex, 12 | }); 13 | } 14 | 15 | function containerStyle(data) { 16 | return style({ 17 | height: data.fixed ? addUnit(data.height) : '', 18 | 'z-index': data.zIndex, 19 | }); 20 | } 21 | 22 | module.exports = { 23 | wrapStyle: wrapStyle, 24 | containerStyle: containerStyle, 25 | }; 26 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/utils.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function getMonthEndDay(year, month) { 3 | return 32 - getDate(year, month - 1, 32).getDate(); 4 | } 5 | 6 | function compareMonth(date1, date2) { 7 | date1 = getDate(date1); 8 | date2 = getDate(date2); 9 | 10 | var year1 = date1.getFullYear(); 11 | var year2 = date2.getFullYear(); 12 | var month1 = date1.getMonth(); 13 | var month2 = date2.getMonth(); 14 | 15 | if (year1 === year2) { 16 | return month1 === month2 ? 0 : month1 > month2 ? 1 : -1; 17 | } 18 | 19 | return year1 > year2 ? 1 : -1; 20 | } 21 | 22 | module.exports = { 23 | getMonthEndDay: getMonthEndDay, 24 | compareMonth: compareMonth 25 | }; 26 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {{ description }} 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/switch/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | var currentColor = data.checked ? data.activeColor : data.inactiveColor; 7 | 8 | return style({ 9 | 'font-size': addUnit(data.size), 10 | 'background-color': currentColor, 11 | }); 12 | } 13 | 14 | var BLUE = '#1989fa'; 15 | var GRAY_DARK = '#969799'; 16 | 17 | function loadingColor(data) { 18 | return data.checked 19 | ? data.activeColor || BLUE 20 | : data.inactiveColor || GRAY_DARK; 21 | } 22 | 23 | module.exports = { 24 | rootStyle: rootStyle, 25 | loadingColor: loadingColor, 26 | }; 27 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/swipe-cell/index.wxml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/msg/msg.wxml: -------------------------------------------------------------------------------- 1 | {{title}}{{desc}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 12 | 17 | {{ computed.pivotText(pivotText, percentage) }} 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /pages/test/test.wxss: -------------------------------------------------------------------------------- 1 | .pop_lists{ 2 | width: 100%; 3 | height: 100%; 4 | } 5 | 6 | .pop_item{ 7 | display: flex; 8 | flex-direction: row; 9 | justify-content: space-around; 10 | align-content: space-around; 11 | flex-wrap: wrap; 12 | } 13 | .pop_li{ 14 | width: 200rpx; 15 | /* margin: 20rpx 0 30rpx 0; */ 16 | margin-bottom: 30rpx; 17 | padding: 5rpx 10rpx; 18 | text-align: center; 19 | /* background-color: rgba(224, 216, 216, 0.5); */ 20 | background-color: rgb(246, 246, 246); 21 | border-radius: 5px; 22 | } 23 | .select{ 24 | /* background-color: rgba(170, 169, 169,0.5); */ 25 | background-color: rgb(230, 230, 230); 26 | border: 1rpx solid black; 27 | } 28 | 29 | .ban{ 30 | color: rgba(192, 184, 184); 31 | } -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-progress{background:var(--progress-background-color,#ebedf0);border-radius:var(--progress-height,4px);height:var(--progress-height,4px);position:relative}.van-progress__portion{background:var(--progress-color,#1989fa);border-radius:inherit;height:100%;left:0;position:absolute}.van-progress__pivot{background-color:var(--progress-pivot-background-color,#1989fa);border-radius:1em;box-sizing:border-box;color:var(--progress-pivot-text-color,#fff);font-size:var(--progress-pivot-font-size,10px);line-height:var(--progress-pivot-line-height,1.6);min-width:3.6em;padding:var(--progress-pivot-padding,0 5px);position:absolute;text-align:center;top:50%;transform:translateY(-50%);word-break:keep-all} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.wxml: -------------------------------------------------------------------------------- 1 | {{item.text}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/components/header/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../../../common/index.wxss';.van-calendar__header{box-shadow:var(--calendar-header-box-shadow,0 2px 10px hsla(220,1%,50%,.16));flex-shrink:0}.van-calendar__header-subtitle,.van-calendar__header-title{font-weight:var(--font-weight-bold,500);height:var(--calendar-header-title-height,44px);line-height:var(--calendar-header-title-height,44px);text-align:center}.van-calendar__header-title+.van-calendar__header-title,.van-calendar__header-title:empty{display:none}.van-calendar__header-title:empty+.van-calendar__header-title{display:block!important}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--calendar-weekdays-font-size,12px);line-height:var(--calendar-weekdays-height,30px);text-align:center} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/grids/grids.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[11],modules:{173:function(e,t){var n={target:"self",url:"",openType:"navigate",delta:1,appId:"",path:"",extraData:"",version:"release",hoverClass:"navigator-hover",hoverStopPropagation:!1,hoverStartTime:50,hoverStayTime:600,bindsuccess:function(){},bindfail:function(){},bindcomplete:function(){}};Component({options:{addGlobalClass:!0,pureDataPattern:/^_/},properties:{extClass:{type:String,value:""},grids:{type:Array,value:[],observer:"_onGridsChange"}},data:{innerGrids:[]},ready:function(){},methods:{_onGridsChange:function(e){e&&this.setData({innerGrids:e.map((function(e){return Object.assign({},n,e)}))})}}})},18:function(e,t,n){e.exports=n(173)}},entries:[[18,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var button_1 = require("../mixins/button"); 5 | var link_1 = require("../mixins/link"); 6 | (0, component_1.VantComponent)({ 7 | classes: ['icon-class', 'text-class'], 8 | mixins: [link_1.link, button_1.button], 9 | props: { 10 | text: String, 11 | dot: Boolean, 12 | info: String, 13 | icon: String, 14 | disabled: Boolean, 15 | loading: Boolean, 16 | }, 17 | methods: { 18 | onClick: function (event) { 19 | this.$emit('click', event.detail); 20 | this.jumpLink(); 21 | }, 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/image/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style([ 7 | { 8 | width: addUnit(data.width), 9 | height: addUnit(data.height), 10 | 'border-radius': addUnit(data.radius), 11 | }, 12 | data.radius ? 'overflow: hidden' : null, 13 | ]); 14 | } 15 | 16 | var FIT_MODE_MAP = { 17 | none: 'center', 18 | fill: 'scaleToFill', 19 | cover: 'aspectFill', 20 | contain: 'aspectFit', 21 | widthFix: 'widthFix', 22 | heightFix: 'heightFix', 23 | }; 24 | 25 | function mode(fit) { 26 | return FIT_MODE_MAP[fit]; 27 | } 28 | 29 | module.exports = { 30 | rootStyle: rootStyle, 31 | mode: mode, 32 | }; 33 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | show: Boolean, 7 | customStyle: String, 8 | duration: { 9 | type: null, 10 | value: 300, 11 | }, 12 | zIndex: { 13 | type: Number, 14 | value: 1, 15 | }, 16 | lockScroll: { 17 | type: Boolean, 18 | value: true, 19 | }, 20 | }, 21 | methods: { 22 | onClick: function () { 23 | this.$emit('click'); 24 | }, 25 | // for prevent touchmove 26 | noop: function () { }, 27 | }, 28 | }); 29 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/gallery/gallery.wxml: -------------------------------------------------------------------------------- 1 | {{current+1}}/{{currentImgs.length}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var object = require('../wxs/object.wxs'); 3 | var style = require('../wxs/style.wxs'); 4 | 5 | function kebabCase(word) { 6 | var newWord = word 7 | .replace(getRegExp("[A-Z]", 'g'), function (i) { 8 | return '-' + i; 9 | }) 10 | .toLowerCase() 11 | .replace(getRegExp("^-"), ''); 12 | 13 | return newWord; 14 | } 15 | 16 | function mapThemeVarsToCSSVars(themeVars) { 17 | var cssVars = {}; 18 | object.keys(themeVars).forEach(function (key) { 19 | var cssVarsKey = '--' + kebabCase(key); 20 | cssVars[cssVarsKey] = themeVars[key]; 21 | }); 22 | 23 | return style(cssVars); 24 | } 25 | 26 | module.exports = { 27 | kebabCase: kebabCase, 28 | mapThemeVarsToCSSVars: mapThemeVarsToCSSVars, 29 | }; 30 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var relation_1 = require("../common/relation"); 5 | (0, component_1.VantComponent)({ 6 | field: true, 7 | relation: (0, relation_1.useChildren)('radio'), 8 | props: { 9 | value: { 10 | type: null, 11 | observer: 'updateChildren', 12 | }, 13 | direction: String, 14 | disabled: { 15 | type: Boolean, 16 | observer: 'updateChildren', 17 | }, 18 | }, 19 | methods: { 20 | updateChildren: function () { 21 | this.children.forEach(function (child) { return child.updateFromParent(); }); 22 | }, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-info{align-items:center;background-color:var(--info-background-color,#ee0a24);border:var(--info-border-width,1px) solid #fff;border-radius:var(--info-size,16px);box-sizing:border-box;color:var(--info-color,#fff);display:inline-flex;font-family:var(--info-font-family,-apple-system-font,Helvetica Neue,Arial,sans-serif);font-size:var(--info-font-size,12px);font-weight:var(--info-font-weight,500);height:var(--info-size,16px);justify-content:center;min-width:var(--info-size,16px);padding:var(--info-padding,0 3px);position:absolute;right:0;top:0;transform:translate(50%,-50%);transform-origin:100%;white-space:nowrap}.van-info--dot{background-color:var(--info-dot-color,#ee0a24);border-radius:100%;height:var(--info-dot-size,8px);min-width:0;width:var(--info-dot-size,8px)} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/tabbar/tabbar.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/hairline.wxss: -------------------------------------------------------------------------------- 1 | .van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{border:0 solid #ebedf0;bottom:-50%;box-sizing:border-box;content:" ";left:-50%;pointer-events:none;position:absolute;right:-50%;top:-50%;transform:scale(.5);transform-origin:center}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 15 | {{ item.name }} 16 | 17 | {{ item.description }} 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.wxml: -------------------------------------------------------------------------------- 1 | {{title}}{{item.text}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/image/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-image{display:inline-block;position:relative}.van-image--round{border-radius:50%;overflow:hidden}.van-image--round .van-image__img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;height:100%;width:100%}.van-image__error,.van-image__loading{align-items:center;background-color:var(--image-placeholder-background-color,#f7f8fa);color:var(--image-placeholder-text-color,#969799);display:flex;flex-direction:column;font-size:var(--image-placeholder-font-size,14px);justify-content:center;left:0;position:absolute;top:0}.van-image__loading-icon{color:var(--image-loading-icon-color,#dcdee0);font-size:var(--image-loading-icon-size,32px)!important}.van-image__error-icon{color:var(--image-error-icon-color,#dcdee0);font-size:var(--image-error-icon-size,32px)!important} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function iconStyle(data) { 6 | var styles = { 7 | 'font-size': addUnit(data.iconSize), 8 | }; 9 | 10 | if ( 11 | data.checkedColor && 12 | !(data.disabled || data.parentDisabled) && 13 | data.value === data.name 14 | ) { 15 | styles['border-color'] = data.checkedColor; 16 | styles['background-color'] = data.checkedColor; 17 | } 18 | 19 | return style(styles); 20 | } 21 | 22 | function iconCustomStyle(data) { 23 | return style({ 24 | 'line-height': addUnit(data.iconSize), 25 | 'font-size': '.8em', 26 | display: 'block', 27 | }); 28 | } 29 | 30 | module.exports = { 31 | iconStyle: iconStyle, 32 | iconCustomStyle: iconCustomStyle, 33 | }; 34 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var relation_1 = require("../common/relation"); 5 | (0, component_1.VantComponent)({ 6 | relation: (0, relation_1.useChildren)('col', function (target) { 7 | var gutter = this.data.gutter; 8 | if (gutter) { 9 | target.setData({ gutter: gutter }); 10 | } 11 | }), 12 | props: { 13 | gutter: { 14 | type: Number, 15 | observer: 'setGutter', 16 | }, 17 | }, 18 | methods: { 19 | setGutter: function () { 20 | var _this = this; 21 | this.children.forEach(function (col) { 22 | col.setData(_this.data); 23 | }); 24 | }, 25 | }, 26 | }); 27 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 16 | 17 | {{ computed.displayTitle(item) }} 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 15 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid-item/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function wrapperStyle(data) { 6 | var width = 100 / data.columnNum + '%'; 7 | 8 | return style({ 9 | width: width, 10 | 'padding-top': data.square ? width : null, 11 | 'padding-right': addUnit(data.gutter), 12 | 'margin-top': 13 | data.index >= data.columnNum && !data.square 14 | ? addUnit(data.gutter) 15 | : null, 16 | }); 17 | } 18 | 19 | function contentStyle(data) { 20 | return data.square 21 | ? style({ 22 | right: addUnit(data.gutter), 23 | bottom: addUnit(data.gutter), 24 | height: 'auto', 25 | }) 26 | : ''; 27 | } 28 | 29 | module.exports = { 30 | wrapperStyle: wrapperStyle, 31 | contentStyle: contentStyle, 32 | }; 33 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-skeleton{box-sizing:border-box;display:flex;padding:var(--skeleton-padding,0 16px);width:100%}.van-skeleton__avatar{background-color:var(--skeleton-avatar-background-color,#f2f3f5);flex-shrink:0;margin-right:var(--padding-md,16px)}.van-skeleton__avatar--round{border-radius:100%}.van-skeleton__content{flex:1}.van-skeleton__avatar+.van-skeleton__content{padding-top:var(--padding-xs,8px)}.van-skeleton__row,.van-skeleton__title{background-color:var(--skeleton-row-background-color,#f2f3f5);height:var(--skeleton-row-height,16px)}.van-skeleton__title{margin:0}.van-skeleton__row:not(:first-child){margin-top:var(--skeleton-row-margin-top,12px)}.van-skeleton__title+.van-skeleton__row{margin-top:20px}.van-skeleton--animate{animation:van-skeleton-blink 1.2s ease-in-out infinite}@keyframes van-skeleton-blink{50%{opacity:.6}} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/toast/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | show: Boolean, 7 | mask: Boolean, 8 | message: String, 9 | forbidClick: Boolean, 10 | zIndex: { 11 | type: Number, 12 | value: 1000, 13 | }, 14 | type: { 15 | type: String, 16 | value: 'text', 17 | }, 18 | loadingType: { 19 | type: String, 20 | value: 'circular', 21 | }, 22 | position: { 23 | type: String, 24 | value: 'middle', 25 | }, 26 | }, 27 | methods: { 28 | // for prevent touchmove 29 | noop: function () { }, 30 | }, 31 | }); 32 | -------------------------------------------------------------------------------- /pages/orderList/logistics.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | xx快递包裹: 5 | {{number}} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 快递员: xxx 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {{address.name}} {{address.mobile}} 24 | 25 | {{address.city}} {{address.street}} 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{transform:rotate(90deg);transition:transform var(--collapse-item-transition-duration,.3s)}.van-collapse-item__title--expanded .van-cell__right-icon{transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--collapse-item-title-disabled-color,#c8c9cc)!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__content{background-color:var(--collapse-item-content-background-color,#fff);color:var(--collapse-item-content-text-color,#969799);font-size:var(--collapse-item-content-font-size,13px);line-height:var(--collapse-item-content-line-height,1.5);padding:var(--collapse-item-content-padding,15px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/uploader/shared.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.chooseVideoProps = exports.chooseImageProps = void 0; 4 | // props for choose image 5 | exports.chooseImageProps = { 6 | sizeType: { 7 | type: Array, 8 | value: ['original', 'compressed'], 9 | }, 10 | capture: { 11 | type: Array, 12 | value: ['album', 'camera'], 13 | }, 14 | }; 15 | // props for choose video 16 | exports.chooseVideoProps = { 17 | capture: { 18 | type: Array, 19 | value: ['album', 'camera'], 20 | }, 21 | compressed: { 22 | type: Boolean, 23 | value: true, 24 | }, 25 | maxDuration: { 26 | type: Number, 27 | value: 60, 28 | }, 29 | camera: { 30 | type: String, 31 | value: 'back', 32 | }, 33 | }; 34 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/mixins/link.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.link = void 0; 4 | exports.link = Behavior({ 5 | properties: { 6 | url: String, 7 | linkType: { 8 | type: String, 9 | value: 'navigateTo', 10 | }, 11 | }, 12 | methods: { 13 | jumpLink: function (urlKey) { 14 | if (urlKey === void 0) { urlKey = 'url'; } 15 | var url = this.data[urlKey]; 16 | if (url) { 17 | if (this.data.linkType === 'navigateTo' && 18 | getCurrentPages().length > 9) { 19 | wx.redirectTo({ url: url }); 20 | } 21 | else { 22 | wx[this.data.linkType]({ url: url }); 23 | } 24 | } 25 | }, 26 | }, 27 | }); 28 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('./utils.wxs'); 3 | 4 | function getMonths(minDate, maxDate) { 5 | var months = []; 6 | var cursor = getDate(minDate); 7 | 8 | cursor.setDate(1); 9 | 10 | do { 11 | months.push(cursor.getTime()); 12 | cursor.setMonth(cursor.getMonth() + 1); 13 | } while (utils.compareMonth(cursor, getDate(maxDate)) !== 1); 14 | 15 | return months; 16 | } 17 | 18 | function getButtonDisabled(type, currentDate) { 19 | if (currentDate == null) { 20 | return true; 21 | } 22 | 23 | if (type === 'range') { 24 | return !currentDate[0] || !currentDate[1]; 25 | } 26 | 27 | if (type === 'multiple') { 28 | return !currentDate.length; 29 | } 30 | 31 | return !currentDate; 32 | } 33 | 34 | module.exports = { 35 | getMonths: getMonths, 36 | getButtonDisabled: getButtonDisabled 37 | }; 38 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tree-select/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tree-select{display:flex;font-size:var(--tree-select-font-size,14px);position:relative;-webkit-user-select:none;user-select:none}.van-tree-select__nav{--sidebar-padding:12px 8px 12px 12px;background-color:var(--tree-select-nav-background-color,#f7f8fa);flex:1}.van-tree-select__nav__inner{height:100%;width:100%!important}.van-tree-select__content{background-color:var(--tree-select-content-background-color,#fff);flex:2}.van-tree-select__item{font-weight:700;line-height:var(--tree-select-item-height,44px);padding:0 32px 0 var(--padding-md,16px);position:relative}.van-tree-select__item--active{color:var(--tree-select-item-active-color,#ee0a24)}.van-tree-select__item--disabled{color:var(--tree-select-item-disabled-color,#c8c9cc)}.van-tree-select__selected{position:absolute;right:var(--padding-md,16px);top:50%;transform:translateY(-50%)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-share-sheet__header{padding:12px 16px 4px;text-align:center}.van-share-sheet__title{color:#323233;font-size:14px;font-weight:400;line-height:20px;margin-top:8px}.van-share-sheet__title:empty,.van-share-sheet__title:not(:empty)+.van-share-sheet__title{display:none}.van-share-sheet__description{color:#969799;display:block;font-size:12px;line-height:16px;margin-top:8px}.van-share-sheet__description:empty,.van-share-sheet__description:not(:empty)+.van-share-sheet__description{display:none}.van-share-sheet__cancel{background:#fff;border:none;box-sizing:initial;display:block;font-size:16px;height:auto;line-height:48px;padding:0;text-align:center;width:100%}.van-share-sheet__cancel:before{background-color:#f7f8fa;content:" ";display:block;height:8px}.van-share-sheet__cancel:after{display:none}.van-share-sheet__cancel:active{background-color:#f2f3f5} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/search/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-search{align-items:center;box-sizing:border-box;display:flex;padding:var(--search-padding,10px 12px)}.van-search__content{background-color:var(--search-background-color,#f7f8fa);border-radius:2px;display:flex;flex:1;padding-left:var(--padding-sm,12px)}.van-search__content--round{border-radius:999px}.van-search__label{color:var(--search-label-color,#323233);font-size:var(--search-label-font-size,14px);line-height:var(--search-input-height,34px);padding:var(--search-label-padding,0 5px)}.van-search__field{flex:1}.van-search__field__left-icon{color:var(--search-left-icon-color,#969799)}.van-search--withaction{padding-right:0}.van-search__action{color:var(--search-action-text-color,#323233);font-size:var(--search-action-font-size,14px);line-height:var(--search-input-height,34px);padding:var(--search-action-padding,0 8px)}.van-search__action--hover{background-color:#f2f3f5} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/icon/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function isImage(name) { 6 | return name.indexOf('/') !== -1; 7 | } 8 | 9 | function rootClass(data) { 10 | var classes = ['custom-class']; 11 | 12 | if (data.classPrefix != null) { 13 | classes.push(data.classPrefix); 14 | } 15 | 16 | if (isImage(data.name)) { 17 | classes.push('van-icon--image'); 18 | } else if (data.classPrefix != null) { 19 | classes.push(data.classPrefix + '-' + data.name); 20 | } 21 | 22 | return classes.join(' '); 23 | } 24 | 25 | function rootStyle(data) { 26 | return style([ 27 | { 28 | color: data.color, 29 | 'font-size': addUnit(data.size), 30 | }, 31 | data.customStyle, 32 | ]); 33 | } 34 | 35 | module.exports = { 36 | isImage: isImage, 37 | rootClass: rootClass, 38 | rootStyle: rootStyle, 39 | }; 40 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/button/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function rootStyle(data) { 5 | if (!data.color) { 6 | return data.customStyle; 7 | } 8 | 9 | var properties = { 10 | color: data.plain ? data.color : '#fff', 11 | background: data.plain ? null : data.color, 12 | }; 13 | 14 | // hide border when color is linear-gradient 15 | if (data.color.indexOf('gradient') !== -1) { 16 | properties.border = 0; 17 | } else { 18 | properties['border-color'] = data.color; 19 | } 20 | 21 | return style([properties, data.customStyle]); 22 | } 23 | 24 | function loadingColor(data) { 25 | if (data.plain) { 26 | return data.color ? data.color : '#c9c9c9'; 27 | } 28 | 29 | if (data.type === 'default') { 30 | return '#c9c9c9'; 31 | } 32 | 33 | return '#fff'; 34 | } 35 | 36 | module.exports = { 37 | rootStyle: rootStyle, 38 | loadingColor: loadingColor, 39 | }; 40 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/popup/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 19 | 20 | 26 | 27 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "actionsheet": "./actionsheet/actionsheet", 4 | "form-page": "./form-page/form-page", 5 | "navigation-bar": "./navigation-bar/navigation-bar", 6 | "form": "./form/form", 7 | "cell": "./cell/cell", 8 | "icon": "./icon/icon", 9 | "toptips": "./toptips/toptips", 10 | "loading": "./loading/loading", 11 | "tabbar": "./tabbar/tabbar", 12 | "cells": "./cells/cells", 13 | "half-screen-dialog": "./half-screen-dialog/half-screen-dialog", 14 | "slideview": "./slideview/slideview", 15 | "msg": "./msg/msg", 16 | "dialog": "./dialog/dialog", 17 | "uploader": "./uploader/uploader", 18 | "gallery": "./gallery/gallery", 19 | "grids": "./grids/grids", 20 | "checkbox": "./checkbox/checkbox", 21 | "badge": "./badge/badge", 22 | "searchbar": "./searchbar/searchbar", 23 | "checkbox-group": "./checkbox-group/checkbox-group" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/calendar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-calendar{background-color:var(--calendar-background-color,#fff);display:flex;flex-direction:column;height:var(--calendar-height,100%)}.van-calendar__close-icon{top:11px}.van-calendar__popup--bottom,.van-calendar__popup--top{height:var(--calendar-popup-height,80%)}.van-calendar__popup--left,.van-calendar__popup--right{height:100%}.van-calendar__body{-webkit-overflow-scrolling:touch;flex:1;overflow:auto}.van-calendar__footer{flex-shrink:0;padding:0 var(--padding-md,16px)}.van-calendar__footer--safe-area-inset-bottom{padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer+.van-calendar__footer,.van-calendar__footer:empty{display:none}.van-calendar__footer:empty+.van-calendar__footer{display:block!important}.van-calendar__confirm{height:var(--calendar-confirm-button-height,36px)!important;line-height:var(--calendar-confirm-button-line-height,34px)!important;margin:var(--calendar-confirm-button-margin,7px 0)!important} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-share-sheet__options{-webkit-overflow-scrolling:touch;display:flex;overflow-x:auto;overflow-y:visible;padding:16px 0 16px 8px;position:relative}.van-share-sheet__options--border:before{border-top:1px solid #ebedf0;box-sizing:border-box;content:" ";left:16px;pointer-events:none;position:absolute;right:0;top:0;transform:scaleY(.5);transform-origin:center}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{align-items:center;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.van-share-sheet__option:active{opacity:.7}.van-share-sheet__button{background-color:initial;border:0;height:auto;line-height:inherit;padding:0}.van-share-sheet__button:after{border:0}.van-share-sheet__icon{height:48px;margin:0 16px;width:48px}.van-share-sheet__name{color:#646566;font-size:12px;margin-top:8px;padding:0 4px}.van-share-sheet__option-description{color:#c8c9cc;font-size:12px;padding:0 4px} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 12 | 13 | 18 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/bem.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var array = require('./array.wxs'); 3 | var object = require('./object.wxs'); 4 | var PREFIX = 'van-'; 5 | 6 | function join(name, mods) { 7 | name = PREFIX + name; 8 | mods = mods.map(function(mod) { 9 | return name + '--' + mod; 10 | }); 11 | mods.unshift(name); 12 | return mods.join(' '); 13 | } 14 | 15 | function traversing(mods, conf) { 16 | if (!conf) { 17 | return; 18 | } 19 | 20 | if (typeof conf === 'string' || typeof conf === 'number') { 21 | mods.push(conf); 22 | } else if (array.isArray(conf)) { 23 | conf.forEach(function(item) { 24 | traversing(mods, item); 25 | }); 26 | } else if (typeof conf === 'object') { 27 | object.keys(conf).forEach(function(key) { 28 | conf[key] && mods.push(key); 29 | }); 30 | } 31 | } 32 | 33 | function bem(name, conf) { 34 | var mods = []; 35 | traversing(mods, conf); 36 | return join(name, mods); 37 | } 38 | 39 | module.exports = bem; 40 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var utils_1 = require("../common/utils"); 4 | var component_1 = require("../common/component"); 5 | var relation_1 = require("../common/relation"); 6 | (0, component_1.VantComponent)({ 7 | relation: (0, relation_1.useParent)('index-bar'), 8 | props: { 9 | useSlot: Boolean, 10 | index: null, 11 | }, 12 | data: { 13 | active: false, 14 | wrapperStyle: '', 15 | anchorStyle: '', 16 | }, 17 | methods: { 18 | scrollIntoView: function (scrollTop) { 19 | var _this = this; 20 | (0, utils_1.getRect)(this, '.van-index-anchor-wrapper').then(function (rect) { 21 | wx.pageScrollTo({ 22 | duration: 0, 23 | scrollTop: scrollTop + rect.top - _this.parent.data.stickyOffsetTop, 24 | }); 25 | }); 26 | }, 27 | }, 28 | }); 29 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | {{ computed.optionText(option, valueKey) }} 22 | 23 | 24 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-divider{align-items:center;border:0 solid var(--divider-border-color,#ebedf0);color:var(--divider-text-color,#969799);display:flex;font-size:var(--divider-font-size,14px);line-height:var(--divider-line-height,24px);margin:var(--divider-margin,16px 0)}.van-divider:after,.van-divider:before{border-color:inherit;border-style:inherit;border-width:1px 0 0;box-sizing:border-box;display:block;flex:1;height:1px}.van-divider:before{content:""}.van-divider--hairline:after,.van-divider--hairline:before{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--center:before,.van-divider--left:before,.van-divider--right:before{margin-right:var(--divider-content-padding,16px)}.van-divider--center:after,.van-divider--left:after,.van-divider--right:after{content:"";margin-left:var(--divider-content-padding,16px)}.van-divider--left:before{max-width:var(--divider-content-left-width,10%)}.van-divider--right:after{max-width:var(--divider-content-right-width,10%)} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/checkbox/checkbox.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[6],modules:{181:function(t,e){Component({options:{addGlobalClass:!0,multipleSlots:!0},properties:{multi:{type:Boolean,value:!0},checked:{type:Boolean,value:!1},value:{type:String,value:""},label:{type:String,value:"label"},extClass:{type:String,value:""}},data:{},relations:{"../checkbox-group/checkbox-group":{type:"ancestor",linked:function(t){this.data.group=t},unlinked:function(){this.data.group=null}}},methods:{setMulti:function(t){this.setData({multi:t})},setOuterClass:function(t){this.setData({outerClass:t})},checkedChange:function(){if(this.data.multi){var t=!this.data.checked;this.setData({checked:t}),this.data.group&&this.data.group.checkedChange(t,this)}else{var e=this.data.checked;if(e)return;this.setData({checked:!0}),this.data.group&&this.data.group.checkedChange(e,this)}this.triggerEvent("change",{value:this.data.value,checked:this.data.checked})}}})},19:function(t,e,a){t.exports=a(181)}},entries:[[19,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __assign = (this && this.__assign) || function () { 3 | __assign = Object.assign || function(t) { 4 | for (var s, i = 1, n = arguments.length; i < n; i++) { 5 | s = arguments[i]; 6 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 7 | t[p] = s[p]; 8 | } 9 | return t; 10 | }; 11 | return __assign.apply(this, arguments); 12 | }; 13 | Object.defineProperty(exports, "__esModule", { value: true }); 14 | var component_1 = require("../common/component"); 15 | (0, component_1.VantComponent)({ 16 | props: { 17 | options: Array, 18 | showBorder: Boolean, 19 | }, 20 | methods: { 21 | onSelect: function (event) { 22 | var index = event.currentTarget.dataset.index; 23 | var option = this.data.options[index]; 24 | this.$emit('select', __assign(__assign({}, option), { index: index })); 25 | }, 26 | }, 27 | }); 28 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | var array = require('../wxs/array.wxs'); 5 | 6 | function columnsStyle(data) { 7 | return style({ 8 | height: addUnit(data.itemHeight * data.visibleItemCount), 9 | }); 10 | } 11 | 12 | function maskStyle(data) { 13 | return style({ 14 | 'background-size': 15 | '100% ' + addUnit((data.itemHeight * (data.visibleItemCount - 1)) / 2), 16 | }); 17 | } 18 | 19 | function frameStyle(data) { 20 | return style({ 21 | height: addUnit(data.itemHeight), 22 | }); 23 | } 24 | 25 | function columns(columns) { 26 | if (!array.isArray(columns)) { 27 | return []; 28 | } 29 | 30 | if (columns.length && !columns[0].values) { 31 | return [{ values: columns }]; 32 | } 33 | 34 | return columns; 35 | } 36 | 37 | module.exports = { 38 | columnsStyle: columnsStyle, 39 | frameStyle: frameStyle, 40 | maskStyle: maskStyle, 41 | columns: columns, 42 | }; 43 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/progress/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | var style = require('../wxs/style.wxs'); 4 | 5 | function pivotText(pivotText, percentage) { 6 | return pivotText || percentage + '%'; 7 | } 8 | 9 | function rootStyle(data) { 10 | return style({ 11 | 'height': data.strokeWidth ? utils.addUnit(data.strokeWidth) : '', 12 | 'background': data.trackColor, 13 | }); 14 | } 15 | 16 | function portionStyle(data) { 17 | return style({ 18 | background: data.inactive ? '#cacaca' : data.color, 19 | width: data.percentage ? data.percentage + '%' : '', 20 | }); 21 | } 22 | 23 | function pivotStyle(data) { 24 | return style({ 25 | color: data.textColor, 26 | right: data.right + 'px', 27 | background: data.pivotColor ? data.pivotColor : data.inactive ? '#cacaca' : data.color, 28 | }); 29 | } 30 | 31 | module.exports = { 32 | pivotText: pivotText, 33 | rootStyle: rootStyle, 34 | portionStyle: portionStyle, 35 | pivotStyle: pivotStyle, 36 | }; 37 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function isObj(x) { 6 | var type = typeof x; 7 | return x !== null && (type === 'object' || type === 'function'); 8 | } 9 | 10 | function optionText(option, valueKey) { 11 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option; 12 | } 13 | 14 | function rootStyle(data) { 15 | return style({ 16 | height: addUnit(data.itemHeight * data.visibleItemCount), 17 | }); 18 | } 19 | 20 | function wrapperStyle(data) { 21 | var offset = addUnit( 22 | data.offset + (data.itemHeight * (data.visibleItemCount - 1)) / 2 23 | ); 24 | 25 | return style({ 26 | transition: 'transform ' + data.duration + 'ms', 27 | 'line-height': addUnit(data.itemHeight), 28 | transform: 'translate3d(0, ' + offset + ', 0)', 29 | }); 30 | } 31 | 32 | module.exports = { 33 | optionText: optionText, 34 | rootStyle: rootStyle, 35 | wrapperStyle: wrapperStyle, 36 | }; 37 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/toast/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-toast{word-wrap:break-word;align-items:center;background-color:var(--toast-background-color,rgba(0,0,0,.7));border-radius:var(--toast-border-radius,8px);box-sizing:initial;color:var(--toast-text-color,#fff);display:flex;flex-direction:column;font-size:var(--toast-font-size,14px);justify-content:center;line-height:var(--toast-line-height,20px);white-space:pre-wrap}.van-toast__container{left:50%;max-width:var(--toast-max-width,70%);position:fixed;top:50%;transform:translate(-50%,-50%);width:-webkit-fit-content;width:fit-content}.van-toast--text{min-width:var(--toast-text-min-width,96px);padding:var(--toast-text-padding,8px 12px)}.van-toast--icon{min-height:var(--toast-default-min-height,88px);padding:var(--toast-default-padding,16px);width:var(--toast-default-width,88px)}.van-toast--icon .van-toast__icon{font-size:var(--toast-icon-size,36px)}.van-toast--icon .van-toast__text{padding-top:8px}.van-toast__loading{margin:10px 0}.van-toast--top{transform:translateY(-30vh)}.van-toast--bottom{transform:translateY(30vh)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/wxs/style.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var object = require('./object.wxs'); 3 | var array = require('./array.wxs'); 4 | 5 | function kebabCase(word) { 6 | var newWord = word 7 | .replace(getRegExp("[A-Z]", 'g'), function (i) { 8 | return '-' + i; 9 | }) 10 | .toLowerCase() 11 | 12 | return newWord; 13 | } 14 | 15 | function style(styles) { 16 | if (array.isArray(styles)) { 17 | return styles 18 | .filter(function (item) { 19 | return item != null && item !== ''; 20 | }) 21 | .map(function (item) { 22 | return style(item); 23 | }) 24 | .join(';'); 25 | } 26 | 27 | if ('Object' === styles.constructor) { 28 | return object 29 | .keys(styles) 30 | .filter(function (key) { 31 | return styles[key] != null && styles[key] !== ''; 32 | }) 33 | .map(function (key) { 34 | return [kebabCase(key), [styles[key]]].join(':'); 35 | }) 36 | .join(';'); 37 | } 38 | 39 | return styles; 40 | } 41 | 42 | module.exports = style; 43 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/steps/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var color_1 = require("../common/color"); 5 | (0, component_1.VantComponent)({ 6 | classes: ['desc-class'], 7 | props: { 8 | icon: String, 9 | steps: Array, 10 | active: Number, 11 | direction: { 12 | type: String, 13 | value: 'horizontal', 14 | }, 15 | activeColor: { 16 | type: String, 17 | value: color_1.GREEN, 18 | }, 19 | inactiveColor: { 20 | type: String, 21 | value: color_1.GRAY_DARK, 22 | }, 23 | activeIcon: { 24 | type: String, 25 | value: 'checked', 26 | }, 27 | inactiveIcon: String, 28 | }, 29 | methods: { 30 | onClick: function (event) { 31 | var index = event.currentTarget.dataset.index; 32 | this.$emit('click-step', index); 33 | }, 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-button/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 28 | {{ text }} 29 | 30 | 31 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/field/input.wxml: -------------------------------------------------------------------------------- 1 | 29 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cells/cells.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[4],modules:{6:function(t,e,s){t.exports=s(78)},78:function(t,e){Component({options:{addGlobalClass:!0,multipleSlots:!0},properties:{title:{type:String,value:""},extClass:{type:String,value:""},footer:{type:String,value:""},ariaRole:{type:String,value:""}},data:{firstItem:null,checkboxCount:0,checkboxIsMulti:!1,outerClass:"",childClass:""},relations:{"../cell/cell":{type:"descendant",linked:function(t){this.data.firstItem||(this.data.firstItem=t),t!==this.data.firstItem&&t.setOuterClass("weui-cell_wxss")}},"../form-page/form-page":{type:"ancestor"},"../checkbox-group/checkbox-group":{type:"descendant",linked:function(t){this.setData({checkboxCount:this.data.checkboxCount+1,checkboxIsMulti:t.data.multi})},unlinked:function(t){this.setData({checkboxCount:this.data.checkboxCount-1,checkboxIsMulti:t.data.multi})}}},methods:{setCellMulti:function(t){this.setData({checkboxIsMulti:t})},setCellsClass:function(t){this.setData({childClass:t})},setOuterClass:function(t){this.setData({outerClass:t})}}})}},entries:[[6,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar-item{background-color:var(--sidebar-background-color,#f7f8fa);border-left:3px solid transparent;box-sizing:border-box;color:var(--sidebar-text-color,#323233);display:block;font-size:var(--sidebar-font-size,14px);line-height:var(--sidebar-line-height,20px);overflow:hidden;padding:var(--sidebar-padding,20px 12px 20px 8px);-webkit-user-select:none;user-select:none}.van-sidebar-item__text{display:inline-block;position:relative;word-break:break-all}.van-sidebar-item--hover:not(.van-sidebar-item--disabled){background-color:var(--sidebar-active-color,#f2f3f5)}.van-sidebar-item:after{border-bottom-width:1px}.van-sidebar-item--selected{border-color:var(--sidebar-selected-border-color,#ee0a24);color:var(--sidebar-selected-text-color,#323233);font-weight:var(--sidebar-selected-font-weight,500)}.van-sidebar-item--selected:after{border-right-width:1px}.van-sidebar-item--selected,.van-sidebar-item--selected.van-sidebar-item--hover{background-color:var(--sidebar-selected-background-color,#fff)}.van-sidebar-item--disabled{color:var(--sidebar-disabled-text-color,#c8c9cc)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-icon/index.wxml: -------------------------------------------------------------------------------- 1 | 25 | 33 | 34 | {{ text }} 35 | 36 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar-item/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | var relation_1 = require("../common/relation"); 5 | (0, component_1.VantComponent)({ 6 | classes: ['active-class', 'disabled-class'], 7 | relation: (0, relation_1.useParent)('sidebar'), 8 | props: { 9 | dot: Boolean, 10 | badge: null, 11 | info: null, 12 | title: String, 13 | disabled: Boolean, 14 | }, 15 | methods: { 16 | onClick: function () { 17 | var _this = this; 18 | var parent = this.parent; 19 | if (!parent || this.data.disabled) { 20 | return; 21 | } 22 | var index = parent.children.indexOf(this); 23 | parent.setActive(index).then(function () { 24 | _this.$emit('click', index); 25 | parent.$emit('change', index); 26 | }); 27 | }, 28 | setActive: function (selected) { 29 | return this.setData({ selected: selected }); 30 | }, 31 | }, 32 | }); 33 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/switch/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-switch{background-color:var(--switch-background-color,#fff);border:var(--switch-border,1px solid rgba(0,0,0,.1));border-radius:var(--switch-node-size,1em);box-sizing:initial;display:inline-block;height:var(--switch-height,1em);position:relative;transition:background-color var(--switch-transition-duration,.3s);width:var(--switch-width,2em)}.van-switch__node{background-color:var(--switch-node-background-color,#fff);border-radius:100%;box-shadow:var(--switch-node-box-shadow,0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05));height:var(--switch-node-size,1em);left:0;position:absolute;top:0;transition:var(--switch-transition-duration,.3s) cubic-bezier(.3,1.05,.4,1.05);width:var(--switch-node-size,1em);z-index:var(--switch-node-z-index,1)}.van-switch__loading{height:50%;left:25%;position:absolute!important;top:25%;width:50%}.van-switch--on{background-color:var(--switch-on-background-color,#1989fa)}.van-switch--on .van-switch__node{transform:translateX(calc(var(--switch-width, 2em) - var(--switch-node-size, 1em)))}.van-switch--disabled{opacity:var(--switch-disabled-opacity,.4)} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/cell/cell.wxml: -------------------------------------------------------------------------------- 1 | {{title}}{{title}}{{value}}{{footer}} 2 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action-button/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{flex:1}.van-goods-action-button{--button-warning-background-color:var(--goods-action-button-warning-color,linear-gradient(to right,#ffd01e,#ff8917));--button-danger-background-color:var(--goods-action-button-danger-color,linear-gradient(to right,#ff6034,#ee0a24));--button-default-height:var(--goods-action-button-height,40px);--button-line-height:var(--goods-action-button-line-height,20px);--button-plain-background-color:var(--goods-action-button-plain-color,#fff);--button-border-width:0;display:block}.van-goods-action-button--first{--button-border-radius:999px 0 0 var(--goods-action-button-border-radius,999px);margin-left:5px}.van-goods-action-button--last{--button-border-radius:0 999px var(--goods-action-button-border-radius,999px) 0;margin-right:5px}.van-goods-action-button--first.van-goods-action-button--last{--button-border-radius:var(--goods-action-button-border-radius,999px)}.van-goods-action-button--plain{--button-border-width:1px}.van-goods-action-button__inner{font-weight:var(--font-weight-bold,500)!important;width:100%}@media (max-width:321px){.van-goods-action-button{font-size:13px}} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/image/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 19 | 20 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/dialog/dialog.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[7],modules:{149:function(t,e){Component({options:{multipleSlots:!0,addGlobalClass:!0},properties:{title:{type:String,value:""},extClass:{type:String,value:""},maskClosable:{type:Boolean,value:!0},mask:{type:Boolean,value:!0},show:{type:Boolean,value:!1,observer:"_showChange"},buttons:{type:Array,value:[]}},data:{wrapperShow:!1,innerShow:!1},ready:function(){var t=this.data.buttons,e=t.length;t.forEach((function(t,a){t.className=1===e?"weui-dialog__btn_primary":0===a?"weui-dialog__btn_default":"weui-dialog__btn_primary"})),this.setData({buttons:t}),this._showChange(this.data.show)},methods:{_showChange:function(t){var e=this;t?this.setData({wrapperShow:!0,innerShow:!0}):(this.setData({innerShow:!1}),setTimeout((function(){e.setData({wrapperShow:!1})}),300))},buttonTap:function(t){var e=t.currentTarget.dataset.index;this.triggerEvent("buttontap",{index:e,item:this.data.buttons[e]},{})},close:function(){this.data.maskClosable&&(this.setData({show:!1}),this.triggerEvent("close",{},{}))},stopEvent:function(){}}})},15:function(t,e,a){t.exports=a(149)}},entries:[[15,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var link_1 = require("../mixins/link"); 4 | var component_1 = require("../common/component"); 5 | (0, component_1.VantComponent)({ 6 | classes: [ 7 | 'title-class', 8 | 'label-class', 9 | 'value-class', 10 | 'right-icon-class', 11 | 'hover-class', 12 | ], 13 | mixins: [link_1.link], 14 | props: { 15 | title: null, 16 | value: null, 17 | icon: String, 18 | size: String, 19 | label: String, 20 | center: Boolean, 21 | isLink: Boolean, 22 | required: Boolean, 23 | clickable: Boolean, 24 | titleWidth: String, 25 | customStyle: String, 26 | arrowDirection: String, 27 | useLabelSlot: Boolean, 28 | border: { 29 | type: Boolean, 30 | value: true, 31 | }, 32 | titleStyle: String, 33 | }, 34 | methods: { 35 | onClick: function (event) { 36 | this.$emit('click', event.detail); 37 | this.jumpLink(); 38 | }, 39 | }, 40 | }); 41 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/index.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.van-multi-ellipsis--l3{-webkit-line-clamp:3}.van-clearfix:after{clear:both;content:"";display:table}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{border:0 solid #ebedf0;bottom:-50%;box-sizing:border-box;content:" ";left:-50%;pointer-events:none;position:absolute;right:-50%;top:-50%;transform:scale(.5);transform-origin:center}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px} -------------------------------------------------------------------------------- /miniprogram_npm/weui-miniprogram/half-screen-dialog/half-screen-dialog.js: -------------------------------------------------------------------------------- 1 | var globalThis=this,self=this;module.exports=require("../_commons/0.js")([{ids:[12],modules:{12:function(t,e,a){t.exports=a(125)},125:function(t,e){Component({options:{multipleSlots:!0,addGlobalClass:!0},properties:{closabled:{type:Boolean,value:!0},title:{type:String,value:""},subTitle:{type:String,value:""},extClass:{type:String,value:""},desc:{type:String,value:""},tips:{type:String,value:""},maskClosable:{type:Boolean,value:!0},mask:{type:Boolean,value:!0},show:{type:Boolean,value:!1,observer:"_showChange"},buttons:{type:Array,value:[]}},data:{wrapperShow:!1,innerShow:!1},lifetimes:{ready:function(){this._showChange(this.data.show)}},methods:{_showChange:function(t){var e=this;t?this.setData({wrapperShow:!0,innerShow:!0}):(this.setData({innerShow:!1}),setTimeout((function(){e.setData({wrapperShow:!1})}),300))},close:function(t){var e=t.currentTarget.dataset.type;(this.data.maskClosable||"close"===e)&&(this.setData({show:!1}),this.triggerEvent("close"))},buttonTap:function(t){var e=t.currentTarget.dataset.index;this.triggerEvent("buttontap",{index:e,item:this.data.buttons[e]},{})},onMaskMouseMove:function(){}}})}},entries:[[12,0]]}]); -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/field/textarea.wxml: -------------------------------------------------------------------------------- 1 |