diff --git a/client_mp/App.vue b/client_mp/App.vue index d8c41ed..1139c91 100644 --- a/client_mp/App.vue +++ b/client_mp/App.vue @@ -13,6 +13,9 @@ /** * h5,app-plus(nvue下也为app-plus),mp-weixin,mp-alipay...... */ + this.$u.api.getUserInfo().then(res=>{ + this.$u.vuex('vuex_user', res.data) + }) }, } diff --git a/client_mp/common/http.api.js b/client_mp/common/http.api.js index d465d13..1ca9035 100644 --- a/client_mp/common/http.api.js +++ b/client_mp/common/http.api.js @@ -19,12 +19,35 @@ const install = (Vue, vm) => { let login = (params = {}) => vm.$u.post('/token/', params); //账户密码登录 // 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下 - let getMyInspectTask = (params = {}) => vm.$u.get('/quality/subinspecttask/self/', params); + let getMyInspectTaskList = (params = {}) => vm.$u.get('/quality/subinspecttask/self/', params); + + let getSubinspectTask = (id, params)=> vm.$u.get(`/quality/subinspecttask/${id}/`, params); + + //获取子任务涉及的单位 + let getSubtaskDepts = (id, params)=> vm.$u.get(`/quality/subinspecttask/${id}/depts/`, params); + + //获取子任务单位的详细信息 + let getSubtaskDept = (id, params)=> vm.$u.get(`/quality/inspectdept/${id}/`, params); + let getInspectRecords = (params)=> vm.$u.get('/quality/inspectrecord/', params); + + let getInspectRecord = (id, params)=> vm.$u.get(`/quality/inspectrecord/${id}/`, params); + + let checkInspectRecord = (id, params)=> vm.$u.put(`/quality/inspectrecord/${id}/check/`, params); + + let upInspectDept = (id, params)=>vm.$u.put(`/quality/inspectdept/${id}/up/`, params); vm.$u.api = {getUserInfo, getCode, codeLogin, login, - getMyInspectTask}; + getMyInspectTaskList, + getSubinspectTask, + getSubtaskDepts, + getInspectRecords, + getSubtaskDept, + getInspectRecord, + checkInspectRecord, + upInspectDept + }; } export default { diff --git a/client_mp/common/http.interceptor.js b/client_mp/common/http.interceptor.js index 9e2eeaa..0ef21f9 100644 --- a/client_mp/common/http.interceptor.js +++ b/client_mp/common/http.interceptor.js @@ -3,7 +3,7 @@ const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ // baseUrl: 'https://api.youzixy.com', - baseUrl: 'http://10.0.11.127:8000/api', + baseUrl: vm.vuex_api, // 如果将此值设置为true,拦截回调中将会返回服务端返回的所有数据response,而不是response.data // 设置为true后,就需要在this.$u.http.interceptor.response进行多一次的判断,请打印查看具体值 // originalData: true, @@ -54,7 +54,15 @@ const install = (Vue, vm) => { return false; } else{ - vm.$u.toast(res.msg); + if(typeof(res.msg)=='string'){ + vm.$u.toast(res.msg) + }else{ + let msg = JSON.stringify(res.msg) + vm.$u.toast(res.msg) + } + + + return false; } } diff --git a/client_mp/pages.json b/client_mp/pages.json index f1dda24..153781a 100644 --- a/client_mp/pages.json +++ b/client_mp/pages.json @@ -20,49 +20,7 @@ } }, - // 演示-组件 - { - "path": "pages/example/components", - "style": { - "navigationBarTitleText": "组件" - } - }, - // avatarCropper-头像裁剪 - { - "path": "uview-ui/components/u-avatar-cropper/u-avatar-cropper", - "style": { - "navigationBarTitleText": "头像裁剪", - "navigationBarBackgroundColor": "#000000" - } - }, - // 演示-工具 - { - "path": "pages/example/js", - "style": { - "navigationBarTitleText": "工具" - } - }, - // 演示-模板 - { - "path": "pages/example/template", - "style": { - "navigationBarTitleText": "模板" - } - }, - // fullScreen-压窗屏 - { - "path": "uview-ui/components/u-full-screen/u-full-screen", - "style": { - "navigationStyle": "custom", - "app-plus": { - "animationType": "fade-in", - "background": "transparent", - "backgroundColor": "rgba(0,0,0,0)", - "popGesture": "none" - } - } - } - ,{ + { "path" : "pages/my/my", "style" : { @@ -70,15 +28,6 @@ "enablePullDownRefresh": false } - } - ,{ - "path" : "pages/uview/uview", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - } ,{ "path" : "pages/login/login", @@ -116,786 +65,43 @@ } } + ,{ + "path" : "pages/inspectrecord/index", + "style" : + { + "navigationBarTitleText": "检查项目", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/inspectrecord/recorddo", + "style" : + { + "navigationBarTitleText": "检查确认", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/inspectrecord/recorddetail", + "style" : + { + "navigationBarTitleText": "条款详情", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/inspectrecord/deptreport", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } ], - "subPackages": [{ - "root": "pages/componentsC", - "pages": [ - // test-测试 - { - "path": "test/index", - "style": { - "navigationBarTitleText": "Test" - // "navigationStyle": "custom" ,// 隐藏系统导航栏 - // "navigationBarTextStyle": "white" // 状态栏字体为白色 - } - }, - // gap-间隔槽 - { - "path": "gap/index", - "style": { - "navigationBarTitleText": "gap-间隔槽" - } - }, - // subsection分段器 - { - "path": "subsection/index", - "style": { - "navigationBarTitleText": "subsection-分段器" - } - }, - // section 查看更多 - { - "path": "section/index", - "style": { - "navigationBarTitleText": "section-查看更多" - } - }, - // link链接 - { - "path": "link/index", - "style": { - "navigationBarTitleText": "link-链接" - } - }, - // mask遮罩层 - { - "path": "mask/index", - "style": { - "navigationBarTitleText": "mask-遮罩层" - } - }, - // countTo数字滚动 - { - "path": "countTo/index", - "style": { - "navigationBarTitleText": "countTo-数字滚动" - } - }, - // color颜色 - { - "path": "color/index", - "style": { - "navigationBarTitleText": "color-颜色" - } - }, - // countDown倒计时 - { - "path": "countDown/index", - "style": { - "navigationBarTitleText": "countDown-倒计时" - } - }, - // progress进度条 - { - "path": "progress/index", - "style": { - "navigationBarTitleText": "progress-进度条" - } - }, - // alertTips警告提示 - { - "path": "alertTips/index", - "style": { - "navigationBarTitleText": "alertTips-警告提示" - } - }, - // badge 徽标数 - { - "path": "badge/index", - "style": { - "navigationBarTitleText": "badge-徽标数" - } - }, - // button按钮 - { - "path": "button/index", - "style": { - "navigationBarTitleText": "button-按钮" - } - }, - // collapse折叠面板 - { - "path": "collapse/index", - "style": { - "navigationBarTitleText": "collapse-折叠面板" - } - }, - // actionSheet操作菜单 - { - "path": "actionSheet/index", - "style": { - "navigationBarTitleText": "actionSheet-操作菜单" - } - }, - // messageInput验证码输入 - { - "path": "messageInput/index", - "style": { - "navigationBarTitleText": "messageInput-验证码输入" - } - }, - // popup弹窗 - { - "path": "popup/index", - "style": { - "navigationBarTitleText": "popup-弹窗" - } - }, - // listCell - { - "path": "cell/index", - "style": { - "navigationBarTitleText": "listCell-列表" - } - }, - // numberBox数字输入框 - { - "path": "numberBox/index", - "style": { - "navigationBarTitleText": "numberBox-步进器" - } - }, - // grid宫格布局 - { - "path": "grid/index", - "style": { - "navigationBarTitleText": "grid-宫格布局" - } - }, - // layout栅格布局 - { - "path": "layout/index", - "style": { - "navigationBarTitleText": "layout-栅格布局" - } - }, - // 加载更多 - { - "path": "loadmore/index", - "style": { - "navigationBarTitleText": "loadmore-加载更多" - } - } - ] - }, - { - "root": "pages/template", - "pages": [ - // wxCenter 仿微信个人中心 - { - "path": "wxCenter/index", - "style": { - "navigationBarTitleText": "wxCenter 仿微信个人中心", - "navigationStyle": "custom" - } - }, - // keyboardPay 自定义键盘支付 - { - "path": "keyboardPay/index", - "style": { - "navigationBarTitleText": "keyboardPay 自定义键盘支付" - } - }, - // douyin 仿抖音 - // { - // "path": "douyin/index", - // "style": { - // "navigationBarTitleText": "douyin 仿抖音" - // } - // }, - // mallMenu商城分类 - { - "path": "mallMenu/index2", - "style": { - "navigationBarTitleText": "mallMenu-商城分类" - } - }, - // mallMenu商城分类 - { - "path": "mallMenu/index1", - "style": { - "navigationBarTitleText": "mallMenu-商城分类" - } - }, - // coupon优惠券 - { - "path": "coupon/index", - "style": { - "navigationBarTitleText": "coupon-优惠券" - } - }, - { - "path": "login/index", - "style": { - "navigationBarTitleText": "美团登录" - } - }, - // 城市选择 - { - "path": "citySelect/index", - "style": { - "navigationBarTitleText": "城市选择" - } - }, - // SubmitBar提交订单栏 - { - "path": "submitBar/index", - "style": { - "navigationBarTitleText": "提交订单栏" - } - }, - // comment评论 - { - "path": "comment/index", - "style": { - "navigationBarTitleText": "评论" - } - }, - // comment评论详情 - { - "path": "comment/reply", - "style": { - "navigationBarTitleText": "评论详情" - } - }, - // order订单 - { - "path": "order/index", - "style": { - "navigationBarTitleText": "订单" - } - }, - // login登录获取验证码 - { - "path": "login/code", - "style": { - "navigationBarTitleText": "登录获取验证码" - } - }, - // address用户地址 - { - "path": "address/index", - "style": { - "navigationBarTitleText": "用户地址" - } - }, - // address添加用户地址 - { - "path": "address/addSite", - "style": { - "navigationBarTitleText": "添加用户地址" - } - } - ] - }, - { - "root": "pages/library", - "pages": [ - // debounce-节流防抖 - { - "path": "debounce/index", - "style": { - "navigationBarTitleText": "throttle | debounce-节流防抖" - } - }, - // deepClone-对象深度克隆 - { - "path": "deepClone/index", - "style": { - "navigationBarTitleText": "deepClone-对象深度克隆" - } - }, - // deepMerge-对象深度合并 - { - "path": "deepMerge/index", - "style": { - "navigationBarTitleText": "deepMerge-对象深度合并" - } - }, - // getRect-元素节点 - { - "path": "getRect/index", - "style": { - "navigationBarTitleText": "getRect-元素节点" - } - }, - // timeFrom-多久之前 - { - "path": "timeFrom/index", - "style": { - "navigationBarTitleText": "timeFrom-多久之前" - } - }, - // globalData-全局变量 - { - "path": "globalVariable/globalData", - "style": { - "navigationBarTitleText": "globalData-全局变量" - } - }, - // prototype-全局变量 - { - "path": "globalVariable/prototype", - "style": { - "navigationBarTitleText": "prototype-全局变量" - } - }, - // vuex-全局变量 - { - "path": "globalVariable/vuex", - "style": { - "navigationBarTitleText": "vuex-全局变量" - } - }, - // globalVariable-全局变量 - { - "path": "globalVariable/index", - "style": { - "navigationBarTitleText": "globalVariable-全局变量" - } - }, - // http-请求 - { - "path": "http/index", - "style": { - "navigationBarTitleText": "http-请求" - } - }, - // test-规则验证 - { - "path": "test/index", - "style": { - "navigationBarTitleText": "test-规则验证" - } - }, - // mpShare-小程序分享 - { - "path": "mpShare/index", - "style": { - "navigationBarTitleText": "mpShare-小程序分享" - } - }, - // color-JS调用颜色 - { - "path": "color/index", - "style": { - "navigationBarTitleText": "color-JS调用颜色" - } - }, - // trim-去除空格 - { - "path": "trim/index", - "style": { - "navigationBarTitleText": "trim-去除空格" - } - }, - // random-随机数生成 - { - "path": "random/index", - "style": { - "navigationBarTitleText": "random-随机数生成" - } - }, - // md5加密 - { - "path": "md5/index", - "style": { - "navigationBarTitleText": "md5-加密" - } - }, - // colorSwitch颜色转换 - { - "path": "colorSwitch/index", - "style": { - "navigationBarTitleText": "colorSwitch-颜色转换" - } - }, - // randomArray数组乱序 - { - "path": "randomArray/index", - "style": { - "navigationBarTitleText": "randomArray-数组乱序" - } - }, - // guid全局唯一标识符 - { - "path": "guid/index", - "style": { - "navigationBarTitleText": "guid-全局唯一标识符" - } - }, - // timeFormat时间格式化 - { - "path": "timeFormat/index", - "style": { - "navigationBarTitleText": "timeFormat-时间格式化" - } - }, // route-路由 - { - "path": "route/index", - "style": { - "navigationBarTitleText": "route-路由" - } - }, - // route-路由跳转 - { - "path": "route/routeTo", - "style": { - "navigationBarTitleText": "route-路由跳转" - } - }, - // queryParams-对象转URL参数 - { - "path": "queryParams/index", - "style": { - "navigationBarTitleText": "queryParams-对象转URL参数" - } - } - ] - }, - { - "root": "pages/componentsA", - "pages": [ - // parse-富文本解析器 - { - "path": "parse/index", - "style": { - "navigationBarTitleText": "parse-富文本解析器" - } - }, - // backTop-返回顶部 - { - "path": "backTop/index", - "style": { - "navigationBarTitleText": "backTop-返回顶部" - } - }, - // calendar-日历 - { - "path": "calendar/index", - "style": { - "navigationBarTitleText": "calendar-日历" - } - }, - // form-表单 - { - "path": "form/index", - "style": { - "navigationBarTitleText": "form-表单" - } - }, - // select-列选择器 - { - "path": "select/index", - "style": { - "navigationBarTitleText": "select-列选择器" - } - }, - // slider-滑动选择器 - { - "path": "slider/index", - "style": { - "navigationBarTitleText": "slider-滑动选择器" - } - }, - // fullScreen-压窗屏 - { - "path": "fullScreen/index", - "style": { - "navigationBarTitleText": "fullScreen-压窗屏" - } - }, - // navbar-自定义导航栏 - { - "path": "navbar/index", - "style": { - // "navigationBarTitleText": "navbar-自定义导航栏", - "navigationStyle": "custom", // 隐藏系统导航栏 - "navigationBarTextStyle": "white" // 状态栏字体为白色 - } - }, - // field-输入框 - { - "path": "field/index", - "style": { - "navigationBarTitleText": "field-输入框" - } - }, - // modal-模态框 - { - "path": "modal/index", - "style": { - "navigationBarTitleText": "modal-模态框" - } - }, - // indexList索引列表 - { - "path": "indexList/index", - "style": { - "navigationBarTitleText": "indexList-索引列表" - } - }, - // empty内容为空 - { - "path": "empty/index", - "style": { - "navigationBarTitleText": "empty-内容为空" - } - }, - // avatarCropper-头像裁剪 - { - "path": "avatarCropper/index", - "style": { - "navigationBarTitleText": "avatarCropper-头像裁剪" - } - }, // noNetwork没有网络 - { - "path": "noNetwork/index", - "style": { - "navigationBarTitleText": "noNetwork-没有网络" - } - }, // icon字体图标 - { - "path": "icon/index", - "style": { - "navigationBarTitleText": "icon-字体图标" - } - }, // avatar-用户头像展示 - { - "path": "avatar/index", - "style": { - "navigationBarTitleText": "avatar-用户头像展示" - } - }, // keyboard键盘 - { - "path": "keyboard/index", - "style": { - "navigationBarTitleText": "keyboard-键盘" - } - }, // 图片懒加载 - { - "path": "lazyLoad/index", - "style": { - "navigationBarTitleText": "lazyLoad-懒加载" - } - }, - // tabs切换 - { - "path": "tabs/index", - "style": { - "navigationBarTitleText": "Tabs-切换" - } - }, - // tag标签 - { - "path": "tag/index", - "style": { - "navigationBarTitleText": "tag-标签" - } - }, - // timeLine时间轴 - { - "path": "timeLine/index", - "style": { - "navigationBarTitleText": "timeLine-时间轴" - } - }, - // toast轻提示 - { - "path": "toast/index", - "style": { - "navigationBarTitleText": "toast-轻提示" - } - }, - // topTips消息提示 - { - "path": "topTips/index", - "style": { - "navigationBarTitleText": "topTips-消息提示" - } - }, - // Code-验证码倒计时 - { - "path": "verificationCode/index", - "style": { - "navigationBarTitleText": "Code-验证码倒计时" - } - } - ] - }, - { - "root": "pages/componentsB", - "pages": [ - // dropdown-下拉菜单 - { - "path": "dropdown/index", - "style": { - "navigationBarTitleText": "dropdown-下拉菜单" - } - }, - // tabbar-底部导航栏 - { - "path": "tabbar/index", - "style": { - "navigationBarTitleText": "tabbar-底部导航栏" - } - }, - // line-线条 - { - "path": "line/index", - "style": { - "navigationBarTitleText": "line-线条" - } - }, - // image-图片 - { - "path": "image/index", - "style": { - "navigationBarTitleText": "image-图片" - } - }, - // card-卡片 - { - "path": "card/index", - "style": { - "navigationBarTitleText": "card-卡片" - } - }, - // divider-分割线 - { - "path": "divider/index", - "style": { - "navigationBarTitleText": "divider-分割线" - } - }, - // picker选择器 - { - "path": "picker/index", - "style": { - "navigationBarTitleText": "picker-选择器" - } - }, // noticeBar通告栏 - { - "path": "noticeBar/index", - "style": { - "navigationBarTitleText": "noticeBar-通告栏" - } - }, - // checkbox-复选框 - { - "path": "checkbox/index", - "style": { - "navigationBarTitleText": "checkbox-复选框" - } - }, - // radio-单选框 - { - "path": "radio/index", - "style": { - "navigationBarTitleText": "radio-单选框" - } - }, - // loading-加载动画 - { - "path": "loading/index", - "style": { - "navigationBarTitleText": "loading-加载动画" - } - }, - // switch-开关选择器 - { - "path": "switch/index", - "style": { - "navigationBarTitleText": "switch-开关选择器" - } - }, - // 骨架屏 - { - "path": "skeleton/index", - "style": { - "navigationBarTitleText": "skeleton-骨架屏" - } - }, // upload上传 - { - "path": "upload/index", - "style": { - "navigationBarTitleText": "upload-上传" - } - }, - // waterfall瀑布流 - // #ifndef MP-TOUTIAO - { - "path": "waterfall/index", - "style": { - "navigationBarTitleText": "waterfall-瀑布流" - } - }, - // #endif - // table表格 - { - "path": "table/index", - "style": { - "navigationBarTitleText": "table-表格" - } - }, - // rate评分 - { - "path": "rate/index", - "style": { - "navigationBarTitleText": "rate-评分" - } - }, - // readMore显示更多 - { - "path": "readMore/index", - "style": { - "navigationBarTitleText": "readMore-查看更多" - } - }, - // search搜索框 - { - "path": "search/index", - "style": { - "navigationBarTitleText": "search-搜索框" - } - }, - // steps步骤条 - { - "path": "steps/index", - "style": { - "navigationBarTitleText": "steps-步骤条" - } - }, - // sticky吸顶 - { - "path": "sticky/index", - "style": { - "navigationBarTitleText": "sticky-吸顶" - } - }, - // swiper轮播图 - { - "path": "swiper/index", - "style": { - "navigationBarTitleText": "swiper-轮播图" - } - }, - // swipeAction-左滑删除 - { - "path": "swipeAction/index", - "style": { - "navigationBarTitleText": "swipeAction-左滑删除" - } - } - ] - } - ], - "preloadRule": { - "pages/example/components": { - "network": "all", - "packages": ["pages/componentsA", "pages/componentsB", "pages/componentsC"] - } - }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uView", diff --git a/client_mp/pages/componentsA/avatar/index.vue b/client_mp/pages/componentsA/avatar/index.vue deleted file mode 100644 index d10e1a0..0000000 --- a/client_mp/pages/componentsA/avatar/index.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/avatarCropper/index.vue b/client_mp/pages/componentsA/avatarCropper/index.vue deleted file mode 100644 index 8347e97..0000000 --- a/client_mp/pages/componentsA/avatarCropper/index.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/backTop/index.vue b/client_mp/pages/componentsA/backTop/index.vue deleted file mode 100644 index 351f8ea..0000000 --- a/client_mp/pages/componentsA/backTop/index.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/calendar/index.vue b/client_mp/pages/componentsA/calendar/index.vue deleted file mode 100644 index e28cce5..0000000 --- a/client_mp/pages/componentsA/calendar/index.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/empty/index.vue b/client_mp/pages/componentsA/empty/index.vue deleted file mode 100644 index 06bdff8..0000000 --- a/client_mp/pages/componentsA/empty/index.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/field/index.vue b/client_mp/pages/componentsA/field/index.vue deleted file mode 100644 index 5283d62..0000000 --- a/client_mp/pages/componentsA/field/index.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/form/index.vue b/client_mp/pages/componentsA/form/index.vue deleted file mode 100644 index 3b3b602..0000000 --- a/client_mp/pages/componentsA/form/index.vue +++ /dev/null @@ -1,454 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/fullScreen/index.vue b/client_mp/pages/componentsA/fullScreen/index.vue deleted file mode 100644 index 5e483a1..0000000 --- a/client_mp/pages/componentsA/fullScreen/index.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/icon/index.vue b/client_mp/pages/componentsA/icon/index.vue deleted file mode 100644 index 5a65f08..0000000 --- a/client_mp/pages/componentsA/icon/index.vue +++ /dev/null @@ -1,652 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/indexList/index.vue b/client_mp/pages/componentsA/indexList/index.vue deleted file mode 100644 index 18c1f25..0000000 --- a/client_mp/pages/componentsA/indexList/index.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/keyboard/index.vue b/client_mp/pages/componentsA/keyboard/index.vue deleted file mode 100644 index 017c6cb..0000000 --- a/client_mp/pages/componentsA/keyboard/index.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/lazyLoad/index.vue b/client_mp/pages/componentsA/lazyLoad/index.vue deleted file mode 100644 index bed40e5..0000000 --- a/client_mp/pages/componentsA/lazyLoad/index.vue +++ /dev/null @@ -1,253 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/modal/index.vue b/client_mp/pages/componentsA/modal/index.vue deleted file mode 100644 index 8532649..0000000 --- a/client_mp/pages/componentsA/modal/index.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/navbar/index.vue b/client_mp/pages/componentsA/navbar/index.vue deleted file mode 100644 index a7fed0f..0000000 --- a/client_mp/pages/componentsA/navbar/index.vue +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - diff --git a/client_mp/pages/componentsA/noNetwork/index.vue b/client_mp/pages/componentsA/noNetwork/index.vue deleted file mode 100644 index d5a2408..0000000 --- a/client_mp/pages/componentsA/noNetwork/index.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - - - \ No newline at end of file diff --git a/client_mp/pages/componentsA/parse/index.vue b/client_mp/pages/componentsA/parse/index.vue deleted file mode 100644 index f93ff4a..0000000 --- a/client_mp/pages/componentsA/parse/index.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/select/index.vue b/client_mp/pages/componentsA/select/index.vue deleted file mode 100644 index 5755f3a..0000000 --- a/client_mp/pages/componentsA/select/index.vue +++ /dev/null @@ -1,211 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/slider/index.vue b/client_mp/pages/componentsA/slider/index.vue deleted file mode 100644 index 2a08c18..0000000 --- a/client_mp/pages/componentsA/slider/index.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/tabs/index.vue b/client_mp/pages/componentsA/tabs/index.vue deleted file mode 100644 index 8ccdb76..0000000 --- a/client_mp/pages/componentsA/tabs/index.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/tag/index.vue b/client_mp/pages/componentsA/tag/index.vue deleted file mode 100644 index a890f5b..0000000 --- a/client_mp/pages/componentsA/tag/index.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/test/index.vue b/client_mp/pages/componentsA/test/index.vue deleted file mode 100644 index 0748679..0000000 --- a/client_mp/pages/componentsA/test/index.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/client_mp/pages/componentsA/timeLine/index.vue b/client_mp/pages/componentsA/timeLine/index.vue deleted file mode 100644 index e8435b8..0000000 --- a/client_mp/pages/componentsA/timeLine/index.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/toast/index.vue b/client_mp/pages/componentsA/toast/index.vue deleted file mode 100644 index b5a250e..0000000 --- a/client_mp/pages/componentsA/toast/index.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsA/topTips/index.vue b/client_mp/pages/componentsA/topTips/index.vue deleted file mode 100644 index 1037410..0000000 --- a/client_mp/pages/componentsA/topTips/index.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - \ No newline at end of file diff --git a/client_mp/pages/componentsA/verificationCode/index.vue b/client_mp/pages/componentsA/verificationCode/index.vue deleted file mode 100644 index f899def..0000000 --- a/client_mp/pages/componentsA/verificationCode/index.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/card/index.vue b/client_mp/pages/componentsB/card/index.vue deleted file mode 100644 index f949f07..0000000 --- a/client_mp/pages/componentsB/card/index.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/checkbox/index.vue b/client_mp/pages/componentsB/checkbox/index.vue deleted file mode 100644 index 0249d54..0000000 --- a/client_mp/pages/componentsB/checkbox/index.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/divider/index.vue b/client_mp/pages/componentsB/divider/index.vue deleted file mode 100644 index 95868f3..0000000 --- a/client_mp/pages/componentsB/divider/index.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/dropdown/index.vue b/client_mp/pages/componentsB/dropdown/index.vue deleted file mode 100644 index bbf1fc7..0000000 --- a/client_mp/pages/componentsB/dropdown/index.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/image/index.vue b/client_mp/pages/componentsB/image/index.vue deleted file mode 100644 index c2c4b91..0000000 --- a/client_mp/pages/componentsB/image/index.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/line/index.vue b/client_mp/pages/componentsB/line/index.vue deleted file mode 100644 index 9615c80..0000000 --- a/client_mp/pages/componentsB/line/index.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/loading/index.vue b/client_mp/pages/componentsB/loading/index.vue deleted file mode 100644 index 771fecd..0000000 --- a/client_mp/pages/componentsB/loading/index.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/noticeBar/index.vue b/client_mp/pages/componentsB/noticeBar/index.vue deleted file mode 100644 index 1344ee3..0000000 --- a/client_mp/pages/componentsB/noticeBar/index.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/picker/index.vue b/client_mp/pages/componentsB/picker/index.vue deleted file mode 100644 index bf4574f..0000000 --- a/client_mp/pages/componentsB/picker/index.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/radio/index.vue b/client_mp/pages/componentsB/radio/index.vue deleted file mode 100644 index 121f29a..0000000 --- a/client_mp/pages/componentsB/radio/index.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/rate/index.vue b/client_mp/pages/componentsB/rate/index.vue deleted file mode 100644 index 04827e2..0000000 --- a/client_mp/pages/componentsB/rate/index.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/readMore/index.vue b/client_mp/pages/componentsB/readMore/index.vue deleted file mode 100644 index b15cf66..0000000 --- a/client_mp/pages/componentsB/readMore/index.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - \ No newline at end of file diff --git a/client_mp/pages/componentsB/search/index.vue b/client_mp/pages/componentsB/search/index.vue deleted file mode 100644 index a6b108a..0000000 --- a/client_mp/pages/componentsB/search/index.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/skeleton/index.vue b/client_mp/pages/componentsB/skeleton/index.vue deleted file mode 100644 index a0dc027..0000000 --- a/client_mp/pages/componentsB/skeleton/index.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/steps/index.vue b/client_mp/pages/componentsB/steps/index.vue deleted file mode 100644 index e6b65ba..0000000 --- a/client_mp/pages/componentsB/steps/index.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/sticky/index.vue b/client_mp/pages/componentsB/sticky/index.vue deleted file mode 100644 index 4f79385..0000000 --- a/client_mp/pages/componentsB/sticky/index.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/swipeAction/index.vue b/client_mp/pages/componentsB/swipeAction/index.vue deleted file mode 100644 index 285bb04..0000000 --- a/client_mp/pages/componentsB/swipeAction/index.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/swiper/index.vue b/client_mp/pages/componentsB/swiper/index.vue deleted file mode 100644 index 87b21af..0000000 --- a/client_mp/pages/componentsB/swiper/index.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/switch/index.vue b/client_mp/pages/componentsB/switch/index.vue deleted file mode 100644 index e0a573d..0000000 --- a/client_mp/pages/componentsB/switch/index.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/tabbar/index.vue b/client_mp/pages/componentsB/tabbar/index.vue deleted file mode 100644 index 797c447..0000000 --- a/client_mp/pages/componentsB/tabbar/index.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/table/index.vue b/client_mp/pages/componentsB/table/index.vue deleted file mode 100644 index f4dcc39..0000000 --- a/client_mp/pages/componentsB/table/index.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/upload/index.vue b/client_mp/pages/componentsB/upload/index.vue deleted file mode 100644 index 158b8a3..0000000 --- a/client_mp/pages/componentsB/upload/index.vue +++ /dev/null @@ -1,224 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsB/waterfall/index.vue b/client_mp/pages/componentsB/waterfall/index.vue deleted file mode 100644 index e7d4ce8..0000000 --- a/client_mp/pages/componentsB/waterfall/index.vue +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - diff --git a/client_mp/pages/componentsC/actionSheet/index.vue b/client_mp/pages/componentsC/actionSheet/index.vue deleted file mode 100644 index 9bceb8c..0000000 --- a/client_mp/pages/componentsC/actionSheet/index.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/alertTips/index.vue b/client_mp/pages/componentsC/alertTips/index.vue deleted file mode 100644 index af9fec0..0000000 --- a/client_mp/pages/componentsC/alertTips/index.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/badge/index.vue b/client_mp/pages/componentsC/badge/index.vue deleted file mode 100644 index 702a065..0000000 --- a/client_mp/pages/componentsC/badge/index.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/button/index.vue b/client_mp/pages/componentsC/button/index.vue deleted file mode 100644 index e347336..0000000 --- a/client_mp/pages/componentsC/button/index.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/cell/index.vue b/client_mp/pages/componentsC/cell/index.vue deleted file mode 100644 index a81e802..0000000 --- a/client_mp/pages/componentsC/cell/index.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/circleProgress/index.vue b/client_mp/pages/componentsC/circleProgress/index.vue deleted file mode 100644 index ed1e7f1..0000000 --- a/client_mp/pages/componentsC/circleProgress/index.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/collapse/index.vue b/client_mp/pages/componentsC/collapse/index.vue deleted file mode 100644 index 26c939a..0000000 --- a/client_mp/pages/componentsC/collapse/index.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - diff --git a/client_mp/pages/componentsC/color/index.vue b/client_mp/pages/componentsC/color/index.vue deleted file mode 100644 index 01c9fc0..0000000 --- a/client_mp/pages/componentsC/color/index.vue +++ /dev/null @@ -1,364 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/countDown/index.vue b/client_mp/pages/componentsC/countDown/index.vue deleted file mode 100644 index 3b98928..0000000 --- a/client_mp/pages/componentsC/countDown/index.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/countTo/index.vue b/client_mp/pages/componentsC/countTo/index.vue deleted file mode 100644 index e78d3a6..0000000 --- a/client_mp/pages/componentsC/countTo/index.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/gap/index.vue b/client_mp/pages/componentsC/gap/index.vue deleted file mode 100644 index c998bb7..0000000 --- a/client_mp/pages/componentsC/gap/index.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - diff --git a/client_mp/pages/componentsC/grid/index.vue b/client_mp/pages/componentsC/grid/index.vue deleted file mode 100644 index b92b47b..0000000 --- a/client_mp/pages/componentsC/grid/index.vue +++ /dev/null @@ -1,180 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/layout/index.vue b/client_mp/pages/componentsC/layout/index.vue deleted file mode 100644 index 1a63861..0000000 --- a/client_mp/pages/componentsC/layout/index.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/link/index.vue b/client_mp/pages/componentsC/link/index.vue deleted file mode 100644 index dc0928f..0000000 --- a/client_mp/pages/componentsC/link/index.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/loadmore/index.vue b/client_mp/pages/componentsC/loadmore/index.vue deleted file mode 100644 index 3df8c5f..0000000 --- a/client_mp/pages/componentsC/loadmore/index.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - - \ No newline at end of file diff --git a/client_mp/pages/componentsC/mask/index.vue b/client_mp/pages/componentsC/mask/index.vue deleted file mode 100644 index d0e7750..0000000 --- a/client_mp/pages/componentsC/mask/index.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/messageInput/index.vue b/client_mp/pages/componentsC/messageInput/index.vue deleted file mode 100644 index fd2334a..0000000 --- a/client_mp/pages/componentsC/messageInput/index.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/numberBox/index.vue b/client_mp/pages/componentsC/numberBox/index.vue deleted file mode 100644 index e2a677a..0000000 --- a/client_mp/pages/componentsC/numberBox/index.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/popup/index.vue b/client_mp/pages/componentsC/popup/index.vue deleted file mode 100644 index 2763379..0000000 --- a/client_mp/pages/componentsC/popup/index.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/progress/index.vue b/client_mp/pages/componentsC/progress/index.vue deleted file mode 100644 index f50f901..0000000 --- a/client_mp/pages/componentsC/progress/index.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/section/index.vue b/client_mp/pages/componentsC/section/index.vue deleted file mode 100644 index 65902f5..0000000 --- a/client_mp/pages/componentsC/section/index.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/subsection/index.vue b/client_mp/pages/componentsC/subsection/index.vue deleted file mode 100644 index 87f9852..0000000 --- a/client_mp/pages/componentsC/subsection/index.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/client_mp/pages/componentsC/test/index.vue b/client_mp/pages/componentsC/test/index.vue deleted file mode 100644 index 33247b0..0000000 --- a/client_mp/pages/componentsC/test/index.vue +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/client_mp/pages/example/components.config.js b/client_mp/pages/example/components.config.js deleted file mode 100644 index ebc6f09..0000000 --- a/client_mp/pages/example/components.config.js +++ /dev/null @@ -1,389 +0,0 @@ - -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', - }] - }, -] diff --git a/client_mp/pages/example/components.vue b/client_mp/pages/example/components.vue deleted file mode 100644 index c763ee6..0000000 --- a/client_mp/pages/example/components.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - diff --git a/client_mp/pages/example/js.config.js b/client_mp/pages/example/js.config.js deleted file mode 100644 index 7365cab..0000000 --- a/client_mp/pages/example/js.config.js +++ /dev/null @@ -1,120 +0,0 @@ -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', - } - ] - } -] \ No newline at end of file diff --git a/client_mp/pages/example/js.vue b/client_mp/pages/example/js.vue deleted file mode 100644 index e9848b8..0000000 --- a/client_mp/pages/example/js.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - diff --git a/client_mp/pages/example/template.config.js b/client_mp/pages/example/template.config.js deleted file mode 100644 index 9a4bdc1..0000000 --- a/client_mp/pages/example/template.config.js +++ /dev/null @@ -1,78 +0,0 @@ -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', - } - ] - } -] \ No newline at end of file diff --git a/client_mp/pages/example/template.vue b/client_mp/pages/example/template.vue deleted file mode 100644 index 8fb9ef9..0000000 --- a/client_mp/pages/example/template.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - diff --git a/client_mp/pages/home/home.vue b/client_mp/pages/home/home.vue index 5072e60..50397f0 100644 --- a/client_mp/pages/home/home.vue +++ b/client_mp/pages/home/home.vue @@ -1,5 +1,5 @@