├── README.en.md ├── README.md ├── app ├── app.js ├── app.json ├── app.wxss ├── common │ ├── city.js │ ├── commonUtils.js │ ├── request.js │ └── template.wxml ├── components │ ├── clearInput │ │ ├── clear.png │ │ ├── clearInput.js │ │ ├── clearInput.json │ │ ├── clearInput.wxml │ │ ├── clearInput.wxss │ │ └── search.png │ └── selectCity │ │ ├── selectCity.js │ │ ├── selectCity.json │ │ ├── selectCity.wxml │ │ └── selectCity.wxss ├── dist │ ├── action-sheet │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── area │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── button │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── calendar │ │ ├── calendar.wxml │ │ ├── components │ │ │ ├── header │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ └── month │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ ├── index.wxs │ │ │ │ └── index.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── utils.d.ts │ │ ├── utils.js │ │ └── utils.wxs │ ├── card │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell-group │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── checkbox-group │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── checkbox │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── circle │ │ ├── canvas.d.ts │ │ ├── canvas.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── col │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── collapse-item │ │ ├── animate.d.ts │ │ ├── animate.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── collapse │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── common │ │ ├── color.d.ts │ │ ├── color.js │ │ ├── component.d.ts │ │ ├── component.js │ │ ├── index.wxss │ │ ├── relation.d.ts │ │ ├── relation.js │ │ ├── style │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ ├── hairline.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ ├── theme.wxss │ │ │ └── var.wxss │ │ ├── utils.d.ts │ │ ├── utils.js │ │ ├── validator.d.ts │ │ ├── validator.js │ │ ├── version.d.ts │ │ └── version.js │ ├── count-down │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── utils.d.ts │ │ └── utils.js │ ├── datetime-picker │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── definitions │ │ ├── index.d.ts │ │ └── index.js │ ├── dialog │ │ ├── dialog.d.ts │ │ ├── dialog.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── divider │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── dropdown-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── shared.d.ts │ │ └── shared.js │ ├── dropdown-menu │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── empty │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── field │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── input.wxml │ │ ├── props.d.ts │ │ ├── props.js │ │ └── textarea.wxml │ ├── goods-action-button │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action-icon │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── grid-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── grid │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── icon │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── image │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── index-anchor │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── index-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── info │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── loading │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── mixins │ │ ├── basic.d.ts │ │ ├── basic.js │ │ ├── button.d.ts │ │ ├── button.js │ │ ├── link.d.ts │ │ ├── link.js │ │ ├── open-type.d.ts │ │ ├── open-type.js │ │ ├── page-scroll.d.ts │ │ ├── page-scroll.js │ │ ├── touch.d.ts │ │ ├── touch.js │ │ ├── transition.d.ts │ │ └── transition.js │ ├── nav-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── notice-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── notify │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── notify.d.ts │ │ └── notify.js │ ├── overlay │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── panel │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── picker-column │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── picker │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── shared.d.ts │ │ ├── shared.js │ │ └── toolbar.wxml │ ├── popup │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── progress │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── radio-group │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── radio │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── rate │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── row │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── search │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── share-sheet │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── options.d.ts │ │ ├── options.js │ │ ├── options.json │ │ ├── options.wxml │ │ ├── options.wxs │ │ └── options.wxss │ ├── sidebar-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sidebar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── skeleton │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── slider │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── stepper │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── steps │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sticky │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── submit-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── swipe-cell │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── switch │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tab │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabs │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tag │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── toast │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── toast.d.ts │ │ └── toast.js │ ├── transition │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tree-select │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── uploader │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── shared.d.ts │ │ ├── shared.js │ │ ├── utils.d.ts │ │ └── utils.js │ └── wxs │ │ ├── add-unit.wxs │ │ ├── array.wxs │ │ ├── bem.wxs │ │ ├── memoize.wxs │ │ ├── object.wxs │ │ ├── style.wxs │ │ └── utils.wxs ├── pages │ ├── bookHotel │ │ ├── bookHotel.js │ │ ├── bookHotel.json │ │ ├── bookHotel.wxml │ │ ├── bookHotel.wxss │ │ └── template.wxml │ ├── homePage │ │ ├── homePage.js │ │ ├── homePage.json │ │ ├── homePage.wxml │ │ └── homePage.wxss │ ├── hotel │ │ ├── hotel.js │ │ ├── hotel.json │ │ ├── hotel.wxml │ │ └── hotel.wxss │ ├── hotelDetail │ │ ├── hotelDetail.js │ │ ├── hotelDetail.json │ │ ├── hotelDetail.wxml │ │ ├── hotelDetail.wxss │ │ └── template.wxml │ ├── hotelFilter │ │ ├── hotelFilter.js │ │ ├── hotelFilter.json │ │ ├── hotelFilter.wxml │ │ ├── hotelFilter.wxss │ │ └── template.wxml │ ├── minePage │ │ ├── minePage.js │ │ ├── minePage.json │ │ ├── minePage.wxml │ │ ├── minePage.wxss │ │ └── template.wxml │ ├── orderList │ │ ├── orderList.js │ │ ├── orderList.json │ │ ├── orderList.wxml │ │ ├── orderList.wxss │ │ └── template.wxml │ ├── searchHotel │ │ ├── searchHotel.js │ │ ├── searchHotel.json │ │ ├── searchHotel.wxml │ │ ├── searchHotel.wxss │ │ └── template.wxml │ └── select_city │ │ ├── select_city.js │ │ ├── select_city.json │ │ ├── select_city.wxml │ │ └── select_city.wxss ├── project.config.json ├── res │ └── images │ │ ├── ic_city_location.png │ │ ├── ic_down_arrow.png │ │ ├── ic_empty.png │ │ ├── ic_filter.png │ │ ├── ic_home_advertise.png │ │ ├── ic_home_normal.png │ │ ├── ic_home_selected.png │ │ ├── ic_hotel_detail.png │ │ ├── ic_hotel_filter.png │ │ ├── ic_hotel_image.png │ │ ├── ic_hotel_phone.png │ │ ├── ic_mine_normal.png │ │ ├── ic_mine_selected.png │ │ ├── ic_nearby.png │ │ ├── ic_order_all.png │ │ ├── ic_order_book.png │ │ ├── ic_right_arrow.png │ │ ├── ic_service_food.png │ │ ├── ic_service_park.png │ │ └── loading.gif ├── sitemap.json └── utils │ ├── request.js │ └── util.js ├── backend ├── .idea │ ├── .gitignore │ ├── .name │ ├── compiler.xml │ ├── encodings.xml │ ├── jarRepositories.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_alibaba_fastjson_1_2_59.xml │ │ ├── Maven__com_auth0_java_jwt_3_8_2.xml │ │ ├── Maven__com_baomidou_dynamic_datasource_spring_boot_starter_2_5_6.xml │ │ ├── Maven__com_baomidou_mybatis_plus_3_2_0.xml │ │ ├── Maven__com_baomidou_mybatis_plus_annotation_3_2_0.xml │ │ ├── Maven__com_baomidou_mybatis_plus_boot_starter_3_2_0.xml │ │ ├── Maven__com_baomidou_mybatis_plus_core_3_2_0.xml │ │ ├── Maven__com_baomidou_mybatis_plus_extension_3_2_0.xml │ │ ├── Maven__com_baomidou_mybatis_plus_generator_3_2_0.xml │ │ ├── Maven__com_fasterxml_classmate_1_4_0.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_9_9.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_9_9.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_9.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_9.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_9.xml │ │ ├── Maven__com_github_binarywang_weixin_java_common_4_0_0.xml │ │ ├── Maven__com_github_binarywang_weixin_java_miniapp_4_0_0.xml │ │ ├── Maven__com_github_jsqlparser_jsqlparser_2_1.xml │ │ ├── Maven__com_github_virtuald_curvesapi_1_04.xml │ │ ├── Maven__com_google_code_findbugs_jsr305_1_3_9.xml │ │ ├── Maven__com_google_code_gson_gson_2_8_5.xml │ │ ├── Maven__com_google_errorprone_error_prone_annotations_2_0_18.xml │ │ ├── Maven__com_google_guava_guava_23_0.xml │ │ ├── Maven__com_google_j2objc_j2objc_annotations_1_1.xml │ │ ├── Maven__com_mchange_mchange_commons_java_0_2_15.xml │ │ ├── Maven__com_thoughtworks_xstream_xstream_1_4_14.xml │ │ ├── Maven__com_wuwenze_ExcelKit_2_0_72.xml │ │ ├── Maven__com_zaxxer_HikariCP_3_2_0.xml │ │ ├── Maven__commons_beanutils_commons_beanutils_1_9_3.xml │ │ ├── Maven__commons_codec_commons_codec_1_11.xml │ │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ │ ├── Maven__commons_io_commons_io_2_6.xml │ │ ├── Maven__commons_logging_commons_logging_1_2.xml │ │ ├── Maven__dom4j_dom4j_1_6_1.xml │ │ ├── Maven__io_lettuce_lettuce_core_5_1_8_RELEASE.xml │ │ ├── Maven__io_micrometer_micrometer_core_1_1_5.xml │ │ ├── Maven__io_netty_netty_buffer_4_1_38_Final.xml │ │ ├── Maven__io_netty_netty_codec_4_1_38_Final.xml │ │ ├── Maven__io_netty_netty_common_4_1_38_Final.xml │ │ ├── Maven__io_netty_netty_handler_4_1_38_Final.xml │ │ ├── Maven__io_netty_netty_resolver_4_1_38_Final.xml │ │ ├── Maven__io_netty_netty_transport_4_1_38_Final.xml │ │ ├── Maven__io_projectreactor_reactor_core_3_2_11_RELEASE.xml │ │ ├── Maven__io_springfox_springfox_core_2_9_2.xml │ │ ├── Maven__io_springfox_springfox_schema_2_9_2.xml │ │ ├── Maven__io_springfox_springfox_spi_2_9_2.xml │ │ ├── Maven__io_springfox_springfox_spring_web_2_9_2.xml │ │ ├── Maven__io_springfox_springfox_swagger2_2_9_2.xml │ │ ├── Maven__io_springfox_springfox_swagger_common_2_9_2.xml │ │ ├── Maven__io_springfox_springfox_swagger_ui_2_9_2.xml │ │ ├── Maven__io_swagger_swagger_annotations_1_5_20.xml │ │ ├── Maven__io_swagger_swagger_models_1_5_20.xml │ │ ├── Maven__javax_annotation_javax_annotation_api_1_3_2.xml │ │ ├── Maven__javax_validation_validation_api_2_0_1_Final.xml │ │ ├── Maven__jaxen_jaxen_1_1_6.xml │ │ ├── Maven__mysql_mysql_connector_java_8_0_17.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_9_16.xml │ │ ├── Maven__org_apache_commons_commons_collections4_4_1.xml │ │ ├── Maven__org_apache_commons_commons_lang3_3_8_1.xml │ │ ├── Maven__org_apache_commons_commons_pool2_2_6_2.xml │ │ ├── Maven__org_apache_httpcomponents_httpclient_4_5_2.xml │ │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_5.xml │ │ ├── Maven__org_apache_httpcomponents_httpmime_4_5_9.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_11_2.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_11_2.xml │ │ ├── Maven__org_apache_poi_poi_3_17.xml │ │ ├── Maven__org_apache_poi_poi_ooxml_3_17.xml │ │ ├── Maven__org_apache_poi_poi_ooxml_schemas_3_17.xml │ │ ├── Maven__org_apache_shiro_shiro_cache_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_config_core_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_config_ogdl_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_core_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_crypto_cipher_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_crypto_core_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_crypto_hash_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_event_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_lang_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_spring_1_4_1.xml │ │ ├── Maven__org_apache_shiro_shiro_web_1_4_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_22.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_22.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_22.xml │ │ ├── Maven__org_apache_xmlbeans_xmlbeans_2_6_0.xml │ │ ├── Maven__org_aspectj_aspectjweaver_1_9_4.xml │ │ ├── Maven__org_bouncycastle_bcpkix_jdk15on_1_65.xml │ │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_65.xml │ │ ├── Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml │ │ ├── Maven__org_dom4j_dom4j_2_1_3.xml │ │ ├── Maven__org_freemarker_freemarker_2_3_29.xml │ │ ├── Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_17_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml │ │ ├── Maven__org_jetbrains_annotations_15_0.xml │ │ ├── Maven__org_latencyutils_LatencyUtils_2_0_3.xml │ │ ├── Maven__org_lionsoul_ip2region_1_7_2.xml │ │ ├── Maven__org_mapstruct_mapstruct_1_2_0_Final.xml │ │ ├── Maven__org_mybatis_mybatis_3_5_2.xml │ │ ├── Maven__org_mybatis_mybatis_spring_2_0_2.xml │ │ ├── Maven__org_projectlombok_lombok_1_18_8.xml │ │ ├── Maven__org_quartz_scheduler_quartz_2_3_1.xml │ │ ├── Maven__org_reactivestreams_reactive_streams_1_0_2.xml │ │ ├── Maven__org_slf4j_jcl_over_slf4j_1_7_26.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_26.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_26.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_actuator_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_actuator_autoconfigure_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_configuration_processor_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_actuator_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_cache_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_data_redis_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_1_7_RELEASE.xml │ │ ├── Maven__org_springframework_data_spring_data_commons_2_1_10_RELEASE.xml │ │ ├── Maven__org_springframework_data_spring_data_keyvalue_2_1_10_RELEASE.xml │ │ ├── Maven__org_springframework_data_spring_data_redis_2_1_10_RELEASE.xml │ │ ├── Maven__org_springframework_plugin_spring_plugin_core_1_2_0_RELEASE.xml │ │ ├── Maven__org_springframework_plugin_spring_plugin_metadata_1_2_0_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_support_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jdbc_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_oxm_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_3_RELEASE.xml │ │ ├── Maven__org_springframework_spring_tx_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_1_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_1_9_RELEASE.xml │ │ ├── Maven__org_yaml_snakeyaml_1_23.xml │ │ ├── Maven__p6spy_p6spy_3_8_5.xml │ │ ├── Maven__redis_clients_jedis_2_9_3.xml │ │ ├── Maven__stax_stax_api_1_0_1.xml │ │ ├── Maven__xerces_xercesImpl_2_11_0.xml │ │ ├── Maven__xml_apis_xml_apis_1_4_01.xml │ │ ├── Maven__xmlpull_xmlpull_1_1_3_1.xml │ │ └── Maven__xpp3_xpp3_min_1_1_4c.xml │ ├── misc.xml │ └── modules.xml ├── febs_shiro_jwt.iml ├── pom.xml └── src │ └── main │ ├── java │ └── cc │ │ └── mrbird │ │ └── febs │ │ ├── FebsApplication.java │ │ ├── common │ │ ├── annotation │ │ │ ├── DataFilter.java │ │ │ ├── IsCron.java │ │ │ ├── Limit.java │ │ │ ├── Log.java │ │ │ └── NotBlank.java │ │ ├── aspect │ │ │ ├── LimitAspect.java │ │ │ └── LogAspect.java │ │ ├── authentication │ │ │ ├── JWTFilter.java │ │ │ ├── JWTToken.java │ │ │ ├── JWTUtil.java │ │ │ ├── ShiroConfig.java │ │ │ └── ShiroRealm.java │ │ ├── config │ │ │ ├── AsyncExecutorPoolConfig.java │ │ │ ├── FebsConfig.java │ │ │ ├── MyWebMvcConfigurerAdapter.java │ │ │ ├── MybatisPlusConfig.java │ │ │ ├── P6spySqlFormatConfig.java │ │ │ └── RedisConfig.java │ │ ├── controller │ │ │ └── BaseController.java │ │ ├── converter │ │ │ ├── DataScopeReadConverter.java │ │ │ ├── DataScopeWriteConverter.java │ │ │ └── TimeConverter.java │ │ ├── domain │ │ │ ├── ActiveUser.java │ │ │ ├── FebsConstant.java │ │ │ ├── FebsResponse.java │ │ │ ├── LimitType.java │ │ │ ├── QueryRequest.java │ │ │ ├── RedisInfo.java │ │ │ ├── RegexpConstant.java │ │ │ ├── Tree.java │ │ │ └── router │ │ │ │ ├── RouterMeta.java │ │ │ │ └── VueRouter.java │ │ ├── enums │ │ │ └── FilterType.java │ │ ├── exception │ │ │ ├── FebsException.java │ │ │ ├── LimitAccessException.java │ │ │ ├── RedisConnectException.java │ │ │ ├── TokenTimeoutException.java │ │ │ └── code │ │ │ │ └── Code.java │ │ ├── function │ │ │ ├── CacheSelector.java │ │ │ └── JedisExecutor.java │ │ ├── generator │ │ │ └── CodeGenerator.java │ │ ├── handler │ │ │ ├── GlobalExceptionHandler.java │ │ │ └── ResponseStat.java │ │ ├── interceptor │ │ │ └── PaginationInterceptorImpl.java │ │ ├── options │ │ │ └── DataScopeOptions.java │ │ ├── properties │ │ │ ├── FebsProperties.java │ │ │ ├── ShiroProperties.java │ │ │ └── SwaggerProperties.java │ │ ├── runner │ │ │ ├── CacheInitRunner.java │ │ │ └── StartedUpRunner.java │ │ ├── service │ │ │ ├── CacheService.java │ │ │ ├── RedisService.java │ │ │ └── impl │ │ │ │ ├── CacheServiceImpl.java │ │ │ │ └── RedisServiceImpl.java │ │ ├── task │ │ │ └── CacheTask.java │ │ ├── utils │ │ │ ├── AddressUtil.java │ │ │ ├── AesEncryptUtil.java │ │ │ ├── DateUtil.java │ │ │ ├── EncryptUtil.java │ │ │ ├── FebsUtil.java │ │ │ ├── FileNameUtils.java │ │ │ ├── FileUtils.java │ │ │ ├── HttpContextUtil.java │ │ │ ├── HttpUtil.java │ │ │ ├── IPUtil.java │ │ │ ├── MD5Util.java │ │ │ ├── R.java │ │ │ ├── SortUtil.java │ │ │ ├── SpringContextUtil.java │ │ │ └── TreeUtil.java │ │ └── validator │ │ │ ├── CronValidator.java │ │ │ └── NotBlankValidator.java │ │ ├── cos │ │ ├── controller │ │ │ ├── EvaluationController.java │ │ │ ├── FileController.java │ │ │ ├── HotelController.java │ │ │ ├── OrderController.java │ │ │ ├── RoomController.java │ │ │ ├── RoomTypeController.java │ │ │ └── WebController.java │ │ ├── dao │ │ │ ├── EvaluationMapper.java │ │ │ ├── HotelMapper.java │ │ │ ├── OrderMapper.java │ │ │ ├── RoomMapper.java │ │ │ └── RoomTypeMapper.java │ │ └── service │ │ │ ├── IEvaluationService.java │ │ │ ├── IHotelService.java │ │ │ ├── IOrderService.java │ │ │ ├── IRoomService.java │ │ │ ├── IRoomTypeService.java │ │ │ └── impl │ │ │ ├── EvaluationServiceImpl.java │ │ │ ├── HotelServiceImpl.java │ │ │ ├── OrderServiceImpl.java │ │ │ ├── RoomServiceImpl.java │ │ │ └── RoomTypeServiceImpl.java │ │ ├── job │ │ ├── config │ │ │ └── ScheduleConfig.java │ │ ├── controller │ │ │ ├── JobController.java │ │ │ └── JobLogController.java │ │ ├── dao │ │ │ ├── JobLogMapper.java │ │ │ └── JobMapper.java │ │ ├── domain │ │ │ ├── Job.java │ │ │ └── JobLog.java │ │ ├── service │ │ │ ├── JobLogService.java │ │ │ ├── JobService.java │ │ │ └── impl │ │ │ │ ├── JobLogServiceImpl.java │ │ │ │ └── JobServiceImpl.java │ │ ├── task │ │ │ └── TestTask.java │ │ └── util │ │ │ ├── ScheduleJob.java │ │ │ ├── ScheduleRunnable.java │ │ │ └── ScheduleUtils.java │ │ ├── system │ │ ├── controller │ │ │ ├── DeptController.java │ │ │ ├── DictController.java │ │ │ ├── LogController.java │ │ │ ├── LoginController.java │ │ │ ├── MenuController.java │ │ │ ├── RedisController.java │ │ │ ├── RoleController.java │ │ │ ├── TestController.java │ │ │ └── UserController.java │ │ ├── dao │ │ │ ├── CityMapper.java │ │ │ ├── DeptMapper.java │ │ │ ├── DictMapper.java │ │ │ ├── LogMapper.java │ │ │ ├── LoginLogMapper.java │ │ │ ├── MenuMapper.java │ │ │ ├── RoleMapper.java │ │ │ ├── RoleMenuMapper.java │ │ │ ├── TestMapper.java │ │ │ ├── UserConfigMapper.java │ │ │ ├── UserMapper.java │ │ │ └── UserRoleMapper.java │ │ ├── domain │ │ │ ├── City.java │ │ │ ├── Dept.java │ │ │ ├── DeptUsers.java │ │ │ ├── Dict.java │ │ │ ├── LoginLog.java │ │ │ ├── Menu.java │ │ │ ├── Role.java │ │ │ ├── RoleMenu.java │ │ │ ├── SysLog.java │ │ │ ├── Test.java │ │ │ ├── User.java │ │ │ ├── UserConfig.java │ │ │ └── UserRole.java │ │ ├── manager │ │ │ └── UserManager.java │ │ └── service │ │ │ ├── CityService.java │ │ │ ├── DeptService.java │ │ │ ├── DictService.java │ │ │ ├── LogService.java │ │ │ ├── LoginLogService.java │ │ │ ├── MenuService.java │ │ │ ├── RoleMenuServie.java │ │ │ ├── RoleService.java │ │ │ ├── TestService.java │ │ │ ├── UserConfigService.java │ │ │ ├── UserRoleService.java │ │ │ ├── UserService.java │ │ │ └── impl │ │ │ ├── DeptServiceImpl.java │ │ │ ├── DictServiceImpl.java │ │ │ ├── LogServiceImpl.java │ │ │ ├── LoginLogServiceImpl.java │ │ │ ├── MenuServiceImpl.java │ │ │ ├── RoleMenuServiceImpl.java │ │ │ ├── RoleServiceImpl.java │ │ │ ├── TestServiceImpl.java │ │ │ ├── UserConfigServiceImpl.java │ │ │ ├── UserRoleServiceImpl.java │ │ │ └── UserServiceImpl.java │ │ └── web │ │ └── controller │ │ ├── ArticleController.java │ │ ├── CityController.java │ │ ├── CityService.java │ │ ├── CityServiceImpl.java │ │ ├── MovieController.java │ │ └── WeatherController.java │ └── resources │ ├── ValidationMessages.properties │ ├── application.yml │ ├── banner.txt │ ├── generator │ └── templates │ │ ├── controller.java.ftl │ │ ├── entity.java.ftl │ │ ├── mapper.java.ftl │ │ ├── mapper.xml.ftl │ │ ├── service.java.ftl │ │ └── serviceImpl.java.ftl │ ├── ip2region │ └── ip2region.db │ ├── logback-spring.xml │ ├── mapper │ ├── cos │ │ ├── EvaluationMapper.xml │ │ ├── HotelMapper.xml │ │ ├── OrderMapper.xml │ │ ├── RoomMapper.xml │ │ └── RoomTypeMapper.xml │ ├── job │ │ └── JobMapper.xml │ └── system │ │ ├── LoginLogMapper.xml │ │ ├── MenuMapper.xml │ │ ├── RoleMapper.xml │ │ ├── UserMapper.xml │ │ └── UserRoleMapper.xml │ └── spy.properties └── frontend ├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .idea ├── codeStyles │ └── codeStyleConfig.xml ├── frontend.iml ├── modules.xml └── workspace.xml ├── .postcssrc.js ├── build ├── build.js ├── check-versions.js ├── logo.png ├── utils.js ├── vue-loader.conf.js ├── webpack.base.conf.js ├── webpack.dev.conf.js └── webpack.prod.conf.js ├── config ├── dev.env.js ├── index.js ├── prod.env.js └── test.env.js ├── index.html ├── package.json ├── src ├── FEBS.vue ├── components │ ├── checkbox │ │ ├── ColorCheckbox.vue │ │ └── ImgCheckbox.vue │ ├── datetime │ │ └── RangeDate.vue │ ├── exception │ │ ├── ExceptionPage.vue │ │ └── typeConfig.js │ ├── menu │ │ ├── Contextmenu.vue │ │ ├── SiderMenu.vue │ │ └── menu.js │ ├── setting │ │ ├── Setting.vue │ │ ├── SettingItem.vue │ │ └── StyleItem.vue │ └── tool │ │ └── Drawer.vue ├── main.js ├── router │ └── index.js ├── store │ ├── index.js │ └── modules │ │ ├── account.js │ │ ├── dict.js │ │ └── setting.js ├── utils │ ├── aesEncrypt.js │ ├── color.js │ ├── common.js │ ├── device.js │ ├── install.js │ ├── localstorage.js │ ├── permissionDirect.js │ ├── request.js │ └── utils.less └── views │ ├── HomePage.vue │ ├── HotelEdit.vue │ ├── common │ ├── EmptyPageView.vue │ ├── GlobalFooter.vue │ ├── GlobalHeader.vue │ ├── GlobalLayout.vue │ ├── HeadInfo.vue │ ├── HeaderAvatar.vue │ ├── MenuView.vue │ ├── PageContent.vue │ ├── PageLayout.vue │ ├── PageView.vue │ └── RunningTask.vue │ ├── cos │ ├── evaluation │ │ └── Evaluation.vue │ ├── order │ │ └── Order.vue │ ├── room │ │ ├── Room.vue │ │ ├── RoomAdd.vue │ │ └── RoomEdit.vue │ └── type │ │ ├── Type.vue │ │ ├── TypeAdd.vue │ │ └── TypeEdit.vue │ ├── error │ ├── 403.vue │ ├── 404.vue │ └── 500.vue │ ├── login │ ├── Common.vue │ ├── Login.vue │ └── Regist.vue │ ├── monitor │ ├── Httptrace.vue │ ├── JvmInfo.vue │ ├── Online.vue │ ├── RedisInfo.vue │ ├── RedisTerminal.vue │ ├── RequestLog.vue │ ├── SystemInfo.vue │ ├── SystemLog.vue │ └── TomcatInfo.vue │ ├── others │ ├── Excel.vue │ └── ImportResult.vue │ ├── personal │ ├── Profile.vue │ ├── UpdateAvatar.vue │ ├── UpdatePassword.vue │ └── UpdateProfile.vue │ ├── quartz │ ├── job │ │ ├── Job.vue │ │ ├── JobAdd.vue │ │ └── JobEdit.vue │ └── log │ │ └── JobLog.vue │ ├── system │ ├── dept │ │ ├── Dept.vue │ │ ├── DeptAdd.vue │ │ ├── DeptEdit.vue │ │ └── DeptInputTree.vue │ ├── dict │ │ ├── Dict.vue │ │ ├── DictAdd.vue │ │ └── DictEdit.vue │ ├── menu │ │ ├── ButtonAdd.vue │ │ ├── ButtonEdit.vue │ │ ├── Icon.less │ │ ├── Icons.vue │ │ ├── Menu.vue │ │ ├── MenuAdd.vue │ │ └── MenuEdit.vue │ ├── role │ │ ├── Role.vue │ │ ├── RoleAdd.vue │ │ ├── RoleEdit.vue │ │ └── RoleInfo.vue │ └── user │ │ ├── User.vue │ │ ├── UserAdd.vue │ │ ├── UserEdit.vue │ │ ├── UserInfo.less │ │ └── UserInfo.vue │ └── web │ ├── City.vue │ ├── CityAdd.vue │ ├── CityEdit.vue │ ├── DailyArticle.vue │ ├── ImportResult.vue │ ├── MovieComing.vue │ ├── MovieHot.vue │ └── Weather.vue ├── static ├── .gitkeep ├── avatar │ ├── 17e420c250804efe904a09a33796d5a10.jpg │ ├── 17e420c250804efe904a09a33796d5a16.jpg │ ├── 19034103295190235.jpg │ ├── 1d22f3e41d284f50b2c8fc32e0788698.jpeg │ ├── 20180414165754.jpg │ ├── 20180414165815.jpg │ ├── 20180414165821.jpg │ ├── 20180414165827.jpg │ ├── 20180414165834.jpg │ ├── 20180414165840.jpg │ ├── 20180414165846.jpg │ ├── 20180414165855.jpg │ ├── 20180414165909.jpg │ ├── 20180414165914.jpg │ ├── 20180414165920.jpg │ ├── 20180414165927.jpg │ ├── 20180414165936.jpg │ ├── 20180414165942.jpg │ ├── 20180414165947.jpg │ ├── 20180414165955.jpg │ ├── 20180414170003.jpg │ ├── 2dd7a2d09fa94bf8b5c52e5318868b4d9.jpg │ ├── 2dd7a2d09fa94bf8b5c52e5318868b4df.jpg │ ├── 496b3ace787342f7954b7045b8b06804.jpeg │ ├── 595ba7b05f2e485eb50565a50cb6cc3c.jpeg │ ├── 5997fedcc7bd4cffbd350b40d1b5b9824.jpg │ ├── 5997fedcc7bd4cffbd350b40d1b5b987.jpg │ ├── 87d8194bc9834e9f8f0228e9e530beb1.jpeg │ ├── 8f5b60ef00714a399ee544d331231820.jpeg │ ├── 964e40b005724165b8cf772355796c8c.jpeg │ ├── BiazfanxmamNRoxxVxka.png │ ├── WhxKECPNujWoWEFNdnJE.png │ ├── a3b10296862e40edb811418d64455d00.jpeg │ ├── a43456282d684e0b9319cf332f8ac468.jpeg │ ├── bba284ac05b041a8b8b0d1927868d5c9x.jpg │ ├── c7c4ee7be3eb4e73a19887dc713505145.jpg │ ├── cnrhVkzwxjPwAaCfPbdc.png │ ├── default.jpg │ ├── ff698bb2d25c4d218b3256b46c706ece.jpeg │ ├── gaOngJwsRYRaVAuXXcmB.png │ ├── jZUIxmJycoymBprLOUbT.png │ └── ubnKSIfAJTxIgXOKlciN.png ├── file │ └── city.json ├── image │ ├── SA1617423142777.jpg │ ├── SA1617425981489.jpg │ ├── SA1617426937451.jpg │ ├── SA1617426940326.jpg │ ├── SA1617426942901.jpg │ ├── SA1617426947549.jpg │ ├── SA1617426950492.jpg │ ├── SA1617426957720.jpg │ ├── SA1617426960055.jpg │ ├── SA1617457143963.jpg │ ├── SA1617458230265.jpg │ ├── SA1617458815446.jpg │ ├── SA1617458823429.png │ └── SA1617607734841.png ├── img │ ├── favicon.ico │ ├── logo-blue.png │ ├── logo.png │ ├── side-bar-dark.svg │ ├── side-bar-left.svg │ ├── side-bar-light.svg │ └── side-bar-top.svg └── less │ ├── Color.less │ ├── Common.less │ └── less.min.js └── yarn.lock /app/common/request.js: -------------------------------------------------------------------------------- 1 | function httpRequest(url, data, method, header, callback) { 2 | wx.request({ 3 | url: url, 4 | data: data, 5 | method: method, 6 | header: header, 7 | success: function (result) { 8 | return typeof callback == 'function' && callback(result.data); 9 | }, 10 | fail: function () { 11 | return typeof callback == 'function' && callback(false); 12 | } 13 | }) 14 | } 15 | 16 | module.exports = { httpRequest: httpRequest } -------------------------------------------------------------------------------- /app/common/template.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/components/clearInput/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/components/clearInput/clear.png -------------------------------------------------------------------------------- /app/components/clearInput/clearInput.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /app/components/clearInput/clearInput.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/components/clearInput/clearInput.wxss: -------------------------------------------------------------------------------- 1 | /* components/clearInput/clearInput.wxss */ 2 | 3 | .clearInput { 4 | display: -webkit-flex; 5 | margin: 16rpx; 6 | padding: 8rpx 14rpx 8rpx 8rpx; 7 | font-size: 24rpx; 8 | border-radius: 16rpx; 9 | border: 1rpx solid gray; 10 | align-items: center; 11 | } 12 | 13 | .searchImg { 14 | width: 35rpx; 15 | height: 35rpx; 16 | vertical-align: center; 17 | } 18 | 19 | .clearImgShow { 20 | width: 35rpx; 21 | height: 35rpx; 22 | vertical-align: center; 23 | } 24 | 25 | .clearImgHide { 26 | display: none; 27 | } 28 | -------------------------------------------------------------------------------- /app/components/clearInput/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/components/clearInput/search.png -------------------------------------------------------------------------------- /app/components/selectCity/selectCity.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /app/dist/action-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/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 | -------------------------------------------------------------------------------- /app/dist/area/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/area/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function displayColumns(columns, columnsNum) { 3 | return columns.slice(0, +columnsNum); 4 | } 5 | 6 | module.exports = { 7 | displayColumns: displayColumns, 8 | }; 9 | -------------------------------------------------------------------------------- /app/dist/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /app/dist/button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/calendar/components/header/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/calendar/components/header/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../../../common/component'; 2 | VantComponent({ 3 | props: { 4 | title: { 5 | type: String, 6 | value: '日期选择', 7 | }, 8 | subtitle: String, 9 | showTitle: Boolean, 10 | showSubtitle: Boolean, 11 | }, 12 | data: { 13 | weekdays: ['日', '一', '二', '三', '四', '五', '六'], 14 | }, 15 | methods: {}, 16 | }); 17 | -------------------------------------------------------------------------------- /app/dist/calendar/components/header/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/calendar/components/header/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ title }} 5 | 6 | 7 | 8 | {{ subtitle }} 9 | 10 | 11 | 12 | 13 | {{ item }} 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/dist/calendar/components/month/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/calendar/components/month/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/calendar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/calendar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "header": "./components/header/index", 5 | "month": "./components/month/index", 6 | "van-button": "../button/index", 7 | "van-popup": "../popup/index", 8 | "van-toast": "../toast/index" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /app/dist/card/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/cell-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/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 | -------------------------------------------------------------------------------- /app/dist/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | {{ title }} 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/dist/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group__title{padding:16px 16px 8px;padding:var(--cell-group-title-padding,16px 16px 8px);font-size:14px;font-size:var(--cell-group-title-font-size,14px);line-height:16px;line-height:var(--cell-group-title-line-height,16px);color:#969799;color:var(--cell-group-title-color,#969799)} -------------------------------------------------------------------------------- /app/dist/cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/cell/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function titleStyle(data) { 6 | return style([ 7 | { 8 | 'max-width': addUnit(data.titleWidth), 9 | 'min-width': addUnit(data.titleWidth), 10 | }, 11 | data.titleStyle, 12 | ]); 13 | } 14 | 15 | module.exports = { 16 | titleStyle: titleStyle, 17 | }; 18 | -------------------------------------------------------------------------------- /app/dist/checkbox-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/dist/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /app/dist/checkbox/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/checkbox/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) { 6 | var styles = { 7 | 'font-size': addUnit(iconSize), 8 | }; 9 | 10 | if (checkedColor && value && !disabled && !parentDisabled) { 11 | styles['border-color'] = checkedColor; 12 | styles['background-color'] = checkedColor; 13 | } 14 | 15 | return style(styles); 16 | } 17 | 18 | module.exports = { 19 | iconStyle: iconStyle, 20 | }; 21 | -------------------------------------------------------------------------------- /app/dist/circle/canvas.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare type CanvasContext = WechatMiniprogram.CanvasContext; 3 | export declare function adaptor( 4 | ctx: CanvasContext & Record 5 | ): CanvasContext; 6 | export {}; 7 | -------------------------------------------------------------------------------- /app/dist/circle/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /app/dist/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{position:relative;display:inline-block;text-align:center}.van-circle__text{position:absolute;top:50%;left:0;width:100%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#323233;color:var(--circle-text-color,#323233)} -------------------------------------------------------------------------------- /app/dist/col/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/col/index.js: -------------------------------------------------------------------------------- 1 | import { useParent } from '../common/relation'; 2 | import { VantComponent } from '../common/component'; 3 | VantComponent({ 4 | relation: useParent('row'), 5 | props: { 6 | span: Number, 7 | offset: Number, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /app/dist/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/dist/col/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | if (!data.gutter) { 7 | return ''; 8 | } 9 | 10 | return style({ 11 | 'padding-right': addUnit(data.gutter / 2), 12 | 'padding-left': addUnit(data.gutter / 2), 13 | }); 14 | } 15 | 16 | module.exports = { 17 | rootStyle: rootStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /app/dist/collapse-item/animate.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare function setContentAnimate( 3 | context: WechatMiniprogram.Component.TrivialInstance, 4 | expanded: boolean, 5 | mounted: boolean 6 | ): void; 7 | -------------------------------------------------------------------------------- /app/dist/collapse-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/collapse/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/dist/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /app/dist/common/color.d.ts: -------------------------------------------------------------------------------- 1 | export declare const RED = "#ee0a24"; 2 | export declare const BLUE = "#1989fa"; 3 | export declare const WHITE = "#fff"; 4 | export declare const GREEN = "#07c160"; 5 | export declare const ORANGE = "#ff976a"; 6 | export declare const GRAY = "#323233"; 7 | export declare const GRAY_DARK = "#969799"; 8 | -------------------------------------------------------------------------------- /app/dist/common/color.js: -------------------------------------------------------------------------------- 1 | export const RED = '#ee0a24'; 2 | export const BLUE = '#1989fa'; 3 | export const WHITE = '#fff'; 4 | export const GREEN = '#07c160'; 5 | export const ORANGE = '#ff976a'; 6 | export const GRAY = '#323233'; 7 | export const GRAY_DARK = '#969799'; 8 | -------------------------------------------------------------------------------- /app/dist/common/component.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { VantComponentOptions } from '../definitions/index'; 3 | declare function VantComponent< 4 | Data extends WechatMiniprogram.Component.DataOption, 5 | Props extends WechatMiniprogram.Component.PropertyOption, 6 | Methods extends WechatMiniprogram.Component.MethodOption 7 | >(vantOptions: VantComponentOptions): void; 8 | export { VantComponent }; 9 | -------------------------------------------------------------------------------- /app/dist/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /app/dist/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /app/dist/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/dist/common/style/mixins/clearfix.wxss -------------------------------------------------------------------------------- /app/dist/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/dist/common/style/mixins/ellipsis.wxss -------------------------------------------------------------------------------- /app/dist/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/dist/common/style/mixins/hairline.wxss -------------------------------------------------------------------------------- /app/dist/common/style/theme.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/dist/common/style/theme.wxss -------------------------------------------------------------------------------- /app/dist/common/style/var.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fankekeke/EVA-3/e00866e5c620374bf901090ed17f86f5f11ca328/app/dist/common/style/var.wxss -------------------------------------------------------------------------------- /app/dist/common/validator.d.ts: -------------------------------------------------------------------------------- 1 | export declare function isFunction(val: unknown): val is Function; 2 | export declare function isPlainObject( 3 | val: unknown 4 | ): val is Record; 5 | export declare function isPromise(val: unknown): val is Promise; 6 | export declare function isDef(value: unknown): boolean; 7 | export declare function isObj(x: unknown): x is Record; 8 | export declare function isNumber(value: string): boolean; 9 | export declare function isBoolean(value: unknown): value is boolean; 10 | export declare function isImageUrl(url: string): boolean; 11 | export declare function isVideoUrl(url: string): boolean; 12 | -------------------------------------------------------------------------------- /app/dist/common/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare function canIUseModel(): boolean; 2 | export declare function canIUseFormFieldButton(): boolean; 3 | export declare function canIUseAnimate(): boolean; 4 | export declare function canIUseGroupSetData(): boolean; 5 | export declare function canIUseNextTick(): boolean; 6 | export declare function canIUseCanvas2d(): boolean; 7 | -------------------------------------------------------------------------------- /app/dist/count-down/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /app/dist/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:#323233;color:var(--count-down-text-color,#323233);font-size:14px;font-size:var(--count-down-font-size,14px);line-height:20px;line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /app/dist/count-down/utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare type TimeData = { 2 | days: number; 3 | hours: number; 4 | minutes: number; 5 | seconds: number; 6 | milliseconds: number; 7 | }; 8 | export declare function parseTimeData(time: number): TimeData; 9 | export declare function parseFormat(format: string, timeData: TimeData): string; 10 | export declare function isSameSecond(time1: number, time2: number): boolean; 11 | -------------------------------------------------------------------------------- /app/dist/datetime-picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/datetime-picker/index.wxml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /app/dist/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /app/dist/definitions/index.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/dialog/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-button": "../button/index", 6 | "van-goods-action": "../goods-action/index", 7 | "van-goods-action-button": "../goods-action-button/index" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/dist/divider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/divider/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dashed: Boolean, 5 | hairline: Boolean, 6 | contentPosition: String, 7 | fontSize: String, 8 | borderColor: String, 9 | textColor: String, 10 | customStyle: String, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /app/dist/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /app/dist/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/dist/divider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style([ 7 | { 8 | 'border-color': data.borderColor, 9 | color: data.textColor, 10 | 'font-size': addUnit(data.fontSize), 11 | }, 12 | data.customStyle, 13 | ]); 14 | } 15 | 16 | module.exports = { 17 | rootStyle: rootStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /app/dist/dropdown-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/dropdown-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "van-cell": "../cell/index", 6 | "van-icon": "../icon/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /app/dist/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{position:fixed;right:0;left:0;overflow:hidden}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active .van-dropdown-item__icon,.van-dropdown-item__option--active .van-dropdown-item__title{color:#ee0a24;color:var(--dropdown-menu-option-active-color,#ee0a24)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__icon{display:block;line-height:inherit} -------------------------------------------------------------------------------- /app/dist/dropdown-item/shared.d.ts: -------------------------------------------------------------------------------- 1 | export interface Option { 2 | text: string; 3 | value: string | number; 4 | icon: string; 5 | } 6 | -------------------------------------------------------------------------------- /app/dist/dropdown-item/shared.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/dropdown-menu/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/dropdown-menu/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function displayTitle(item) { 3 | if (item.title) { 4 | return item.title; 5 | } 6 | 7 | var match = item.options.filter(function(option) { 8 | return option.value === item.value; 9 | }); 10 | var displayTitle = match.length ? match[0].text : ''; 11 | return displayTitle; 12 | } 13 | 14 | module.exports = { 15 | displayTitle: displayTitle 16 | }; 17 | -------------------------------------------------------------------------------- /app/dist/empty/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/empty/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | description: String, 5 | image: { 6 | type: String, 7 | value: 'default', 8 | }, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /app/dist/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /app/dist/empty/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESETS = ['error', 'search', 'default', 'network']; 3 | 4 | function imageUrl(image) { 5 | if (PRESETS.indexOf(image) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/empty-image-' + image + '.png'; 7 | } 8 | 9 | return image; 10 | } 11 | 12 | module.exports = { 13 | imageUrl: imageUrl, 14 | }; 15 | -------------------------------------------------------------------------------- /app/dist/field/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/field/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function inputStyle(autosize) { 6 | if (autosize && autosize.constructor === 'Object') { 7 | return style({ 8 | 'min-height': addUnit(autosize.minHeight), 9 | 'max-height': addUnit(autosize.maxHeight), 10 | }); 11 | } 12 | 13 | return ''; 14 | } 15 | 16 | module.exports = { 17 | inputStyle: inputStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /app/dist/field/props.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const commonProps: WechatMiniprogram.Component.PropertyOption; 3 | export declare const inputProps: WechatMiniprogram.Component.PropertyOption; 4 | export declare const textareaProps: WechatMiniprogram.Component.PropertyOption; 5 | -------------------------------------------------------------------------------- /app/dist/goods-action-button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/goods-action-icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/goods-action-icon/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { button } from '../mixins/button'; 3 | import { link } from '../mixins/link'; 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 | dot: Boolean, 11 | info: String, 12 | icon: String, 13 | disabled: Boolean, 14 | loading: Boolean, 15 | }, 16 | methods: { 17 | onClick(event) { 18 | this.$emit('click', event.detail); 19 | this.jumpLink(); 20 | }, 21 | }, 22 | }); 23 | -------------------------------------------------------------------------------- /app/dist/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/goods-action/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/goods-action/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { useChildren } from '../common/relation'; 3 | VantComponent({ 4 | relation: useChildren('goods-action-button', function () { 5 | this.children.forEach((item) => { 6 | item.updateStyle(); 7 | }); 8 | }), 9 | props: { 10 | safeAreaInsetBottom: { 11 | type: Boolean, 12 | value: true, 13 | }, 14 | }, 15 | }); 16 | -------------------------------------------------------------------------------- /app/dist/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/dist/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;box-sizing:initial;height:50px;height:var(--goods-action-height,50px);background-color:#fff;background-color:var(--goods-action-background-color,#fff)}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /app/dist/grid-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/grid/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/dist/grid/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style({ 7 | 'padding-left': addUnit(data.gutter), 8 | }); 9 | } 10 | 11 | module.exports = { 12 | rootStyle: rootStyle, 13 | }; 14 | -------------------------------------------------------------------------------- /app/dist/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{position:relative;box-sizing:border-box;overflow:hidden} -------------------------------------------------------------------------------- /app/dist/icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/icon/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dot: Boolean, 5 | info: null, 6 | size: null, 7 | color: String, 8 | customStyle: String, 9 | classPrefix: { 10 | type: String, 11 | value: 'van-icon', 12 | }, 13 | name: String, 14 | }, 15 | methods: { 16 | onClick() { 17 | this.$emit('click'); 18 | }, 19 | }, 20 | }); 21 | -------------------------------------------------------------------------------- /app/dist/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/icon/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 14 | 20 | 21 | -------------------------------------------------------------------------------- /app/dist/image/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/index-anchor/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/dist/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{padding:0 16px;padding:var(--index-anchor-padding,0 16px);color:#323233;color:var(--index-anchor-text-color,#323233);font-weight:500;font-weight:var(--index-anchor-font-weight,500);font-size:14px;font-size:var(--index-anchor-font-size,14px);line-height:32px;line-height:var(--index-anchor-line-height,32px);background-color:initial;background-color:var(--index-anchor-background-color,transparent)}.van-index-anchor--active{right:0;left:0;color:#07c160;color:var(--index-anchor-active-text-color,#07c160);background-color:#fff;background-color:var(--index-anchor-active-background-color,#fff)} -------------------------------------------------------------------------------- /app/dist/index-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/index-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 19 | {{ item }} 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/dist/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{position:fixed;top:50%;right:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-weight:500;padding:0 4px 0 16px;padding:0 var(--padding-base,4px) 0 var(--padding-md,16px);font-size:10px;font-size:var(--index-bar-index-font-size,10px);line-height:14px;line-height:var(--index-bar-index-line-height,14px)} -------------------------------------------------------------------------------- /app/dist/info/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/info/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dot: Boolean, 5 | info: null, 6 | customStyle: String, 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /app/dist/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /app/dist/loading/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/loading/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | color: String, 5 | vertical: Boolean, 6 | type: { 7 | type: String, 8 | value: 'circular', 9 | }, 10 | size: String, 11 | textSize: String, 12 | }, 13 | data: { 14 | array12: Array.from({ length: 12 }), 15 | }, 16 | }); 17 | -------------------------------------------------------------------------------- /app/dist/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/loading/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/dist/loading/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function spinnerStyle(data) { 6 | return style({ 7 | color: data.color, 8 | width: addUnit(data.size), 9 | height: addUnit(data.size), 10 | }); 11 | } 12 | 13 | function textStyle(data) { 14 | return style({ 15 | 'font-size': addUnit(data.textSize), 16 | }); 17 | } 18 | 19 | module.exports = { 20 | spinnerStyle: spinnerStyle, 21 | textStyle: textStyle, 22 | }; 23 | -------------------------------------------------------------------------------- /app/dist/mixins/basic.d.ts: -------------------------------------------------------------------------------- 1 | export declare const basic: string; 2 | -------------------------------------------------------------------------------- /app/dist/mixins/basic.js: -------------------------------------------------------------------------------- 1 | export const basic = Behavior({ 2 | methods: { 3 | $emit(name, detail, options) { 4 | this.triggerEvent(name, detail, options); 5 | }, 6 | set(data) { 7 | this.setData(data); 8 | return new Promise((resolve) => wx.nextTick(resolve)); 9 | }, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /app/dist/mixins/button.d.ts: -------------------------------------------------------------------------------- 1 | export declare const button: string; 2 | -------------------------------------------------------------------------------- /app/dist/mixins/button.js: -------------------------------------------------------------------------------- 1 | export const button = Behavior({ 2 | externalClasses: ['hover-class'], 3 | properties: { 4 | id: String, 5 | lang: String, 6 | businessId: Number, 7 | sessionFrom: String, 8 | sendMessageTitle: String, 9 | sendMessagePath: String, 10 | sendMessageImg: String, 11 | showMessageCard: Boolean, 12 | appParameter: String, 13 | ariaLabel: String, 14 | }, 15 | }); 16 | -------------------------------------------------------------------------------- /app/dist/mixins/link.d.ts: -------------------------------------------------------------------------------- 1 | export declare const link: string; 2 | -------------------------------------------------------------------------------- /app/dist/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 | if ( 14 | this.data.linkType === 'navigateTo' && 15 | getCurrentPages().length > 9 16 | ) { 17 | wx.redirectTo({ url }); 18 | } else { 19 | wx[this.data.linkType]({ url }); 20 | } 21 | } 22 | }, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /app/dist/mixins/open-type.d.ts: -------------------------------------------------------------------------------- 1 | export declare const openType: string; 2 | -------------------------------------------------------------------------------- /app/dist/mixins/page-scroll.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare type IPageScrollOption = WechatMiniprogram.Page.IPageScrollOption; 3 | declare type Scroller = ( 4 | this: WechatMiniprogram.Component.TrivialInstance, 5 | event?: IPageScrollOption 6 | ) => void; 7 | export declare const pageScrollMixin: (scroller: Scroller) => string; 8 | export {}; 9 | -------------------------------------------------------------------------------- /app/dist/mixins/touch.d.ts: -------------------------------------------------------------------------------- 1 | export declare const touch: string; 2 | -------------------------------------------------------------------------------- /app/dist/mixins/transition.d.ts: -------------------------------------------------------------------------------- 1 | export declare function transition(showDefaultValue: boolean): string; 2 | -------------------------------------------------------------------------------- /app/dist/nav-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/nav-bar/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function barStyle(data) { 5 | return style({ 6 | 'z-index': data.zIndex, 7 | 'padding-top': data.safeAreaInsetTop ? data.statusBarHeight + 'px' : 0, 8 | }); 9 | } 10 | 11 | module.exports = { 12 | barStyle: barStyle, 13 | }; 14 | -------------------------------------------------------------------------------- /app/dist/notice-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/notice-bar/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style({ 7 | color: data.color, 8 | 'background-color': data.backgroundColor, 9 | background: data.background, 10 | }); 11 | } 12 | 13 | module.exports = { 14 | rootStyle: rootStyle, 15 | }; 16 | -------------------------------------------------------------------------------- /app/dist/notify/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/notify/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 15 | 19 | {{ message }} 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/dist/notify/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | return style({ 7 | 'z-index': data.zIndex, 8 | top: addUnit(data.top), 9 | }); 10 | } 11 | 12 | function notifyStyle(data) { 13 | return style({ 14 | background: data.background, 15 | color: data.color, 16 | }); 17 | } 18 | 19 | module.exports = { 20 | rootStyle: rootStyle, 21 | notifyStyle: notifyStyle, 22 | }; 23 | -------------------------------------------------------------------------------- /app/dist/notify/notify.d.ts: -------------------------------------------------------------------------------- 1 | interface NotifyOptions { 2 | type?: 'primary' | 'success' | 'danger' | 'warning'; 3 | color?: string; 4 | zIndex?: number; 5 | top?: number; 6 | message: string; 7 | context?: any; 8 | duration?: number; 9 | selector?: string; 10 | background?: string; 11 | safeAreaInsetTop?: boolean; 12 | onClick?: () => void; 13 | onOpened?: () => void; 14 | onClose?: () => void; 15 | } 16 | declare function Notify(options: NotifyOptions | string): any; 17 | declare namespace Notify { 18 | var clear: (options?: NotifyOptions | undefined) => void; 19 | } 20 | export default Notify; 21 | -------------------------------------------------------------------------------- /app/dist/overlay/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/overlay/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | show: Boolean, 5 | customStyle: String, 6 | duration: { 7 | type: null, 8 | value: 300, 9 | }, 10 | zIndex: { 11 | type: Number, 12 | value: 1, 13 | }, 14 | }, 15 | methods: { 16 | onClick() { 17 | this.$emit('click'); 18 | }, 19 | // for prevent touchmove 20 | noop() {}, 21 | }, 22 | }); 23 | -------------------------------------------------------------------------------- /app/dist/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/overlay/index.wxml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/dist/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);background-color:var(--overlay-background-color,rgba(0,0,0,.7))} -------------------------------------------------------------------------------- /app/dist/panel/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/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 | -------------------------------------------------------------------------------- /app/dist/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/panel/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/dist/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:#fff;background:var(--panel-background-color,#fff)}.van-panel__header-value{color:#ee0a24;color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:8px 16px;padding:var(--panel-footer-padding,8px 16px)} -------------------------------------------------------------------------------- /app/dist/picker-column/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;text-align:center;color:#000;color:var(--picker-option-text-color,#000);font-size:16px;font-size:var(--picker-option-font-size,16px)}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{font-weight:500;font-weight:var(--font-weight-bold,500);color:#323233;color:var(--picker-option-selected-text-color,#323233)}.van-picker-column__item--disabled{opacity:.3;opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /app/dist/picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/picker/shared.d.ts: -------------------------------------------------------------------------------- 1 | export declare const pickerProps: { 2 | title: StringConstructor; 3 | loading: BooleanConstructor; 4 | showToolbar: BooleanConstructor; 5 | cancelButtonText: { 6 | type: StringConstructor; 7 | value: string; 8 | }; 9 | confirmButtonText: { 10 | type: StringConstructor; 11 | value: string; 12 | }; 13 | visibleItemCount: { 14 | type: NumberConstructor; 15 | value: number; 16 | }; 17 | itemHeight: { 18 | type: NumberConstructor; 19 | value: number; 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /app/dist/picker/shared.js: -------------------------------------------------------------------------------- 1 | export const pickerProps = { 2 | title: String, 3 | loading: Boolean, 4 | showToolbar: Boolean, 5 | cancelButtonText: { 6 | type: String, 7 | value: '取消', 8 | }, 9 | confirmButtonText: { 10 | type: String, 11 | value: '确认', 12 | }, 13 | visibleItemCount: { 14 | type: Number, 15 | value: 6, 16 | }, 17 | itemHeight: { 18 | type: Number, 19 | value: 44, 20 | }, 21 | }; 22 | -------------------------------------------------------------------------------- /app/dist/popup/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-overlay": "../overlay/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/popup/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function popupStyle(data) { 5 | return style([ 6 | { 7 | 'z-index': data.zIndex, 8 | '-webkit-transition-duration': data.currentDuration + 'ms', 9 | 'transition-duration': data.currentDuration + 'ms', 10 | }, 11 | data.display ? null : 'display: none', 12 | data.customStyle, 13 | ]); 14 | } 15 | 16 | module.exports = { 17 | popupStyle: popupStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /app/dist/progress/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/radio-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/dist/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap} -------------------------------------------------------------------------------- /app/dist/radio/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/rate/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/rate/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-rate{display:-webkit-inline-flex;display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative;padding:0 2px;padding:0 var(--rate-horizontal-padding,2px)}.van-rate__icon{display:block;height:1em;font-size:20px;font-size:var(--rate-icon-size,20px)}.van-rate__icon--half{position:absolute;top:0;width:.5em;overflow:hidden;left:2px;left:var(--rate-horizontal-padding,2px)} -------------------------------------------------------------------------------- /app/dist/row/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/row/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { useChildren } from '../common/relation'; 3 | VantComponent({ 4 | relation: useChildren('col', function (target) { 5 | const { gutter } = this.data; 6 | if (gutter) { 7 | target.setData({ gutter }); 8 | } 9 | }), 10 | props: { 11 | gutter: { 12 | type: Number, 13 | observer: 'setGutter', 14 | }, 15 | }, 16 | methods: { 17 | setGutter() { 18 | this.children.forEach((col) => { 19 | col.setData(this.data); 20 | }); 21 | }, 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /app/dist/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/dist/row/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function rootStyle(data) { 6 | if (!data.gutter) { 7 | return ''; 8 | } 9 | 10 | return style({ 11 | 'margin-right': addUnit(-data.gutter / 2), 12 | 'margin-left': addUnit(-data.gutter / 2), 13 | }); 14 | } 15 | 16 | module.exports = { 17 | rootStyle: rootStyle, 18 | }; 19 | -------------------------------------------------------------------------------- /app/dist/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{display:table;clear:both;content:""} -------------------------------------------------------------------------------- /app/dist/search/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/share-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/share-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "options": "./options" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/share-sheet/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | function isMulti(options) { 3 | if (options == null || options[0] == null) { 4 | return false; 5 | } 6 | 7 | return "Array" === options.constructor && "Array" === options[0].constructor; 8 | } 9 | 10 | module.exports = { 11 | isMulti: isMulti 12 | }; 13 | -------------------------------------------------------------------------------- /app/dist/share-sheet/options.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/share-sheet/options.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | options: Array, 5 | showBorder: Boolean, 6 | }, 7 | methods: { 8 | onSelect(event) { 9 | const { index } = event.currentTarget.dataset; 10 | const option = this.data.options[index]; 11 | this.$emit('select', Object.assign(Object.assign({}, option), { index })); 12 | }, 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /app/dist/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'weibo', 'wechat', 'link', 'qrcode', 'poster']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-icon-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /app/dist/sidebar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/sidebar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/dist/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:80px;width:var(--sidebar-width,80px)} -------------------------------------------------------------------------------- /app/dist/skeleton/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /app/dist/slider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/slider/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function barStyle(barHeight, activeColor) { 6 | return style({ 7 | height: addUnit(barHeight), 8 | background: activeColor, 9 | }); 10 | } 11 | 12 | module.exports = { 13 | barStyle: barStyle, 14 | }; 15 | -------------------------------------------------------------------------------- /app/dist/stepper/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/stepper/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function buttonStyle(data) { 6 | return style({ 7 | width: addUnit(data.buttonSize), 8 | height: addUnit(data.buttonSize), 9 | }); 10 | } 11 | 12 | function inputStyle(data) { 13 | return style({ 14 | width: addUnit(data.inputWidth), 15 | height: addUnit(data.buttonSize), 16 | }); 17 | } 18 | 19 | module.exports = { 20 | buttonStyle: buttonStyle, 21 | inputStyle: inputStyle, 22 | }; 23 | -------------------------------------------------------------------------------- /app/dist/steps/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/sticky/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/dist/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{position:fixed;right:0;left:0} -------------------------------------------------------------------------------- /app/dist/submit-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/swipe-cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/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)} -------------------------------------------------------------------------------- /app/dist/switch/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/dist/tab/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/dist/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{-webkit-flex-shrink:0;flex-shrink:0;width:100%}.van-tab__pane,:host{box-sizing:border-box}.van-tab__pane{overflow-y:auto;-webkit-overflow-scrolling:touch}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /app/dist/tabbar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/tabbar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/dist/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;box-sizing:initial;width:100%;height:50px;height:var(--tabbar-height,50px);background-color:#fff;background-color:var(--tabbar-background-color,#fff)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /app/dist/tabs/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index", 5 | "van-sticky": "../sticky/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/tag/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/tag/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | size: String, 5 | mark: Boolean, 6 | color: String, 7 | plain: Boolean, 8 | round: Boolean, 9 | textColor: String, 10 | type: { 11 | type: String, 12 | value: 'default', 13 | }, 14 | closeable: Boolean, 15 | }, 16 | methods: { 17 | onClose() { 18 | this.$emit('close'); 19 | }, 20 | }, 21 | }); 22 | -------------------------------------------------------------------------------- /app/dist/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /app/dist/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /app/dist/tag/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function rootStyle(data) { 5 | return style({ 6 | 'background-color': data.plain ? '' : data.color, 7 | color: data.textColor || data.plain ? data.textColor || data.color : '', 8 | }); 9 | } 10 | 11 | module.exports = { 12 | rootStyle: rootStyle, 13 | }; 14 | -------------------------------------------------------------------------------- /app/dist/toast/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/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 | // for prevent touchmove 27 | noop() {}, 28 | }, 29 | }); 30 | -------------------------------------------------------------------------------- /app/dist/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 | -------------------------------------------------------------------------------- /app/dist/transition/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/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 | -------------------------------------------------------------------------------- /app/dist/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /app/dist/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/dist/transition/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | 4 | function rootStyle(data) { 5 | return style([ 6 | { 7 | '-webkit-transition-duration': data.currentDuration + 'ms', 8 | 'transition-duration': data.currentDuration + 'ms', 9 | }, 10 | data.display ? null : 'display: none', 11 | data.customStyle, 12 | ]); 13 | } 14 | 15 | module.exports = { 16 | rootStyle: rootStyle, 17 | }; 18 | -------------------------------------------------------------------------------- /app/dist/tree-select/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/tree-select/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-sidebar": "../sidebar/index", 6 | "van-sidebar-item": "../sidebar-item/index" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /app/dist/tree-select/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var array = require('../wxs/array.wxs'); 3 | 4 | function isActive (activeList, itemId) { 5 | if (array.isArray(activeList)) { 6 | return activeList.indexOf(itemId) > -1; 7 | } 8 | 9 | return activeList === itemId; 10 | } 11 | 12 | module.exports.isActive = isActive; 13 | -------------------------------------------------------------------------------- /app/dist/uploader/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /app/dist/uploader/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/dist/uploader/index.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var style = require('../wxs/style.wxs'); 3 | var addUnit = require('../wxs/add-unit.wxs'); 4 | 5 | function sizeStyle(data) { 6 | return style({ 7 | width: addUnit(data.previewSize), 8 | height: addUnit(data.previewSize), 9 | }); 10 | } 11 | 12 | module.exports = { 13 | sizeStyle: sizeStyle, 14 | }; 15 | -------------------------------------------------------------------------------- /app/dist/uploader/shared.js: -------------------------------------------------------------------------------- 1 | // props for choose image 2 | export const chooseImageProps = { 3 | sizeType: { 4 | type: Array, 5 | value: ['original', 'compressed'], 6 | }, 7 | capture: { 8 | type: Array, 9 | value: ['album', 'camera'], 10 | }, 11 | }; 12 | // props for choose video 13 | export const chooseVideoProps = { 14 | capture: { 15 | type: Array, 16 | value: ['album', 'camera'], 17 | }, 18 | compressed: { 19 | type: Boolean, 20 | value: true, 21 | }, 22 | maxDuration: { 23 | type: Number, 24 | value: 60, 25 | }, 26 | camera: { 27 | type: String, 28 | value: 'back', 29 | }, 30 | }; 31 | -------------------------------------------------------------------------------- /app/dist/wxs/add-unit.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var REGEXP = getRegExp('^-?\d+(\.\d+)?$'); 3 | 4 | function addUnit(value) { 5 | if (value == null) { 6 | return undefined; 7 | } 8 | 9 | return REGEXP.test('' + value) ? value + 'px' : value; 10 | } 11 | 12 | module.exports = addUnit; 13 | -------------------------------------------------------------------------------- /app/dist/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /app/dist/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 | -------------------------------------------------------------------------------- /app/dist/wxs/utils.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var bem = require('./bem.wxs'); 3 | var memoize = require('./memoize.wxs'); 4 | var addUnit = require('./add-unit.wxs'); 5 | 6 | module.exports = { 7 | bem: memoize(bem), 8 | memoize: memoize, 9 | addUnit: addUnit 10 | }; 11 | -------------------------------------------------------------------------------- /app/pages/bookHotel/bookHotel.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "客房预订", 3 | "backgroundColor": "#ffffff", 4 | "usingComponents": { 5 | "clearInput": "../../components/clearInput/clearInput", 6 | "van-field": "../../dist/field/index", 7 | "van-notify": "../../dist/notify/index", 8 | "van-toast": "../../dist/toast/index" 9 | } 10 | } -------------------------------------------------------------------------------- /app/pages/bookHotel/template.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/pages/homePage/homePage.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /app/pages/hotel/hotel.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-panel": "../../dist/panel/index" 4 | } 5 | } -------------------------------------------------------------------------------- /app/pages/hotel/hotel.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ hotel.address }} 4 | 5 | 6 | {{ hotel.phone }} 7 | 8 | 9 | {{ hotel.content }} 10 | 11 | 12 | {{ hotel.facility }} 13 | 14 | 15 | {{ hotel.tip }} 16 | -------------------------------------------------------------------------------- /app/pages/hotel/hotel.wxss: -------------------------------------------------------------------------------- 1 | /* pages/hotel/hotel.wxss */ 2 | .content_item { 3 | padding: 18px; 4 | color: gray; 5 | font-size: 12px; 6 | } -------------------------------------------------------------------------------- /app/pages/hotelDetail/hotelDetail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "酒店详情" 3 | } -------------------------------------------------------------------------------- /app/pages/hotelFilter/hotelFilter.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /app/pages/hotelFilter/hotelFilter.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |