Repository: umicro/uView Branch: master Commit: 1c73d473e15d Files: 287 Total size: 1.3 MB Directory structure: gitextract_471h43ez/ ├── .editorconfig ├── .eslintignore ├── .gitee/ │ └── ISSUE_TEMPLATE.zh-CN.md ├── .github/ │ └── ISSUE_TEMPLATE/ │ └── config.yml ├── .gitignore ├── .vscode/ │ └── settings.json ├── App.vue ├── LICENSE ├── README.md ├── common/ │ ├── classify.data.js │ ├── demo.scss │ ├── http.api.js │ ├── http.interceptor.js │ ├── index.list.js │ └── locales/ │ ├── en.js │ └── zh.js ├── components/ │ └── page-nav/ │ └── page-nav.vue ├── main.js ├── manifest.json ├── package.json ├── pages/ │ ├── componentsA/ │ │ ├── avatar/ │ │ │ └── index.vue │ │ ├── avatarCropper/ │ │ │ └── index.vue │ │ ├── backTop/ │ │ │ └── index.vue │ │ ├── calendar/ │ │ │ └── index.vue │ │ ├── empty/ │ │ │ └── index.vue │ │ ├── field/ │ │ │ └── index.vue │ │ ├── form/ │ │ │ └── index.vue │ │ ├── fullScreen/ │ │ │ └── index.vue │ │ ├── icon/ │ │ │ └── index.vue │ │ ├── indexList/ │ │ │ └── index.vue │ │ ├── keyboard/ │ │ │ └── index.vue │ │ ├── lazyLoad/ │ │ │ └── index.vue │ │ ├── modal/ │ │ │ └── index.vue │ │ ├── navbar/ │ │ │ └── index.vue │ │ ├── noNetwork/ │ │ │ └── index.vue │ │ ├── parse/ │ │ │ └── index.vue │ │ ├── select/ │ │ │ └── index.vue │ │ ├── slider/ │ │ │ └── index.vue │ │ ├── tabs/ │ │ │ └── index.vue │ │ ├── tag/ │ │ │ └── index.vue │ │ ├── test/ │ │ │ └── index.vue │ │ ├── timeLine/ │ │ │ └── index.vue │ │ ├── toast/ │ │ │ └── index.vue │ │ ├── topTips/ │ │ │ └── index.vue │ │ └── verificationCode/ │ │ └── index.vue │ ├── componentsB/ │ │ ├── card/ │ │ │ └── index.vue │ │ ├── checkbox/ │ │ │ └── index.vue │ │ ├── divider/ │ │ │ └── index.vue │ │ ├── dropdown/ │ │ │ └── index.vue │ │ ├── image/ │ │ │ └── index.vue │ │ ├── line/ │ │ │ └── index.vue │ │ ├── loading/ │ │ │ └── index.vue │ │ ├── noticeBar/ │ │ │ └── index.vue │ │ ├── picker/ │ │ │ └── index.vue │ │ ├── radio/ │ │ │ └── index.vue │ │ ├── rate/ │ │ │ └── index.vue │ │ ├── readMore/ │ │ │ └── index.vue │ │ ├── search/ │ │ │ └── index.vue │ │ ├── skeleton/ │ │ │ └── index.vue │ │ ├── steps/ │ │ │ └── index.vue │ │ ├── sticky/ │ │ │ └── index.vue │ │ ├── swipeAction/ │ │ │ └── index.vue │ │ ├── swiper/ │ │ │ └── index.vue │ │ ├── switch/ │ │ │ └── index.vue │ │ ├── tabbar/ │ │ │ └── index.vue │ │ ├── table/ │ │ │ └── index.vue │ │ ├── upload/ │ │ │ └── index.vue │ │ └── waterfall/ │ │ └── index.vue │ ├── componentsC/ │ │ ├── actionSheet/ │ │ │ └── index.vue │ │ ├── alertTips/ │ │ │ └── index.vue │ │ ├── badge/ │ │ │ └── index.vue │ │ ├── button/ │ │ │ └── index.vue │ │ ├── cell/ │ │ │ └── index.vue │ │ ├── circleProgress/ │ │ │ └── index.vue │ │ ├── collapse/ │ │ │ └── index.vue │ │ ├── color/ │ │ │ └── index.vue │ │ ├── countDown/ │ │ │ └── index.vue │ │ ├── countTo/ │ │ │ └── index.vue │ │ ├── gap/ │ │ │ └── index.vue │ │ ├── grid/ │ │ │ └── index.vue │ │ ├── layout/ │ │ │ └── index.vue │ │ ├── link/ │ │ │ └── index.vue │ │ ├── loadmore/ │ │ │ └── index.vue │ │ ├── mask/ │ │ │ └── index.vue │ │ ├── messageInput/ │ │ │ └── index.vue │ │ ├── numberBox/ │ │ │ └── index.vue │ │ ├── popup/ │ │ │ └── index.vue │ │ ├── progress/ │ │ │ └── index.vue │ │ ├── section/ │ │ │ └── index.vue │ │ ├── subsection/ │ │ │ └── index.vue │ │ └── test/ │ │ └── index.vue │ ├── example/ │ │ ├── components.config.js │ │ ├── components.vue │ │ ├── js.config.js │ │ ├── js.vue │ │ ├── template.config.js │ │ └── template.vue │ ├── library/ │ │ ├── color/ │ │ │ └── index.vue │ │ ├── colorSwitch/ │ │ │ └── index.vue │ │ ├── debounce/ │ │ │ └── index.vue │ │ ├── deepClone/ │ │ │ └── index.vue │ │ ├── deepMerge/ │ │ │ └── index.vue │ │ ├── getRect/ │ │ │ └── index.vue │ │ ├── globalVariable/ │ │ │ ├── globalData.vue │ │ │ ├── index.vue │ │ │ ├── prototype.vue │ │ │ └── vuex.vue │ │ ├── guid/ │ │ │ └── index.vue │ │ ├── http/ │ │ │ └── index.vue │ │ ├── md5/ │ │ │ └── index.vue │ │ ├── mpShare/ │ │ │ └── index.vue │ │ ├── queryParams/ │ │ │ └── index.vue │ │ ├── random/ │ │ │ └── index.vue │ │ ├── randomArray/ │ │ │ └── index.vue │ │ ├── route/ │ │ │ ├── index.vue │ │ │ └── routeTo.vue │ │ ├── test/ │ │ │ └── index.vue │ │ ├── timeFormat/ │ │ │ └── index.vue │ │ ├── timeFrom/ │ │ │ └── index.vue │ │ └── trim/ │ │ └── index.vue │ └── template/ │ ├── address/ │ │ ├── addSite.vue │ │ └── index.vue │ ├── citySelect/ │ │ ├── index.vue │ │ └── u-city-select.vue │ ├── comment/ │ │ ├── index.vue │ │ └── reply.vue │ ├── coupon/ │ │ └── index.vue │ ├── douyin/ │ │ └── index.nvue │ ├── keyboardPay/ │ │ └── index.vue │ ├── login/ │ │ ├── code.vue │ │ └── index.vue │ ├── mallMenu/ │ │ ├── index1.vue │ │ └── index2.vue │ ├── order/ │ │ └── index.vue │ ├── submitBar/ │ │ └── index.vue │ └── wxCenter/ │ └── index.vue ├── pages.json ├── static/ │ └── common/ │ └── js/ │ └── touch-emulator.js ├── store/ │ ├── $u.mixin.js │ └── index.js ├── template.h5.html ├── uni.scss ├── uview-ui/ │ ├── LICENSE │ ├── README.md │ ├── components/ │ │ ├── u-action-sheet/ │ │ │ └── u-action-sheet.vue │ │ ├── u-alert-tips/ │ │ │ └── u-alert-tips.vue │ │ ├── u-avatar/ │ │ │ └── u-avatar.vue │ │ ├── u-avatar-cropper/ │ │ │ ├── u-avatar-cropper.vue │ │ │ └── weCropper.js │ │ ├── u-back-top/ │ │ │ └── u-back-top.vue │ │ ├── u-badge/ │ │ │ └── u-badge.vue │ │ ├── u-button/ │ │ │ └── u-button.vue │ │ ├── u-calendar/ │ │ │ └── u-calendar.vue │ │ ├── u-car-keyboard/ │ │ │ └── u-car-keyboard.vue │ │ ├── u-card/ │ │ │ └── u-card.vue │ │ ├── u-cell-group/ │ │ │ └── u-cell-group.vue │ │ ├── u-cell-item/ │ │ │ └── u-cell-item.vue │ │ ├── u-checkbox/ │ │ │ └── u-checkbox.vue │ │ ├── u-checkbox-group/ │ │ │ └── u-checkbox-group.vue │ │ ├── u-circle-progress/ │ │ │ ├── u-circle-progress.vue │ │ │ └── u-line-progress/ │ │ │ └── u-line-progress.vue │ │ ├── u-col/ │ │ │ └── u-col.vue │ │ ├── u-collapse/ │ │ │ └── u-collapse.vue │ │ ├── u-collapse-item/ │ │ │ └── u-collapse-item.vue │ │ ├── u-column-notice/ │ │ │ └── u-column-notice.vue │ │ ├── u-count-down/ │ │ │ └── u-count-down.vue │ │ ├── u-count-to/ │ │ │ └── u-count-to.vue │ │ ├── u-divider/ │ │ │ └── u-divider.vue │ │ ├── u-dropdown/ │ │ │ └── u-dropdown.vue │ │ ├── u-dropdown-item/ │ │ │ └── u-dropdown-item.vue │ │ ├── u-empty/ │ │ │ └── u-empty.vue │ │ ├── u-field/ │ │ │ └── u-field.vue │ │ ├── u-form/ │ │ │ └── u-form.vue │ │ ├── u-form-item/ │ │ │ └── u-form-item.vue │ │ ├── u-full-screen/ │ │ │ └── u-full-screen.vue │ │ ├── u-gap/ │ │ │ └── u-gap.vue │ │ ├── u-grid/ │ │ │ └── u-grid.vue │ │ ├── u-grid-item/ │ │ │ └── u-grid-item.vue │ │ ├── u-icon/ │ │ │ └── u-icon.vue │ │ ├── u-image/ │ │ │ └── u-image.vue │ │ ├── u-index-anchor/ │ │ │ └── u-index-anchor.vue │ │ ├── u-index-list/ │ │ │ └── u-index-list.vue │ │ ├── u-input/ │ │ │ └── u-input.vue │ │ ├── u-keyboard/ │ │ │ └── u-keyboard.vue │ │ ├── u-lazy-load/ │ │ │ └── u-lazy-load.vue │ │ ├── u-line/ │ │ │ └── u-line.vue │ │ ├── u-line-progress/ │ │ │ └── u-line-progress.vue │ │ ├── u-link/ │ │ │ └── u-link.vue │ │ ├── u-loading/ │ │ │ └── u-loading.vue │ │ ├── u-loading-page/ │ │ │ └── u-loading-page.vue │ │ ├── u-loadmore/ │ │ │ └── u-loadmore.vue │ │ ├── u-mask/ │ │ │ └── u-mask.vue │ │ ├── u-message-input/ │ │ │ └── u-message-input.vue │ │ ├── u-modal/ │ │ │ └── u-modal.vue │ │ ├── u-navbar/ │ │ │ └── u-navbar.vue │ │ ├── u-no-network/ │ │ │ └── u-no-network.vue │ │ ├── u-notice-bar/ │ │ │ └── u-notice-bar.vue │ │ ├── u-number-box/ │ │ │ └── u-number-box.vue │ │ ├── u-number-keyboard/ │ │ │ └── u-number-keyboard.vue │ │ ├── u-parse/ │ │ │ ├── libs/ │ │ │ │ ├── CssHandler.js │ │ │ │ ├── MpHtmlParser.js │ │ │ │ ├── config.js │ │ │ │ ├── handler.wxs │ │ │ │ └── trees.vue │ │ │ └── u-parse.vue │ │ ├── u-picker/ │ │ │ └── u-picker.vue │ │ ├── u-popup/ │ │ │ └── u-popup.vue │ │ ├── u-radio/ │ │ │ └── u-radio.vue │ │ ├── u-radio-group/ │ │ │ └── u-radio-group.vue │ │ ├── u-rate/ │ │ │ └── u-rate.vue │ │ ├── u-read-more/ │ │ │ └── u-read-more.vue │ │ ├── u-row/ │ │ │ └── u-row.vue │ │ ├── u-row-notice/ │ │ │ └── u-row-notice.vue │ │ ├── u-search/ │ │ │ └── u-search.vue │ │ ├── u-section/ │ │ │ └── u-section.vue │ │ ├── u-select/ │ │ │ └── u-select.vue │ │ ├── u-skeleton/ │ │ │ └── u-skeleton.vue │ │ ├── u-slider/ │ │ │ └── u-slider.vue │ │ ├── u-steps/ │ │ │ └── u-steps.vue │ │ ├── u-sticky/ │ │ │ └── u-sticky.vue │ │ ├── u-subsection/ │ │ │ └── u-subsection.vue │ │ ├── u-swipe-action/ │ │ │ └── u-swipe-action.vue │ │ ├── u-swiper/ │ │ │ └── u-swiper.vue │ │ ├── u-switch/ │ │ │ └── u-switch.vue │ │ ├── u-tabbar/ │ │ │ └── u-tabbar.vue │ │ ├── u-table/ │ │ │ └── u-table.vue │ │ ├── u-tabs/ │ │ │ └── u-tabs.vue │ │ ├── u-tabs-swiper/ │ │ │ └── u-tabs-swiper.vue │ │ ├── u-tag/ │ │ │ └── u-tag.vue │ │ ├── u-td/ │ │ │ └── u-td.vue │ │ ├── u-th/ │ │ │ └── u-th.vue │ │ ├── u-time-line/ │ │ │ └── u-time-line.vue │ │ ├── u-time-line-item/ │ │ │ └── u-time-line-item.vue │ │ ├── u-toast/ │ │ │ └── u-toast.vue │ │ ├── u-top-tips/ │ │ │ └── u-top-tips.vue │ │ ├── u-tr/ │ │ │ └── u-tr.vue │ │ ├── u-upload/ │ │ │ └── u-upload.vue │ │ ├── u-verification-code/ │ │ │ └── u-verification-code.vue │ │ ├── u-waterfall/ │ │ │ └── u-waterfall.vue │ │ └── uview-v1/ │ │ └── uview-v1.vue │ ├── iconfont.css │ ├── index.js │ ├── index.scss │ ├── libs/ │ │ ├── config/ │ │ │ ├── config.js │ │ │ └── zIndex.js │ │ ├── css/ │ │ │ ├── color.scss │ │ │ ├── common.scss │ │ │ ├── style.components.scss │ │ │ ├── style.h5.scss │ │ │ ├── style.mp.scss │ │ │ ├── style.nvue.scss │ │ │ └── style.vue.scss │ │ ├── function/ │ │ │ ├── $parent.js │ │ │ ├── addUnit.js │ │ │ ├── bem.js │ │ │ ├── color.js │ │ │ ├── colorGradient.js │ │ │ ├── debounce.js │ │ │ ├── deepClone.js │ │ │ ├── deepMerge.js │ │ │ ├── getParent.js │ │ │ ├── guid.js │ │ │ ├── md5.js │ │ │ ├── queryParams.js │ │ │ ├── random.js │ │ │ ├── randomArray.js │ │ │ ├── route.js │ │ │ ├── sys.js │ │ │ ├── test.js │ │ │ ├── throttle.js │ │ │ ├── timeFormat.js │ │ │ ├── timeFrom.js │ │ │ ├── toast.js │ │ │ ├── trim.js │ │ │ └── type2icon.js │ │ ├── mixin/ │ │ │ ├── mixin.js │ │ │ └── mpShare.js │ │ ├── request/ │ │ │ └── index.js │ │ ├── store/ │ │ │ └── index.js │ │ └── util/ │ │ ├── area.js │ │ ├── async-validator.js │ │ ├── city.js │ │ ├── emitter.js │ │ └── province.js │ ├── package.json │ └── theme.scss └── vue.config.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .editorconfig ================================================ [*] #缩进风格:空格 indent_style = tab #缩进大小2 indent_size = 4 #换行符lf end_of_line = lf #字符集utf-8 charset = utf-8 ================================================ FILE: .eslintignore ================================================ unpackage node_modules uview-ui ================================================ FILE: .gitee/ISSUE_TEMPLATE.zh-CN.md ================================================ 你好,请使用下面的链接创建 issue 以帮助我们更快的排查问题,不规范的 issue 会被关闭,感谢配合。 https://new-issue.uviewui.com/ ================================================ FILE: .github/ISSUE_TEMPLATE/config.yml ================================================ blank_issues_enabled: false contact_links: - name: 创建一个新issue url: https://new-issue.uviewui.com/ about: 请使用接下来的链接创建新issue。 - name: Create new issue url: https://new-issue.uviewui.com/?lang=en about: Please use the following link to create a new issue. ================================================ FILE: .gitignore ================================================ /unpackage/dist/* /node_modules/* /.idea/* deploy.sh .hbuilderx/ deploy .DS_Store ================================================ FILE: .vscode/settings.json ================================================ { "editor.formatOnSave": false } ================================================ FILE: App.vue ================================================ ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2023 www.uviewui.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================

logo

uView

多平台快速开发的UI框架

[![star](https://gitee.com/umicro/uView/badge/star.svg?theme=gvp)](https://gitee.com/umicro/uView/stargazers) [![fork](https://gitee.com/umicro/uView/badge/fork.svg?theme=gvp)](https://gitee.com/umicro/uView/members) [![stars](https://img.shields.io/github/stars/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/umicro/uView) [![forks](https://img.shields.io/github/forks/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/umicro/uView) [![issues](https://img.shields.io/github/issues/YanxinNet/uView?style=flat-square&logo=GitHub)](https://github.com/umicro/uView/issues) [![Website](https://img.shields.io/badge/uView-up-blue?style=flat-square)](https://uviewui.com) [![release](https://img.shields.io/github/v/release/YanxinNet/uView?style=flat-square)](https://gitee.com/umicro/uView/releases) [![license](https://img.shields.io/github/license/YanxinNet/uView?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License) ## 说明 uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水 ## [官方文档:https://v1.uviewui.com](https://v1.uviewui.com) ### 官方1群:1042987248(已满) ### 官方2群:249718512(已满) ### 官方3群:1129077272(已满) ### 官方4群:1084514613(已满) ### 官方5群:863820668(已满) ### 官方6群:745721078(已满) ### 官方7群:627867855(已满) ### 官方8群:496409492(已满) ### 官方9群:828504448(已满) ### [点击加10群交流反馈:232041042](https://jq.qq.com/?_wv=1027&k=KnbeceDU) ## 特性 - 兼容安卓,iOS,微信小程序,H5,QQ小程序,百度小程序,支付宝小程序,头条小程序 - 60+精选组件,功能丰富,多端兼容,让您快速集成,开箱即用 - 众多贴心的JS利器,让您飞镖在手,召之即来,百步穿杨 - 众多的常用页面和布局,让您专注逻辑,事半功倍 - 详尽的文档支持,现代化的演示效果 - 按需引入,精简打包体积 ## 预览 您可以通过**微信**扫码,查看最佳的演示效果。

## 友情链接 #### **vue-admin-beautiful** —— [企业级、通用型中后台前端解决方案(基于vue/cli 4 最新版,同时支持电脑,手机,平板)](https://github.com/chuzhixin/vue-admin-beautiful) #### **vue-admin-beautiful** —— [在线演示](http://beautiful.panm.cn/vue-admin-beautiful/#/index) #### **pl-table** —— [ 完美解决 element 万级表格数据渲染卡顿问题](https://github.com/livelyPeng/pl-table) #### **luch-request** —— [基于 Promise 开发的 uni-app 跨平台、项目级别的请求库,它有更小的体积,易用的 api,方便简单的自定义能力](https://www.quanzhan.co/luch-request/)
## 链接 - [官方文档](https://v1.uviewui.com/) - [更新日志](https://v1.uviewui.com/components/changelog.html) - [升级指南](https://v1.uviewui.com/components/changelog.html) - [关于我们](https://v1.uviewui.com/cooperation/about.html) ## 交流反馈 欢迎加入我们的QQ群交流反馈:[点此跳转](https://www.uviewui.com/components/addQQGroup.html) ## 关于PR > 我们非常乐意接受各位的优质PR,但在此之前我希望您了解uView2.0是一个需要兼容多个平台的(小程序、h5、ios app、android app)包括nvue页面、vue页面。 > 所以希望在您修复bug并提交之前尽可能的去这些平台测试一下兼容性。最好能携带测试截图以方便审核。非常感谢! ## 安装 #### **下载地址** —— [https://ext.dcloud.net.cn/plugin?id=1593](https://ext.dcloud.net.cn/plugin?id=1593) ## 快速上手 1. `main.js`引入uView库 ```js // main.js import uView from 'uview-ui'; Vue.use(uView); ``` 2. `App.vue`引入基础样式(注意style标签需声明scss属性支持) ```css /* App.vue */ ``` 3. `uni.scss`引入全局scss变量文件 ```css /* uni.scss */ @import "uview-ui/theme.scss"; ``` 4. `pages.json`配置easycom规则(按需引入) ```js // pages.json { "easycom": { // 下载安装的方式需要前面的"@/",npm安装的方式无需"@/" // 下载安装方式 "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" // npm安装方式 // "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, // 此为本身已有的内容 "pages": [ // ...... ] } ``` 请通过[快速上手](https://uviewui.com/components/quickstart.html)了解更详细的内容 ## 使用方法 配置easycom规则后,自动按需引入,无需`import`组件,直接引用即可。 ```html ``` 请通过[快速上手](https://uviewui.com/components/quickstart.html)了解更详细的内容 ## 捐赠uView的研发 uView文档内容和框架源码全部开源免费,如果您认为uView帮到了您的开发工作,您可以捐赠uView的研发工作,捐赠无门槛,哪怕是一杯可乐也好(相信这比打赏主播更有意义)。 ## 版权信息 uView遵循[MIT](https://en.wikipedia.org/wiki/MIT_License)开源协议,意味着您无需支付任何费用,也无需授权,即可将uView应用到您的产品中。 ================================================ FILE: common/classify.data.js ================================================ export default[ { "name": "女装", "foods": [ { "name": "A字裙", "key": "A字裙", "icon": "https://cdn.uviewui.com/uview/common/classify/1/1.jpg", "cat": 10 }, { "name": "T恤", "key": "T恤", "icon": "https://cdn.uviewui.com/uview/common/classify/1/2.jpg", "cat": 10 }, { "name": "半身裙", "key": "半身裙", "icon": "https://cdn.uviewui.com/uview/common/classify/1/3.jpg", "cat": 10 }, { "name": "衬衫", "key": "衬衫", "icon": "https://cdn.uviewui.com/uview/common/classify/1/4.jpg", "cat": 10 }, { "name": "短裙", "key": "短裙", "icon": "https://cdn.uviewui.com/uview/common/classify/1/5.jpg", "cat": 10 }, { "name": "阔腿裤", "key": "阔腿裤", "icon": "https://cdn.uviewui.com/uview/common/classify/1/6.jpg", "cat": 10 }, { "name": "连衣裙", "key": "连衣裙", "icon": "https://cdn.uviewui.com/uview/common/classify/1/7.jpg", "cat": 10 }, { "name": "妈妈装", "key": "妈妈装", "icon": "https://cdn.uviewui.com/uview/common/classify/1/8.jpg", "cat": 10 }, { "name": "牛仔裤", "key": "牛仔裤", "icon": "https://cdn.uviewui.com/uview/common/classify/1/9.jpg", "cat": 10 }, { "name": "情侣装", "key": "情侣装", "icon": "https://cdn.uviewui.com/uview/common/classify/1/10.jpg", "cat": 10 }, { "name": "休闲裤", "key": "休闲裤", "icon": "https://cdn.uviewui.com/uview/common/classify/1/11.jpg", "cat": 10 }, { "name": "雪纺衫", "key": "雪纺衫", "icon": "https://cdn.uviewui.com/uview/common/classify/1/12.jpg", "cat": 10 }, { "name": "防晒衣", "key": "防晒衣", "icon": "https://cdn.uviewui.com/uview/common/classify/1/13.jpg", "cat": 10 }, { "name": "礼服/婚纱", "key": "礼服婚纱", "icon": "https://cdn.uviewui.com/uview/common/classify/1/14.jpg", "cat": 10 } ] }, { "name": "美食", "foods": [ { "name": "火锅", "key": "火锅", "icon": "https://cdn.uviewui.com/uview/common/classify/2/1.jpg", "cat": 6 }, { "name": "糕点饼干", "key": "糕点饼干", "icon": "https://cdn.uviewui.com/uview/common/classify/2/2.jpg", "cat": 6 }, { "name": "坚果果干", "key": "坚果果干", "icon": "https://cdn.uviewui.com/uview/common/classify/2/3.jpg", "cat": 6 }, { "name": "酒类", "key": "酒类", "icon": "https://cdn.uviewui.com/uview/common/classify/2/4.jpg", "cat": 6 }, { "name": "辣条", "key": "辣条", "icon": "https://cdn.uviewui.com/uview/common/classify/2/5.jpg", "cat": 6 }, { "name": "大礼包", "key": "大礼包", "icon": "https://cdn.uviewui.com/uview/common/classify/2/6.jpg", "cat": 6 }, { "name": "精品茗茶", "key": "茶", "icon": "https://cdn.uviewui.com/uview/common/classify/2/7.jpg", "cat": 6 }, { "name": "休闲食品", "key": "休闲食品", "icon": "https://cdn.uviewui.com/uview/common/classify/2/8.jpg", "cat": 6 }, { "name": "糖果巧克力", "key": "糖果巧克力", "icon": "https://cdn.uviewui.com/uview/common/classify/2/9.jpg", "cat": 6 }, { "name": "方便速食", "key": "方便速食", "icon": "https://cdn.uviewui.com/uview/common/classify/2/10.jpg", "cat": 6 }, { "name": "营养代餐", "key": "营养代餐", "icon": "https://cdn.uviewui.com/uview/common/classify/2/11.jpg", "cat": 6 }, { "name": "粮油副食", "key": "粮油", "icon": "https://cdn.uviewui.com/uview/common/classify/2/12.jpg", "cat": 6 }, { "name": "生鲜水果", "key": "水果", "icon": "https://cdn.uviewui.com/uview/common/classify/2/13.jpg", "cat": 6 }, { "name": "饮品", "key": "饮品", "icon": "https://cdn.uviewui.com/uview/common/classify/2/14.jpg", "cat": 6 } ] }, { "name": "美妆", "foods": [ { "name": "化妆刷", "key": "化妆刷", "icon": "https://cdn.uviewui.com/uview/common/classify/3/1.jpg", "cat": 3 }, { "name": "粉底", "key": "粉底", "icon": "https://cdn.uviewui.com/uview/common/classify/3/2.jpg", "cat": 3 }, { "name": "洗发护发", "key": "洗发护发", "icon": "https://cdn.uviewui.com/uview/common/classify/3/3.jpg", "cat": 3 }, { "name": "美容工具", "key": "美容工具", "icon": "https://cdn.uviewui.com/uview/common/classify/3/4.jpg", "cat": 3 }, { "name": "眼部护理", "key": "眼部护理", "icon": "https://cdn.uviewui.com/uview/common/classify/3/5.jpg", "cat": 3 }, { "name": "眉妆", "key": "眉妆", "icon": "https://cdn.uviewui.com/uview/common/classify/3/6.jpg", "cat": 3 }, { "name": "卸妆品", "key": "卸妆品", "icon": "https://cdn.uviewui.com/uview/common/classify/3/7.jpg", "cat": 3 }, { "name": "基础护肤", "key": "基础护肤", "icon": "https://cdn.uviewui.com/uview/common/classify/3/8.jpg", "cat": 3 }, { "name": "眼妆", "key": "眼妆", "icon": "https://cdn.uviewui.com/uview/common/classify/3/9.jpg", "cat": 3 }, { "name": "唇妆", "key": "唇妆", "icon": "https://cdn.uviewui.com/uview/common/classify/3/10.jpg", "cat": 3 }, { "name": "面膜", "key": "面膜", "icon": "https://cdn.uviewui.com/uview/common/classify/3/11.jpg", "cat": 3 }, { "name": "沐浴用品", "key": "沐浴用品", "icon": "https://cdn.uviewui.com/uview/common/classify/3/12.jpg", "cat": 3 }, { "name": "护肤套装", "key": "护肤套装", "icon": "https://cdn.uviewui.com/uview/common/classify/3/13.jpg", "cat": 3 }, { "name": "防晒品", "key": "防晒品", "icon": "https://cdn.uviewui.com/uview/common/classify/3/14.jpg", "cat": 3 }, { "name": "美甲", "key": "美甲", "icon": "https://cdn.uviewui.com/uview/common/classify/3/15.jpg", "cat": 3 } ] }, { "name": "居家日用", "foods": [ { "name": "垃圾袋", "key": "垃圾袋", "icon": "https://cdn.uviewui.com/uview/common/classify/4/1.jpg", "cat": 4 }, { "name": "纸巾", "key": "纸巾", "icon": "https://cdn.uviewui.com/uview/common/classify/4/2.jpg", "cat": 4 }, { "name": "驱蚊用品", "key": "驱蚊用品", "icon": "https://cdn.uviewui.com/uview/common/classify/4/3.jpg", "cat": 4 }, { "name": "收纳神器", "key": "收纳神器", "icon": "https://cdn.uviewui.com/uview/common/classify/4/4.jpg", "cat": 4 }, { "name": "厨房用品", "key": "厨房用品", "icon": "https://cdn.uviewui.com/uview/common/classify/4/5.jpg", "cat": 4 }, { "name": "厨房烹饪", "key": "烹饪", "icon": "https://cdn.uviewui.com/uview/common/classify/4/6.jpg", "cat": 4 }, { "name": "衣物晾晒", "key": "衣物晾晒", "icon": "https://cdn.uviewui.com/uview/common/classify/4/7.jpg", "cat": 4 }, { "name": "衣物护理", "key": "衣物护理", "icon": "https://cdn.uviewui.com/uview/common/classify/4/8.jpg", "cat": 4 }, { "name": "宠物用品", "key": "宠物用品", "icon": "https://cdn.uviewui.com/uview/common/classify/4/9.jpg", "cat": 4 }, { "name": "医药保健", "key": "医药", "icon": "https://cdn.uviewui.com/uview/common/classify/4/10.jpg", "cat": 4 }, { "name": "日用百货", "key": "百货", "icon": "https://cdn.uviewui.com/uview/common/classify/4/11.jpg", "cat": 4 }, { "name": "清洁用品", "key": "清洁", "icon": "https://cdn.uviewui.com/uview/common/classify/4/12.jpg", "cat": 4 }, { "name": "绿植园艺", "key": "绿植", "icon": "https://cdn.uviewui.com/uview/common/classify/4/13.jpg", "cat": 4 } ] }, { "name": "男装", "foods": [ { "name": "爸爸装", "key": "爸爸装", "icon": "https://cdn.uviewui.com/uview/common/classify/5/1.jpg", "cat": 12 }, { "name": "牛仔裤", "key": "牛仔裤", "icon": "https://cdn.uviewui.com/uview/common/classify/5/2.jpg", "cat": 12 }, { "name": "衬衫", "key": "衬衫", "icon": "https://cdn.uviewui.com/uview/common/classify/5/3.jpg", "cat": 12 }, { "name": "休闲裤", "key": "休闲裤", "icon": "https://cdn.uviewui.com/uview/common/classify/5/4.jpg", "cat": 12 }, { "name": "外套", "key": "外套", "icon": "https://cdn.uviewui.com/uview/common/classify/5/5.jpg", "cat": 12 }, { "name": "T恤", "key": "T恤", "icon": "https://cdn.uviewui.com/uview/common/classify/5/6.jpg", "cat": 12 }, { "name": "套装", "key": "套装", "icon": "https://cdn.uviewui.com/uview/common/classify/5/7.jpg", "cat": 12 }, { "name": "运动裤", "key": "运动裤", "icon": "https://cdn.uviewui.com/uview/common/classify/5/8.jpg", "cat": 12 }, { "name": "马甲/背心", "key": "马甲背心", "icon": "https://cdn.uviewui.com/uview/common/classify/5/9.jpg", "cat": 12 }, { "name": "POLO衫", "key": "POLO衫", "icon": "https://cdn.uviewui.com/uview/common/classify/5/10.jpg", "cat": 12 }, { "name": "商务装", "key": "商务装", "icon": "https://cdn.uviewui.com/uview/common/classify/5/11.jpg", "cat": 12 } ] }, { "name": "鞋品", "foods": [ { "name": "单鞋", "key": "单鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/1.jpg", "cat": 5 }, { "name": "皮鞋", "key": "皮鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/2.jpg", "cat": 5 }, { "name": "帆布鞋", "key": "帆布鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/3.jpg", "cat": 5 }, { "name": "北京老布鞋", "key": "北京老布鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/4.jpg", "cat": 5 }, { "name": "运动鞋", "key": "运动鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/5.jpg", "cat": 5 }, { "name": "拖鞋", "key": "拖鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/6.jpg", "cat": 5 }, { "name": "凉鞋", "key": "凉鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/7.jpg", "cat": 5 }, { "name": "休闲鞋", "key": "休闲鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/8.jpg", "cat": 5 }, { "name": "高跟鞋", "key": "高跟鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/9.jpg", "cat": 5 }, { "name": "老人鞋", "key": "老人鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/10.jpg", "cat": 5 }, { "name": "懒人鞋", "key": "懒人鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/6/11.jpg", "cat": 5 } ] }, { "name": "数码家电", "foods": [ { "name": "数据线", "key": "数据线", "icon": "https://cdn.uviewui.com/uview/common/classify/7/1.jpg", "cat": 8 }, { "name": "耳机", "key": "耳机", "icon": "https://cdn.uviewui.com/uview/common/classify/7/2.jpg", "cat": 8 }, { "name": "生活家电", "key": "家电", "icon": "https://cdn.uviewui.com/uview/common/classify/7/3.jpg", "cat": 8 }, { "name": "电风扇", "key": "电风扇", "icon": "https://cdn.uviewui.com/uview/common/classify/7/4.jpg", "cat": 8 }, { "name": "电吹风", "key": "电吹风", "icon": "https://cdn.uviewui.com/uview/common/classify/7/5.jpg", "cat": 8 }, { "name": "手机壳", "key": "手机壳", "icon": "https://cdn.uviewui.com/uview/common/classify/7/6.jpg", "cat": 8 }, { "name": "榨汁机", "key": "榨汁机", "icon": "https://cdn.uviewui.com/uview/common/classify/7/7.jpg", "cat": 8 }, { "name": "小家电", "key": "小家电", "icon": "https://cdn.uviewui.com/uview/common/classify/7/8.jpg", "cat": 8 }, { "name": "数码电子", "key": "数码", "icon": "https://cdn.uviewui.com/uview/common/classify/7/9.jpg", "cat": 8 }, { "name": "电饭锅", "key": "电饭锅", "icon": "https://cdn.uviewui.com/uview/common/classify/7/10.jpg", "cat": 8 }, { "name": "手机支架", "key": "手机支架", "icon": "https://cdn.uviewui.com/uview/common/classify/7/11.jpg", "cat": 8 }, { "name": "剃须刀", "key": "剃须刀", "icon": "https://cdn.uviewui.com/uview/common/classify/7/12.jpg", "cat": 8 }, { "name": "充电宝", "key": "充电宝", "icon": "https://cdn.uviewui.com/uview/common/classify/7/13.jpg", "cat": 8 }, { "name": "手机配件", "key": "手机配件", "icon": "https://cdn.uviewui.com/uview/common/classify/7/14.jpg", "cat": 8 } ] }, { "name": "母婴", "foods": [ { "name": "婴童服饰", "key": "衣服", "icon": "https://cdn.uviewui.com/uview/common/classify/8/1.jpg", "cat": 2 }, { "name": "玩具乐器", "key": "玩具乐器", "icon": "https://cdn.uviewui.com/uview/common/classify/8/2.jpg", "cat": 2 }, { "name": "尿不湿", "key": "尿不湿", "icon": "https://cdn.uviewui.com/uview/common/classify/8/3.jpg", "cat": 2 }, { "name": "安抚牙胶", "key": "安抚牙胶", "icon": "https://cdn.uviewui.com/uview/common/classify/8/4.jpg", "cat": 2 }, { "name": "奶瓶奶嘴", "key": "奶瓶奶嘴", "icon": "https://cdn.uviewui.com/uview/common/classify/8/5.jpg", "cat": 2 }, { "name": "孕妈用品", "key": "孕妈用品", "icon": "https://cdn.uviewui.com/uview/common/classify/8/6.jpg", "cat": 2 }, { "name": "宝宝用品", "key": "宝宝用品", "icon": "https://cdn.uviewui.com/uview/common/classify/8/7.jpg", "cat": 2 }, { "name": "婴童湿巾", "key": "湿巾", "icon": "https://cdn.uviewui.com/uview/common/classify/8/8.jpg", "cat": 2 }, { "name": "喂养洗护", "key": "洗护", "icon": "https://cdn.uviewui.com/uview/common/classify/8/9.jpg", "cat": 2 }, { "name": "婴童鞋靴", "key": "童鞋", "icon": "https://cdn.uviewui.com/uview/common/classify/8/10.jpg", "cat": 2 }, { "name": "口水巾", "key": "口水巾", "icon": "https://cdn.uviewui.com/uview/common/classify/8/11.jpg", "cat": 2 }, { "name": "营养辅食", "key": "营养", "icon": "https://cdn.uviewui.com/uview/common/classify/8/12.jpg", "cat": 2 }, { "name": "婴幼书籍", "key": "书籍", "icon": "https://cdn.uviewui.com/uview/common/classify/8/13.jpg", "cat": 2 }, { "name": "婴儿车", "key": "婴儿车", "icon": "https://cdn.uviewui.com/uview/common/classify/8/14.jpg", "cat": 2 } ] }, { "name": "箱包", "foods": [ { "name": "单肩包", "key": "单肩包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/1.jpg", "cat": 0 }, { "name": "斜挎包", "key": "斜挎包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/2.jpg", "cat": 0 }, { "name": "女包", "key": "女包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/3.jpg", "cat": 0 }, { "name": "男包", "key": "男包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/4.jpg", "cat": 0 }, { "name": "双肩包", "key": "双肩包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/5.jpg", "cat": 0 }, { "name": "小方包", "key": "小方包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/6.jpg", "cat": 0 }, { "name": "钱包", "key": "钱包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/7.jpg", "cat": 0 }, { "name": "旅行箱包", "key": "旅行箱包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/8.jpg", "cat": 0 }, { "name": "零钱包", "key": "零钱包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/9.jpg", "cat": 0 }, { "name": "手提包", "key": "手提包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/10.jpg", "cat": 0 }, { "name": "胸包", "key": "胸包", "icon": "https://cdn.uviewui.com/uview/common/classify/9/11.jpg", "cat": 0 } ] }, { "name": "内衣", "foods": [ { "name": "袜子", "key": "袜子", "icon": "https://cdn.uviewui.com/uview/common/classify/10/1.jpg", "cat": 11 }, { "name": "吊带背心", "key": "吊带背心", "icon": "https://cdn.uviewui.com/uview/common/classify/10/2.jpg", "cat": 11 }, { "name": "抹胸", "key": "抹胸", "icon": "https://cdn.uviewui.com/uview/common/classify/10/3.jpg", "cat": 11 }, { "name": "内裤", "key": "内裤", "icon": "https://cdn.uviewui.com/uview/common/classify/10/4.jpg", "cat": 11 }, { "name": "文胸", "key": "文胸", "icon": "https://cdn.uviewui.com/uview/common/classify/10/5.jpg", "cat": 11 }, { "name": "文胸套装", "key": "文胸套装", "icon": "https://cdn.uviewui.com/uview/common/classify/10/6.jpg", "cat": 11 }, { "name": "打底塑身", "key": "打底塑身", "icon": "https://cdn.uviewui.com/uview/common/classify/10/7.jpg", "cat": 11 }, { "name": "家居服", "key": "家居服", "icon": "https://cdn.uviewui.com/uview/common/classify/10/8.jpg", "cat": 11 }, { "name": "船袜", "key": "船袜", "icon": "https://cdn.uviewui.com/uview/common/classify/10/9.jpg", "cat": 11 }, { "name": "情侣睡衣", "key": "情侣睡衣", "icon": "https://cdn.uviewui.com/uview/common/classify/10/10.jpg", "cat": 11 }, { "name": "丝袜", "key": "丝袜", "icon": "https://cdn.uviewui.com/uview/common/classify/10/11.jpg", "cat": 11 } ] }, { "name": "文娱车品", "foods": [ { "name": "车市车品", "key": "车市车品", "icon": "https://cdn.uviewui.com/uview/common/classify/11/1.jpg", "cat": 7 }, { "name": "办公文具", "key": "办公文具", "icon": "https://cdn.uviewui.com/uview/common/classify/11/2.jpg", "cat": 7 }, { "name": "考试必备", "key": "考试必备", "icon": "https://cdn.uviewui.com/uview/common/classify/11/3.jpg", "cat": 7 }, { "name": "笔记本", "key": "笔记本", "icon": "https://cdn.uviewui.com/uview/common/classify/11/4.jpg", "cat": 7 }, { "name": "艺术礼品", "key": "礼品", "icon": "https://cdn.uviewui.com/uview/common/classify/11/5.jpg", "cat": 7 }, { "name": "书写工具", "key": "书写工具", "icon": "https://cdn.uviewui.com/uview/common/classify/11/6.jpg", "cat": 7 }, { "name": "车载电器", "key": "车载电器", "icon": "https://cdn.uviewui.com/uview/common/classify/11/7.jpg", "cat": 7 }, { "name": "图书音像", "key": "图书音像", "icon": "https://cdn.uviewui.com/uview/common/classify/11/8.jpg", "cat": 7 }, { "name": "画具画材", "key": "画具画材", "icon": "https://cdn.uviewui.com/uview/common/classify/11/9.jpg", "cat": 7 } ] }, { "name": "配饰", "foods": [ { "name": "太阳镜", "key": "太阳镜", "icon": "https://cdn.uviewui.com/uview/common/classify/12/1.jpg", "cat": 0 }, { "name": "皮带", "key": "皮带", "icon": "https://cdn.uviewui.com/uview/common/classify/12/2.jpg", "cat": 0 }, { "name": "棒球帽", "key": "棒球帽", "icon": "https://cdn.uviewui.com/uview/common/classify/12/3.jpg", "cat": 0 }, { "name": "手表", "key": "手表", "icon": "https://cdn.uviewui.com/uview/common/classify/12/4.jpg", "cat": 0 }, { "name": "发饰", "key": "发饰", "icon": "https://cdn.uviewui.com/uview/common/classify/12/5.jpg", "cat": 0 }, { "name": "项链", "key": "项链", "icon": "https://cdn.uviewui.com/uview/common/classify/12/6.jpg", "cat": 0 }, { "name": "手饰", "key": "手饰", "icon": "https://cdn.uviewui.com/uview/common/classify/12/7.jpg", "cat": 0 }, { "name": "耳环", "key": "耳环", "icon": "https://cdn.uviewui.com/uview/common/classify/12/8.jpg", "cat": 0 }, { "name": "帽子丝巾", "key": "帽子丝巾", "icon": "https://cdn.uviewui.com/uview/common/classify/12/9.jpg", "cat": 0 }, { "name": "眼镜墨镜", "key": "眼镜墨镜", "icon": "https://cdn.uviewui.com/uview/common/classify/12/10.jpg", "cat": 0 }, { "name": "发带发箍", "key": "发带发箍", "icon": "https://cdn.uviewui.com/uview/common/classify/12/11.jpg", "cat": 0 } ] }, { "name": "家装家纺", "foods": [ { "name": "家居饰品", "key": "家居饰品", "icon": "https://cdn.uviewui.com/uview/common/classify/13/1.jpg", "cat": 0 }, { "name": "凉席", "key": "凉席", "icon": "https://cdn.uviewui.com/uview/common/classify/13/2.jpg", "cat": 0 }, { "name": "背枕靠枕", "key": "靠枕", "icon": "https://cdn.uviewui.com/uview/common/classify/13/3.jpg", "cat": 0 }, { "name": "床上用品", "key": "床上用品", "icon": "https://cdn.uviewui.com/uview/common/classify/13/4.jpg", "cat": 0 }, { "name": "摆件", "key": "摆件", "icon": "https://cdn.uviewui.com/uview/common/classify/13/5.jpg", "cat": 0 }, { "name": "四件套", "key": "四件套", "icon": "https://cdn.uviewui.com/uview/common/classify/13/6.jpg", "cat": 0 }, { "name": "装饰品", "key": "装饰品", "icon": "https://cdn.uviewui.com/uview/common/classify/13/7.jpg", "cat": 0 }, { "name": "卫浴用品", "key": "卫浴", "icon": "https://cdn.uviewui.com/uview/common/classify/13/8.jpg", "cat": 0 }, { "name": "家居家装", "key": "家具", "icon": "https://cdn.uviewui.com/uview/common/classify/13/9.jpg", "cat": 0 }, { "name": "蚊帐", "key": "蚊帐", "icon": "https://cdn.uviewui.com/uview/common/classify/13/10.jpg", "cat": 0 }, { "name": "墙纸贴纸", "key": "墙纸", "icon": "https://cdn.uviewui.com/uview/common/classify/13/11.jpg", "cat": 0 }, { "name": "空调被", "key": "空调被", "icon": "https://cdn.uviewui.com/uview/common/classify/13/12.jpg", "cat": 0 } ] }, { "name": "户外运动", "foods": [ { "name": "游泳装备", "key": "游泳", "icon": "https://cdn.uviewui.com/uview/common/classify/14/1.jpg", "cat": 0 }, { "name": "泳镜", "key": "泳镜", "icon": "https://cdn.uviewui.com/uview/common/classify/14/2.jpg", "cat": 0 }, { "name": "户外装备", "key": "户外", "icon": "https://cdn.uviewui.com/uview/common/classify/14/3.jpg", "cat": 0 }, { "name": "健身服饰", "key": "健身", "icon": "https://cdn.uviewui.com/uview/common/classify/14/4.jpg", "cat": 0 }, { "name": "泳衣", "key": "泳衣", "icon": "https://cdn.uviewui.com/uview/common/classify/14/5.jpg", "cat": 0 }, { "name": "瑜伽垫", "key": "瑜伽垫", "icon": "https://cdn.uviewui.com/uview/common/classify/14/6.jpg", "cat": 0 }, { "name": "瑜伽用品", "key": "瑜伽", "icon": "https://cdn.uviewui.com/uview/common/classify/14/7.jpg", "cat": 0 }, { "name": "健身装备", "key": "健身", "icon": "https://cdn.uviewui.com/uview/common/classify/14/8.jpg", "cat": 0 }, { "name": "球迷用品", "key": "球迷", "icon": "https://cdn.uviewui.com/uview/common/classify/14/9.jpg", "cat": 0 } ] } ] ================================================ FILE: common/demo.scss ================================================ /* #ifndef APP-NVUE */ view, text { box-sizing: border-box; } /* #endif */ /* start--演示页面使用的统一样式--start */ .u-demo { padding: 25px 20px; } .u-demo-wrap { border-width: 1px; border-color: #ddd; border-style: dashed; background-color: rgb(250, 250, 250); padding: 20px 10px; border-radius: 3px; } .u-demo-area { text-align: center; } .u-no-demo-here { color: $u-tips-color; font-size: 13px; } .u-demo-result-line { border-width: 1px; border-color: #ddd; border-style: dashed; padding: 5px 20px; margin-top: 30px; border-radius: 5px; background-color: rgb(240, 240, 240); color: $u-content-color; font-size: 16px; /* #ifndef APP-NVUE */ word-break: break-word; display: inline-block; /* #endif */ text-align: left; } .u-demo-title, .u-config-title { text-align: center; font-size: 16px; font-weight: bold; margin-bottom: 20px; } .u-config-item { margin-top: 25px; } .u-config-title { margin-top: 20px; padding-bottom: 5px; } .u-item-title { position: relative; font-size: 15px; padding-left: 8px; line-height: 1; margin-bottom: 11px; } .u-item-title:after { position: absolute; width: 4px; top: -1px; height: 16px; /* #ifndef APP-NVUE */ content: ''; /* #endif */ left: 0; border-radius: 10px; background-color: $u-content-color; } /* end--演示页面使用的统一样式--end */ ================================================ FILE: common/http.api.js ================================================ // 如果没有通过拦截器配置域名的话,可以在这里写上完整的URL(加上域名部分) let hotSearchUrl = '/ebapi/store_api/hot_search'; let indexUrl = '/ebapi/public_api/index'; // 此处第二个参数vm,就是我们在页面使用的this,你可以通过vm获取vuex等操作,更多内容详见uView对拦截器的介绍部分: // https://uviewui.com/js/http.html#%E4%BD%95%E8%B0%93%E8%AF%B7%E6%B1%82%E6%8B%A6%E6%88%AA%EF%BC%9F const install = (Vue, vm) => { // 此处没有使用传入的params参数 let getSearch = (params = {}) => vm.$u.get(hotSearchUrl, { id: 2 }); // 此处使用了传入的params参数,一切自定义即可 let getInfo = (params = {}) => vm.$u.post(indexUrl, params); // 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下 vm.$u.api = {getSearch, getInfo}; } export default { install } ================================================ FILE: common/http.interceptor.js ================================================ // 这里的vm,就是我们在vue文件里面的this,所以我们能在这里获取vuex的变量,比如存放在里面的token // 同时,我们也可以在此使用getApp().globalData,如果你把token放在getApp().globalData的话,也是可以使用的 const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ baseUrl: 'https://api.youzixy.com', // 如果将此值设置为true,拦截回调中将会返回服务端返回的所有数据response,而不是response.data // 设置为true后,就需要在this.$u.http.interceptor.response进行多一次的判断,请打印查看具体值 // originalData: true, // 设置自定义头部content-type // header: { // 'content-type': 'xxx' // } }); // 请求拦截,配置Token等参数 Vue.prototype.$u.http.interceptor.request = (config) => { config.header.Token = 'xxxxxx'; // 方式一,存放在vuex的token,假设使用了uView封装的vuex方式,见:https://uviewui.com/components/globalVariable.html // config.header.token = vm.token; // 方式二,如果没有使用uView封装的vuex方法,那么需要使用$store.state获取 // config.header.token = vm.$store.state.token; // 方式三,如果token放在了globalData,通过getApp().globalData获取 // config.header.token = getApp().globalData.username; // 方式四,如果token放在了Storage本地存储中,拦截是每次请求都执行的,所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值 // const token = uni.getStorageSync('token'); // config.header.token = token; return config; } // 响应拦截,判断状态码是否通过 Vue.prototype.$u.http.interceptor.response = (res) => { // 如果把originalData设置为了true,这里得到将会是服务器返回的所有的原始数据 // 判断可能变成了res.statueCode,或者res.data.code之类的,请打印查看结果 if(res.code == 200) { // 如果把originalData设置为了true,这里return回什么,this.$u.post的then回调中就会得到什么 return res.data; } else return false; } } export default { install } ================================================ FILE: common/index.list.js ================================================ module.exports = { list: [{ "letter": "A", "data": [{ "name": "阿拉斯加", "mobile": "13588889999", "keyword": "阿拉斯加ABA13588889999" }, { "name": "阿克苏", "mobile": "0551-4386721", "keyword": "阿克苏AKESU0551-4386721" }, { "name": "阿拉善", "mobile": "4008009100", "keyword": "阿拉善ALASHAN4008009100" }, { "name": "阿勒泰", "mobile": "13588889999", "keyword": "阿勒泰ALETAI13588889999" }, { "name": "阿里", "mobile": "13588889999", "keyword": "阿里ALI13588889999" }, { "name": "安阳", "mobile": "13588889999", "keyword": "13588889999安阳ANYANG" } ] }, { "letter": "B", "data": [{ "name": "白城", "mobile": "该主子没有留电话~", "keyword": "白城BAICHENG" }, { "name": "白山", "mobile": "13588889999", "keyword": "白山BAISHAN13588889999" }, { "name": "白银", "mobile": "13588889999", "keyword": "白银BAIYIN13588889999" }, { "name": "保定", "mobile": "13588889999", "keyword": "保定BAODING13588889999" } ] }, { "letter": "C", "data": [{ "name": "沧州", "mobile": "13588889999", "keyword": "沧州CANGZHOU13588889999" }, { "name": "长春", "mobile": "13588889999", "keyword": "长春CHANGCHUN13588889999" } ] }, { "letter": "D", "data": [{ "name": "大理", "mobile": "13588889999", "keyword": "大理DALI13588889999" }, { "name": "大连", "mobile": "13588889999", "keyword": "大连DALIAN13588889999" } ] }, { "letter": "E", "data": [{ "name": "鄂尔多斯", "mobile": "13588889999", "keyword": "鄂尔多斯EERDUOSI13588889999" }, { "name": "恩施", "mobile": "13588889999", "keyword": "恩施ENSHI13588889999" }, { "name": "鄂州", "mobile": "13588889999", "keyword": "鄂州EZHOU13588889999" } ] }, { "letter": "F", "data": [{ "name": "防城港", "mobile": "该主子没有留电话~", "keyword": "防城港FANGCHENGGANG" }, { "name": "抚顺", "mobile": "13588889999", "keyword": "抚顺FUSHUN13588889999" }, { "name": "阜新", "mobile": "13588889999", "keyword": "阜新FUXIN13588889999" }, { "name": "阜阳", "mobile": "13588889999", "keyword": "阜阳FUYANG13588889999" }, { "name": "抚州", "mobile": "13588889999", "keyword": "抚州FUZHOU13588889999" }, { "name": "福州", "mobile": "13588889999", "keyword": "福州FUZHOU13588889999" } ] }, { "letter": "G", "data": [{ "name": "甘南", "mobile": "13588889999", "keyword": "甘南GANNAN13588889999" }, { "name": "赣州", "mobile": "13588889999", "keyword": "赣州GANZHOU13588889999" }, { "name": "甘孜", "mobile": "13588889999", "keyword": "甘孜GANZI13588889999" } ] }, { "letter": "H", "data": [{ "name": "哈尔滨", "mobile": "13588889999", "keyword": "哈尔滨HAERBIN13588889999" }, { "name": "海北", "mobile": "13588889999", "keyword": "海北HAIBEI13588889999" }, { "name": "海东", "mobile": "13588889999", "keyword": "海东HAIDONG13588889999" }, { "name": "海口", "mobile": "13588889999", "keyword": "海口HAIKOU13588889999" } ] }, { "letter": "I", "data": [{ "name": "ice", "mobile": "13588889999", "keyword": "佳木斯JIAMUSI13588889999" }] }, { "letter": "J", "data": [{ "name": "佳木斯", "mobile": "13588889999", "keyword": "佳木斯JIAMUSI13588889999" }, { "name": "吉安", "mobile": "13588889999", "keyword": "吉安JIAN13588889999" }, { "name": "江门", "mobile": "13588889999", "keyword": "江门JIANGMEN13588889999" } ] }, { "letter": "K", "data": [{ "name": "开封", "mobile": "13588889999", "keyword": "开封KAIFENG13588889999" }, { "name": "喀什", "mobile": "13588889999", "keyword": "喀什KASHI13588889999" }, { "name": "克拉玛依", "mobile": "13588889999", "keyword": "克拉玛依KELAMAYI13588889999" } ] }, { "letter": "L", "data": [{ "name": "来宾", "mobile": "13588889999", "keyword": "来宾LAIBIN13588889999" }, { "name": "兰州", "mobile": "13588889999", "keyword": "兰州LANZHOU13588889999" }, { "name": "拉萨", "mobile": "13588889999", "keyword": "拉萨LASA13588889999" }, { "name": "乐山", "mobile": "13588889999", "keyword": "乐山LESHAN13588889999" }, { "name": "凉山", "mobile": "13588889999", "keyword": "凉山LIANGSHAN13588889999" }, { "name": "连云港", "mobile": "13588889999", "keyword": "连云港LIANYUNGANG13588889999" }, { "name": "聊城", "mobile": "18322223333", "keyword": "聊城LIAOCHENG18322223333" }, { "name": "辽阳", "mobile": "18322223333", "keyword": "辽阳LIAOYANG18322223333" }, { "name": "辽源", "mobile": "18322223333", "keyword": "辽源LIAOYUAN18322223333" }, { "name": "丽江", "mobile": "18322223333", "keyword": "丽江LIJIANG18322223333" }, { "name": "临沧", "mobile": "18322223333", "keyword": "临沧LINCANG18322223333" }, { "name": "临汾", "mobile": "18322223333", "keyword": "临汾LINFEN18322223333" }, { "name": "临夏", "mobile": "18322223333", "keyword": "临夏LINXIA18322223333" }, { "name": "临沂", "mobile": "18322223333", "keyword": "临沂LINYI18322223333" }, { "name": "林芝", "mobile": "18322223333", "keyword": "林芝LINZHI18322223333" }, { "name": "丽水", "mobile": "18322223333", "keyword": "丽水LISHUI18322223333" } ] }, { "letter": "M", "data": [{ "name": "眉山", "mobile": "15544448888", "keyword": "眉山MEISHAN15544448888" }, { "name": "梅州", "mobile": "15544448888", "keyword": "梅州MEIZHOU15544448888" }, { "name": "绵阳", "mobile": "15544448888", "keyword": "绵阳MIANYANG15544448888" }, { "name": "牡丹江", "mobile": "15544448888", "keyword": "牡丹江MUDANJIANG15544448888" } ] }, { "letter": "N", "data": [{ "name": "南昌", "mobile": "15544448888", "keyword": "南昌NANCHANG15544448888" }, { "name": "南充", "mobile": "15544448888", "keyword": "南充NANCHONG15544448888" }, { "name": "南京", "mobile": "15544448888", "keyword": "南京NANJING15544448888" }, { "name": "南宁", "mobile": "15544448888", "keyword": "南宁NANNING15544448888" }, { "name": "南平", "mobile": "15544448888", "keyword": "南平NANPING15544448888" } ] }, { "letter": "O", "data": [{ "name": "欧阳", "mobile": "15544448888", "keyword": "欧阳ouyang15544448888" }] }, { "letter": "P", "data": [{ "name": "盘锦", "mobile": "15544448888", "keyword": "盘锦PANJIN15544448888" }, { "name": "攀枝花", "mobile": "15544448888", "keyword": "攀枝花PANZHIHUA15544448888" }, { "name": "平顶山", "mobile": "15544448888", "keyword": "平顶山PINGDINGSHAN15544448888" }, { "name": "平凉", "mobile": "15544448888", "keyword": "平凉PINGLIANG15544448888" }, { "name": "萍乡", "mobile": "15544448888", "keyword": "萍乡PINGXIANG15544448888" }, { "name": "普洱", "mobile": "15544448888", "keyword": "普洱PUER15544448888" }, { "name": "莆田", "mobile": "15544448888", "keyword": "莆田PUTIAN15544448888" }, { "name": "濮阳", "mobile": "15544448888", "keyword": "濮阳PUYANG15544448888" } ] }, { "letter": "Q", "data": [{ "name": "黔东南", "mobile": "15544448888", "keyword": "黔东南QIANDONGNAN15544448888" }, { "name": "黔南", "mobile": "15544448888", "keyword": "黔南QIANNAN15544448888" }, { "name": "黔西南", "mobile": "15544448888", "keyword": "黔西南QIANXINAN15544448888" } ] }, { "letter": "R", "data": [{ "name": "日喀则", "mobile": "15544448888", "keyword": "日喀则RIKAZE15544448888" }, { "name": "日照", "mobile": "15544448888", "keyword": "日照RIZHAO15544448888" } ] }, { "letter": "S", "data": [{ "name": "三门峡", "mobile": "15544448888", "keyword": "三门峡SANMENXIA15544448888" }, { "name": "三明", "mobile": "15544448888", "keyword": "三明SANMING15544448888" }, { "name": "三沙", "mobile": "15544448888", "keyword": "三沙SANSHA15544448888" } ] }, { "letter": "T", "data": [{ "name": "塔城", "mobile": "15544448888", "keyword": "塔城TACHENG15544448888" }, { "name": "漯河", "mobile": "15544448888", "keyword": "漯河TAHE15544448888" }, { "name": "泰安", "mobile": "15544448888", "keyword": "泰安TAIAN15544448888" } ] }, { "letter": "W", "data": [{ "name": "潍坊", "mobile": "15544448888", "keyword": "潍坊WEIFANG15544448888" }, { "name": "威海", "mobile": "15544448888", "keyword": "威海WEIHAI15544448888" }, { "name": "渭南", "mobile": "15544448888", "keyword": "渭南WEINAN15544448888" }, { "name": "文山", "mobile": "15544448888", "keyword": "文山WENSHAN15544448888" } ] }, { "letter": "X", "data": [{ "name": "厦门", "mobile": "15544448888", "keyword": "厦门XIAMEN15544448888" }, { "name": "西安", "mobile": "15544448888", "keyword": "西安XIAN15544448888" }, { "name": "湘潭", "mobile": "15544448888", "keyword": "湘潭XIANGTAN15544448888" } ] }, { "letter": "Y", "data": [{ "name": "雅安", "mobile": "15544448888", "keyword": "雅安YAAN15544448888" }, { "name": "延安", "mobile": "15544448888", "keyword": "延安YANAN15544448888" }, { "name": "延边", "mobile": "15544448888", "keyword": "延边YANBIAN15544448888" }, { "name": "盐城", "mobile": "15544448888", "keyword": "盐城YANCHENG15544448888" } ] }, { "letter": "Z", "data": [{ "name": "枣庄", "mobile": "15544448888", "keyword": "枣庄ZAOZHUANG15544448888" }, { "name": "张家界", "mobile": "15544448888", "keyword": "张家界ZHANGJIAJIE15544448888" }, { "name": "张家口", "mobile": "15544448888", "keyword": "张家口ZHANGJIAKOU15544448888" } ] }, { "letter": "#", "data": [{ "name": "其他.", "mobile": "16666666666", "keyword": "echo16666666666" }] } ] } ================================================ FILE: common/locales/en.js ================================================ export default { // 可以以页面为单位来写,比如首页的内容,写在index字段,个人中心写在center,共同部分写在common部分 components: { desc: 'Numerous components cover the various requirements of the development process, and the components are rich in functions and compatible with multiple terminals. Let you integrate quickly, out of the box' }, js: { desc: 'Numerous intimate gadgets are a weapon that you can call upon during the development process, allowing you to dart in your hand and pierce the Yang with a hundred steps' }, template: { desc: 'Collection of many commonly used pages and layouts, reducing the repetitive work of developers, allowing you to focus on logic and get twice the result with half the effort' }, nav: { components: 'Components', js: 'JS', template: 'Template' }, common: { intro: 'UI framework for rapid development of multiple platforms', title: 'uView UI', }, } ================================================ FILE: common/locales/zh.js ================================================ export default { // 可以以页面为单位来写,比如首页的内容,写在index字段,个人中心写在center,共同部分写在common部分 components: { desc: '众多组件覆盖开发过程的各个需求,组件功能丰富,多端兼容。让你快速集成,开箱即用' }, js: { desc: '众多的贴心小工具,是你开发过程中召之即来的利器,让你飞镖在手,百步穿杨' }, template: { desc: '收集众多的常用页面和布局,减少开发者的重复工作,让你专注逻辑,事半功倍' }, nav: { components: '组件', js: '工具', template: '模板' }, common: { intro: '多平台快速开发的UI框架', title: 'uView UI', }, } ================================================ FILE: components/page-nav/page-nav.vue ================================================ ================================================ FILE: main.js ================================================ import Vue from 'vue'; import App from './App'; Vue.config.productionTip = false; App.mpType = 'app'; // 此处为演示Vue.prototype使用,非uView的功能部分 Vue.prototype.vuePrototype = '枣红'; // 引入全局uView import uView from 'uview-ui'; Vue.use(uView); // 此处为演示vuex使用,非uView的功能部分 import store from '@/store'; // 引入uView提供的对vuex的简写法文件 let vuexStore = require('@/store/$u.mixin.js'); Vue.mixin(vuexStore); // 引入uView对小程序分享的mixin封装 let mpShare = require('uview-ui/libs/mixin/mpShare.js'); Vue.mixin(mpShare); // i18n部分的配置 // 引入语言包,注意路径 import Chinese from '@/common/locales/zh.js'; import English from '@/common/locales/en.js'; // VueI18n import VueI18n from '@/common/vue-i18n.min.js'; // VueI18n Vue.use(VueI18n); const i18n = new VueI18n({ // 默认语言 locale: 'zh', // 引入语言文件 messages: { 'zh': Chinese, 'en': English, } }); // 由于微信小程序的运行机制问题,需声明如下一行,H5和APP非必填 Vue.prototype._i18n = i18n; const app = new Vue({ i18n, store, ...App }); // http拦截器,将此部分放在new Vue()和app.$mount()之间,才能App.vue中正常使用 import httpInterceptor from '@/common/http.interceptor.js'; Vue.use(httpInterceptor, app); // http接口API抽离,免于写url或者一些固定的参数 import httpApi from '@/common/http.api.js'; Vue.use(httpApi, app); app.$mount(); ================================================ FILE: manifest.json ================================================ { "name" : "uView", "appid" : "__UNI__6655525", "description" : "多平台快速开发的UI框架", "versionName" : "1.8.8", "versionCode" : "100", "transformPx" : false, "app-plus" : { // APP-VUE分包,可提APP升启动速度,2.7.12开始支持,兼容微信小程序分包方案,默认关闭 "optimization" : { "subPackages" : true }, "safearea" : { "bottom" : { "offset" : "none" } }, "splashscreen" : { "alwaysShowBeforeRender" : true, "waiting" : true, "autoclose" : true, "delay" : 0 }, "usingComponents" : true, "nvueCompiler" : "uni-app", "compilerVersion" : 3, "modules" : {}, "distribute" : { "android" : { "permissions" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] }, "ios" : {}, "sdkConfigs" : { "ad" : {} }, "icons" : { "android" : { "hdpi" : "unpackage/res/icons/72x72.png", "xhdpi" : "unpackage/res/icons/96x96.png", "xxhdpi" : "unpackage/res/icons/144x144.png", "xxxhdpi" : "unpackage/res/icons/192x192.png" }, "ios" : { "appstore" : "unpackage/res/icons/1024x1024.png", "ipad" : { "app" : "unpackage/res/icons/76x76.png", "app@2x" : "unpackage/res/icons/152x152.png", "notification" : "unpackage/res/icons/20x20.png", "notification@2x" : "unpackage/res/icons/40x40.png", "proapp@2x" : "unpackage/res/icons/167x167.png", "settings" : "unpackage/res/icons/29x29.png", "settings@2x" : "unpackage/res/icons/58x58.png", "spotlight" : "unpackage/res/icons/40x40.png", "spotlight@2x" : "unpackage/res/icons/80x80.png" }, "iphone" : { "app@2x" : "unpackage/res/icons/120x120.png", "app@3x" : "unpackage/res/icons/180x180.png", "notification@2x" : "unpackage/res/icons/40x40.png", "notification@3x" : "unpackage/res/icons/60x60.png", "settings@2x" : "unpackage/res/icons/58x58.png", "settings@3x" : "unpackage/res/icons/87x87.png", "spotlight@2x" : "unpackage/res/icons/80x80.png", "spotlight@3x" : "unpackage/res/icons/120x120.png" } } } } }, "quickapp" : {}, "mp-weixin" : { "appid" : "", "setting" : { "urlCheck" : true, "es6" : false, "minified" : true, "postcss" : true }, "optimization" : { "subPackages" : true }, "usingComponents" : true }, "mp-alipay" : { "usingComponents" : true, "component2" : true }, "mp-qq" : { "optimization" : { "subPackages" : true }, "appid" : "15646153" }, "mp-baidu" : { "usingComponents" : true, "appid" : "17597421" }, "mp-toutiao" : { "usingComponents" : true, "appid" : "" }, "h5" : { "template" : "template.h5.html", "router" : { "mode" : "hash", "base" : "" }, "optimization" : { "treeShaking" : { "enable" : false } }, "title" : "uView UI" } } ================================================ FILE: package.json ================================================ { "name": "uview1.0", "version": "1.0.0", "description": "

\r \"logo\"\r

\r

uView

\r

多平台快速开发的UI框架

", "main": "main.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "deploy": "node deploy", "preinstall": "npx only-allow pnpm" }, "repository": { "type": "git", "url": "git+https://github.com/YanxinNet/uView.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/YanxinNet/uView/issues" }, "homepage": "https://github.com/YanxinNet/uView#readme", "dependencies": { "vue-i18n": "^8.20.0", "anve-upload-upyun": "^1.0.8" } } ================================================ FILE: pages/componentsA/avatar/index.vue ================================================ ================================================ FILE: pages/componentsA/avatarCropper/index.vue ================================================ ================================================ FILE: pages/componentsA/backTop/index.vue ================================================ ================================================ FILE: pages/componentsA/calendar/index.vue ================================================ ================================================ FILE: pages/componentsA/empty/index.vue ================================================ ================================================ FILE: pages/componentsA/field/index.vue ================================================ ================================================ FILE: pages/componentsA/form/index.vue ================================================ ================================================ FILE: pages/componentsA/fullScreen/index.vue ================================================ ================================================ FILE: pages/componentsA/icon/index.vue ================================================ ================================================ FILE: pages/componentsA/indexList/index.vue ================================================ ================================================ FILE: pages/componentsA/keyboard/index.vue ================================================ ================================================ FILE: pages/componentsA/lazyLoad/index.vue ================================================ ================================================ FILE: pages/componentsA/modal/index.vue ================================================ ================================================ FILE: pages/componentsA/navbar/index.vue ================================================ ================================================ FILE: pages/componentsA/noNetwork/index.vue ================================================ ================================================ FILE: pages/componentsA/parse/index.vue ================================================ ================================================ FILE: pages/componentsA/select/index.vue ================================================ ================================================ FILE: pages/componentsA/slider/index.vue ================================================ ================================================ FILE: pages/componentsA/tabs/index.vue ================================================ ================================================ FILE: pages/componentsA/tag/index.vue ================================================ ================================================ FILE: pages/componentsA/test/index.vue ================================================ ================================================ FILE: pages/componentsA/timeLine/index.vue ================================================ ================================================ FILE: pages/componentsA/toast/index.vue ================================================ ================================================ FILE: pages/componentsA/topTips/index.vue ================================================ ================================================ FILE: pages/componentsA/verificationCode/index.vue ================================================ ================================================ FILE: pages/componentsB/card/index.vue ================================================ ================================================ FILE: pages/componentsB/checkbox/index.vue ================================================ ================================================ FILE: pages/componentsB/divider/index.vue ================================================ ================================================ FILE: pages/componentsB/dropdown/index.vue ================================================ ================================================ FILE: pages/componentsB/image/index.vue ================================================ ================================================ FILE: pages/componentsB/line/index.vue ================================================ ================================================ FILE: pages/componentsB/loading/index.vue ================================================ ================================================ FILE: pages/componentsB/noticeBar/index.vue ================================================ ================================================ FILE: pages/componentsB/picker/index.vue ================================================ ================================================ FILE: pages/componentsB/radio/index.vue ================================================ ================================================ FILE: pages/componentsB/rate/index.vue ================================================ ================================================ FILE: pages/componentsB/readMore/index.vue ================================================ ================================================ FILE: pages/componentsB/search/index.vue ================================================ ================================================ FILE: pages/componentsB/skeleton/index.vue ================================================ ================================================ FILE: pages/componentsB/steps/index.vue ================================================ ================================================ FILE: pages/componentsB/sticky/index.vue ================================================ ================================================ FILE: pages/componentsB/swipeAction/index.vue ================================================ ================================================ FILE: pages/componentsB/swiper/index.vue ================================================ ================================================ FILE: pages/componentsB/switch/index.vue ================================================ ================================================ FILE: pages/componentsB/tabbar/index.vue ================================================ ================================================ FILE: pages/componentsB/table/index.vue ================================================ ================================================ FILE: pages/componentsB/upload/index.vue ================================================ ================================================ FILE: pages/componentsB/waterfall/index.vue ================================================ ================================================ FILE: pages/componentsC/actionSheet/index.vue ================================================ ================================================ FILE: pages/componentsC/alertTips/index.vue ================================================ ================================================ FILE: pages/componentsC/badge/index.vue ================================================ ================================================ FILE: pages/componentsC/button/index.vue ================================================ ================================================ FILE: pages/componentsC/cell/index.vue ================================================ ================================================ FILE: pages/componentsC/circleProgress/index.vue ================================================ ================================================ FILE: pages/componentsC/collapse/index.vue ================================================ ================================================ FILE: pages/componentsC/color/index.vue ================================================ ================================================ FILE: pages/componentsC/countDown/index.vue ================================================ ================================================ FILE: pages/componentsC/countTo/index.vue ================================================ ================================================ FILE: pages/componentsC/gap/index.vue ================================================ ================================================ FILE: pages/componentsC/grid/index.vue ================================================ ================================================ FILE: pages/componentsC/layout/index.vue ================================================ ================================================ FILE: pages/componentsC/link/index.vue ================================================ ================================================ FILE: pages/componentsC/loadmore/index.vue ================================================ ================================================ FILE: pages/componentsC/mask/index.vue ================================================ ================================================ FILE: pages/componentsC/messageInput/index.vue ================================================ ================================================ FILE: pages/componentsC/numberBox/index.vue ================================================ ================================================ FILE: pages/componentsC/popup/index.vue ================================================ ================================================ FILE: pages/componentsC/progress/index.vue ================================================ ================================================ FILE: pages/componentsC/section/index.vue ================================================ ================================================ FILE: pages/componentsC/subsection/index.vue ================================================ ================================================ FILE: pages/componentsC/test/index.vue ================================================ ================================================ FILE: pages/example/components.config.js ================================================ export default [{ groupName: '基础组件', groupName_en: 'Basic components', list: [{ path: '/pages/componentsC/color/index', icon: 'color', title: 'Color 色彩', title_en: 'Color', }, { path: '/pages/componentsA/icon/index', icon: 'icon', title: 'Icon 图标', title_en: 'Icon', },{ path: '/pages/componentsB/image/index', icon: 'image', title: 'Image 图片', title_en: 'Image', }, { path: '/pages/componentsC/button/index', icon: 'button', title: 'Button 按钮', title_en: 'Button', }, { path: '/pages/componentsC/layout/index', icon: 'layout', title: 'Layout 布局', title_en: 'Layout', }, { path: '/pages/componentsC/cell/index', icon: 'cell', title: 'Cell 单元格', title_en: 'Cell', }, { path: '/pages/componentsC/badge/index', icon: 'badge', title: 'Badge 徽标数', title_en: 'Badge', }, { path: '/pages/componentsA/tag/index', icon: 'tag', title: 'Tag 标签', title_en: 'Tag', }] }, { groupName: '表单组件', groupName_en: 'Form components', list: [{ path: '/pages/componentsA/form/index', icon: 'form', title: 'Form 表单', title_en: 'Form', }, { path: '/pages/componentsA/calendar/index', icon: 'calendar', title: 'Calendar 日历', title_en: 'Calendar', }, { path: '/pages/componentsA/select/index', icon: 'select', title: 'Select 列选择器', title_en: 'Select', }, { path: '/pages/componentsA/keyboard/index', icon: 'keyboard', title: 'Keyboard 键盘', title_en: 'Keyboard', }, { path: '/pages/componentsB/picker/index', icon: 'picker', title: 'Picker 选择器', title_en: 'Picker', }, { path: '/pages/componentsB/rate/index', icon: 'rate', title: 'Rate 评分', title_en: 'Rate', }, { path: '/pages/componentsB/search/index', icon: 'search', title: 'Search 搜索', title_en: 'Search', }, { path: '/pages/componentsC/numberBox/index', icon: 'numberBox', title: 'NumberBox 步进器', title_en: 'NumberBox', }, { path: '/pages/componentsB/upload/index', icon: 'upload', title: 'Upload 上传', title_en: 'Upload', }, { path: '/pages/componentsA/verificationCode/index', icon: 'verificationCode', title: 'VerificationCode 验证码倒计时', title_en: 'VerificationCode', }, { path: '/pages/componentsA/field/index', icon: 'field', title: 'Field 输入框', title_en: 'Field', }, { path: '/pages/componentsB/checkbox/index', icon: 'checkbox', title: 'Checkbox 复选框', title_en: 'Checkbox', }, { path: '/pages/componentsB/radio/index', icon: 'radio', title: 'Radio 单选框', title_en: 'Radio', }, { path: '/pages/componentsB/switch/index', icon: 'switch', title: 'Switch 开关选择器', title_en: 'Switch', }, { path: '/pages/componentsA/slider/index', icon: 'slider', title: 'Slider 滑动选择器', title_en: 'Slider', }] }, { groupName: '数据组件', groupName_en: 'Data components', list: [{ path: '/pages/componentsC/progress/index', icon: 'progress', title: 'Progress 进度条', title_en: 'Progress', }, { path: '/pages/componentsB/table/index', icon: 'table', title: 'Table 表格', title_en: 'Table', }, { path: '/pages/componentsC/countDown/index', icon: 'countDown', title: 'CountDown 倒计时', title_en: 'CountDown', }, { path: '/pages/componentsC/countTo/index', icon: 'countTo', title: 'CountTo 数字滚动', title_en: 'CountTo', }] }, { groupName: '反馈组件', groupName_en: 'Feedback components', list: [{ path: '/pages/componentsC/actionSheet/index', icon: 'actionSheet', title: 'ActionSheet 操作菜单', title_en: 'ActionSheet', }, { path: '/pages/componentsC/alertTips/index', icon: 'alertTips', title: 'AlertTips 警告提示', title_en: 'AlertTips', }, { path: '/pages/componentsA/toast/index', icon: 'toast', title: 'Toast 消息提示', title_en: 'Toast', }, { path: '/pages/componentsB/noticeBar/index', icon: 'noticeBar', title: 'NoticeBar 滚动通知', title_en: 'NoticeBar', }, { path: '/pages/componentsA/topTips/index', icon: 'topTips', title: 'TopTips 顶部提示', title_en: 'TopTips', }, { path: '/pages/componentsB/swipeAction/index', icon: 'swipeAction', title: 'SwipeAction 滑动单元格', title_en: 'SwipeAction', }, { path: '/pages/componentsC/collapse/index', icon: 'collapse', title: 'Collapse 折叠面板', title_en: 'Collapse', }, { path: '/pages/componentsC/popup/index', icon: 'popup', title: 'Popup 弹出层', title_en: 'Popup', }, { path: '/pages/componentsA/modal/index', icon: 'modal', title: 'Modal 模态框', title_en: 'Modal', }, { path: '/pages/componentsA/fullScreen/index', icon: 'pressingScreen', title: 'fullScreen 压窗屏', title_en: 'fullScreen', }] }, { groupName: '布局组件', groupName_en: 'Layout components', list: [{ path: '/pages/componentsB/line/index', icon: 'line', title: 'Line 线条', title_en: 'Line', }, { path: '/pages/componentsB/card/index', icon: 'card', title: 'Card 卡片', title_en: 'Card', }, { path: '/pages/componentsC/mask/index', icon: 'mask', title: 'Mask 遮罩层', title_en: 'Mask', }, // #ifndef MP-TOUTIAO { path: '/pages/componentsA/noNetwork/index', icon: 'noNetwork', title: 'NoNetwork 无网络提示', title_en: 'NoNetwork', }, // #endif { path: '/pages/componentsC/grid/index', icon: 'grid', title: 'Grid 宫格布局', title_en: 'Grid', }, { path: '/pages/componentsB/swiper/index', icon: 'swiper', title: 'Swiper 轮播图', title_en: 'Swiper', }, { path: '/pages/componentsA/timeLine/index', icon: 'timeLine', title: 'TimeLine 时间轴', title_en: 'TimeLine', }, { path: '/pages/componentsB/skeleton/index', icon: 'skeleton', title: 'Skeleton 骨架屏', title_en: 'Skeleton', }, { path: '/pages/componentsB/sticky/index', icon: 'sticky', title: 'Sticky 吸顶', title_en: 'Sticky', }, // #ifndef MP-TOUTIAO { path: '/pages/componentsB/waterfall/index', icon: 'waterfall', title: 'Waterfall 瀑布流', title_en: 'Waterfall', }, // #endif { path: '/pages/componentsB/divider/index', icon: 'divider', title: 'Divider 分割线', title_en: 'Divider', }] }, { groupName: '导航组件', groupName_en: 'Navigation components', list: [{ path: '/pages/componentsB/dropdown/index', icon: 'dropdown', title: 'Dropdown 下拉菜单', title_en: 'Dropdown', },{ path: '/pages/componentsB/tabbar/index', icon: 'tabbar', title: 'Tabbar 底部导航栏', title_en: 'Tabbar', },{ path: '/pages/componentsA/backTop/index', icon: 'backTop', title: 'BackTop 返回顶部', title_en: 'BackTop', },{ path: '/pages/componentsA/navbar/index', icon: 'navbar', title: 'Navbar 导航栏', title_en: 'Navbar', }, { path: '/pages/componentsA/tabs/index', icon: 'tabs', title: 'Tabs 标签', title_en: 'Tabs', }, // #ifndef MP-ALIPAY { path: '/pages/template/order/index', icon: 'tabsSwiper', title: 'TabsSwiper 全屏选项卡', title_en: 'TabsSwiper', }, // #endif { path: '/pages/componentsC/subsection/index', icon: 'subsection', title: 'Subsection 分段器', title_en: 'Subsection', }, { path: '/pages/componentsA/indexList/index', icon: 'indexList', title: 'IndexList 索引列表', title_en: 'IndexList', }, { path: '/pages/componentsB/steps/index', icon: 'steps', title: 'Steps 步骤条', title_en: 'Steps', }, { path: '/pages/componentsA/empty/index', icon: 'empty', title: 'Empty 内容为空', title_en: 'Empty', }, { path: '/pages/componentsC/section/index', icon: 'section', title: 'Section 查看更多', title_en: 'Section', }] }, { groupName: '其他组件', groupName_en: 'Other components', list: [{ path: '/pages/componentsA/parse/index', icon: 'parse', title: 'Parse 富文本解析器', title_en: 'Parse', },{ path: '/pages/componentsC/messageInput/index', icon: 'messageInput', title: 'MessageInput 验证码输入', title_en: 'MessageInput', }, { path: '/pages/componentsA/avatarCropper/index', icon: 'avatarCropper', title: 'AvatarCropper 头像裁剪', title_en: 'AvatarCropper', }, { path: '/pages/componentsC/loadmore/index', icon: 'loadmore', title: 'Loadmore 加载更多', title_en: 'Loadmore', }, { path: '/pages/componentsB/readMore/index', icon: 'readMore', title: 'ReadMore 展开阅读更多', title_en: 'ReadMore', }, { path: '/pages/componentsA/lazyLoad/index', icon: 'lazyLoad', title: 'LazyLoad 懒加载', title_en: 'LazyLoad', }, { path: '/pages/componentsC/gap/index', icon: 'gap', title: 'Gap 间隔槽', title_en: 'Gap', }, { path: '/pages/componentsA/avatar/index', icon: 'avatar', title: 'Avatar 头像', title_en: 'Avatar', }, { path: '/pages/componentsC/link/index', icon: 'link', title: 'Link 超链接', title_en: 'Link', }, { path: '/pages/componentsB/loading/index', icon: 'loading', title: 'Loading 加载动画', title_en: 'Loading', }] }, ] ================================================ FILE: pages/example/components.vue ================================================ ================================================ FILE: pages/example/js.config.js ================================================ export default [ { groupName: '网络', groupName_en: 'Network', list: [ { path: 'http', icon: 'http', title: 'Http 请求', title_en: 'Http', } ] }, { groupName: '全局变量', groupName_en: 'Global variable', list: [ { path: 'globalVariable', icon: 'globalVariable', title: 'GlobalVariable 全局变量', title_en: 'GlobalVariable', } ] }, { groupName: '工具库', groupName_en: 'Tool library', list: [ { path: 'debounce', icon: 'debounce', title: 'Throttle | Debounce 节流防抖', title_en: 'Throttle | Debounce', }, { path: 'deepMerge', icon: 'deepMerge', title: 'DeepMerge 对象深度合并', title_en: 'DeepMerge', },{ path: 'deepClone', icon: 'deepClone', title: 'DeepClone 对象深度克隆', title_en: 'DeepClone', }, { path: 'timeFormat', icon: 'timeFormat', title: 'TimeFormat 时间格式化', title_en: 'TimeFormat', },{ path: 'timeFrom', icon: 'timeFrom', title: 'TimeFrom 多久之前', title_en: 'TimeFrom', },{ path: 'guid', icon: 'guid', title: 'Guid 全局唯一id', title_en: 'Guid', },{ path: 'route', icon: 'route', title: 'Route 路由跳转', title_en: 'Route', },{ path: 'randomArray', icon: 'randomArray', title: 'RandomArray 数组乱序', title_en: 'RandomArray', },{ path: 'colorSwitch', icon: 'colorSwitch', title: 'ColorSwitch 颜色转换', title_en: 'ColorSwitch', },{ path: 'color', icon: 'color', title: 'Color 颜色值', title_en: 'Color', },{ path: 'queryParams', icon: 'queryParams', title: 'QueryParams 对象转URL参数', title_en: 'QueryParams', },{ path: 'test', icon: 'test', title: 'Test 规则校验', title_en: 'Test', },{ path: 'md5', icon: 'md5', title: 'Md5 md5加密', title_en: 'Md5', },{ path: 'random', icon: 'random', title: 'Random 随机数值', title_en: 'Random', },{ path: 'trim', icon: 'trim', title: 'Trim 去除空格', title_en: 'Trim', },{ path: 'getRect', icon: 'getRect', title: 'GetRect 节点信息', title_en: 'GetRect', },{ path: 'mpShare', icon: 'mpShare', title: 'MpShare 小程序分享', title_en: 'MpShare', } ] } ] ================================================ FILE: pages/example/js.vue ================================================ ================================================ FILE: pages/example/template.config.js ================================================ export default [ { groupName: '部件', groupName_en: 'Parts', list: [ { path: 'coupon', icon: 'coupon', title: 'Coupon 优惠券', title_en: 'Coupon', } ] }, { groupName: '页面', groupName_en: 'Page', list: [ { path: '/pages/template/wxCenter/index', icon: 'wxCenter', title: 'WxCenter 仿微信个人中心', title_en: 'WxCenter', }, // { // path: '/pages/template/douyin/index', // icon: 'douyin', // title: 'Douyin 仿抖音', // }, { path: '/pages/template/keyboardPay/index', icon: 'keyboardPay', title: 'KeyboardPay 自定义键盘支付模板', title_en: 'KeyboardPay', }, { path: '/pages/template/mallMenu/index1', icon: 'mall_menu_1', title: 'MallMenu 垂直分类(左右独立)', title_en: 'MallMenu 1', },{ path: '/pages/template/mallMenu/index2', icon: 'mall_menu_2', title: 'MallMenu 垂直分类(左右联动)', title_en: 'MallMenu 2', },{ path: 'submitBar', icon: 'submitBar', title: 'SubmitBar 提交订单栏', title_en: 'SubmitBar', },{ path: 'comment', icon: 'comment', title: 'Comment 评论列表', title_en: 'Comment', },{ path: 'order', icon: 'order', title: 'Order 订单列表', title_en: 'Order', },{ path: 'login', icon: 'login', title: 'Login 登录界面', title_en: 'Login', },{ path: 'address', icon: 'address', title: 'Address 收货地址', title_en: 'Address', },{ path: 'citySelect', icon: 'citySelect', title: 'CitySelect 城市选择', title_en: 'CitySelect', } ] } ] ================================================ FILE: pages/example/template.vue ================================================ ================================================ FILE: pages/library/color/index.vue ================================================ ================================================ FILE: pages/library/colorSwitch/index.vue ================================================ ================================================ FILE: pages/library/debounce/index.vue ================================================ ================================================ FILE: pages/library/deepClone/index.vue ================================================ ================================================ FILE: pages/library/deepMerge/index.vue ================================================ ================================================ FILE: pages/library/getRect/index.vue ================================================ ================================================ FILE: pages/library/globalVariable/globalData.vue ================================================ ================================================ FILE: pages/library/globalVariable/index.vue ================================================ ================================================ FILE: pages/library/globalVariable/prototype.vue ================================================ ================================================ FILE: pages/library/globalVariable/vuex.vue ================================================ ================================================ FILE: pages/library/guid/index.vue ================================================ ================================================ FILE: pages/library/http/index.vue ================================================ ================================================ FILE: pages/library/md5/index.vue ================================================ ================================================ FILE: pages/library/mpShare/index.vue ================================================ ================================================ FILE: pages/library/queryParams/index.vue ================================================ ================================================ FILE: pages/library/random/index.vue ================================================ ================================================ FILE: pages/library/randomArray/index.vue ================================================ ================================================ FILE: pages/library/route/index.vue ================================================ ================================================ FILE: pages/library/route/routeTo.vue ================================================ ================================================ FILE: pages/library/test/index.vue ================================================ ================================================ FILE: pages/library/timeFormat/index.vue ================================================ ================================================ FILE: pages/library/timeFrom/index.vue ================================================ ================================================ FILE: pages/library/trim/index.vue ================================================ ================================================ FILE: pages/template/address/addSite.vue ================================================