├── miniprogram ├── components │ ├── homepage │ │ └── image_swiper.wxml │ ├── proList │ │ ├── proList.json │ │ ├── proList.js │ │ └── proList.wxml │ ├── newsList │ │ ├── newsList.json │ │ ├── newsList.wxml │ │ └── newsList.js │ ├── userInfo │ │ └── userInfo.json │ ├── detail │ │ ├── header.wxml │ │ ├── tab_content │ │ │ ├── tab_two_content.wxml │ │ │ └── tab_three_content.wxml │ │ └── tab_list.wxml │ └── commodity │ │ └── search.wxml ├── miniprogram_npm │ └── @vant │ │ └── weapp │ │ ├── common │ │ ├── style │ │ │ ├── theme.wxss │ │ │ ├── var.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ └── hairline.wxss │ │ ├── color.js │ │ ├── index.wxss │ │ ├── version.js │ │ └── validator.js │ │ ├── checkbox-group │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.js │ │ ├── radio-group │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.js │ │ ├── area │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxml │ │ ├── circle │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── canvas.js │ │ ├── col │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── collapse │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── grid │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── info │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── row │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── slider │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── sticky │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.wxs │ │ ├── tab │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── 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 │ │ ├── index-bar │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── loading │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── progress │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.wxs │ │ └── index.js │ │ ├── sidebar │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── stepper │ │ ├── index.json │ │ └── index.wxml │ │ ├── swipe-cell │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── transition │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── 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 │ │ ├── picker-column │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── share-sheet │ │ ├── options.json │ │ ├── index.json │ │ ├── index.wxs │ │ ├── options.wxs │ │ ├── options.wxml │ │ ├── index.wxss │ │ ├── options.js │ │ ├── options.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── calendar │ │ ├── components │ │ │ ├── header │ │ │ │ ├── index.json │ │ │ │ ├── index.js │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ └── month │ │ │ │ ├── index.json │ │ │ │ └── index.wxml │ │ ├── index.json │ │ ├── utils.wxs │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── empty │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── divider │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── skeleton │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── definitions │ │ ├── index.js │ │ └── weapp.js │ │ ├── dropdown-item │ │ ├── shared.js │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── card │ │ ├── index.json │ │ └── index.js │ │ ├── cell │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── icon │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxml │ │ └── computed.wxs │ │ ├── rate │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── tag │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── checkbox │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxml │ │ ├── grid-item │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── nav-bar │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── panel │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── radio │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── search │ │ ├── index.json │ │ └── index.wxss │ │ ├── steps │ │ ├── index.json │ │ └── index.js │ │ ├── collapse-item │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── notice-bar │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── sidebar-item │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── switch │ │ ├── index.json │ │ └── index.wxml │ │ ├── notify │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── overlay │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── goods-action-button │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── wxs │ │ ├── array.wxs │ │ ├── utils.wxs │ │ ├── add-unit.wxs │ │ ├── object.wxs │ │ ├── style.wxs │ │ ├── bem.wxs │ │ └── memoize.wxs │ │ ├── field │ │ ├── index.json │ │ ├── index.wxs │ │ └── props.js │ │ ├── button │ │ └── index.json │ │ ├── image │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── popup │ │ ├── index.json │ │ ├── index.wxs │ │ └── index.wxml │ │ ├── tabbar-item │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── tabs │ │ └── index.json │ │ ├── submit-bar │ │ ├── index.json │ │ └── index.wxml │ │ ├── uploader │ │ ├── index.json │ │ └── shared.js │ │ ├── goods-action-icon │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── picker │ │ ├── index.json │ │ ├── shared.js │ │ ├── toolbar.wxml │ │ └── index.wxml │ │ ├── action-sheet │ │ ├── index.json │ │ └── index.js │ │ ├── tree-select │ │ ├── index.json │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── toast │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── dialog │ │ └── index.json │ │ └── mixins │ │ ├── basic.js │ │ ├── button.js │ │ ├── link.js │ │ ├── open-type.js │ │ ├── touch.js │ │ └── page-scroll.js ├── pages │ ├── news_detail │ │ ├── news_detail.json │ │ ├── news_detail.wxml │ │ ├── news_detail.wxss │ │ └── news_detail.js │ ├── introduction │ │ ├── introduction.json │ │ └── introduction.js │ ├── index │ │ └── index.json │ ├── homepage │ │ └── homepage.json │ ├── commodity │ │ ├── commodity.json │ │ └── commodity.wxml │ └── detail │ │ ├── detail.json │ │ └── detail.wxml ├── images │ ├── icons │ │ ├── alert.png │ │ ├── info.png │ │ ├── likes.png │ │ ├── market.png │ │ ├── phone.png │ │ ├── history.png │ │ ├── setting.png │ │ └── arrow_right.png │ ├── mine │ │ ├── home_bg.png │ │ ├── home_bg2.png │ │ ├── home_bg4.png │ │ └── home_bg5.png │ ├── homepage │ │ ├── email.png │ │ ├── phone.png │ │ ├── wave.png │ │ ├── info@3x.png │ │ ├── news@3x.png │ │ ├── search.png │ │ ├── wechat.png │ │ ├── contact@3x.png │ │ └── hot_commodity@3x.png │ ├── tabBar │ │ ├── com_off.png │ │ ├── com_on.png │ │ ├── home_on.png │ │ ├── mine_on.png │ │ ├── home_off.png │ │ ├── intro_off.png │ │ ├── intro_on.png │ │ └── mine_off.png │ ├── common │ │ ├── favo_title.png │ │ ├── news_title.png │ │ └── history_title.png │ └── userInfo │ │ └── choose.png ├── sitemap.json ├── style │ └── guide.wxss ├── config_model.js ├── package.json ├── package-lock.json └── app.js ├── .gitignore └── cloudfunctions └── login ├── config.json ├── package.json └── index.js /miniprogram/components/homepage/image_swiper.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/theme.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/var.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | miniprogram/config.js 2 | miniprogram/node_modules 3 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /miniprogram/pages/news_detail/news_detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {} 3 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /cloudfunctions/login/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/components/proList/proList.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/components/newsList/newsList.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram/components/userInfo/userInfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/calendar/components/header/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/calendar/components/month/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram/pages/introduction/introduction.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "disableScroll": true 4 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram/images/icons/alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/alert.png -------------------------------------------------------------------------------- /miniprogram/images/icons/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/info.png -------------------------------------------------------------------------------- /miniprogram/images/icons/likes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/likes.png -------------------------------------------------------------------------------- /miniprogram/images/icons/market.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/market.png -------------------------------------------------------------------------------- /miniprogram/images/icons/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/phone.png -------------------------------------------------------------------------------- /miniprogram/images/mine/home_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/mine/home_bg.png -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram/images/homepage/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/email.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/phone.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/wave.png -------------------------------------------------------------------------------- /miniprogram/images/icons/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/history.png -------------------------------------------------------------------------------- /miniprogram/images/icons/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/setting.png -------------------------------------------------------------------------------- /miniprogram/images/mine/home_bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/mine/home_bg2.png -------------------------------------------------------------------------------- /miniprogram/images/mine/home_bg4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/mine/home_bg4.png -------------------------------------------------------------------------------- /miniprogram/images/mine/home_bg5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/mine/home_bg5.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/com_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/com_off.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/com_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/com_on.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/home_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/home_on.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/mine_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/mine_on.png -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /miniprogram/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "Power by Voyz Shen", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /miniprogram/images/common/favo_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/common/favo_title.png -------------------------------------------------------------------------------- /miniprogram/images/common/news_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/common/news_title.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/info@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/info@3x.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/news@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/news@3x.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/search.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/wechat.png -------------------------------------------------------------------------------- /miniprogram/images/icons/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/icons/arrow_right.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/home_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/home_off.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/intro_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/intro_off.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/intro_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/intro_on.png -------------------------------------------------------------------------------- /miniprogram/images/tabBar/mine_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/tabBar/mine_off.png -------------------------------------------------------------------------------- /miniprogram/images/userInfo/choose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/userInfo/choose.png -------------------------------------------------------------------------------- /miniprogram/images/homepage/contact@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/contact@3x.png -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/definitions/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/definitions/weapp.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/dropdown-item/shared.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:80px;width:var(--sidebar-width,80px)} -------------------------------------------------------------------------------- /miniprogram/images/common/history_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/common/history_title.png -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{position:relative;box-sizing:border-box;overflow:hidden} -------------------------------------------------------------------------------- /miniprogram/style/guide.wxss: -------------------------------------------------------------------------------- 1 | page { 2 | background: #f6f6f6; 3 | display: flex; 4 | flex-direction: column; 5 | justify-content: flex-start; 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/images/homepage/hot_commodity@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Voyzz/MyCompany-miniProgram/HEAD/miniprogram/images/homepage/hot_commodity@3x.png -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{position:fixed;right:0;left:0} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram/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/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-button": "@vant/weapp/button", 4 | "van-icon": "@vant/weapp/icon" 5 | }, 6 | "disableScroll": true 7 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram/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/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/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/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/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/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/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/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/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 | -------------------------------------------------------------------------------- /miniprogram/pages/homepage/homepage.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-popup": "@vant/weapp/popup/index", 4 | "van-loading": "@vant/weapp/loading/index" 5 | }, 6 | "disableScroll": true 7 | } -------------------------------------------------------------------------------- /miniprogram/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/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/config_model.js: -------------------------------------------------------------------------------- 1 | const config = { 2 | baseUrl:'http://localhost:3000', 3 | contact:{ 4 | phone:'13800000000', 5 | email:'13800000000@163.com' 6 | } 7 | } 8 | 9 | export default config; -------------------------------------------------------------------------------- /miniprogram/components/detail/header.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram/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/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/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/miniprogram_npm/@vant/weapp/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);background-color:var(--overlay-background-color,rgba(0,0,0,.7))} -------------------------------------------------------------------------------- /miniprogram/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/miniprogram_npm/@vant/weapp/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:#323233;color:var(--count-down-text-color,#323233);font-size:14px;font-size:var(--count-down-font-size,14px);line-height:20px;line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /miniprogram/pages/commodity/commodity.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-icon": "@vant/weapp/icon", 4 | "van-sidebar": "@vant/weapp/sidebar", 5 | "van-sidebar-item": "@vant/weapp/sidebar-item", 6 | "van-tag": "@vant/weapp/tag/index" 7 | }, 8 | "disableScroll": true 9 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | {{ title }} 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /miniprogram/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/miniprogram_npm/@vant/weapp/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram/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/miniprogram_npm/@vant/weapp/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:#fff;background:var(--panel-background-color,#fff)}.van-panel__header-value{color:#ee0a24;color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:8px 16px;padding:var(--panel-footer-padding,8px 16px)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex-shrink:0;flex-shrink:0;width:100%}.van-tab__pane,:host{box-sizing:border-box}.van-tab__pane{overflow-y:auto;-webkit-overflow-scrolling:touch}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{position:relative;display:inline-block;text-align:center}.van-circle__text{position:absolute;top:50%;left:0;width:100%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#323233;color:var(--circle-text-color,#323233)} -------------------------------------------------------------------------------- /miniprogram/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/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 | component_1.VantComponent({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | customStyle: String, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/picker-column/index.wxs: -------------------------------------------------------------------------------- 1 | function isObj(x) { 2 | var type = typeof x; 3 | return x !== null && (type === 'object' || type === 'function'); 4 | } 5 | 6 | module.exports = function (option, valueKey) { 7 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option; 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/overlay/index.wxml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /miniprogram/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/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 | -------------------------------------------------------------------------------- /cloudfunctions/login/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "login", 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": "latest" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /miniprogram/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/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 | -------------------------------------------------------------------------------- /miniprogram/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 | component_1.VantComponent({ 5 | props: { 6 | title: String, 7 | border: { 8 | type: Boolean, 9 | value: true, 10 | }, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group__title{padding:16px 16px 8px;padding:var(--cell-group-title-padding,16px 16px 8px);font-size:14px;font-size:var(--cell-group-title-font-size,14px);line-height:16px;line-height:var(--cell-group-title-line-height,16px);color:#969799;color:var(--cell-group-title-color,#969799)} -------------------------------------------------------------------------------- /miniprogram/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/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 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;box-sizing:initial;width:100%;height:50px;height:var(--tabbar-height,50px);background-color:#fff;background-color:var(--tabbar-background-color,#fff)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "miniprogram", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "app.js", 6 | "dependencies": { 7 | "@vant/weapp": "^1.6.3" 8 | }, 9 | "devDependencies": {}, 10 | "scripts": { 11 | "test": "echo \"Error: no test specified\" && exit 1" 12 | }, 13 | "keywords": [], 14 | "author": "", 15 | "license": "ISC" 16 | } 17 | -------------------------------------------------------------------------------- /miniprogram/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 | component_1.VantComponent({ 5 | classes: ['header-class', 'footer-class'], 6 | props: { 7 | desc: String, 8 | title: String, 9 | status: String, 10 | useFooterSlot: Boolean, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /miniprogram/pages/news_detail/news_detail.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{title}} 5 | {{data}} 6 | {{content}} 7 | 8 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;height:50px;height:var(--goods-action-height,50px);background-color:#fff;background-color:var(--goods-action-background-color,#fff)}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/swipe-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-swipe-cell{position:relative;overflow:hidden}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'weibo', 'wechat', 'link', 'qrcode', 'poster']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-icon-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "miniprogram", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@vant/weapp": { 8 | "version": "1.6.3", 9 | "resolved": "https://registry.npmjs.org/@vant/weapp/-/weapp-1.6.3.tgz", 10 | "integrity": "sha512-XlyaJNrYXqnhGthF5lm3xnrDRj/u8PtyJ9zZZE1P/lOEt8oTqgGXOqXt2C6sojXe56fHYLOzZX5a4Vr4s3M+9g==" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /miniprogram/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/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/miniprogram_npm/@vant/weapp/rate/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-rate{display:-webkit-inline-flex;display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative;padding:0 2px;padding:0 var(--rate-horizontal-padding,2px)}.van-rate__icon{display:block;height:1em;font-size:20px;font-size:var(--rate-icon-size,20px)}.van-rate__icon--half{position:absolute;top:0;width:.5em;overflow:hidden;left:2px;left:var(--rate-horizontal-padding,2px)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{position:fixed;right:0;left:0;overflow:hidden}.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:#ee0a24;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/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 | 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/miniprogram_npm/@vant/weapp/slider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | 4 | function barStyle(barHeight, activeColor) { 5 | var styles = [['height', utils.addUnit(barHeight)]]; 6 | 7 | if (activeColor) { 8 | styles.push(['background', activeColor]); 9 | } 10 | 11 | return styles 12 | .map(function (item) { 13 | return item.join(':'); 14 | }) 15 | .join(';'); 16 | } 17 | 18 | module.exports = { 19 | barStyle: barStyle, 20 | }; 21 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/popup/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function popupClass(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 | popupClass: popupClass, 18 | }; 19 | -------------------------------------------------------------------------------- /miniprogram/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 | 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: [transition_1.transition(true)], 15 | }); 16 | -------------------------------------------------------------------------------- /miniprogram/pages/detail/detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-icon": "@vant/weapp/icon", 4 | "van-tab": "@vant/weapp/tab/index", 5 | "van-tabs": "@vant/weapp/tabs/index", 6 | "van-empty": "@vant/weapp/empty/index", 7 | "van-button": "@vant/weapp/button/index", 8 | "van-cell": "@vant/weapp/cell/index", 9 | "van-cell-group": "@vant/weapp/cell-group/index", 10 | "van-image": "@vant/weapp/image/index", 11 | "van-tag": "@vant/weapp/tag/index" 12 | }, 13 | "disableScroll": true 14 | } -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;text-align:center;color:#000;color:var(--picker-option-text-color,#000);font-size:16px;font-size:var(--picker-option-font-size,16px)}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{font-weight:500;font-weight:var(--font-weight-bold,500);color:#323233;color:var(--picker-option-selected-text-color,#323233)}.van-picker-column__item--disabled{opacity:.3;opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/calendar/components/header/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../../../common/component'); 4 | component_1.VantComponent({ 5 | props: { 6 | title: { 7 | type: String, 8 | value: '日期选择', 9 | }, 10 | subtitle: String, 11 | showTitle: Boolean, 12 | showSubtitle: Boolean, 13 | }, 14 | data: { 15 | weekdays: ['日', '一', '二', '三', '四', '五', '六'], 16 | }, 17 | methods: {}, 18 | }); 19 | -------------------------------------------------------------------------------- /miniprogram/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, callback) { 10 | this.setData(data, callback); 11 | return new Promise(function (resolve) { 12 | return wx.nextTick(resolve); 13 | }); 14 | }, 15 | }, 16 | }); 17 | -------------------------------------------------------------------------------- /miniprogram/components/detail/tab_content/tab_two_content.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miniprogram/app.js: -------------------------------------------------------------------------------- 1 | //app.js 2 | import config from './config.js'; 3 | const {baseUrl} = config 4 | 5 | App({ 6 | // 全局变量 7 | baseUrl, 8 | openid:'', 9 | appid:'', 10 | onLaunch: function () { 11 | wx.cloud.init({ 12 | traceUser: true, 13 | }) 14 | 15 | wx.cloud.callFunction({ 16 | name: 'login', 17 | complete: res => { 18 | const { openid,appid } = res.result; 19 | if(!!openid){ 20 | this.openid = openid; 21 | this.appid = appid; 22 | } 23 | } 24 | }) 25 | }, 26 | }) 27 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/mixins/button.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | exports.button = void 0; 4 | exports.button = Behavior({ 5 | externalClasses: ['hover-class'], 6 | properties: { 7 | id: String, 8 | lang: String, 9 | businessId: Number, 10 | sessionFrom: String, 11 | sendMessageTitle: String, 12 | sendMessagePath: String, 13 | sendMessageImg: String, 14 | showMessageCard: Boolean, 15 | appParameter: String, 16 | ariaLabel: String, 17 | }, 18 | }); 19 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /miniprogram/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 | 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/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/miniprogram_npm/@vant/weapp/datetime-picker/index.wxml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /miniprogram/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 | 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/miniprogram_npm/@vant/weapp/field/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | 4 | function inputStyle(autosize) { 5 | if (autosize && autosize.constructor === 'Object') { 6 | var style = ''; 7 | if (autosize.minHeight) { 8 | style += 'min-height:' + utils.addUnit(autosize.minHeight) + ';'; 9 | } 10 | if (autosize.maxHeight) { 11 | style += 'max-height:' + utils.addUnit(autosize.maxHeight) + ';'; 12 | } 13 | return style; 14 | } 15 | 16 | return ''; 17 | } 18 | 19 | module.exports = { 20 | inputStyle: inputStyle 21 | }; 22 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{position:fixed;top:50%;right:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-weight:500;padding:0 4px 0 16px;padding:0 var(--padding-base,4px) 0 var(--padding-md,16px);font-size:10px;font-size:var(--index-bar-index-font-size,10px);line-height:14px;line-height:var(--index-bar-index-line-height,14px)} -------------------------------------------------------------------------------- /miniprogram/components/commodity/search.wxml: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /miniprogram/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 | 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 | }, 17 | methods: { 18 | onClick: function () { 19 | this.$emit('click'); 20 | }, 21 | // for prevent touchmove 22 | noop: function () {}, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /miniprogram/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/miniprogram_npm/@vant/weapp/panel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 14 | 18 | {{ message }} 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/checkbox/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var utils = require('../wxs/utils.wxs'); 3 | 4 | function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) { 5 | var styles = [['font-size', utils.addUnit(iconSize)]]; 6 | if (checkedColor && value && !disabled && !parentDisabled) { 7 | styles.push(['border-color', checkedColor]); 8 | styles.push(['background-color', checkedColor]); 9 | } 10 | 11 | return styles 12 | .map(function(item) { 13 | return item.join(':'); 14 | }) 15 | .join(';'); 16 | } 17 | 18 | module.exports = { 19 | iconStyle: iconStyle 20 | }; 21 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 21 | 22 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sticky/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function wrapStyle(data) { 5 | return style({ 6 | transform: data.transform 7 | ? 'translate3d(0, ' + data.transform + 'px, 0)' 8 | : '', 9 | top: data.fixed ? data.offsetTop + 'px' : '', 10 | 'z-index': data.zIndex, 11 | }); 12 | } 13 | 14 | function containerStyle(data) { 15 | return style({ 16 | height: data.fixed ? data.height + 'px' : '', 17 | 'z-index': data.zIndex, 18 | }); 19 | } 20 | 21 | module.exports = { 22 | wrapStyle: wrapStyle, 23 | containerStyle: containerStyle, 24 | }; 25 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/empty/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | {{ description }} 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/index-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 19 | {{ item }} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{padding:0 16px;padding:var(--index-anchor-padding,0 16px);color:#323233;color:var(--index-anchor-text-color,#323233);font-weight:500;font-weight:var(--index-anchor-font-weight,500);font-size:14px;font-size:var(--index-anchor-font-size,14px);line-height:32px;line-height:var(--index-anchor-line-height,32px);background-color:initial;background-color:var(--index-anchor-background-color,transparent)}.van-index-anchor--active{right:0;left:0;color:#07c160;color:var(--index-anchor-active-text-color,#07c160);background-color:#fff;background-color:var(--index-anchor-active-background-color,#fff)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/loading/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/area/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 21 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/sidebar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 15 | {{ title }} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /miniprogram/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/miniprogram_npm/@vant/weapp/empty/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-empty{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:32px 0}.van-empty__image{width:160px;height:160px}.van-empty__image:empty{display:none}.van-empty__image__img{width:100%;height:100%}.van-empty__image:not(:empty)+.van-empty__image{display:none}.van-empty__description{margin-top:16px;padding:0 60px;color:#969799;font-size:14px;line-height:20px}.van-empty__description:empty,.van-empty__description:not(:empty)+.van-empty__description{display:none}.van-empty__bottom{margin-top:24px} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/swipe-cell/index.wxml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram/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 | var PRESETS = ['error', 'search', 'default', 'network']; 5 | component_1.VantComponent({ 6 | props: { 7 | description: String, 8 | image: { 9 | type: String, 10 | value: 'default', 11 | }, 12 | }, 13 | created: function () { 14 | if (PRESETS.indexOf(this.data.image) !== -1) { 15 | this.setData({ 16 | imageUrl: 17 | 'https://img.yzcdn.cn/vant/empty-image-' + this.data.image + '.png', 18 | }); 19 | } else { 20 | this.setData({ imageUrl: this.data.image }); 21 | } 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/progress/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 12 | 17 | {{ computed.pivotText(pivotText, percentage) }} 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram/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 | 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 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/notify/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-notify{text-align:center;word-wrap:break-word;padding:6px 15px;padding:var(--notify-padding,6px 15px);font-size:14px;font-size:var(--notify-font-size,14px);line-height:20px;line-height:var(--notify-line-height,20px)}.van-notify__container{position:fixed;top:0;left:0;box-sizing:border-box;width:100%}.van-notify--primary{background-color:#1989fa;background-color:var(--notify-primary-background-color,#1989fa)}.van-notify--success{background-color:#07c160;background-color:var(--notify-success-background-color,#07c160)}.van-notify--danger{background-color:#ee0a24;background-color:var(--notify-danger-background-color,#ee0a24)}.van-notify--warning{background-color:#ff976a;background-color:var(--notify-warning-background-color,#ff976a)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/col/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | Object.defineProperty(exports, '__esModule', { value: true }); 3 | var component_1 = require('../common/component'); 4 | component_1.VantComponent({ 5 | relation: { 6 | name: 'row', 7 | type: 'ancestor', 8 | current: 'col', 9 | }, 10 | props: { 11 | span: Number, 12 | offset: Number, 13 | }, 14 | data: { 15 | viewStyle: '', 16 | }, 17 | methods: { 18 | setGutter: function (gutter) { 19 | var padding = gutter / 2 + 'px'; 20 | var viewStyle = gutter 21 | ? 'padding-left: ' + padding + '; padding-right: ' + padding + ';' 22 | : ''; 23 | if (viewStyle !== this.data.viewStyle) { 24 | this.setData({ viewStyle: viewStyle }); 25 | } 26 | }, 27 | }, 28 | }); 29 | -------------------------------------------------------------------------------- /miniprogram/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 | var open_type_1 = require('../mixins/open-type'); 7 | component_1.VantComponent({ 8 | classes: ['icon-class', 'text-class'], 9 | mixins: [link_1.link, button_1.button, open_type_1.openType], 10 | props: { 11 | text: String, 12 | dot: Boolean, 13 | info: String, 14 | icon: String, 15 | disabled: Boolean, 16 | loading: Boolean, 17 | }, 18 | methods: { 19 | onClick: function (event) { 20 | this.$emit('click', event.detail); 21 | this.jumpLink(); 22 | }, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /miniprogram/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 | component_1.VantComponent({ 5 | props: { 6 | dashed: { 7 | type: Boolean, 8 | value: false, 9 | }, 10 | hairline: { 11 | type: Boolean, 12 | value: false, 13 | }, 14 | contentPosition: { 15 | type: String, 16 | value: '', 17 | }, 18 | fontSize: { 19 | type: Number, 20 | value: '', 21 | }, 22 | borderColor: { 23 | type: String, 24 | value: '', 25 | }, 26 | textColor: { 27 | type: String, 28 | value: '', 29 | }, 30 | customStyle: { 31 | type: String, 32 | value: '', 33 | }, 34 | }, 35 | }); 36 | -------------------------------------------------------------------------------- /miniprogram/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) { 15 | urlKey = 'url'; 16 | } 17 | var url = this.data[urlKey]; 18 | if (url) { 19 | if ( 20 | this.data.linkType === 'navigateTo' && 21 | getCurrentPages().length > 9 22 | ) { 23 | wx.redirectTo({ url: url }); 24 | } else { 25 | wx[this.data.linkType]({ url: url }); 26 | } 27 | } 28 | }, 29 | }, 30 | }); 31 | -------------------------------------------------------------------------------- /miniprogram/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 style(styles) { 6 | if (array.isArray(styles)) { 7 | return styles 8 | .filter(function (item) { 9 | return item != null; 10 | }) 11 | .map(function (item) { 12 | return style(item); 13 | }) 14 | .join(';'); 15 | } 16 | 17 | if ('Object' === styles.constructor) { 18 | return object 19 | .keys(styles) 20 | .filter(function (key) { 21 | return styles[key] != null; 22 | }) 23 | .map(function (key) { 24 | return [key, [styles[key]]].join(':'); 25 | }) 26 | .join(';'); 27 | } 28 | 29 | return styles; 30 | } 31 | 32 | module.exports = style; 33 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/goods-action-icon/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action-icon{display:-webkit-flex!important;display:flex!important;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center!important;justify-content:center!important;line-height:1!important;border:none!important;font-size:10px!important;font-size:var(--goods-action-icon-font-size,10px)!important;color:#646566!important;color:var(--goods-action-icon-text-color,#646566)!important;min-width:48px;min-width:var(--goods-action-icon-width,48px);height:50px!important;height:var(--goods-action-icon-height,50px)!important}.van-goods-action-icon__icon{display:-webkit-flex;display:flex;margin:0 auto 5px;color:#323233;color:var(--goods-action-icon-color,#323233);font-size:18px;font-size:var(--goods-action-icon-size,18px)} -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/picker/toolbar.wxml: -------------------------------------------------------------------------------- 1 | 29 | -------------------------------------------------------------------------------- /miniprogram/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 | -------------------------------------------------------------------------------- /cloudfunctions/login/index.js: -------------------------------------------------------------------------------- 1 | // 云函数模板 2 | // 部署:在 cloud-functions/login 文件夹右击选择 “上传并部署” 3 | 4 | const cloud = require('wx-server-sdk') 5 | 6 | // 初始化 cloud 7 | cloud.init({ 8 | // API 调用都保持和云函数当前所在环境一致 9 | env: cloud.DYNAMIC_CURRENT_ENV 10 | }) 11 | 12 | /** 13 | * 这个示例将经自动鉴权过的小程序用户 openid 返回给小程序端 14 | * 15 | * event 参数包含小程序端调用传入的 data 16 | * 17 | */ 18 | exports.main = (event, context) => { 19 | // console.log(event) 20 | // console.log(context) 21 | 22 | // 可执行其他自定义逻辑 23 | // console.log 的内容可以在云开发云函数调用日志查看 24 | 25 | // 获取 WX Context (微信调用上下文),包括 OPENID、APPID、及 UNIONID(需满足 UNIONID 获取条件)等信息 26 | const wxContext = cloud.getWXContext() 27 | 28 | return { 29 | openid: wxContext.OPENID, 30 | appid: wxContext.APPID, 31 | unionid: wxContext.UNIONID, 32 | env: wxContext.ENV, 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /miniprogram/miniprogram_npm/@vant/weapp/tabbar-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex:1;flex:1}.van-tabbar-item{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;height:100%;color:#646566;color:var(--tabbar-item-text-color,#646566);font-size:12px;font-size:var(--tabbar-item-font-size,12px);line-height:1;line-height:var(--tabbar-item-line-height,1)}.van-tabbar-item__icon{position:relative;margin-bottom:4px;margin-bottom:var(--tabbar-item-margin-bottom,4px);font-size:22px;font-size:var(--tabbar-item-icon-size,22px)}.van-tabbar-item__icon__inner{display:block;min-width:1em}.van-tabbar-item--active{color:#1989fa;color:var(--tabbar-item-active-color,#1989fa)}.van-tabbar-item__info{margin-top:2px} -------------------------------------------------------------------------------- /miniprogram/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/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/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/pages/news_detail/news_detail.wxss: -------------------------------------------------------------------------------- 1 | .outer_box { 2 | width: 100vw; 3 | height: 100vh; 4 | } 5 | .container { 6 | display: flex; 7 | flex-direction: column; 8 | justify-content: flex-start; 9 | align-items: center; 10 | } 11 | .bg_img { 12 | width: 750rpx; 13 | height: 420rpx; 14 | border-bottom-right-radius: 50rpx; 15 | overflow: hidden; 16 | margin-bottom: 50rpx; 17 | } 18 | .news_title { 19 | width: 650rpx; 20 | font-size: 40rpx; 21 | color:#666; 22 | font-weight: bold; 23 | margin-bottom: 10rpx; 24 | } 25 | .news_date { 26 | width: 650rpx; 27 | font-size: 25rpx; 28 | color:#999; 29 | font-weight: light; 30 | text-align: right; 31 | margin-bottom: 30rpx; 32 | } 33 | .news_content { 34 | box-sizing: border-box; 35 | width: 700rpx; 36 | padding:25rpx; 37 | color: #999; 38 | line-height: 50rpx; 39 | font-size: 30rpx; 40 | border-radius: 15rpx; 41 | } -------------------------------------------------------------------------------- /miniprogram/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/miniprogram_npm/@vant/weapp/checkbox/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /miniprogram/pages/commodity/commodity.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |