├── src ├── .gitignore ├── libs │ └── vant │ │ ├── common │ │ ├── style │ │ │ ├── var.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ └── hairline.wxss │ │ ├── color.js │ │ ├── color.d.ts │ │ ├── component.d.ts │ │ ├── utils.d.ts │ │ ├── utils.js │ │ ├── index.wxss │ │ └── component.js │ │ ├── col │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── row │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── tab │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── tag │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── area │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── badge │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── button │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── card │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── cell │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── checkbox │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── collapse │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── dialog │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── dialog.d.ts │ │ ├── dialog.js │ │ └── index.wxml │ │ ├── field │ │ ├── index.d.ts │ │ ├── index.json │ │ └── index.wxss │ │ ├── icon │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── info │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── loading │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── nav-bar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── notify │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── notify.d.ts │ │ ├── index.wxml │ │ ├── notify.js │ │ └── index.js │ │ ├── overlay │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── panel │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── picker │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── popup │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── progress │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── radio │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── rate │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── search │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── slider │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── stepper │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── steps │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── switch │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── index.js │ │ ├── tabbar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── tabs │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── toast │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ ├── toast.d.ts │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── toast.js │ │ ├── action-sheet │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── badge-group │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── cell-group │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── checkbox-group │ │ ├── index.wxml │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.js │ │ ├── collapse-item │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── goods-action │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.js │ │ ├── index.wxml │ │ └── index.wxss │ │ ├── notice-bar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── picker-column │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── radio-group │ │ ├── index.d.ts │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.js │ │ ├── submit-bar │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.wxml │ │ └── index.js │ │ ├── swipe-cell │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── switch-cell │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.js │ │ ├── tabbar-item │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── transition │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.js │ │ └── index.wxss │ │ ├── tree-select │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ └── index.wxml │ │ ├── datetime-picker │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ │ ├── goods-action-icon │ │ ├── index.d.ts │ │ ├── index.json │ │ ├── index.wxss │ │ ├── index.js │ │ └── index.wxml │ │ ├── goods-action-button │ │ ├── index.d.ts │ │ ├── index.wxss │ │ ├── index.json │ │ ├── index.js │ │ └── index.wxml │ │ ├── mixins │ │ ├── link.d.ts │ │ ├── basic.d.ts │ │ ├── button.d.ts │ │ ├── iphonex.d.ts │ │ ├── touch.d.ts │ │ ├── open-type.d.ts │ │ ├── observer │ │ │ ├── behavior.d.ts │ │ │ ├── props.d.ts │ │ │ ├── index.d.ts │ │ │ ├── props.js │ │ │ ├── index.js │ │ │ └── behavior.js │ │ ├── transition.d.ts │ │ ├── link.js │ │ ├── button.js │ │ ├── basic.js │ │ ├── open-type.js │ │ ├── touch.js │ │ └── iphonex.js │ │ └── wxs │ │ ├── array.wxs │ │ ├── object.wxs │ │ ├── utils.wxs │ │ ├── bem.wxs │ │ └── memoize.wxs ├── pages │ ├── map │ │ ├── map.wxss │ │ ├── map.json │ │ ├── map.wxml │ │ └── map.js │ ├── index │ │ ├── index.wxss │ │ ├── index.json │ │ └── index.wxml │ ├── plan │ │ ├── plan.json │ │ ├── plan.wxml │ │ ├── plan.wxss │ │ └── plan.js │ ├── info │ │ ├── info.json │ │ ├── info.wxss │ │ └── info.wxml │ ├── metro │ │ ├── metro.json │ │ ├── metro.wxss │ │ ├── metro.wxml │ │ └── metro.js │ └── station │ │ ├── station.json │ │ ├── station.wxss │ │ └── station.wxml ├── templates │ └── info │ │ ├── info_footer.wxss │ │ ├── info_header.wxml │ │ ├── info_split.wxml │ │ ├── info_time.wxss │ │ ├── info_header.wxss │ │ ├── info_split.wxss │ │ ├── info_time.wxml │ │ ├── info_footer.wxml │ │ ├── info_way.wxss │ │ └── info_way.wxml ├── images │ ├── metro.png │ ├── share.png │ ├── station.png │ ├── yunguitu.png │ ├── fullscreen.png │ ├── metromanmp.png │ └── logo │ │ ├── logo_am.png │ │ ├── logo_bj.png │ │ ├── logo_cc.png │ │ ├── logo_cd.png │ │ ├── logo_cq.png │ │ ├── logo_cs.png │ │ ├── logo_cz.png │ │ ├── logo_dg.png │ │ ├── logo_dl.png │ │ ├── logo_fz.png │ │ ├── logo_gx.png │ │ ├── logo_gy.png │ │ ├── logo_gz.png │ │ ├── logo_hb.png │ │ ├── logo_hf.png │ │ ├── logo_hh.png │ │ ├── logo_hk.png │ │ ├── logo_hz.png │ │ ├── logo_jh.png │ │ ├── logo_jn.png │ │ ├── logo_km.png │ │ ├── logo_li.png │ │ ├── logo_ly.png │ │ ├── logo_lz.png │ │ ├── logo_nb.png │ │ ├── logo_nc.png │ │ ├── logo_nj.png │ │ ├── logo_nn.png │ │ ├── logo_nt.png │ │ ├── logo_qd.png │ │ ├── logo_sh.png │ │ ├── logo_sj.png │ │ ├── logo_su.png │ │ ├── logo_sx.png │ │ ├── logo_sy.png │ │ ├── logo_sz.png │ │ ├── logo_tb.png │ │ ├── logo_tc.png │ │ ├── logo_tj.png │ │ ├── logo_ty.png │ │ ├── logo_tz.png │ │ ├── logo_wh.png │ │ ├── logo_wl.png │ │ ├── logo_wu.png │ │ ├── logo_wx.png │ │ ├── logo_wz.png │ │ ├── logo_xa.png │ │ ├── logo_xm.png │ │ ├── logo_xz.png │ │ └── logo_zz.png ├── sitemap.json ├── app.json ├── data │ ├── dg.js │ ├── tz.js │ ├── am.js │ └── tc.js └── app.js ├── doc └── data.xlsx ├── image ├── ad.png ├── logo.png ├── dev01.png ├── dev02.png ├── import.png ├── index.png ├── metro.png ├── share.png ├── preview.png ├── logo_search.png └── metromanmp.png └── LICENSE /src/.gitignore: -------------------------------------------------------------------------------- 1 | project.config.json -------------------------------------------------------------------------------- /src/libs/vant/common/style/var.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/col/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/row/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/tab/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/tag/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/area/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/badge/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/card/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/collapse/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/dialog/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/field/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/info/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/loading/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/nav-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/notify/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/overlay/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/panel/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/popup/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/progress/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/radio/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/rate/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/search/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/slider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/stepper/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/steps/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/switch/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/tabs/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/toast/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/action-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/badge-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/cell-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/libs/vant/collapse-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/notice-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/picker-column/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/radio-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/libs/vant/submit-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/swipe-cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/switch-cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/transition/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/tree-select/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/datetime-picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action-icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /src/libs/vant/goods-action-button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /src/libs/vant/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /src/libs/vant/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/link.d.ts: -------------------------------------------------------------------------------- 1 | export declare const link: void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /src/libs/vant/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/badge-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /src/libs/vant/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /src/libs/vant/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/basic.d.ts: -------------------------------------------------------------------------------- 1 | export declare const basic: void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/button.d.ts: -------------------------------------------------------------------------------- 1 | export declare const button: void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/iphonex.d.ts: -------------------------------------------------------------------------------- 1 | export declare const iphonex: void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/touch.d.ts: -------------------------------------------------------------------------------- 1 | export declare const touch: void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /src/libs/vant/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/open-type.d.ts: -------------------------------------------------------------------------------- 1 | export declare const openType: void; 2 | -------------------------------------------------------------------------------- /src/pages/map/map.wxss: -------------------------------------------------------------------------------- 1 | .map-map { 2 | width: 100%; 3 | height: 100vh; 4 | } -------------------------------------------------------------------------------- /src/libs/vant/mixins/observer/behavior.d.ts: -------------------------------------------------------------------------------- 1 | export declare const behavior: void; 2 | -------------------------------------------------------------------------------- /src/templates/info/info_footer.wxss: -------------------------------------------------------------------------------- 1 | /* other */ 2 | button::after { 3 | border: none; 4 | } -------------------------------------------------------------------------------- /doc/data.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/doc/data.xlsx -------------------------------------------------------------------------------- /image/ad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/ad.png -------------------------------------------------------------------------------- /image/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/logo.png -------------------------------------------------------------------------------- /src/libs/vant/badge-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-badge-group{width:85px} -------------------------------------------------------------------------------- /src/libs/vant/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{content:"";display:table;clear:both} -------------------------------------------------------------------------------- /src/pages/index/index.wxss: -------------------------------------------------------------------------------- 1 | .van-search__content { 2 | background-color: white !important; 3 | } -------------------------------------------------------------------------------- /src/pages/plan/plan.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "规划图" 4 | } -------------------------------------------------------------------------------- /image/dev01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/dev01.png -------------------------------------------------------------------------------- /image/dev02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/dev02.png -------------------------------------------------------------------------------- /image/import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/import.png -------------------------------------------------------------------------------- /image/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/index.png -------------------------------------------------------------------------------- /image/metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/metro.png -------------------------------------------------------------------------------- /image/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/share.png -------------------------------------------------------------------------------- /src/libs/vant/goods-action-button/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex:1;flex:1} -------------------------------------------------------------------------------- /src/libs/vant/mixins/observer/props.d.ts: -------------------------------------------------------------------------------- 1 | export declare function observeProps(props: any): void; 2 | -------------------------------------------------------------------------------- /src/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "地铁图" 4 | } -------------------------------------------------------------------------------- /src/pages/info/info.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "车站信息" 4 | } -------------------------------------------------------------------------------- /src/pages/metro/metro.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "线路图" 4 | } -------------------------------------------------------------------------------- /image/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/preview.png -------------------------------------------------------------------------------- /image/logo_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/logo_search.png -------------------------------------------------------------------------------- /image/metromanmp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/image/metromanmp.png -------------------------------------------------------------------------------- /src/images/metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/metro.png -------------------------------------------------------------------------------- /src/images/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/share.png -------------------------------------------------------------------------------- /src/libs/vant/mixins/transition.d.ts: -------------------------------------------------------------------------------- 1 | export declare const transition: (showDefaultValue: boolean) => void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{content:"";display:table;clear:both} -------------------------------------------------------------------------------- /src/images/station.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/station.png -------------------------------------------------------------------------------- /src/images/yunguitu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/yunguitu.png -------------------------------------------------------------------------------- /src/libs/vant/mixins/observer/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function observe(vantOptions: any, options: any): void; 2 | -------------------------------------------------------------------------------- /src/libs/vant/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/images/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/fullscreen.png -------------------------------------------------------------------------------- /src/images/metromanmp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/metromanmp.png -------------------------------------------------------------------------------- /src/libs/vant/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{position:fixed;top:0;right:0;bottom:0;left:0} -------------------------------------------------------------------------------- /src/images/logo/logo_am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_am.png -------------------------------------------------------------------------------- /src/images/logo/logo_bj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_bj.png -------------------------------------------------------------------------------- /src/images/logo/logo_cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_cc.png -------------------------------------------------------------------------------- /src/images/logo/logo_cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_cd.png -------------------------------------------------------------------------------- /src/images/logo/logo_cq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_cq.png -------------------------------------------------------------------------------- /src/images/logo/logo_cs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_cs.png -------------------------------------------------------------------------------- /src/images/logo/logo_cz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_cz.png -------------------------------------------------------------------------------- /src/images/logo/logo_dg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_dg.png -------------------------------------------------------------------------------- /src/images/logo/logo_dl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_dl.png -------------------------------------------------------------------------------- /src/images/logo/logo_fz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_fz.png -------------------------------------------------------------------------------- /src/images/logo/logo_gx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_gx.png -------------------------------------------------------------------------------- /src/images/logo/logo_gy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_gy.png -------------------------------------------------------------------------------- /src/images/logo/logo_gz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_gz.png -------------------------------------------------------------------------------- /src/images/logo/logo_hb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_hb.png -------------------------------------------------------------------------------- /src/images/logo/logo_hf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_hf.png -------------------------------------------------------------------------------- /src/images/logo/logo_hh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_hh.png -------------------------------------------------------------------------------- /src/images/logo/logo_hk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_hk.png -------------------------------------------------------------------------------- /src/images/logo/logo_hz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_hz.png -------------------------------------------------------------------------------- /src/images/logo/logo_jh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_jh.png -------------------------------------------------------------------------------- /src/images/logo/logo_jn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_jn.png -------------------------------------------------------------------------------- /src/images/logo/logo_km.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_km.png -------------------------------------------------------------------------------- /src/images/logo/logo_li.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_li.png -------------------------------------------------------------------------------- /src/images/logo/logo_ly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_ly.png -------------------------------------------------------------------------------- /src/images/logo/logo_lz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_lz.png -------------------------------------------------------------------------------- /src/images/logo/logo_nb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_nb.png -------------------------------------------------------------------------------- /src/images/logo/logo_nc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_nc.png -------------------------------------------------------------------------------- /src/images/logo/logo_nj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_nj.png -------------------------------------------------------------------------------- /src/images/logo/logo_nn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_nn.png -------------------------------------------------------------------------------- /src/images/logo/logo_nt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_nt.png -------------------------------------------------------------------------------- /src/images/logo/logo_qd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_qd.png -------------------------------------------------------------------------------- /src/images/logo/logo_sh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_sh.png -------------------------------------------------------------------------------- /src/images/logo/logo_sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_sj.png -------------------------------------------------------------------------------- /src/images/logo/logo_su.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_su.png -------------------------------------------------------------------------------- /src/images/logo/logo_sx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_sx.png -------------------------------------------------------------------------------- /src/images/logo/logo_sy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_sy.png -------------------------------------------------------------------------------- /src/images/logo/logo_sz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_sz.png -------------------------------------------------------------------------------- /src/images/logo/logo_tb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_tb.png -------------------------------------------------------------------------------- /src/images/logo/logo_tc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_tc.png -------------------------------------------------------------------------------- /src/images/logo/logo_tj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_tj.png -------------------------------------------------------------------------------- /src/images/logo/logo_ty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_ty.png -------------------------------------------------------------------------------- /src/images/logo/logo_tz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_tz.png -------------------------------------------------------------------------------- /src/images/logo/logo_wh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_wh.png -------------------------------------------------------------------------------- /src/images/logo/logo_wl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_wl.png -------------------------------------------------------------------------------- /src/images/logo/logo_wu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_wu.png -------------------------------------------------------------------------------- /src/images/logo/logo_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_wx.png -------------------------------------------------------------------------------- /src/images/logo/logo_wz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_wz.png -------------------------------------------------------------------------------- /src/images/logo/logo_xa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_xa.png -------------------------------------------------------------------------------- /src/images/logo/logo_xm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_xm.png -------------------------------------------------------------------------------- /src/images/logo/logo_xz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_xz.png -------------------------------------------------------------------------------- /src/images/logo/logo_zz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/metromancn/MetroMapOpenMiniProgram/HEAD/src/images/logo/logo_zz.png -------------------------------------------------------------------------------- /src/pages/map/map.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "地图", 4 | "disableScroll": true 5 | } -------------------------------------------------------------------------------- /src/libs/vant/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/libs/vant/common/color.js: -------------------------------------------------------------------------------- 1 | export const RED = '#f44'; 2 | export const BLUE = '#1989fa'; 3 | export const GREEN = '#07c160'; 4 | -------------------------------------------------------------------------------- /src/pages/station/station.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "navigationBarTitleText": "车站", 4 | "disableScroll": true 5 | } -------------------------------------------------------------------------------- /src/libs/vant/badge-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/libs/vant/badge/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/libs/vant/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } -------------------------------------------------------------------------------- /src/libs/vant/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-overlay": "../overlay/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/libs/vant/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/libs/vant/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group__title{font-size:14px;padding:15px 15px 5px;color:#999;line-height:16px} -------------------------------------------------------------------------------- /src/libs/vant/common/color.d.ts: -------------------------------------------------------------------------------- 1 | export declare const RED = "#f44"; 2 | export declare const BLUE = "#1989fa"; 3 | export declare const GREEN = "#07c160"; 4 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/pages/map/map.wxml: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /src/libs/vant/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:#fff}.van-panel__header-value{color:#f44}.van-panel__footer{padding:10px 15px} -------------------------------------------------------------------------------- /src/libs/vant/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /src/libs/vant/info/index.wxml: -------------------------------------------------------------------------------- 1 | {{ info }} 6 | -------------------------------------------------------------------------------- /src/libs/vant/switch-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-switch-cell{padding-top:9px;padding-bottom:9px}.van-switch-cell__switch{vertical-align:middle} -------------------------------------------------------------------------------- /src/libs/vant/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } -------------------------------------------------------------------------------- /src/libs/vant/rate/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-rate{-webkit-user-select:none;user-select:none}.van-rate__item{width:1em;padding:0 2px;box-sizing:initial} -------------------------------------------------------------------------------- /src/libs/vant/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-field": "../field/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/tree-select/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-cell": "../cell/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/switch-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-switch": "../switch/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { iphonex } from '../mixins/iphonex'; 3 | VantComponent({ 4 | mixins: [iphonex] 5 | }); 6 | -------------------------------------------------------------------------------- /src/libs/vant/info/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | info: null, 5 | customStyle: String 6 | } 7 | }); 8 | -------------------------------------------------------------------------------- /src/libs/vant/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tab__pane{box-sizing:border-box;overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /src/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /src/pages/station/station.wxss: -------------------------------------------------------------------------------- 1 | .van-tree-select__nitem--active:after { 2 | background-color: var(--mmColorButton) !important; 3 | } 4 | 5 | .van-search__content { 6 | background-color: white !important; 7 | } -------------------------------------------------------------------------------- /src/libs/vant/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 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/libs/vant/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;background-color:#fff}.van-goods-action--safe{padding-bottom:34px} -------------------------------------------------------------------------------- /src/libs/vant/notify/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-notify{position:fixed;top:0;z-index:110;width:100%;padding:6px 15px;font-size:14px;line-height:20px;text-align:center;word-break:break-all;box-sizing:border-box} -------------------------------------------------------------------------------- /src/libs/vant/notify/notify.d.ts: -------------------------------------------------------------------------------- 1 | declare type NotifyOptions = { 2 | selector?: string; 3 | duration?: number; 4 | context?: any; 5 | }; 6 | export default function Notify(options?: NotifyOptions): void; 7 | export {}; 8 | -------------------------------------------------------------------------------- /src/templates/info/info_header.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;width:100%;height:50px;background-color:#fff}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:34px} -------------------------------------------------------------------------------- /src/templates/info/info_split.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/libs/vant/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | {{ text }} 8 | 9 | -------------------------------------------------------------------------------- /src/libs/vant/cell-group/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | title: String, 5 | border: { 6 | type: Boolean, 7 | value: true 8 | } 9 | } 10 | }); 11 | -------------------------------------------------------------------------------- /src/libs/vant/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | {{ title }} 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/libs/vant/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/libs/vant/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 | -------------------------------------------------------------------------------- /src/libs/vant/common/component.d.ts: -------------------------------------------------------------------------------- 1 | declare function VantComponent(vantOptions?: VantComponentOptions>): void; 2 | export { VantComponent }; 3 | -------------------------------------------------------------------------------- /src/libs/vant/common/utils.d.ts: -------------------------------------------------------------------------------- 1 | declare function isDef(value: any): boolean; 2 | declare function isObj(x: any): boolean; 3 | declare function isNumber(value: any): boolean; 4 | declare function range(num: number, min: number, max: number): number; 5 | export { isObj, isDef, isNumber, range }; 6 | -------------------------------------------------------------------------------- /src/libs/vant/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;font-size:16px;text-align:center}.van-picker-column__item{padding:0 5px;color:#999}.van-picker-column__item--selected{font-weight:500;color:#333}.van-picker-column__item--disabled{opacity:.3} -------------------------------------------------------------------------------- /src/libs/vant/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/libs/vant/panel/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | classes: ['header-class', 'footer-class'], 4 | props: { 5 | desc: String, 6 | title: String, 7 | status: String, 8 | useFooterSlot: Boolean 9 | } 10 | }); 11 | -------------------------------------------------------------------------------- /src/libs/vant/overlay/index.wxml: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/libs/vant/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{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /src/libs/vant/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 | -------------------------------------------------------------------------------- /src/templates/info/info_time.wxss: -------------------------------------------------------------------------------- 1 | .layout-time { 2 | position: relative; 3 | width: 100%; 4 | height: 20px; 5 | } 6 | 7 | .time-box { 8 | position: absolute; 9 | left: 92px; 10 | right: 0px; 11 | top: 0px; 12 | bottom: 0px; 13 | } 14 | 15 | .time-text { 16 | line-height: 20px; 17 | color: var(--mmColorTextSecond); 18 | } 19 | 20 | -------------------------------------------------------------------------------- /src/libs/vant/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/libs/vant/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/libs/vant/wxs/utils.wxs: -------------------------------------------------------------------------------- 1 | var bem = require('./bem.wxs').bem; 2 | var memoize = require('./memoize.wxs').memoize; 3 | 4 | function isSrc(url) { 5 | return url.indexOf('http') === 0 || url.indexOf('data:image') === 0 || url.indexOf('//') === 0; 6 | } 7 | 8 | module.exports = { 9 | bem: memoize(bem), 10 | isSrc: isSrc, 11 | memoize: memoize 12 | }; 13 | -------------------------------------------------------------------------------- /src/libs/vant/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)} -------------------------------------------------------------------------------- /src/libs/vant/goods-action-icon/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action-icon{width:50px!important;border:none!important}.van-goods-action-icon__content{display:-webkit-flex;display:flex;height:100%;font-size:10px;line-height:1;color:#7d7e80;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center}.van-goods-action-icon__icon{margin-bottom:4px} -------------------------------------------------------------------------------- /src/libs/vant/transition/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { transition } from '../mixins/transition'; 3 | VantComponent({ 4 | classes: [ 5 | 'enter-class', 6 | 'enter-active-class', 7 | 'enter-to-class', 8 | 'leave-class', 9 | 'leave-active-class', 10 | 'leave-to-class' 11 | ], 12 | mixins: [transition(true)] 13 | }); 14 | -------------------------------------------------------------------------------- /src/libs/vant/loading/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | size: { 5 | type: String, 6 | value: '30px' 7 | }, 8 | type: { 9 | type: String, 10 | value: 'circular' 11 | }, 12 | color: { 13 | type: String, 14 | value: '#c9c9c9' 15 | } 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /src/libs/vant/progress/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | {{ text }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/libs/vant/loading/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/libs/vant/common/utils.js: -------------------------------------------------------------------------------- 1 | function isDef(value) { 2 | return value !== undefined && value !== null; 3 | } 4 | function isObj(x) { 5 | const type = typeof x; 6 | return x !== null && (type === 'object' || type === 'function'); 7 | } 8 | function isNumber(value) { 9 | return /^\d+$/.test(value); 10 | } 11 | function range(num, min, max) { 12 | return Math.min(Math.max(num, min), max); 13 | } 14 | export { isObj, isDef, isNumber, range }; 15 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/link.js: -------------------------------------------------------------------------------- 1 | export const link = Behavior({ 2 | properties: { 3 | url: String, 4 | linkType: { 5 | type: String, 6 | value: 'navigateTo' 7 | } 8 | }, 9 | methods: { 10 | jumpLink(urlKey = 'url') { 11 | const url = this.data[urlKey]; 12 | if (url) { 13 | wx[this.data.linkType]({ url }); 14 | } 15 | } 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /src/libs/vant/info/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-info{position:absolute;top:-8px;right:0;min-width:16px;padding:0 3px;font-family:PingFang SC,Helvetica Neue,Arial,sans-serif;font-size:12px;font-weight:500;line-height:14px;color:#fff;text-align:center;white-space:nowrap;background-color:#f44;border:1px solid #fff;border-radius:16px;-webkit-transform:translateX(50%);transform:translateX(50%);box-sizing:border-box;-webkit-transform-origin:100%;transform-origin:100%} -------------------------------------------------------------------------------- /src/libs/vant/datetime-picker/index.wxml: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /src/libs/vant/tag/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tag{color:#fff;font-size:10px;padding:.2em .5em;line-height:normal;border-radius:.2em;display:inline-block}.van-tag:after{border-color:currentColor;border-radius:.4em}.van-tag--mark{padding-right:.6em;border-radius:0 .8em .8em 0}.van-tag--mark:after{border-radius:0 1.6em 1.6em 0}.van-tag--round{border-radius:.8em}.van-tag--round:after{border-radius:1.6em}.van-tag--medium{font-size:12px}.van-tag--large{font-size:14px} -------------------------------------------------------------------------------- /src/libs/vant/steps/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { GREEN } from '../common/color'; 3 | VantComponent({ 4 | props: { 5 | icon: String, 6 | steps: Array, 7 | active: Number, 8 | direction: { 9 | type: String, 10 | value: 'horizontal' 11 | }, 12 | activeColor: { 13 | type: String, 14 | value: GREEN 15 | } 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /src/libs/vant/rate/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 16 | 17 | -------------------------------------------------------------------------------- /src/libs/vant/badge/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 15 | {{ title }} 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/pages/map/map.js: -------------------------------------------------------------------------------- 1 | const app = getApp(); 2 | 3 | Page({ 4 | data: { 5 | station: '人民广场', 6 | latitude: '31.233771', 7 | longitude: '121.474482' 8 | }, 9 | 10 | onLoad: function (options) { 11 | this.setData({ 12 | station: options.station, 13 | latitude: options.latitude, 14 | longitude: options.longitude 15 | }); 16 | }, 17 | 18 | onReady: function () { 19 | wx.setNavigationBarTitle({ title: this.data.station }); 20 | } 21 | }) -------------------------------------------------------------------------------- /src/templates/info/info_header.wxss: -------------------------------------------------------------------------------- 1 | .layout-header { 2 | position: relative; 3 | width: 100%; 4 | height: 40px; 5 | } 6 | 7 | .header-timetable { 8 | position: absolute; 9 | left: 0px; 10 | top: 10px; 11 | height: 20px; 12 | line-height: 20px; 13 | color: var(--mmColorTextSecond); 14 | } 15 | 16 | .header-line { 17 | position: absolute; 18 | left: 0px; 19 | right: 0px; 20 | bottom: 0px; 21 | height: 1px; 22 | background: var(--mmColorLine); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /src/libs/vant/icon/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | info: null, 5 | name: String, 6 | size: String, 7 | color: String, 8 | customStyle: String, 9 | classPrefix: { 10 | type: String, 11 | value: 'van-icon' 12 | } 13 | }, 14 | methods: { 15 | onClick() { 16 | this.$emit('click'); 17 | } 18 | } 19 | }); 20 | -------------------------------------------------------------------------------- /src/templates/info/info_split.wxss: -------------------------------------------------------------------------------- 1 | .layout-split { 2 | position: relative; 3 | margin-top: 10px; 4 | width: 100%; 5 | height: 1px; 6 | } 7 | 8 | .split-line { 9 | position: absolute; 10 | left: 0px; 11 | right: 0px; 12 | top: 0px; 13 | bottom: 0px; 14 | background: var(--mmColorLine); 15 | } 16 | 17 | .split-way { 18 | position: absolute; 19 | left: 92px; 20 | right: 0px; 21 | top: 0px; 22 | bottom: 0px; 23 | background: var(--mmColorLine); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /src/pages/station/station.wxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/libs/vant/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/button.js: -------------------------------------------------------------------------------- 1 | export const button = Behavior({ 2 | externalClasses: ['hover-class'], 3 | properties: { 4 | id: String, 5 | lang: { 6 | type: String, 7 | value: 'en' 8 | }, 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 | -------------------------------------------------------------------------------- /src/templates/info/info_time.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/switch-cell/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 19 | 20 | -------------------------------------------------------------------------------- /src/libs/vant/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /src/libs/vant/progress/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-progress{height:4px;position:relative;border-radius:4px;background:#e5e5e5}.van-progress__portion{left:0;height:100%;position:absolute;border-radius:inherit}.van-progress__portion--with-pivot{border-top-right-radius:0;border-bottom-right-radius:0}.van-progress__pivot{top:50%;right:0;min-width:2em;padding:0 5px;font-size:10px;position:absolute;line-height:1.6;text-align:center;border-radius:1em;word-break:keep-all;box-sizing:border-box;background-color:#e5e5e5;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)} -------------------------------------------------------------------------------- /src/libs/vant/overlay/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | show: Boolean, 5 | mask: Boolean, 6 | customStyle: String, 7 | duration: { 8 | type: [Number, Object], 9 | value: 300 10 | }, 11 | zIndex: { 12 | type: Number, 13 | value: 1 14 | } 15 | }, 16 | methods: { 17 | onClick() { 18 | this.$emit('click'); 19 | }, 20 | // for prevent touchmove 21 | noop() { } 22 | } 23 | }); 24 | -------------------------------------------------------------------------------- /src/libs/vant/slider/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-slider{position:relative;border-radius:999px;background-color:#e5e5e5}.van-slider__bar{position:relative;border-radius:inherit;background-color:#1989fa}.van-slider__button{width:20px;height:20px;border-radius:50%;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.5)}.van-slider__button-wrapper{position:absolute;top:50%;right:0;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0)}.van-slider__button-wrapper:after{content:"";position:absolute;width:200%;height:200%;top:-50%;left:-50%}.van-slider--disabled{opacity:.3} -------------------------------------------------------------------------------- /src/libs/vant/area/index.wxml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /src/libs/vant/badge/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-badge{display:block;padding:20px 12px 20px 9px;overflow:hidden;font-size:14px;line-height:1.4;color:#7d7e80;word-break:break-all;background-color:#f8f8f8;border-left:3px solid transparent;box-sizing:border-box;-webkit-user-select:none;user-select:none}.van-badge--hover{background-color:#f2f3f5}.van-badge:after{border-bottom-width:1px}.van-badge--active{font-weight:700;color:#333;border-color:#f44}.van-badge--active:after{border-right-width:1px}.van-badge--active,.van-badge--active.van-badge--hover{background-color:#fff}.van-badge__text{position:relative} -------------------------------------------------------------------------------- /src/libs/vant/panel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/libs/vant/badge/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | relation: { 4 | type: 'ancestor', 5 | name: 'badge-group' 6 | }, 7 | props: { 8 | info: null, 9 | title: String 10 | }, 11 | methods: { 12 | onClick() { 13 | const group = this.getRelationNodes('../badge-group/index')[0]; 14 | if (group) { 15 | group.setActive(this); 16 | } 17 | }, 18 | setActive(active) { 19 | this.set({ active }); 20 | } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /src/templates/info/info_footer.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/collapse-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:.3s}.van-collapse-item__title--expanded .van-cell__right-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:#c9c9c9!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__content{padding:15px;font-size:13px;line-height:1.5;color:#999;background-color:#fff} -------------------------------------------------------------------------------- /src/libs/vant/tabbar-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex:1;flex:1}.van-tabbar-item{color:#7d7e80;height:100%;display:-webkit-flex;display:flex;line-height:1;font-size:12px;-webkit-align-items:center;align-items:center;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center}.van-tabbar-item__icon{font-size:18px;margin-bottom:5px;position:relative}.van-tabbar-item__icon--dot:after{top:0;right:-8px;width:8px;height:8px;content:" ";position:absolute;border-radius:100%;background-color:#f44}.van-tabbar-item__icon image{width:30px;height:18px;display:block}.van-tabbar-item--active{color:#1989fa} -------------------------------------------------------------------------------- /src/libs/vant/col/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | relation: { 4 | name: 'row', 5 | type: 'ancestor' 6 | }, 7 | props: { 8 | span: Number, 9 | offset: Number 10 | }, 11 | data: { 12 | style: '' 13 | }, 14 | methods: { 15 | setGutter(gutter) { 16 | const padding = `${gutter / 2}px`; 17 | const style = gutter ? `padding-left: ${padding}; padding-right: ${padding};` : ''; 18 | if (style !== this.data.style) { 19 | this.set({ style }); 20 | } 21 | } 22 | } 23 | }); 24 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action-button/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { link } from '../mixins/link'; 3 | import { button } from '../mixins/button'; 4 | import { openType } from '../mixins/open-type'; 5 | VantComponent({ 6 | mixins: [link, button, openType], 7 | props: { 8 | text: String, 9 | loading: Boolean, 10 | disabled: Boolean, 11 | type: { 12 | type: String, 13 | value: 'danger' 14 | } 15 | }, 16 | methods: { 17 | onClick(event) { 18 | this.$emit('click', event.detail); 19 | this.jumpLink(); 20 | } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action-icon/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { link } from '../mixins/link'; 3 | import { button } from '../mixins/button'; 4 | import { openType } from '../mixins/open-type'; 5 | VantComponent({ 6 | classes: ['icon-class', 'text-class'], 7 | mixins: [link, button, openType], 8 | props: { 9 | text: String, 10 | info: String, 11 | icon: String, 12 | disabled: Boolean, 13 | loading: Boolean 14 | }, 15 | methods: { 16 | onClick(event) { 17 | this.$emit('click', event.detail); 18 | this.jumpLink(); 19 | } 20 | } 21 | }); 22 | -------------------------------------------------------------------------------- /src/libs/vant/notice-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-notice-bar{display:-webkit-flex;display:flex;height:40px;padding:0 15px;font-size:14px;line-height:24px;-webkit-align-items:center;align-items:center}.van-notice-bar--within-icon{position:relative;padding-right:40px}.van-notice-bar__left-icon{height:18px;min-width:20px;box-sizing:border-box}.van-notice-bar__left-icon>image{width:16px;height:16px}.van-notice-bar__right-icon{position:absolute;top:10px;right:15px;font-size:16px}.van-notice-bar__content-wrap{position:relative;height:24px;overflow:hidden;-webkit-flex:1;flex:1}.van-notice-bar__content{position:absolute;white-space:nowrap}.van-notice-bar__content.van-ellipsis{max-width:100%} -------------------------------------------------------------------------------- /src/libs/vant/switch/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-switch{display:inline-block;position:relative;width:2em;border:1px solid rgba(0,0,0,.1);border-radius:1em;box-sizing:initial;transition:background-color .3s}.van-switch,.van-switch__node{height:1em;background-color:#fff}.van-switch__node{top:0;left:0;position:absolute;border-radius:100%;width:1em;z-index:1;transition:.3s;box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05)}.van-switch__loading{top:25%;left:25%;position:absolute!important}.van-switch--on{background-color:#1989fa}.van-switch--on .van-switch__node{-webkit-transform:translateX(1em);transform:translateX(1em)}.van-switch--disabled{opacity:.4} -------------------------------------------------------------------------------- /src/libs/vant/submit-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-submit-bar{z-index:100;position:fixed;bottom:0;left:0;width:100%;-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:10px;color:#f56723;font-size:12px;line-height:18px;background-color:#fff7cc}.van-submit-bar__bar{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;height:50px;background-color:#fff;font-size:14px}.van-submit-bar__bar--safe{padding-bottom:34px}.van-submit-bar__text{-webkit-flex:1;flex:1;color:#333;font-weight:500;text-align:right}.van-submit-bar__price{color:#f44;font-size:18px;padding-right:12px}.van-submit-bar__currency{font-size:14px}.van-submit-bar__button button{width:110px} -------------------------------------------------------------------------------- /src/libs/vant/radio/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-radio{overflow:hidden;line-height:1;-webkit-user-select:none;user-select:none}.van-radio__input,.van-radio__label{display:inline-block;vertical-align:middle}.van-radio__input{position:relative;font-size:20px}.van-radio__control{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;opacity:0}.van-radio__label{margin-left:10px;color:#333;font-size:16px;line-height:20px}.van-radio__label--left{margin:0 10px 0 0;float:left}.van-radio__label:empty{margin:0}.van-radio__icon{pointer-events:none;display:block;line-height:0}.van-radio__icon--disabled{color:#e5e5e5}.van-radio__icon--checked{color:#1989fa}.van-radio__icon--check{color:#c9c9c9} -------------------------------------------------------------------------------- /src/libs/vant/swipe-cell/index.wxml: -------------------------------------------------------------------------------- 1 | 10 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/libs/vant/nav-bar/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | classes: ['title-class'], 4 | props: { 5 | title: String, 6 | fixed: Boolean, 7 | leftText: String, 8 | rightText: String, 9 | leftArrow: Boolean, 10 | border: { 11 | type: Boolean, 12 | value: true 13 | }, 14 | zIndex: { 15 | type: Number, 16 | value: 1 17 | } 18 | }, 19 | methods: { 20 | onClickLeft() { 21 | this.$emit('click-left'); 22 | }, 23 | onClickRight() { 24 | this.$emit('click-right'); 25 | } 26 | } 27 | }); 28 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/observer/props.js: -------------------------------------------------------------------------------- 1 | export function observeProps(props) { 2 | if (!props) { 3 | return; 4 | } 5 | Object.keys(props).forEach(key => { 6 | let prop = props[key]; 7 | if (prop === null || !('type' in prop)) { 8 | prop = { type: prop }; 9 | } 10 | let { observer } = prop; 11 | prop.observer = function () { 12 | if (observer) { 13 | if (typeof observer === 'string') { 14 | observer = this[observer]; 15 | } 16 | observer.apply(this, arguments); 17 | } 18 | this.set(); 19 | }; 20 | props[key] = prop; 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /src/libs/vant/nav-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-nav-bar{position:relative;height:46px;line-height:46px;text-align:center;background-color:#fff;-webkit-user-select:none;user-select:none}.van-nav-bar__text{display:inline-block;padding:0 15px;margin:0 -15px;color:#1989fa;vertical-align:middle}.van-nav-bar__text--hover{background-color:#f2f3f5}.van-nav-bar__arrow{color:#1989fa;vertical-align:middle}.van-nav-bar__arrow+.van-nav-bar__text{padding-left:25px;margin-left:-20px}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar__title{max-width:60%;margin:0 auto;font-size:16px;font-weight:500}.van-nav-bar__left,.van-nav-bar__right{position:absolute;bottom:0;font-size:14px}.van-nav-bar__left{left:15px}.van-nav-bar__right{right:15px} -------------------------------------------------------------------------------- /src/libs/vant/popup/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/pages/plan/plan.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /src/pages/plan/plan.wxss: -------------------------------------------------------------------------------- 1 | .metro-image { 2 | width: 100%; 3 | } 4 | 5 | .map-full { 6 | position: absolute; 7 | right: 16px; 8 | top: 16px; 9 | width: 40px; 10 | height: 40px; 11 | border-radius: 20px; 12 | box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16); 13 | -webkit-box-shadow:0px 2px 8px 0px rgba(0, 0, 0, 0.16); 14 | } 15 | 16 | /* footer */ 17 | .footer-layout { 18 | position:relative; 19 | margin-top: 16px; 20 | width: 100%; 21 | height: 96px; 22 | } 23 | 24 | .footer-button { 25 | display: flex; 26 | width: 80px; 27 | height: 100%; 28 | margin: 0px; 29 | padding: 0px; 30 | flex-direction: column; 31 | align-items: center; 32 | background: var(--mmColorPageBack); 33 | } 34 | 35 | /* common */ 36 | button::after { 37 | border: none; 38 | } -------------------------------------------------------------------------------- /src/pages/metro/metro.wxss: -------------------------------------------------------------------------------- 1 | .metro-image { 2 | width: 100%; 3 | } 4 | 5 | .map-full { 6 | position: absolute; 7 | right: 16px; 8 | top: 16px; 9 | width: 40px; 10 | height: 40px; 11 | border-radius: 20px; 12 | box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16); 13 | -webkit-box-shadow:0px 2px 8px 0px rgba(0, 0, 0, 0.16); 14 | } 15 | 16 | /* footer */ 17 | .footer-layout { 18 | position:relative; 19 | margin-top: 16px; 20 | width: 100%; 21 | height: 96px; 22 | } 23 | 24 | .footer-button { 25 | display: flex; 26 | width: 80px; 27 | height: 100%; 28 | margin: 0px; 29 | padding: 0px; 30 | flex-direction: column; 31 | align-items: center; 32 | background: var(--mmColorPageBack); 33 | } 34 | 35 | /* common */ 36 | button::after { 37 | border: none; 38 | } -------------------------------------------------------------------------------- /src/libs/vant/mixins/basic.js: -------------------------------------------------------------------------------- 1 | export const basic = Behavior({ 2 | methods: { 3 | $emit() { 4 | this.triggerEvent.apply(this, arguments); 5 | }, 6 | getRect(selector, all) { 7 | return new Promise(resolve => { 8 | wx.createSelectorQuery() 9 | .in(this)[all ? 'selectAll' : 'select'](selector) 10 | .boundingClientRect(rect => { 11 | if (all && Array.isArray(rect) && rect.length) { 12 | resolve(rect); 13 | } 14 | if (!all && rect) { 15 | resolve(rect); 16 | } 17 | }) 18 | .exec(); 19 | }); 20 | } 21 | } 22 | }); 23 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/open-type.js: -------------------------------------------------------------------------------- 1 | export const openType = Behavior({ 2 | properties: { 3 | openType: String 4 | }, 5 | methods: { 6 | bindGetUserInfo(event) { 7 | this.$emit('getuserinfo', event.detail); 8 | }, 9 | bindContact(event) { 10 | this.$emit('contact', event.detail); 11 | }, 12 | bindGetPhoneNumber(event) { 13 | this.$emit('getphonenumber', event.detail); 14 | }, 15 | bindError(event) { 16 | this.$emit('error', event.detail); 17 | }, 18 | bindLaunchApp(event) { 19 | this.$emit('launchapp', event.detail); 20 | }, 21 | bindOpenSetting(event) { 22 | this.$emit('opensetting', event.detail); 23 | }, 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/libs/vant/slider/index.wxml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 17 | 21 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar-item/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | info: null, 5 | icon: String, 6 | dot: Boolean 7 | }, 8 | relation: { 9 | name: 'tabbar', 10 | type: 'ancestor' 11 | }, 12 | data: { 13 | active: false 14 | }, 15 | methods: { 16 | onClick() { 17 | const parent = this.getRelationNodes('../tabbar/index')[0]; 18 | if (parent) { 19 | parent.onChange(this); 20 | } 21 | this.$emit('click'); 22 | }, 23 | setActive({ active, color }) { 24 | if (this.data.active !== active) { 25 | this.set({ active, color }); 26 | } 27 | } 28 | } 29 | }); 30 | -------------------------------------------------------------------------------- /src/libs/vant/checkbox/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-checkbox{overflow:hidden;-webkit-user-select:none;user-select:none}.van-checkbox__icon-wrap,.van-checkbox__label{display:inline-block;line-height:20px;vertical-align:middle}.van-checkbox__icon{display:block;font-size:14px;width:20px;height:20px;color:transparent;text-align:center;box-sizing:border-box;border:1px solid #e5e5e5;transition:.2s}.van-checkbox__icon--round{border-radius:100%}.van-checkbox__icon--checked{color:#fff;border-color:#1989fa;background-color:#1989fa}.van-checkbox__icon--disabled{border-color:#c9c9c9;background-color:#eee}.van-checkbox__icon--disabled.van-checkbox__icon--checked{color:#c9c9c9}.van-checkbox__label{color:#333;margin-left:10px}.van-checkbox__label--left{float:left;margin:0 10px 0 0}.van-checkbox__label--disabled{color:#c9c9c9}.van-checkbox__label:empty{margin:0} -------------------------------------------------------------------------------- /src/libs/vant/notify/notify.js: -------------------------------------------------------------------------------- 1 | import { isObj } from '../common/utils'; 2 | const defaultOptions = { 3 | selector: '#van-notify', 4 | duration: 3000 5 | }; 6 | function parseOptions(text) { 7 | return isObj(text) ? text : { text }; 8 | } 9 | function getContext() { 10 | const pages = getCurrentPages(); 11 | return pages[pages.length - 1]; 12 | } 13 | export default function Notify(options = {}) { 14 | options = Object.assign({}, defaultOptions, parseOptions(options)); 15 | const context = options.context || getContext(); 16 | const notify = context.selectComponent(options.selector); 17 | delete options.selector; 18 | if (notify) { 19 | notify.set(options); 20 | notify.show(); 21 | } 22 | else { 23 | console.warn('未找到 van-notify 节点,请确认 selector 及 context 是否正确'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/libs/vant/tabbar-item/index.wxml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 17 | 18 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | "pages/index/index", 4 | "pages/metro/metro", 5 | "pages/station/station", 6 | "pages/info/info", 7 | "pages/map/map", 8 | "pages/plan/plan" 9 | ], 10 | "window": { 11 | "backgroundTextStyle": "light", 12 | "navigationBarBackgroundColor": "#FAFAFA", 13 | "navigationBarTitleText": "地铁图", 14 | "navigationBarTextStyle": "black" 15 | }, 16 | "usingComponents": { 17 | "van-search": "libs/vant/search/index", 18 | "van-tree-select": "libs/vant/tree-select/index", 19 | "van-toast": "libs/vant/toast/index" 20 | }, 21 | "navigateToMiniProgramAppIdList": [ 22 | "wx3c618f2bd6a9d2f7", 23 | "wx3297af3953a7312a" 24 | ], 25 | "permission": { 26 | "scope.userLocation": { 27 | "desc": "你的位置信息将用于推荐附近车站" 28 | } 29 | }, 30 | "sitemapLocation": "sitemap.json" 31 | } -------------------------------------------------------------------------------- /src/libs/vant/mixins/touch.js: -------------------------------------------------------------------------------- 1 | export const touch = Behavior({ 2 | methods: { 3 | touchStart(event) { 4 | this.direction = ''; 5 | this.deltaX = 0; 6 | this.deltaY = 0; 7 | this.offsetX = 0; 8 | this.offsetY = 0; 9 | this.startX = event.touches[0].clientX; 10 | this.startY = event.touches[0].clientY; 11 | }, 12 | touchMove(event) { 13 | const touch = event.touches[0]; 14 | this.deltaX = touch.clientX - this.startX; 15 | this.deltaY = touch.clientY - this.startY; 16 | this.offsetX = Math.abs(this.deltaX); 17 | this.offsetY = Math.abs(this.deltaY); 18 | this.direction = this.offsetX > this.offsetY ? 'horizontal' : this.offsetX < this.offsetY ? 'vertical' : ''; 19 | } 20 | } 21 | }); 22 | -------------------------------------------------------------------------------- /src/libs/vant/toast/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | show: Boolean, 5 | mask: Boolean, 6 | message: String, 7 | forbidClick: Boolean, 8 | zIndex: { 9 | type: Number, 10 | value: 1000 11 | }, 12 | type: { 13 | type: String, 14 | value: 'text' 15 | }, 16 | loadingType: { 17 | type: String, 18 | value: 'circular' 19 | }, 20 | position: { 21 | type: String, 22 | value: 'middle' 23 | } 24 | }, 25 | methods: { 26 | clear() { 27 | this.set({ 28 | show: false 29 | }); 30 | }, 31 | // for prevent touchmove 32 | noop() { } 33 | } 34 | }); 35 | -------------------------------------------------------------------------------- /src/libs/vant/goods-action-button/index.wxml: -------------------------------------------------------------------------------- 1 | 26 | {{ text }} 27 | 28 | -------------------------------------------------------------------------------- /src/libs/vant/search/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-search{padding:10px 16px;-webkit-align-items:center;align-items:center;box-sizing:border-box}.van-search,.van-search__content{display:-webkit-flex;display:flex}.van-search__content{padding-left:10px;background-color:#f7f8fa;border-radius:2px;-webkit-flex:1;flex:1}.van-search__content--round{border-radius:17px}.van-search__label{padding:0 5px;font-size:14px;line-height:34px;color:#333}.van-search__field{-webkit-flex:1;flex:1}.van-search__field__left-icon{color:#999}.van-search--withaction{padding-right:0}.van-search input::-webkit-search-cancel-button,.van-search input::-webkit-search-decoration,.van-search input::-webkit-search-results-button,.van-search input::-webkit-search-results-decoration{display:none}.van-search__action{padding:0 10px;font-size:14px;line-height:34px;color:#333}.van-search__action--hover{background-color:#f2f3f5} -------------------------------------------------------------------------------- /src/templates/info/info_way.wxss: -------------------------------------------------------------------------------- 1 | .layout-way { 2 | position: relative; 3 | width: 100%; 4 | height: 56px; 5 | } 6 | 7 | .way-line { 8 | position: absolute; 9 | left: 0px; 10 | top: 16px; 11 | height: 32px; 12 | border-radius: 4px; 13 | } 14 | 15 | .way-line-text { 16 | margin-left: 12px; 17 | margin-right: 12px; 18 | line-height: 20px; 19 | color: white; 20 | } 21 | 22 | .way-way { 23 | position: absolute; 24 | left: 92px; 25 | top: 12px; 26 | height: 20px; 27 | } 28 | 29 | .way-way-value { 30 | line-height: 20px; 31 | color: black; 32 | } 33 | 34 | .way-way-text { 35 | line-height: 20px; 36 | color: var(--mmColorTextSecond); 37 | } 38 | 39 | .way-time { 40 | position: absolute; 41 | left: 92px; 42 | top: 36px; 43 | height: 20px; 44 | } 45 | 46 | .way-text { 47 | line-height: 20px; 48 | color: var(--mmColorTextSecond); 49 | } 50 | 51 | -------------------------------------------------------------------------------- /src/libs/vant/action-sheet/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-action-sheet{max-height:90%!important;color:#333}.van-action-sheet__cancel,.van-action-sheet__item{height:50px;font-size:16px;line-height:50px;text-align:center;background-color:#fff}.van-action-sheet__cancel--hover,.van-action-sheet__item--hover{background-color:#f2f3f5}.van-action-sheet__cancel{height:60px}.van-action-sheet__cancel:before{display:block;height:10px;background-color:#f8f8f8;content:" "}.van-action-sheet__item--disabled{color:#c9c9c9}.van-action-sheet__item--disabled.van-action-sheet__item--hover{background-color:#fff}.van-action-sheet__subname{margin-left:5px;font-size:12px;color:#7d7e80}.van-action-sheet__header{font-size:16px;font-weight:500;line-height:44px;text-align:center}.van-action-sheet__close{position:absolute!important;top:0;right:0;padding:0 15px;font-size:18px!important;line-height:inherit!important;color:#999} -------------------------------------------------------------------------------- /src/libs/vant/common/style/hairline.wxss: -------------------------------------------------------------------------------- 1 | .van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{content:" ";position:absolute;pointer-events:none;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;top:-50%;left:-50%;right:-50%;bottom:-50%;-webkit-transform:scale(.5);transform:scale(.5);border:0 solid #eee}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px} -------------------------------------------------------------------------------- /src/libs/vant/radio/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/libs/vant/tab/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | relation: { 4 | name: 'tabs', 5 | type: 'ancestor' 6 | }, 7 | props: { 8 | dot: Boolean, 9 | info: null, 10 | title: String, 11 | disabled: Boolean, 12 | titleStyle: String 13 | }, 14 | data: { 15 | width: null, 16 | inited: false, 17 | active: false, 18 | animated: false 19 | }, 20 | watch: { 21 | title: 'update', 22 | disabled: 'update', 23 | dot: 'update', 24 | info: 'update', 25 | titleStyle: 'update' 26 | }, 27 | methods: { 28 | update() { 29 | const parent = this.getRelationNodes('../tabs/index')[0]; 30 | if (parent) { 31 | parent.updateTabs(); 32 | } 33 | } 34 | } 35 | }); 36 | -------------------------------------------------------------------------------- /src/libs/vant/stepper/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 20 | 26 | 27 | -------------------------------------------------------------------------------- /src/libs/vant/toast/toast.d.ts: -------------------------------------------------------------------------------- 1 | declare type ToastMessage = string | number; 2 | export declare type ToastOptions = { 3 | show?: boolean; 4 | type?: string; 5 | mask?: boolean; 6 | zIndex?: number; 7 | context?: any; 8 | position?: string; 9 | duration?: number; 10 | selector?: string; 11 | forbidClick?: boolean; 12 | loadingType?: string; 13 | message?: ToastMessage; 14 | }; 15 | export interface Toast { 16 | (message: ToastOptions | ToastMessage, options?: ToastOptions): Weapp.Component; 17 | loading?(options?: ToastOptions | ToastMessage): Weapp.Component; 18 | success?(options?: ToastOptions | ToastMessage): Weapp.Component; 19 | fail?(options?: ToastOptions | ToastMessage): Weapp.Component; 20 | clear?(): void; 21 | setDefaultOptions?(options: ToastOptions): void; 22 | resetDefaultOptions?(): void; 23 | } 24 | declare const Toast: Toast; 25 | export default Toast; 26 | -------------------------------------------------------------------------------- /src/libs/vant/tree-select/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tree-select{position:relative;font-size:14px;-webkit-user-select:none;user-select:none}.van-tree-select__nav{position:absolute;top:0;bottom:0;left:0;width:35%;min-width:120px;background-color:#fafafa}.van-tree-select__nitem{position:relative;padding:0 9px 0 15px;line-height:44px}.van-tree-select__nitem--active:after{position:absolute;top:0;bottom:0;left:0;width:3.6px;background-color:#f44;content:""}.van-tree-select__nitem--active{font-weight:700;background-color:#fff}.van-tree-select__nitem--disabled{color:#999}.van-tree-select__content{width:65%;padding-left:15px;margin-left:35%;background-color:#fff;box-sizing:border-box}.van-tree-select__item{position:relative;font-weight:700;line-height:44px}.van-tree-select__item--active{color:#f44}.van-tree-select__item--disabled{color:#999}.van-tree-select__selected{position:absolute;top:0;right:15px;bottom:0;height:24px;margin:auto 0;line-height:24px} -------------------------------------------------------------------------------- /src/libs/vant/toast/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-toast{display:-webkit-flex;display:flex;color:#fff;font-size:14px;line-height:20px;border-radius:4px;word-break:break-all;-webkit-align-items:center;align-items:center;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center;box-sizing:initial;background-color:rgba(51,51,51,.88);white-space:pre-wrap}.van-toast__container{position:fixed;top:50%;left:50%;max-width:70%;width:-webkit-fit-content;width:fit-content;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.van-toast--text{padding:8px 12px;min-width:96px}.van-toast--icon{width:90px;padding:15px;min-height:90px}.van-toast--icon .van-toast__icon{font-size:48px}.van-toast--icon .van-toast__text{padding-top:5px}.van-toast__loading{margin:10px 0}.van-toast--top{-webkit-transform:translateY(-30vh);transform:translateY(-30vh)}.van-toast--bottom{-webkit-transform:translateY(30vh);transform:translateY(30vh)} -------------------------------------------------------------------------------- /src/libs/vant/wxs/bem.wxs: -------------------------------------------------------------------------------- 1 | var array = require('./array.wxs'); 2 | var object = require('./object.wxs'); 3 | var PREFIX = 'van-'; 4 | 5 | function join(name, mods) { 6 | name = PREFIX + name; 7 | mods = mods.map(function(mod) { 8 | return name + '--' + mod; 9 | }); 10 | mods.unshift(name); 11 | return mods.join(' '); 12 | } 13 | 14 | function traversing(mods, conf) { 15 | if (!conf) { 16 | return; 17 | } 18 | 19 | if (typeof conf === 'string' || typeof conf === 'number') { 20 | mods.push(conf); 21 | } else if (array.isArray(conf)) { 22 | conf.forEach(function(item) { 23 | traversing(mods, item); 24 | }); 25 | } else if (typeof conf === 'object') { 26 | object.keys(conf).forEach(function(key) { 27 | conf[key] && mods.push(key); 28 | }); 29 | } 30 | } 31 | 32 | function bem(name, conf) { 33 | var mods = []; 34 | traversing(mods, conf); 35 | return join(name, mods); 36 | } 37 | 38 | module.exports.bem = bem; 39 | -------------------------------------------------------------------------------- /src/libs/vant/cell/index.js: -------------------------------------------------------------------------------- 1 | import { link } from '../mixins/link'; 2 | import { VantComponent } from '../common/component'; 3 | VantComponent({ 4 | classes: [ 5 | 'title-class', 6 | 'label-class', 7 | 'value-class', 8 | 'right-icon-class', 9 | 'hover-class' 10 | ], 11 | mixins: [link], 12 | props: { 13 | title: null, 14 | value: null, 15 | icon: String, 16 | size: String, 17 | label: String, 18 | center: Boolean, 19 | isLink: Boolean, 20 | required: Boolean, 21 | clickable: Boolean, 22 | titleWidth: String, 23 | customStyle: String, 24 | arrowDirection: String, 25 | border: { 26 | type: Boolean, 27 | value: true 28 | } 29 | }, 30 | methods: { 31 | onClick(event) { 32 | this.$emit('click', event.detail); 33 | this.jumpLink(); 34 | } 35 | } 36 | }); 37 | -------------------------------------------------------------------------------- /src/pages/info/info.wxss: -------------------------------------------------------------------------------- 1 | @import '../../templates/info/info_header.wxss'; 2 | @import '../../templates/info/info_way.wxss'; 3 | @import '../../templates/info/info_time.wxss'; 4 | @import '../../templates/info/info_split.wxss'; 5 | @import '../../templates/info/info_footer.wxss'; 6 | 7 | ::-webkit-scrollbar{ 8 | width: 0; 9 | height: 0; 10 | color: transparent; 11 | } 12 | 13 | .layout-map { 14 | position: relative; 15 | margin-top: 16px; 16 | margin-bottom: 16px; 17 | width: 100%; 18 | height: 180px; 19 | } 20 | 21 | .map-map { 22 | position: absolute; 23 | left: 0px; 24 | right: 0px; 25 | width: 100%; 26 | height: 180px; 27 | border: solid 1px var(--mmColorLine); 28 | border-radius: 2px; 29 | } 30 | 31 | .map-full { 32 | position: absolute; 33 | right: 10px; 34 | top: 130px; 35 | width: 40px; 36 | height: 40px; 37 | border-radius: 20px; 38 | box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16); 39 | -webkit-box-shadow:0px 2px 8px 0px rgba(0, 0, 0, 0.16); 40 | } -------------------------------------------------------------------------------- /src/libs/vant/notice-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | {{ text }} 13 | 14 | 15 | 16 | 22 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/libs/vant/tag/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { RED, BLUE, GREEN } from '../common/color'; 3 | const DEFAULT_COLOR = '#999'; 4 | const COLOR_MAP = { 5 | danger: RED, 6 | primary: BLUE, 7 | success: GREEN 8 | }; 9 | VantComponent({ 10 | props: { 11 | size: String, 12 | type: String, 13 | mark: Boolean, 14 | color: String, 15 | plain: Boolean, 16 | round: Boolean, 17 | textColor: String 18 | }, 19 | computed: { 20 | style() { 21 | const color = this.data.color || COLOR_MAP[this.data.type] || DEFAULT_COLOR; 22 | const key = this.data.plain ? 'color' : 'background-color'; 23 | const style = { [key]: color }; 24 | if (this.data.textColor) { 25 | style.color = this.data.textColor; 26 | } 27 | return Object.keys(style).map(key => `${key}: ${style[key]}`).join(';'); 28 | } 29 | } 30 | }); 31 | -------------------------------------------------------------------------------- /src/templates/info/info_way.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/libs/vant/card/index.js: -------------------------------------------------------------------------------- 1 | import { link } from '../mixins/link'; 2 | import { VantComponent } from '../common/component'; 3 | VantComponent({ 4 | classes: [ 5 | 'num-class', 6 | 'desc-class', 7 | 'thumb-class', 8 | 'title-class', 9 | 'price-class', 10 | 'origin-price-class', 11 | ], 12 | mixins: [link], 13 | props: { 14 | tag: String, 15 | num: String, 16 | desc: String, 17 | thumb: String, 18 | title: String, 19 | price: String, 20 | centered: Boolean, 21 | lazyLoad: Boolean, 22 | thumbLink: String, 23 | originPrice: String, 24 | thumbMode: { 25 | type: String, 26 | value: 'aspectFit' 27 | }, 28 | currency: { 29 | type: String, 30 | value: '¥' 31 | } 32 | }, 33 | methods: { 34 | onClickThumb() { 35 | this.jumpLink('thumbLink'); 36 | } 37 | } 38 | }); 39 | -------------------------------------------------------------------------------- /src/libs/vant/toast/index.wxml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 16 | 17 | {{ message }} 18 | 19 | 20 | 21 | 27 | 28 | {{ message }} 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/libs/vant/dialog/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dialog{width:85%;overflow:hidden;font-size:16px;background-color:#fff;border-radius:4px}.van-dialog__header{padding-top:25px;font-weight:500;text-align:center}.van-dialog__header--isolated{padding:25px 0}.van-dialog__message{max-height:60vh;padding:25px;overflow-y:auto;font-size:14px;line-height:1.5;text-align:center;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:12px;color:#7d7e80}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:-webkit-flex;display:flex}.van-dialog__button{-webkit-flex:1;flex:1}.van-dialog__cancel,.van-dialog__confirm{border:0!important}.van-dialog__confirm{color:#1989fa!important}.van-dialog-bounce-enter{opacity:0;-webkit-transform:translate3d(-50%,-50%,0) scale(.7);transform:translate3d(-50%,-50%,0) scale(.7)}.van-dialog-bounce-leave-active{opacity:0;-webkit-transform:translate3d(-50%,-50%,0) scale(.9);transform:translate3d(-50%,-50%,0) scale(.9)} -------------------------------------------------------------------------------- /src/libs/vant/mixins/observer/index.js: -------------------------------------------------------------------------------- 1 | import { behavior } from './behavior'; 2 | import { observeProps } from './props'; 3 | export function observe(vantOptions, options) { 4 | const { watch, computed } = vantOptions; 5 | options.behaviors.push(behavior); 6 | if (watch) { 7 | const props = options.properties || {}; 8 | Object.keys(watch).forEach(key => { 9 | if (key in props) { 10 | let prop = props[key]; 11 | if (prop === null || !('type' in prop)) { 12 | prop = { type: prop }; 13 | } 14 | prop.observer = watch[key]; 15 | props[key] = prop; 16 | } 17 | }); 18 | options.properties = props; 19 | } 20 | if (computed) { 21 | options.methods = options.methods || {}; 22 | options.methods.$options = () => vantOptions; 23 | if (options.properties) { 24 | observeProps(options.properties); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/libs/vant/button/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { button } from '../mixins/button'; 3 | import { openType } from '../mixins/open-type'; 4 | VantComponent({ 5 | mixins: [button, openType], 6 | classes: ['hover-class', 'loading-class'], 7 | props: { 8 | plain: Boolean, 9 | block: Boolean, 10 | round: Boolean, 11 | square: Boolean, 12 | loading: Boolean, 13 | disabled: Boolean, 14 | loadingText: String, 15 | type: { 16 | type: String, 17 | value: 'default' 18 | }, 19 | size: { 20 | type: String, 21 | value: 'normal' 22 | }, 23 | loadingSize: { 24 | type: String, 25 | value: '20px' 26 | } 27 | }, 28 | methods: { 29 | onClick() { 30 | if (!this.data.disabled && !this.data.loading) { 31 | this.$emit('click'); 32 | } 33 | } 34 | } 35 | }); 36 | -------------------------------------------------------------------------------- /src/libs/vant/switch-cell/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | field: true, 4 | props: { 5 | value: null, 6 | title: String, 7 | border: Boolean, 8 | checked: Boolean, 9 | loading: Boolean, 10 | disabled: Boolean, 11 | activeColor: String, 12 | inactiveColor: String, 13 | size: { 14 | type: String, 15 | value: '24px' 16 | }, 17 | activeValue: { 18 | type: null, 19 | value: true 20 | }, 21 | inactiveValue: { 22 | type: null, 23 | value: false 24 | } 25 | }, 26 | watch: { 27 | checked(value) { 28 | this.set({ value }); 29 | } 30 | }, 31 | created() { 32 | this.set({ value: this.data.checked }); 33 | }, 34 | methods: { 35 | onChange(event) { 36 | this.$emit('change', event.detail); 37 | } 38 | } 39 | }); 40 | -------------------------------------------------------------------------------- /src/libs/vant/mixins/iphonex.js: -------------------------------------------------------------------------------- 1 | let isIPhoneX = null; 2 | function getIsIPhoneX() { 3 | return new Promise((resolve, reject) => { 4 | if (isIPhoneX !== null) { 5 | resolve(isIPhoneX); 6 | } 7 | else { 8 | wx.getSystemInfo({ 9 | success: ({ model, screenHeight }) => { 10 | const iphoneX = /iphone x/i.test(model); 11 | const iphoneNew = /iPhone11/i.test(model) && screenHeight === 812; 12 | isIPhoneX = iphoneX || iphoneNew; 13 | resolve(isIPhoneX); 14 | }, 15 | fail: reject 16 | }); 17 | } 18 | }); 19 | } 20 | export const iphonex = Behavior({ 21 | properties: { 22 | safeAreaInsetBottom: { 23 | type: Boolean, 24 | value: true 25 | } 26 | }, 27 | created() { 28 | getIsIPhoneX().then(isIPhoneX => { 29 | this.set({ isIPhoneX }); 30 | }); 31 | } 32 | }); 33 | -------------------------------------------------------------------------------- /src/libs/vant/radio/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | field: true, 4 | relation: { 5 | name: 'radio-group', 6 | type: 'ancestor' 7 | }, 8 | classes: ['icon-class', 'label-class'], 9 | props: { 10 | name: null, 11 | value: null, 12 | disabled: Boolean, 13 | labelDisabled: Boolean, 14 | labelPosition: String, 15 | checkedColor: String 16 | }, 17 | methods: { 18 | emitChange(value) { 19 | const instance = this.getRelationNodes('../radio-group/index')[0] || this; 20 | instance.$emit('input', value); 21 | instance.$emit('change', value); 22 | }, 23 | onChange(event) { 24 | this.emitChange(event.detail.value); 25 | }, 26 | onClickLabel() { 27 | if (!this.data.disabled && !this.data.labelDisabled) { 28 | this.emitChange(this.data.name); 29 | } 30 | } 31 | } 32 | }); 33 | -------------------------------------------------------------------------------- /src/pages/info/info.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 16 | 17 | 18 | 19 | 20 |