├── src ├── api │ ├── wl │ │ ├── shop.js │ │ └── user.js │ ├── product.js │ ├── user.js │ └── base.js ├── store │ ├── actions │ │ └── index.js │ ├── types │ │ ├── index.js │ │ └── cache.js │ ├── reducers │ │ ├── index.js │ │ └── cache.js │ └── index.js ├── style │ ├── base │ │ ├── variable │ │ │ ├── weui-button.less │ │ │ ├── weui-grid.less │ │ │ ├── weui-progress.less │ │ │ ├── weui-dialog.less │ │ │ ├── weui-msg.less │ │ │ ├── global.less │ │ │ ├── color.less │ │ │ └── weui-cell.less │ │ ├── reset.less │ │ ├── fn.less │ │ └── mixin │ │ │ ├── text.less │ │ │ ├── setOnepx.less │ │ │ └── setArrow.less │ ├── widget │ │ ├── weui-flex │ │ │ └── weui-flex.less │ │ ├── weui-cell │ │ │ ├── weui-switch.less │ │ │ ├── weui-form.less │ │ │ ├── weui-check.less │ │ │ ├── weui-access.less │ │ │ ├── weui-form │ │ │ │ ├── weui-vcode.less │ │ │ │ ├── weui-select.less │ │ │ │ └── weui-form_common.less │ │ │ └── weui-cell.less │ │ ├── weui-button │ │ │ └── weui-button.less │ │ ├── weui-progress │ │ │ └── weui-progress.less │ │ ├── weui-tab │ │ │ ├── weui-tab.less │ │ │ └── weui-navbar.less │ │ ├── weui-tips │ │ │ ├── weui-badge.less │ │ │ └── weui-loadmore.less │ │ ├── weui-page │ │ │ ├── weui-article.less │ │ │ └── weui-msg.less │ │ ├── weui-panel │ │ │ └── weui-panel.less │ │ ├── weui-agree │ │ │ └── weui-agree.less │ │ ├── weui-footer │ │ │ └── weui-footer.less │ │ ├── weui-grid │ │ │ └── weui-grid.less │ │ ├── weui-animate │ │ │ └── weui-animate.less │ │ ├── weui-searchbar │ │ │ └── weui-searchbar.less │ │ └── weui-media-box │ │ │ └── weui-media-box.less │ ├── variable.scss │ ├── weui.less │ └── weui-extend.scss ├── images │ ├── fail.png │ └── success.png ├── components │ ├── wl │ │ ├── noData.wpy │ │ └── sheetNum.wpy │ ├── product.wpy │ ├── header.wpy │ ├── sheader.wpy │ └── user │ │ └── comReg.wpy ├── util │ ├── base.js │ ├── rem.js │ └── WxUtils.js ├── mixins │ ├── test.js │ ├── base.wpy │ └── pagination.wpy ├── index.template.html └── pages │ └── wl │ └── addPanProd.wpy ├── dist ├── style │ ├── base │ │ ├── fn.wxss │ │ ├── mixin │ │ │ ├── text.wxss │ │ │ ├── setArrow.wxss │ │ │ └── setOnepx.wxss │ │ ├── variable │ │ │ ├── color.wxss │ │ │ ├── global.wxss │ │ │ ├── weui-msg.wxss │ │ │ ├── weui-button.wxss │ │ │ ├── weui-cell.wxss │ │ │ ├── weui-dialog.wxss │ │ │ ├── weui-grid.wxss │ │ │ └── weui-progress.wxss │ │ └── reset.wxss │ ├── variable.wxss │ ├── widget │ │ ├── weui-flex │ │ │ └── weui-flex.wxss │ │ ├── weui-cell │ │ │ ├── weui-switch.wxss │ │ │ ├── weui-check.wxss │ │ │ ├── weui-form │ │ │ │ ├── weui-vcode.wxss │ │ │ │ ├── weui-select.wxss │ │ │ │ ├── weui-form_common.wxss │ │ │ │ └── weui-form-preview.wxss │ │ │ ├── weui-access.wxss │ │ │ ├── weui-cell.wxss │ │ │ └── weui-uploader.wxss │ │ ├── weui-button │ │ │ └── weui-button.wxss │ │ ├── weui-progress │ │ │ └── weui-progress.wxss │ │ ├── weui-tips │ │ │ ├── weui-badge.wxss │ │ │ └── weui-loadmore.wxss │ │ ├── weui-page │ │ │ ├── weui-article.wxss │ │ │ └── weui-msg.wxss │ │ ├── weui-agree │ │ │ └── weui-agree.wxss │ │ ├── weui-grid │ │ │ └── weui-grid.wxss │ │ ├── weui-animate │ │ │ └── weui-animate.wxss │ │ ├── weui-footer │ │ │ └── weui-footer.wxss │ │ ├── weui-tab │ │ │ ├── weui-navbar.wxss │ │ │ └── weui-tab.wxss │ │ ├── weui-panel │ │ │ └── weui-panel.wxss │ │ ├── weui-searchbar │ │ │ └── weui-searchbar.wxss │ │ └── weui-media-box │ │ │ └── weui-media-box.wxss │ ├── mixin.wxss │ └── zent.wxss ├── components │ ├── wl │ │ ├── peiPro.wy │ │ ├── noData.wxss │ │ ├── sheetNum.wxss │ │ ├── produList.wxss │ │ └── noData.js │ ├── sheader.js │ ├── tab.wxss │ ├── home_top.wxss │ ├── header.wxss │ ├── product.wxss │ ├── sheader.wxss │ └── user │ │ ├── login.js │ │ ├── comReg.wxss │ │ └── comReg.js ├── mixins │ └── pagination.json ├── pages │ └── wl │ │ ├── addPanProd.wxss │ │ ├── login.json │ │ ├── pkucun.json │ │ ├── changeM.json │ │ ├── newPwd.json │ │ ├── pMember.json │ │ ├── pRecord.json │ │ ├── pwdReturn.wxml │ │ ├── addPanProd.wxml │ │ ├── wMember.wxml │ │ ├── member.wxml │ │ ├── changeM.wxml │ │ ├── changeType.wxml │ │ ├── changeType.wxss │ │ ├── newPwd.wxml │ │ ├── wMember.wxss │ │ ├── member.wxss │ │ ├── pMember.wxss │ │ ├── newPwd.wxss │ │ ├── pkucun.wxss │ │ ├── pwdReturn.wxss │ │ ├── changeM.wxss │ │ ├── login.wxml │ │ ├── pRecord.wxss │ │ └── wMember.js ├── npm │ ├── symbol-observable │ │ ├── index.js │ │ └── lib │ │ │ ├── ponyfill.js │ │ │ └── index.js │ ├── lodash │ │ ├── _Symbol.js │ │ ├── _coreJsData.js │ │ ├── _getPrototype.js │ │ ├── _freeGlobal.js │ │ ├── _Map.js │ │ ├── _Set.js │ │ ├── _nativeKeys.js │ │ ├── _Promise.js │ │ ├── _WeakMap.js │ │ ├── _DataView.js │ │ ├── _root.js │ │ ├── _baseIsNaN.js │ │ ├── stubFalse.js │ │ ├── _getValue.js │ │ ├── _baseUnary.js │ │ ├── _overArg.js │ │ ├── identity.js │ │ ├── isNull.js │ │ ├── last.js │ │ ├── isUndefined.js │ │ ├── isNil.js │ │ ├── _isPrototype.js │ │ ├── _getNative.js │ │ ├── _baseIsArguments.js │ │ ├── _baseTimes.js │ │ ├── isArray.js │ │ ├── _baseValues.js │ │ ├── _arrayMap.js │ │ ├── _isMasked.js │ │ ├── _objectToString.js │ │ ├── _toSource.js │ │ ├── _strictIndexOf.js │ │ ├── toString.js │ │ ├── isObjectLike.js │ │ ├── _baseIndexOf.js │ │ ├── _isIndex.js │ │ ├── isSymbol.js │ │ ├── isTypedArray.js │ │ ├── _nodeUtil.js │ │ ├── isString.js │ │ ├── isObject.js │ │ ├── _baseFindIndex.js │ │ ├── values.js │ │ ├── _baseKeys.js │ │ ├── _baseGetTag.js │ │ ├── toInteger.js │ │ ├── isLength.js │ │ ├── isArrayLike.js │ │ ├── keys.js │ │ ├── toFinite.js │ │ ├── isFunction.js │ │ ├── isArguments.js │ │ ├── isBuffer.js │ │ ├── _baseToString.js │ │ ├── _getRawTag.js │ │ ├── _baseIsNative.js │ │ ├── toNumber.js │ │ ├── isPlainObject.js │ │ ├── _arrayLikeKeys.js │ │ ├── includes.js │ │ └── _getTag.js │ ├── wepy │ │ └── lib │ │ │ ├── native.js │ │ │ ├── wepy.js │ │ │ ├── event.js │ │ │ └── mixin.js │ ├── wepy-async-function │ │ ├── global.js │ │ └── index.js │ ├── wepy-redux │ │ └── lib │ │ │ ├── store.js │ │ │ ├── index.js │ │ │ └── helpers │ │ │ └── index.js │ ├── redux-actions │ │ └── lib │ │ │ ├── arrayToObject.js │ │ │ ├── ownKeys.js │ │ │ ├── hasGeneratorInterface.js │ │ │ ├── index.js │ │ │ ├── combineActions.js │ │ │ └── handleActions.js │ ├── reduce-reducers │ │ └── lib │ │ │ └── index.js │ ├── flux-standard-action │ │ └── lib │ │ │ └── index.js │ ├── redux │ │ └── lib │ │ │ ├── utils │ │ │ └── warning.js │ │ │ └── compose.js │ ├── redux-promise │ │ └── lib │ │ │ └── index.js │ ├── invariant │ │ └── browser.js │ └── lodash._basefor │ │ └── index.js ├── images │ ├── fail.png │ └── success.png ├── api │ └── wl │ │ └── shop.js ├── store │ ├── actions │ │ └── index.js │ ├── types │ │ ├── cache.js │ │ └── index.js │ ├── reducers │ │ └── index.js │ └── index.js ├── app.json └── index.template.html ├── .eslintignore ├── .wepyignore ├── imgView ├── list.png ├── login.png ├── member.png └── webView.jpg ├── .editorconfig ├── min.config.json ├── README.md ├── .eslintrc.js ├── package.json └── wepy.config.js /src/api/wl/shop.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/fn.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist/* 2 | -------------------------------------------------------------------------------- /dist/components/wl/peiPro.wy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/variable.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/store/actions/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/mixins/pagination.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /dist/style/base/mixin/text.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/mixin/setArrow.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/mixin/setOnepx.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/color.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/global.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/weui-msg.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/pages/wl/addPanProd.wxss: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /dist/style/base/variable/weui-button.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/weui-cell.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/weui-dialog.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/weui-grid.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/style/base/variable/weui-progress.wxss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/store/types/index.js: -------------------------------------------------------------------------------- 1 | export * from './cache'; 2 | -------------------------------------------------------------------------------- /dist/pages/wl/login.json: -------------------------------------------------------------------------------- 1 | {"navigationBarTitleText":"登录"} -------------------------------------------------------------------------------- /dist/pages/wl/pkucun.json: -------------------------------------------------------------------------------- 1 | {"navigationBarTitleText":"库存盘点"} -------------------------------------------------------------------------------- /src/store/types/cache.js: -------------------------------------------------------------------------------- 1 | export const SAVE = 'SAVE'; 2 | -------------------------------------------------------------------------------- /dist/pages/wl/changeM.json: -------------------------------------------------------------------------------- 1 | {"navigationBarTitleText":"库存盘点"} -------------------------------------------------------------------------------- /dist/pages/wl/newPwd.json: -------------------------------------------------------------------------------- 1 | {"navigationBarTitleText":"设置新密码"} -------------------------------------------------------------------------------- /dist/pages/wl/pMember.json: -------------------------------------------------------------------------------- 1 | {"navigationBarTitleText":"蝌蚪物流"} -------------------------------------------------------------------------------- /dist/pages/wl/pRecord.json: -------------------------------------------------------------------------------- 1 | {"navigationBarTitleText":"盘点记录"} -------------------------------------------------------------------------------- /src/style/base/variable/weui-button.less: -------------------------------------------------------------------------------- 1 | @weuiBtnDefaultGap:15px; -------------------------------------------------------------------------------- /.wepyignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DB_store 4 | *.wpy___jb_tmp___ 5 | -------------------------------------------------------------------------------- /dist/npm/symbol-observable/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/index.js'); 2 | -------------------------------------------------------------------------------- /dist/style/widget/weui-flex/weui-flex.wxss: -------------------------------------------------------------------------------- 1 | .weui-flex{display:flex}.weui-flex__item{flex:1} -------------------------------------------------------------------------------- /imgView/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/imgView/list.png -------------------------------------------------------------------------------- /imgView/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/imgView/login.png -------------------------------------------------------------------------------- /imgView/member.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/imgView/member.png -------------------------------------------------------------------------------- /dist/images/fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/dist/images/fail.png -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-switch.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_switch{padding-top:6px;padding-bottom:6px} -------------------------------------------------------------------------------- /imgView/webView.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/imgView/webView.jpg -------------------------------------------------------------------------------- /src/images/fail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/src/images/fail.png -------------------------------------------------------------------------------- /dist/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/dist/images/success.png -------------------------------------------------------------------------------- /src/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/niuhuahua/kedouWechat/HEAD/src/images/success.png -------------------------------------------------------------------------------- /dist/style/base/reset.wxss: -------------------------------------------------------------------------------- 1 | page{line-height:1.6;font-family:-apple-system-font,"Helvetica Neue",sans-serif}icon{vertical-align:middle} -------------------------------------------------------------------------------- /dist/style/widget/weui-button/weui-button.wxss: -------------------------------------------------------------------------------- 1 | .weui-btn{margin-top:15px}.weui-btn:first-child{margin-top:0}.weui-btn-area{margin:1.17647059em 15px .3em} -------------------------------------------------------------------------------- /src/style/base/variable/weui-grid.less: -------------------------------------------------------------------------------- 1 | @weuiGridBorderColor:#D9D9D9; 2 | @weuiGridFontSize: 14px; 3 | @weuiGridIconSize: 28px; 4 | @weuiGridColumnCount: 3; -------------------------------------------------------------------------------- /src/store/reducers/index.js: -------------------------------------------------------------------------------- 1 | import { combineReducers } from 'redux' 2 | import cache from './cache'; 3 | 4 | export default combineReducers({ 5 | cache 6 | }) 7 | -------------------------------------------------------------------------------- /dist/npm/lodash/_Symbol.js: -------------------------------------------------------------------------------- 1 | var root = require('./_root.js'); 2 | 3 | /** Built-in value references. */ 4 | var Symbol = root.Symbol; 5 | 6 | module.exports = Symbol; 7 | -------------------------------------------------------------------------------- /dist/style/widget/weui-progress/weui-progress.wxss: -------------------------------------------------------------------------------- 1 | .weui-progress{display:flex;align-items:center}.weui-progress__bar{flex:1}.weui-progress__opr{margin-left:15px;font-size:0} -------------------------------------------------------------------------------- /src/style/widget/weui-flex/weui-flex.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-flex { 4 | display: flex; 5 | } 6 | .weui-flex__item{ 7 | flex: 1; 8 | } 9 | -------------------------------------------------------------------------------- /dist/npm/wepy/lib/native.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = {}; 7 | //# sourceMappingURL=native.js.map -------------------------------------------------------------------------------- /src/style/base/reset.less: -------------------------------------------------------------------------------- 1 | @import "fn.less"; 2 | 3 | page { 4 | line-height: 1.6; 5 | font-family: @weuiFontDefault; 6 | } 7 | 8 | icon{ 9 | vertical-align: middle; 10 | } 11 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /dist/npm/wepy-async-function/global.js: -------------------------------------------------------------------------------- 1 | var global = module.exports = typeof window !== 'undefined' && window.Math === Math 2 | ? window : typeof self !== 'undefined' && self.Math === Math ? self : this; 3 | -------------------------------------------------------------------------------- /src/style/base/variable/weui-progress.less: -------------------------------------------------------------------------------- 1 | @weuiProgressBg: #EBEBEB; 2 | @weuiProgressColor: #09BB07; 3 | @weuiProgressHeight: 3px; 4 | @weuiProgressCloseBg: #EF4F4F; 5 | @weuiProgressActiveBg: #C13E3E; 6 | -------------------------------------------------------------------------------- /dist/npm/lodash/_coreJsData.js: -------------------------------------------------------------------------------- 1 | var root = require('./_root.js'); 2 | 3 | /** Used to detect overreaching core-js shims. */ 4 | var coreJsData = root['__core-js_shared__']; 5 | 6 | module.exports = coreJsData; 7 | -------------------------------------------------------------------------------- /dist/npm/lodash/_getPrototype.js: -------------------------------------------------------------------------------- 1 | var overArg = require('./_overArg.js'); 2 | 3 | /** Built-in value references. */ 4 | var getPrototype = overArg(Object.getPrototypeOf, Object); 5 | 6 | module.exports = getPrototype; 7 | -------------------------------------------------------------------------------- /src/style/base/variable/weui-dialog.less: -------------------------------------------------------------------------------- 1 | @weuiDialogBackgroundColor: #FFFFFF; 2 | @weuiDialogLineColor: #D5D5D6; 3 | @weuiDialogLinkColor: #3CC51F; 4 | @weuiDialogLinkActiveBc: #EEEEEE; 5 | @weuiDialogGapWidth: 1.6em; 6 | -------------------------------------------------------------------------------- /dist/npm/lodash/_freeGlobal.js: -------------------------------------------------------------------------------- 1 | /** Detect free variable `global` from Node.js. */ 2 | var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; 3 | 4 | module.exports = freeGlobal || this; 5 | -------------------------------------------------------------------------------- /dist/api/wl/shop.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNob3AuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzaG9wLmpzIiwic291cmNlc0NvbnRlbnQiOltdfQ== -------------------------------------------------------------------------------- /src/style/base/variable/weui-msg.less: -------------------------------------------------------------------------------- 1 | @weuiMsgPaddingTop:36px; 2 | @weuiMsgIconGap:30px; 3 | @weuiMsgTitleGap:5px; 4 | @weuiMsgTextGap:25px; 5 | @weuiMsgOprGap:25px; 6 | @weuiMsgExtraAreaGap:15px; 7 | @weuiMsgExtraAreaOfMinHeight:438px; -------------------------------------------------------------------------------- /dist/store/actions/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6W119 -------------------------------------------------------------------------------- /src/style/base/variable/global.less: -------------------------------------------------------------------------------- 1 | // font 2 | @weuiFontEN:-apple-system-font,"Helvetica Neue"; 3 | @weuiFontCN:"PingFang SC","Hiragino Sans GB","Microsoft YaHei"; 4 | @weuiFontSans:sans-serif; 5 | @weuiFontDefault:@weuiFontEN,@weuiFontSans; -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-switch.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-cell_switch{ 4 | padding-top: (@weuiCellHeight - @weuiSwitchHeight) / 2; 5 | padding-bottom: (@weuiCellHeight - @weuiSwitchHeight) / 2; 6 | } 7 | -------------------------------------------------------------------------------- /dist/npm/lodash/_Map.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./_getNative.js'), 2 | root = require('./_root.js'); 3 | 4 | /* Built-in method references that are verified to be native. */ 5 | var Map = getNative(root, 'Map'); 6 | 7 | module.exports = Map; 8 | -------------------------------------------------------------------------------- /dist/npm/lodash/_Set.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./_getNative.js'), 2 | root = require('./_root.js'); 3 | 4 | /* Built-in method references that are verified to be native. */ 5 | var Set = getNative(root, 'Set'); 6 | 7 | module.exports = Set; 8 | -------------------------------------------------------------------------------- /dist/pages/wl/pwdReturn.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /dist/npm/wepy-async-function/index.js: -------------------------------------------------------------------------------- 1 | var g = require('./global.js'); 2 | 3 | // IOS 10.0.1 may cause IOS crash. 4 | g.Promise = require('./../promise-polyfill/promise.js'); 5 | g.regeneratorRuntime = require('./../regenerator-runtime/runtime.js'); 6 | 7 | -------------------------------------------------------------------------------- /dist/npm/lodash/_nativeKeys.js: -------------------------------------------------------------------------------- 1 | var overArg = require('./_overArg.js'); 2 | 3 | /* Built-in method references for those with the same name as other `lodash` methods. */ 4 | var nativeKeys = overArg(Object.keys, Object); 5 | 6 | module.exports = nativeKeys; 7 | -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-form.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | @import "./weui-form/weui-form_common.less"; 3 | @import "./weui-form/weui-form-preview.less"; 4 | @import "./weui-form/weui-select.less"; 5 | @import "./weui-form/weui-vcode.less"; 6 | -------------------------------------------------------------------------------- /dist/npm/lodash/_Promise.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./_getNative.js'), 2 | root = require('./_root.js'); 3 | 4 | /* Built-in method references that are verified to be native. */ 5 | var Promise = getNative(root, 'Promise'); 6 | 7 | module.exports = Promise; 8 | -------------------------------------------------------------------------------- /dist/npm/lodash/_WeakMap.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./_getNative.js'), 2 | root = require('./_root.js'); 3 | 4 | /* Built-in method references that are verified to be native. */ 5 | var WeakMap = getNative(root, 'WeakMap'); 6 | 7 | module.exports = WeakMap; 8 | -------------------------------------------------------------------------------- /dist/npm/lodash/_DataView.js: -------------------------------------------------------------------------------- 1 | var getNative = require('./_getNative.js'), 2 | root = require('./_root.js'); 3 | 4 | /* Built-in method references that are verified to be native. */ 5 | var DataView = getNative(root, 'DataView'); 6 | 7 | module.exports = DataView; 8 | -------------------------------------------------------------------------------- /dist/style/widget/weui-tips/weui-badge.wxss: -------------------------------------------------------------------------------- 1 | .weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#E64340;color:#FFFFFF;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0} -------------------------------------------------------------------------------- /src/components/wl/noData.wpy: -------------------------------------------------------------------------------- 1 | 4 | 7 | 8 | 14 | 15 | -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- 1 | import { createStore, applyMiddleware } from 'redux' 2 | import promiseMiddleware from 'redux-promise' 3 | import rootReducer from './reducers' 4 | 5 | export default function configStore () { 6 | return createStore(rootReducer, applyMiddleware(promiseMiddleware)) 7 | } 8 | -------------------------------------------------------------------------------- /dist/npm/wepy-redux/lib/store.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.__esModule = true; 4 | exports.getStore = getStore; 5 | exports.setStore = setStore; 6 | var store = null; 7 | 8 | function getStore() { 9 | return store; 10 | } 11 | 12 | function setStore(s) { 13 | store = s; 14 | } -------------------------------------------------------------------------------- /src/style/widget/weui-button/weui-button.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-btn{ 4 | margin-top: @weuiBtnDefaultGap; 5 | &:first-child{ 6 | margin-top: 0; 7 | } 8 | } 9 | .weui-btn-area{ 10 | margin: @weuiCellsMarginTop @weuiBtnDefaultGap .3em; 11 | } 12 | -------------------------------------------------------------------------------- /src/style/widget/weui-progress/weui-progress.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-progress { 4 | display: flex; 5 | align-items: center; 6 | } 7 | 8 | .weui-progress__bar { 9 | flex: 1; 10 | } 11 | 12 | .weui-progress__opr { 13 | margin-left: 15px; 14 | font-size: 0; 15 | } 16 | -------------------------------------------------------------------------------- /dist/npm/redux-actions/lib/arrayToObject.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | exports.default = function (array, callback) { 8 | return array.reduce(function (partialObject, element) { 9 | return callback(partialObject, element); 10 | }, {}); 11 | }; -------------------------------------------------------------------------------- /dist/npm/lodash/_root.js: -------------------------------------------------------------------------------- 1 | var freeGlobal = require('./_freeGlobal.js'); 2 | 3 | /** Detect free variable `self`. */ 4 | var freeSelf = typeof self == 'object' && self && self.Object === Object && self; 5 | 6 | /** Used as a reference to the global object. */ 7 | var root = freeGlobal || freeSelf || Function('return this')(); 8 | 9 | module.exports = root; 10 | -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-check.wxss: -------------------------------------------------------------------------------- 1 | .weui-icon-radio{margin-left:3.2px;margin-right:3.2px}.weui-icon-checkbox_circle,.weui-icon-checkbox_success{margin-left:4.6px;margin-right:4.6px}.weui-check__label:active{background-color:#ECECEC}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:.35em}.weui-cell__ft_in-radio{padding-left:.35em} -------------------------------------------------------------------------------- /dist/style/widget/weui-page/weui-article.wxss: -------------------------------------------------------------------------------- 1 | .weui-article{padding:20px 15px;font-size:15px}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:18px;font-weight:400;margin-bottom:.9em}.weui-article__h2{font-size:16px;font-weight:400;margin-bottom:.34em}.weui-article__h3{font-weight:400;font-size:15px;margin-bottom:.34em}.weui-article__p{margin:0 0 .8em} -------------------------------------------------------------------------------- /src/style/widget/weui-tab/weui-tab.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | @import "weui-navbar.less"; 3 | 4 | .weui-tab { 5 | position: relative; 6 | height: 100%; 7 | } 8 | 9 | .weui-tab__panel{ 10 | box-sizing: border-box; 11 | height: 100%; 12 | padding-top: 50px; 13 | overflow: auto; 14 | -webkit-overflow-scrolling: touch; 15 | } 16 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseIsNaN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.isNaN` without support for number objects. 3 | * 4 | * @private 5 | * @param {*} value The value to check. 6 | * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. 7 | */ 8 | function baseIsNaN(value) { 9 | return value !== value; 10 | } 11 | 12 | module.exports = baseIsNaN; 13 | -------------------------------------------------------------------------------- /dist/npm/lodash/stubFalse.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method returns `false`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @since 4.13.0 7 | * @category Util 8 | * @returns {boolean} Returns `false`. 9 | * @example 10 | * 11 | * _.times(2, _.stubFalse); 12 | * // => [false, false] 13 | */ 14 | function stubFalse() { 15 | return false; 16 | } 17 | 18 | module.exports = stubFalse; 19 | -------------------------------------------------------------------------------- /src/api/product.js: -------------------------------------------------------------------------------- 1 | import base from './base' 2 | import wepy from 'wepy' 3 | 4 | export default class product extends base{ 5 | /** 6 | * 获取商品类别 7 | */ 8 | static async getGoodsType(parentid="0"){ 9 | const url = `${this.baseUrl}Goods1000/getGoodsType `; 10 | const param = {"parentid":parentid}; 11 | return await this.get(url,param); 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-form/weui-vcode.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_vcode{padding-right:0}.weui-vcode-img{margin-left:5px;height:2.58823529em;vertical-align:middle}.weui-vcode-btn{display:inline-block;height:2.58823529em;margin-left:5px;padding:0 .6em 0 .7em;border-left:1px solid #E5E5E5;line-height:2.58823529em;vertical-align:middle;font-size:17px;color:#3CC51F;white-space:nowrap}.weui-vcode-btn:active{color:#52a341} -------------------------------------------------------------------------------- /dist/components/sheader.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = {}; 7 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNoZWFkZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7a0JBQ2UsRSIsImZpbGUiOiJzaGVhZGVyLmpzIiwic291cmNlc0NvbnRlbnQiOlsiXHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICBcclxufVxyXG4iXX0= -------------------------------------------------------------------------------- /dist/npm/lodash/_getValue.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the value at `key` of `object`. 3 | * 4 | * @private 5 | * @param {Object} [object] The object to query. 6 | * @param {string} key The key of the property to get. 7 | * @returns {*} Returns the property value. 8 | */ 9 | function getValue(object, key) { 10 | return object == null ? undefined : object[key]; 11 | } 12 | 13 | module.exports = getValue; 14 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseUnary.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.unary` without support for storing metadata. 3 | * 4 | * @private 5 | * @param {Function} func The function to cap arguments for. 6 | * @returns {Function} Returns the new capped function. 7 | */ 8 | function baseUnary(func) { 9 | return function(value) { 10 | return func(value); 11 | }; 12 | } 13 | 14 | module.exports = baseUnary; 15 | -------------------------------------------------------------------------------- /src/util/base.js: -------------------------------------------------------------------------------- 1 | import wepy from 'wepy'; 2 | import http from '../util/Http' 3 | 4 | export default class base { 5 | // static baseUrl = wepy.$instance.globalData.baseUrl; 6 | static baseUrl = ''; 7 | static get = http.get.bind(http); 8 | static getTwo = http.getTwo.bind(http); 9 | static put = http.put.bind(http); 10 | static post = http.post.bind(http); 11 | static delete = http.delete.bind(http); 12 | } 13 | -------------------------------------------------------------------------------- /dist/store/types/cache.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | var SAVE = exports.SAVE = 'SAVE'; 7 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhY2hlLmpzIl0sIm5hbWVzIjpbIlNBVkUiXSwibWFwcGluZ3MiOiI7Ozs7O0FBQU8sSUFBTUEsc0JBQU8sTUFBYiIsImZpbGUiOiJjYWNoZS5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBTQVZFID0gJ1NBVkUnO1xyXG4iXX0= -------------------------------------------------------------------------------- /min.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilers": { 3 | "babel": { 4 | "sourceMaps": "inline", 5 | "presets": [ 6 | "env" 7 | ], 8 | "plugins": [ 9 | "syntax-export-extensions", 10 | "transform-class-properties", 11 | "transform-decorators-legacy", 12 | "transform-export-extensions" 13 | ] 14 | } 15 | }, 16 | "npm": { 17 | "dest": "dist/packages" 18 | } 19 | } -------------------------------------------------------------------------------- /dist/style/widget/weui-agree/weui-agree.wxss: -------------------------------------------------------------------------------- 1 | .weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:#999999}.weui-agree__link{display:inline;color:#586C94}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #D1D1D1;background-color:#FFFFFF;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px} -------------------------------------------------------------------------------- /src/mixins/test.js: -------------------------------------------------------------------------------- 1 | import wepy from 'wepy' 2 | 3 | export default class testMixin extends wepy.mixin { 4 | data = { 5 | mixin: 'This is mixin data.' 6 | } 7 | methods = { 8 | tap () { 9 | this.mixin = 'mixin data was changed' 10 | console.log('mixin method tap') 11 | } 12 | } 13 | 14 | onShow() { 15 | console.log('mixin onShow') 16 | } 17 | 18 | onLoad() { 19 | console.log('mixin onLoad') 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /dist/npm/lodash/_overArg.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Creates a unary function that invokes `func` with its argument transformed. 3 | * 4 | * @private 5 | * @param {Function} func The function to wrap. 6 | * @param {Function} transform The argument transform. 7 | * @returns {Function} Returns the new function. 8 | */ 9 | function overArg(func, transform) { 10 | return function(arg) { 11 | return func(transform(arg)); 12 | }; 13 | } 14 | 15 | module.exports = overArg; 16 | -------------------------------------------------------------------------------- /src/mixins/base.wpy: -------------------------------------------------------------------------------- 1 | 21 | -------------------------------------------------------------------------------- /src/style/widget/weui-tips/weui-badge.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-badge { 4 | display: inline-block; 5 | padding: .15em .4em; 6 | min-width: 8px; 7 | border-radius: 18px; 8 | background-color: @weuiColorWarn; 9 | color: #FFFFFF; 10 | line-height: 1.2; 11 | text-align: center; 12 | font-size: 12px; 13 | vertical-align: middle; 14 | } 15 | .weui-badge_dot { 16 | padding: .4em; 17 | min-width: 0; 18 | } 19 | -------------------------------------------------------------------------------- /dist/style/mixin.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | -------------------------------------------------------------------------------- /dist/app.json: -------------------------------------------------------------------------------- 1 | {"pages":["pages/wl/login","pages/wl/changeType","pages/wl/peiList","pages/wl/pMember","pages/wl/changeM","pages/wl/pJieSuan","pages/wl/pRecord","pages/wl/setMa","pages/wl/pkucun","pages/wl/addPanProd","pages/wl/member","pages/wl/pwdReturn","pages/wl/newPwd"],"window":{"navigationBarTitleText":"蝌蚪商城","backgroundColor":"#fff","backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black","enablePullDownRefresh":true,"onReachBottomDistance":true}} -------------------------------------------------------------------------------- /dist/npm/lodash/identity.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This method returns the first argument it receives. 3 | * 4 | * @static 5 | * @since 0.1.0 6 | * @memberOf _ 7 | * @category Util 8 | * @param {*} value Any value. 9 | * @returns {*} Returns `value`. 10 | * @example 11 | * 12 | * var object = { 'a': 1 }; 13 | * 14 | * console.log(_.identity(object) === object); 15 | * // => true 16 | */ 17 | function identity(value) { 18 | return value; 19 | } 20 | 21 | module.exports = identity; 22 | -------------------------------------------------------------------------------- /src/style/base/fn.less: -------------------------------------------------------------------------------- 1 | // mixin 2 | @import "mixin/setOnepx.less"; 3 | @import "mixin/setArrow.less"; 4 | @import "mixin/text.less"; 5 | 6 | 7 | // variable 8 | @import "variable/global.less"; 9 | @import "variable/color.less"; 10 | 11 | 12 | @import "variable/weui-cell.less"; 13 | @import "variable/weui-button.less"; 14 | @import "variable/weui-msg.less"; 15 | @import "variable/weui-grid.less"; 16 | @import "variable/weui-progress.less"; 17 | @import "variable/weui-dialog.less"; 18 | -------------------------------------------------------------------------------- /dist/components/wl/noData.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | -------------------------------------------------------------------------------- /src/style/base/variable/color.less: -------------------------------------------------------------------------------- 1 | // color 2 | @weuiColorPrimary: #1AAD19; 3 | @weuiColorWarn: #E64340; 4 | 5 | // link 6 | @weuiLinkColorDefault: #586C94; 7 | 8 | // background 9 | @weuiBgColorDefault: #EFEFF4; 10 | @weuiBgColorActive: #ECECEC; 11 | 12 | // line 13 | @weuiLineColorLight: #E5E5E5; 14 | @weuiLineColorDark: #BCBAB6; 15 | 16 | // text 17 | @weuiTextColorTitle: #000000; 18 | @weuiTextColorTips: #B2B2B2; 19 | @weuiTextColorWarn: @weuiColorWarn; 20 | @weuiTextColorGray: #999999; -------------------------------------------------------------------------------- /src/store/reducers/cache.js: -------------------------------------------------------------------------------- 1 | import { handleActions } from 'redux-actions' 2 | import { SAVE } from '../types/cache' 3 | 4 | export default handleActions({ 5 | [SAVE] (state, action) { 6 | const {key, value} = action.payload; 7 | return { 8 | ...state, 9 | [key]: value 10 | } 11 | } 12 | }, { 13 | member: null, 14 | card: null, 15 | reduce: null, 16 | shop: null, 17 | status: null, 18 | notices: null, 19 | categories: null, 20 | limit: null 21 | }) 22 | -------------------------------------------------------------------------------- /dist/npm/lodash/isNull.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `null`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @since 0.1.0 7 | * @category Lang 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is `null`, else `false`. 10 | * @example 11 | * 12 | * _.isNull(null); 13 | * // => true 14 | * 15 | * _.isNull(void 0); 16 | * // => false 17 | */ 18 | function isNull(value) { 19 | return value === null; 20 | } 21 | 22 | module.exports = isNull; 23 | -------------------------------------------------------------------------------- /dist/npm/lodash/last.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Gets the last element of `array`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @since 0.1.0 7 | * @category Array 8 | * @param {Array} array The array to query. 9 | * @returns {*} Returns the last element of `array`. 10 | * @example 11 | * 12 | * _.last([1, 2, 3]); 13 | * // => 3 14 | */ 15 | function last(array) { 16 | var length = array == null ? 0 : array.length; 17 | return length ? array[length - 1] : undefined; 18 | } 19 | 20 | module.exports = last; 21 | -------------------------------------------------------------------------------- /dist/pages/wl/addPanProd.wxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /dist/npm/reduce-reducers/lib/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.__esModule = true; 4 | exports["default"] = reduceReducers; 5 | 6 | function reduceReducers() { 7 | for (var _len = arguments.length, reducers = Array(_len), _key = 0; _key < _len; _key++) { 8 | reducers[_key] = arguments[_key]; 9 | } 10 | 11 | return function (previous, current) { 12 | return reducers.reduce(function (p, r) { 13 | return r(p, current); 14 | }, previous); 15 | }; 16 | } 17 | 18 | module.exports = exports["default"]; -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # kedouWechat 2 | > 蝌蚪物流的微信小程序 基于wepy框架 3 | ### 安装运行 4 | ``` 5 | 1. git clone https://github.com/niuhuahua/kedouWechat.git 6 | 7 | 2. 运行`npm install` 安装依赖 建议用淘宝镜像 cnpm 8 | 9 | 3. 微信开发者工具 --> 项目 --> 关闭ES6转ES5 10 | 11 | 4. 本地项目根目录运行wepy build --watch,开启实时编译 12 | 13 | ``` 14 | ### 效果图 15 | #### 登录 16 | 17 | ![](./imgView/login.png) 18 | 19 | #### 个人主页 20 | 21 | ![](./imgView/member.png) 22 | 23 | #### 嵌入的webView 24 | 25 | ![](./imgView/webView.jpg) 26 | 27 | #### 记录列表页 28 | ![](./imgView/list.png) 29 | -------------------------------------------------------------------------------- /dist/npm/lodash/isUndefined.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `undefined`. 3 | * 4 | * @static 5 | * @since 0.1.0 6 | * @memberOf _ 7 | * @category Lang 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. 10 | * @example 11 | * 12 | * _.isUndefined(void 0); 13 | * // => true 14 | * 15 | * _.isUndefined(null); 16 | * // => false 17 | */ 18 | function isUndefined(value) { 19 | return value === undefined; 20 | } 21 | 22 | module.exports = isUndefined; 23 | -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-access.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_access{color:inherit}.weui-cell__ft_in-access{padding-right:13px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#C8C8CD;border-style:solid;transform:matrix(.71, .71, -0.71, .71, 0, 0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-4px;right:2px}.weui-cell_link{color:#586C94;font-size:14px}.weui-cell_link:active{background-color:#ECECEC}.weui-cell_link:first-child:before{display:block} -------------------------------------------------------------------------------- /dist/style/widget/weui-grid/weui-grid.wxss: -------------------------------------------------------------------------------- 1 | .weui-grids{border-top:1rpx solid #D9D9D9;border-left:1rpx solid #D9D9D9;overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid #D9D9D9;border-bottom:1rpx solid #D9D9D9}.weui-grid_active{background-color:#ECECEC}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:#000000;font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden} -------------------------------------------------------------------------------- /dist/pages/wl/wMember.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{user.user_nicename}} 6 | 7 | 8 | 9 | 10 | 基本信息 11 | 12 | 13 | -------------------------------------------------------------------------------- /dist/style/widget/weui-page/weui-msg.wxss: -------------------------------------------------------------------------------- 1 | .weui-msg{padding-top:36px;text-align:center}.weui-msg__link{display:inline;color:#586C94}.weui-msg__icon-area{margin-bottom:30px}.weui-msg__text-area{margin-bottom:25px;padding:0 20px}.weui-msg__title{margin-bottom:5px;font-weight:400;font-size:20px}.weui-msg__desc{font-size:14px;color:#999999}.weui-msg__opr-area{margin-bottom:25px}.weui-msg__extra-area{margin-bottom:15px;font-size:14px;color:#999999}@media screen and (min-height:438px){.weui-msg__extra-area{position:fixed;left:0;bottom:0;width:100%;text-align:center}} -------------------------------------------------------------------------------- /dist/style/widget/weui-animate/weui-animate.wxss: -------------------------------------------------------------------------------- 1 | @keyframes slideUp{from{transform:translate3d(0, 100%, 0)}to{transform:translate3d(0, 0, 0)}}.weui-animate-slide-up{animation:slideUp ease .3s forwards}@keyframes slideDown{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(0, 100%, 0)}}.weui-animate-slide-down{animation:slideDown ease .3s forwards}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.weui-animate-fade-in{animation:fadeIn ease .3s forwards}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.weui-animate-fade-out{animation:fadeOut ease .3s forwards} -------------------------------------------------------------------------------- /dist/npm/lodash/isNil.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is `null` or `undefined`. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @since 4.0.0 7 | * @category Lang 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is nullish, else `false`. 10 | * @example 11 | * 12 | * _.isNil(null); 13 | * // => true 14 | * 15 | * _.isNil(void 0); 16 | * // => true 17 | * 18 | * _.isNil(NaN); 19 | * // => false 20 | */ 21 | function isNil(value) { 22 | return value == null; 23 | } 24 | 25 | module.exports = isNil; 26 | -------------------------------------------------------------------------------- /dist/npm/redux-actions/lib/ownKeys.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = ownKeys; 7 | function ownKeys(object) { 8 | if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') { 9 | return Reflect.ownKeys(object); 10 | } 11 | 12 | var keys = Object.getOwnPropertyNames(object); 13 | 14 | if (typeof Object.getOwnPropertySymbols === 'function') { 15 | keys = keys.concat(Object.getOwnPropertySymbols(object)); 16 | } 17 | 18 | return keys; 19 | } -------------------------------------------------------------------------------- /dist/style/widget/weui-footer/weui-footer.wxss: -------------------------------------------------------------------------------- 1 | .weui-footer{color:#999999;font-size:14px;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:.52em;left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 .62em;position:relative;font-size:14px;color:#586C94}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #C7C7C7;color:#C7C7C7;left:-0.65em;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px} -------------------------------------------------------------------------------- /dist/style/widget/weui-tab/weui-navbar.wxss: -------------------------------------------------------------------------------- 1 | .weui-navbar{display:flex;position:absolute;z-index:500;top:0;width:100%;border-bottom:1rpx solid #CCCCCC}.weui-navbar__item{position:relative;display:block;flex:1;padding:13px 0;text-align:center;font-size:0}.weui-navbar__item.weui-bar__item_on{color:#1AAD19}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:3px;background-color:#1AAD19;transition:transform .3s}.weui-navbar__title{display:inline-block;font-size:15px;max-width:8em;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal} -------------------------------------------------------------------------------- /dist/npm/lodash/_isPrototype.js: -------------------------------------------------------------------------------- 1 | /** Used for built-in method references. */ 2 | var objectProto = Object.prototype; 3 | 4 | /** 5 | * Checks if `value` is likely a prototype object. 6 | * 7 | * @private 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. 10 | */ 11 | function isPrototype(value) { 12 | var Ctor = value && value.constructor, 13 | proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; 14 | 15 | return value === proto; 16 | } 17 | 18 | module.exports = isPrototype; 19 | -------------------------------------------------------------------------------- /dist/npm/symbol-observable/lib/ponyfill.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports['default'] = symbolObservablePonyfill; 7 | function symbolObservablePonyfill(root) { 8 | var result; 9 | var _Symbol = root.Symbol; 10 | 11 | if (typeof _Symbol === 'function') { 12 | if (_Symbol.observable) { 13 | result = _Symbol.observable; 14 | } else { 15 | result = _Symbol('observable'); 16 | _Symbol.observable = result; 17 | } 18 | } else { 19 | result = '@@observable'; 20 | } 21 | 22 | return result; 23 | }; -------------------------------------------------------------------------------- /src/style/base/mixin/text.less: -------------------------------------------------------------------------------- 1 | .ellipsis(@w:auto) { 2 | width: @w; 3 | overflow: hidden; 4 | text-overflow: ellipsis; 5 | white-space: nowrap; 6 | word-wrap: normal; 7 | } 8 | 9 | .ellipsisLn(@line) { 10 | overflow: hidden; 11 | text-overflow: ellipsis; 12 | display: -webkit-box; 13 | -webkit-box-orient: vertical; 14 | -webkit-line-clamp: @line; 15 | } 16 | .text_wrap() { 17 | word-wrap:break-word; 18 | word-break:break-all; 19 | } 20 | .hyphens() { 21 | word-wrap:break-word; 22 | -webkit-hyphens:auto; 23 | hyphens:auto; 24 | } -------------------------------------------------------------------------------- /dist/npm/lodash/_getNative.js: -------------------------------------------------------------------------------- 1 | var baseIsNative = require('./_baseIsNative.js'), 2 | getValue = require('./_getValue.js'); 3 | 4 | /** 5 | * Gets the native function at `key` of `object`. 6 | * 7 | * @private 8 | * @param {Object} object The object to query. 9 | * @param {string} key The key of the method to get. 10 | * @returns {*} Returns the function if it's native, else `undefined`. 11 | */ 12 | function getNative(object, key) { 13 | var value = getValue(object, key); 14 | return baseIsNative(value) ? value : undefined; 15 | } 16 | 17 | module.exports = getNative; 18 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseIsArguments.js: -------------------------------------------------------------------------------- 1 | var baseGetTag = require('./_baseGetTag.js'), 2 | isObjectLike = require('./isObjectLike.js'); 3 | 4 | /** `Object#toString` result references. */ 5 | var argsTag = '[object Arguments]'; 6 | 7 | /** 8 | * The base implementation of `_.isArguments`. 9 | * 10 | * @private 11 | * @param {*} value The value to check. 12 | * @returns {boolean} Returns `true` if `value` is an `arguments` object, 13 | */ 14 | function baseIsArguments(value) { 15 | return isObjectLike(value) && baseGetTag(value) == argsTag; 16 | } 17 | 18 | module.exports = baseIsArguments; 19 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseTimes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.times` without support for iteratee shorthands 3 | * or max array length checks. 4 | * 5 | * @private 6 | * @param {number} n The number of times to invoke `iteratee`. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns the array of results. 9 | */ 10 | function baseTimes(n, iteratee) { 11 | var index = -1, 12 | result = Array(n); 13 | 14 | while (++index < n) { 15 | result[index] = iteratee(index); 16 | } 17 | return result; 18 | } 19 | 20 | module.exports = baseTimes; 21 | -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-form/weui-select.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_select{padding:0}.weui-select{position:relative;padding-left:15px;padding-right:30px;height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em;border-right:1rpx solid #D9D9D9}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#C8C8CD;border-style:solid;transform:matrix(.71, .71, -0.71, .71, 0, 0);position:relative;top:-2px;position:absolute;top:50%;right:15px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__hd_in-select-after,.weui-cell__bd_in-select-before{padding-left:15px} -------------------------------------------------------------------------------- /src/style/widget/weui-page/weui-article.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-article { 4 | padding: 20px 15px; 5 | font-size: 15px; 6 | } 7 | .weui-article__section { 8 | margin-bottom: 1.5em; 9 | } 10 | .weui-article__h1 { 11 | font-size: 18px; 12 | font-weight:400; 13 | margin-bottom: .9em; 14 | } 15 | .weui-article__h2 { 16 | font-size: 16px; 17 | font-weight:400; 18 | margin-bottom: .34em; 19 | } 20 | .weui-article__h3 { 21 | font-weight:400; 22 | font-size: 15px; 23 | margin-bottom: .34em; 24 | } 25 | .weui-article__p { 26 | margin: 0 0 .8em; 27 | } 28 | -------------------------------------------------------------------------------- /dist/npm/lodash/isArray.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is classified as an `Array` object. 3 | * 4 | * @static 5 | * @memberOf _ 6 | * @since 0.1.0 7 | * @category Lang 8 | * @param {*} value The value to check. 9 | * @returns {boolean} Returns `true` if `value` is an array, else `false`. 10 | * @example 11 | * 12 | * _.isArray([1, 2, 3]); 13 | * // => true 14 | * 15 | * _.isArray(document.body.children); 16 | * // => false 17 | * 18 | * _.isArray('abc'); 19 | * // => false 20 | * 21 | * _.isArray(_.noop); 22 | * // => false 23 | */ 24 | var isArray = Array.isArray; 25 | 26 | module.exports = isArray; 27 | -------------------------------------------------------------------------------- /dist/style/widget/weui-tips/weui-loadmore.wxss: -------------------------------------------------------------------------------- 1 | .weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid #E5E5E5;margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-0.9em;padding:0 .55em;background-color:#FFFFFF;color:#999999}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:#E5E5E5} -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-form/weui-form_common.wxss: -------------------------------------------------------------------------------- 1 | .weui-cell_input{padding-top:0;padding-bottom:0}.weui-label{width:105px;word-wrap:break-word;word-break:break-all}.weui-input{height:2.58823529em;min-height:2.58823529em;line-height:2.58823529em}.weui-toptips{position:fixed;transform:translateZ(0);top:0;left:0;right:0;padding:5px;font-size:14px;text-align:center;color:#FFFFFF;z-index:5000;word-wrap:break-word;word-break:break-all}.weui-toptips_warn{background-color:#E64340}.weui-textarea{display:block;width:100%}.weui-textarea-counter{color:#B2B2B2;text-align:right}.weui-textarea-counter_warn{color:#E64340}.weui-cell_warn{color:#E64340} -------------------------------------------------------------------------------- /dist/style/widget/weui-panel/weui-panel.wxss: -------------------------------------------------------------------------------- 1 | .weui-panel{background-color:#FFFFFF;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #E5E5E5;color:#E5E5E5}.weui-panel:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #E5E5E5;color:#E5E5E5}.weui-panel__hd{padding:14px 15px 10px;color:#999999;font-size:13px;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #E5E5E5;color:#E5E5E5;left:15px} -------------------------------------------------------------------------------- /dist/npm/lodash/_baseValues.js: -------------------------------------------------------------------------------- 1 | var arrayMap = require('./_arrayMap.js'); 2 | 3 | /** 4 | * The base implementation of `_.values` and `_.valuesIn` which creates an 5 | * array of `object` property values corresponding to the property names 6 | * of `props`. 7 | * 8 | * @private 9 | * @param {Object} object The object to query. 10 | * @param {Array} props The property names to get values for. 11 | * @returns {Object} Returns the array of property values. 12 | */ 13 | function baseValues(object, props) { 14 | return arrayMap(props, function(key) { 15 | return object[key]; 16 | }); 17 | } 18 | 19 | module.exports = baseValues; 20 | -------------------------------------------------------------------------------- /src/util/rem.js: -------------------------------------------------------------------------------- 1 | (function (doc, win) { 2 | let docEl = doc.documentElement, 3 | resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', 4 | recalc = function () { 5 | let clientWidth = docEl.clientWidth; 6 | if (!clientWidth) return; 7 | if(clientWidth>=750){ 8 | docEl.style.fontSize = '100px'; 9 | }else{ 10 | docEl.style.fontSize = 100 * (clientWidth / 750) + 'px'; 11 | } 12 | }; 13 | 14 | if (!doc.addEventListener) return; 15 | win.addEventListener(resizeEvt, recalc, false); 16 | doc.addEventListener('DOMContentLoaded', recalc, false); 17 | })(document, window); 18 | -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-check.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | // icon 4 | .weui-icon-radio{ 5 | margin-left: 3.2px; 6 | margin-right: 3.2px; 7 | } 8 | .weui-icon-checkbox_circle, 9 | .weui-icon-checkbox_success{ 10 | margin-left: 4.6px; 11 | margin-right: 4.6px; 12 | } 13 | 14 | .weui-check__label{ 15 | &:active{ 16 | background-color: @weuiCellActiveBg; 17 | } 18 | } 19 | .weui-check{ 20 | position: absolute; 21 | left: -9999px; 22 | } 23 | .weui-check__hd_in-checkbox{ 24 | padding-right: @weuiCellInnerGapH; 25 | } 26 | .weui-cell__ft_in-radio{ 27 | padding-left: @weuiCellInnerGapH; 28 | } 29 | -------------------------------------------------------------------------------- /dist/npm/lodash/_arrayMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.map` for arrays without support for iteratee 3 | * shorthands. 4 | * 5 | * @private 6 | * @param {Array} [array] The array to iterate over. 7 | * @param {Function} iteratee The function invoked per iteration. 8 | * @returns {Array} Returns the new mapped array. 9 | */ 10 | function arrayMap(array, iteratee) { 11 | var index = -1, 12 | length = array == null ? 0 : array.length, 13 | result = Array(length); 14 | 15 | while (++index < length) { 16 | result[index] = iteratee(array[index], index, array); 17 | } 18 | return result; 19 | } 20 | 21 | module.exports = arrayMap; 22 | -------------------------------------------------------------------------------- /dist/npm/lodash/_isMasked.js: -------------------------------------------------------------------------------- 1 | var coreJsData = require('./_coreJsData.js'); 2 | 3 | /** Used to detect methods masquerading as native. */ 4 | var maskSrcKey = (function() { 5 | var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); 6 | return uid ? ('Symbol(src)_1.' + uid) : ''; 7 | }()); 8 | 9 | /** 10 | * Checks if `func` has its source masked. 11 | * 12 | * @private 13 | * @param {Function} func The function to check. 14 | * @returns {boolean} Returns `true` if `func` is masked, else `false`. 15 | */ 16 | function isMasked(func) { 17 | return !!maskSrcKey && (maskSrcKey in func); 18 | } 19 | 20 | module.exports = isMasked; 21 | -------------------------------------------------------------------------------- /dist/npm/lodash/_objectToString.js: -------------------------------------------------------------------------------- 1 | /** Used for built-in method references. */ 2 | var objectProto = Object.prototype; 3 | 4 | /** 5 | * Used to resolve the 6 | * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) 7 | * of values. 8 | */ 9 | var nativeObjectToString = objectProto.toString; 10 | 11 | /** 12 | * Converts `value` to a string using `Object.prototype.toString`. 13 | * 14 | * @private 15 | * @param {*} value The value to convert. 16 | * @returns {string} Returns the converted string. 17 | */ 18 | function objectToString(value) { 19 | return nativeObjectToString.call(value); 20 | } 21 | 22 | module.exports = objectToString; 23 | -------------------------------------------------------------------------------- /dist/npm/lodash/_toSource.js: -------------------------------------------------------------------------------- 1 | /** Used for built-in method references. */ 2 | var funcProto = Function.prototype; 3 | 4 | /** Used to resolve the decompiled source of functions. */ 5 | var funcToString = funcProto.toString; 6 | 7 | /** 8 | * Converts `func` to its source code. 9 | * 10 | * @private 11 | * @param {Function} func The function to convert. 12 | * @returns {string} Returns the source code. 13 | */ 14 | function toSource(func) { 15 | if (func != null) { 16 | try { 17 | return funcToString.call(func); 18 | } catch (e) {} 19 | try { 20 | return (func + ''); 21 | } catch (e) {} 22 | } 23 | return ''; 24 | } 25 | 26 | module.exports = toSource; 27 | -------------------------------------------------------------------------------- /dist/index.template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 转 WEB DEMO 11 | 14 | 15 | 16 |
17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /src/index.template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 转 WEB DEMO 11 | 14 | 15 | 16 |
17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /dist/npm/redux-actions/lib/hasGeneratorInterface.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = hasGeneratorInterface; 7 | 8 | var _ownKeys = require('./ownKeys.js'); 9 | 10 | var _ownKeys2 = _interopRequireDefault(_ownKeys); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function hasGeneratorInterface(handler) { 15 | var keys = (0, _ownKeys2.default)(handler); 16 | var hasOnlyInterfaceNames = keys.every(function (ownKey) { 17 | return ownKey === 'next' || ownKey === 'throw'; 18 | }); 19 | return keys.length && keys.length <= 2 && hasOnlyInterfaceNames; 20 | } -------------------------------------------------------------------------------- /src/api/user.js: -------------------------------------------------------------------------------- 1 | import base from './base' 2 | import wepy from 'wepy' 3 | 4 | export default class user extends base{ 5 | /** 6 | * 登录 7 | */ 8 | 9 | static async toLogin(userInfo){ 10 | const url = `${this.baseUrl}/user1000/user_login` 11 | const param = { 12 | user_mobile:userInfo.user_mobile, 13 | user_pass:userInfo.user_pass 14 | }; 15 | return await this.get(url,param); 16 | } 17 | 18 | static async getUserInfo(){ 19 | const url = `${this.baseUrl}/user1000/user_get` 20 | const param = { } 21 | this.setToken(param); 22 | return await this.get(url,param); 23 | } 24 | 25 | 26 | 27 | } -------------------------------------------------------------------------------- /dist/npm/wepy-redux/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.__esModule = true; 4 | exports.mapActions = exports.mapState = exports.getStore = exports.setStore = exports.connect = undefined; 5 | 6 | var _connect = require('./connect/index.js'); 7 | 8 | var _connect2 = _interopRequireDefault(_connect); 9 | 10 | var _store = require('./store.js'); 11 | 12 | var _helpers = require('./helpers/index.js'); 13 | 14 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 15 | 16 | exports.connect = _connect2.default; 17 | exports.setStore = _store.setStore; 18 | exports.getStore = _store.getStore; 19 | exports.mapState = _helpers.mapState; 20 | exports.mapActions = _helpers.mapActions; -------------------------------------------------------------------------------- /dist/npm/lodash/_strictIndexOf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A specialized version of `_.indexOf` which performs strict equality 3 | * comparisons of values, i.e. `===`. 4 | * 5 | * @private 6 | * @param {Array} array The array to inspect. 7 | * @param {*} value The value to search for. 8 | * @param {number} fromIndex The index to search from. 9 | * @returns {number} Returns the index of the matched value, else `-1`. 10 | */ 11 | function strictIndexOf(array, value, fromIndex) { 12 | var index = fromIndex - 1, 13 | length = array.length; 14 | 15 | while (++index < length) { 16 | if (array[index] === value) { 17 | return index; 18 | } 19 | } 20 | return -1; 21 | } 22 | 23 | module.exports = strictIndexOf; 24 | -------------------------------------------------------------------------------- /dist/npm/lodash/toString.js: -------------------------------------------------------------------------------- 1 | var baseToString = require('./_baseToString.js'); 2 | 3 | /** 4 | * Converts `value` to a string. An empty string is returned for `null` 5 | * and `undefined` values. The sign of `-0` is preserved. 6 | * 7 | * @static 8 | * @memberOf _ 9 | * @since 4.0.0 10 | * @category Lang 11 | * @param {*} value The value to convert. 12 | * @returns {string} Returns the converted string. 13 | * @example 14 | * 15 | * _.toString(null); 16 | * // => '' 17 | * 18 | * _.toString(-0); 19 | * // => '-0' 20 | * 21 | * _.toString([1, 2, 3]); 22 | * // => '1,2,3' 23 | */ 24 | function toString(value) { 25 | return value == null ? '' : baseToString(value); 26 | } 27 | 28 | module.exports = toString; 29 | -------------------------------------------------------------------------------- /dist/style/widget/weui-tab/weui-tab.wxss: -------------------------------------------------------------------------------- 1 | .weui-navbar{display:flex;position:absolute;z-index:500;top:0;width:100%;border-bottom:1rpx solid #CCCCCC}.weui-navbar__item{position:relative;display:block;flex:1;padding:13px 0;text-align:center;font-size:0}.weui-navbar__item.weui-bar__item_on{color:#1AAD19}.weui-navbar__slider{position:absolute;content:" ";left:0;bottom:0;width:6em;height:3px;background-color:#1AAD19;transition:transform .3s}.weui-navbar__title{display:inline-block;font-size:15px;max-width:8em;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.weui-tab{position:relative;height:100%}.weui-tab__panel{box-sizing:border-box;height:100%;padding-top:50px;overflow:auto;-webkit-overflow-scrolling:touch} -------------------------------------------------------------------------------- /src/style/variable.scss: -------------------------------------------------------------------------------- 1 | //******字体颜色变量******/ 2 | $color-major: #FF6200; 3 | $color-primary: #1296DB; 4 | $color-primary-darken: darken($color-primary, 5%); 5 | $color-muted: #A3A3A3; 6 | $color-weak: #626E7A; 7 | $color-normal: #262626; 8 | $color-danger: #e33; 9 | $color-warn: #f85; 10 | 11 | //******字体大小变量******/ 12 | $text-xxl: 34rpx; 13 | $text-xl: 32rpx; 14 | $text-nm: 28rpx; 15 | $text-lg: 30rpx; 16 | $text-sm: 26rpx; 17 | $text-xs: 24rpx; 18 | $text-xxs: 22rpx; 19 | $text-form: 17px; 20 | 21 | 22 | //******边框样式******/ 23 | $color-border: #EDEDED; 24 | $border: 1px solid $color-border; 25 | $border-dot: 1px dotted #EFF0F2; 26 | 27 | //******背景样式******/ 28 | $color-bg-body: #F5F5F5; 29 | $color-bg-item: #FAFAFA; 30 | 31 | -------------------------------------------------------------------------------- /src/style/widget/weui-panel/weui-panel.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | 4 | .weui-panel { 5 | background-color: #FFFFFF; 6 | margin-top: 10px; 7 | &:first-child { 8 | margin-top: 0; 9 | } 10 | 11 | position: relative; 12 | overflow: hidden; 13 | &:before { 14 | .setTopLine(@weuiLineColorLight); 15 | } 16 | &:after { 17 | .setBottomLine(@weuiLineColorLight); 18 | } 19 | } 20 | 21 | .weui-panel__hd { 22 | padding: 14px 15px 10px; 23 | color: @weuiTextColorGray; 24 | font-size: 13px; 25 | position: relative; 26 | &:after { 27 | .setBottomLine(@weuiLineColorLight); 28 | left: 15px; 29 | } 30 | } 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /dist/store/types/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | var _cache = require('./cache.js'); 8 | 9 | Object.keys(_cache).forEach(function (key) { 10 | if (key === "default" || key === "__esModule") return; 11 | Object.defineProperty(exports, key, { 12 | enumerable: true, 13 | get: function get() { 14 | return _cache[key]; 15 | } 16 | }); 17 | }); 18 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYWNoZSc7XHJcbiJdfQ== -------------------------------------------------------------------------------- /dist/npm/lodash/isObjectLike.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is object-like. A value is object-like if it's not `null` 3 | * and has a `typeof` result of "object". 4 | * 5 | * @static 6 | * @memberOf _ 7 | * @since 4.0.0 8 | * @category Lang 9 | * @param {*} value The value to check. 10 | * @returns {boolean} Returns `true` if `value` is object-like, else `false`. 11 | * @example 12 | * 13 | * _.isObjectLike({}); 14 | * // => true 15 | * 16 | * _.isObjectLike([1, 2, 3]); 17 | * // => true 18 | * 19 | * _.isObjectLike(_.noop); 20 | * // => false 21 | * 22 | * _.isObjectLike(null); 23 | * // => false 24 | */ 25 | function isObjectLike(value) { 26 | return value != null && typeof value == 'object'; 27 | } 28 | 29 | module.exports = isObjectLike; 30 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseIndexOf.js: -------------------------------------------------------------------------------- 1 | var baseFindIndex = require('./_baseFindIndex.js'), 2 | baseIsNaN = require('./_baseIsNaN.js'), 3 | strictIndexOf = require('./_strictIndexOf.js'); 4 | 5 | /** 6 | * The base implementation of `_.indexOf` without `fromIndex` bounds checks. 7 | * 8 | * @private 9 | * @param {Array} array The array to inspect. 10 | * @param {*} value The value to search for. 11 | * @param {number} fromIndex The index to search from. 12 | * @returns {number} Returns the index of the matched value, else `-1`. 13 | */ 14 | function baseIndexOf(array, value, fromIndex) { 15 | return value === value 16 | ? strictIndexOf(array, value, fromIndex) 17 | : baseFindIndex(array, baseIsNaN, fromIndex); 18 | } 19 | 20 | module.exports = baseIndexOf; 21 | -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-access.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-cell_access { 4 | color: inherit; 5 | } 6 | .weui-cell__ft_in-access { 7 | padding-right: 13px; 8 | position: relative; 9 | &:after { 10 | content: " "; 11 | .setArrow(right, 6px, #C8C8CD, 2px); 12 | position: absolute; 13 | top: 50%; 14 | margin-top: -4px; 15 | right: 2px; 16 | } 17 | } 18 | .weui-cell_link{ 19 | color: @weuiLinkColorDefault; 20 | font-size: 14px; 21 | 22 | &:active{ 23 | background-color: @weuiCellActiveBg; 24 | } 25 | 26 | // 由于weui-cell:first-child的:before为隐藏,所以这里要重新显示出来 27 | &:first-child{ 28 | &:before{ 29 | display: block; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/style/widget/weui-agree/weui-agree.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-agree{ 4 | display: block; 5 | padding: .5em 15px; 6 | font-size: 13px; 7 | } 8 | .weui-agree__text{ 9 | color: @weuiTextColorGray; 10 | } 11 | .weui-agree__link{ 12 | display: inline; 13 | color: @weuiLinkColorDefault; 14 | } 15 | .weui-agree__checkbox{ 16 | position: absolute; 17 | left: -9999px; 18 | } 19 | .weui-agree__checkbox-icon{ 20 | position: relative; 21 | top: 2px; 22 | display: inline-block; 23 | border: 1px solid #D1D1D1; 24 | background-color: #FFFFFF; 25 | border-radius: 3px; 26 | width: 11px; 27 | height: 11px; 28 | } 29 | .weui-agree__checkbox-icon-check{ 30 | position: absolute; 31 | top: 1px; 32 | left: 1px; 33 | } 34 | -------------------------------------------------------------------------------- /dist/npm/lodash/_isIndex.js: -------------------------------------------------------------------------------- 1 | /** Used as references for various `Number` constants. */ 2 | var MAX_SAFE_INTEGER = 9007199254740991; 3 | 4 | /** Used to detect unsigned integer values. */ 5 | var reIsUint = /^(?:0|[1-9]\d*)$/; 6 | 7 | /** 8 | * Checks if `value` is a valid array-like index. 9 | * 10 | * @private 11 | * @param {*} value The value to check. 12 | * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. 13 | * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. 14 | */ 15 | function isIndex(value, length) { 16 | length = length == null ? MAX_SAFE_INTEGER : length; 17 | return !!length && 18 | (typeof value == 'number' || reIsUint.test(value)) && 19 | (value > -1 && value % 1 == 0 && value < length); 20 | } 21 | 22 | module.exports = isIndex; 23 | -------------------------------------------------------------------------------- /dist/npm/symbol-observable/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | var _ponyfill = require('./ponyfill.js'); 8 | 9 | var _ponyfill2 = _interopRequireDefault(_ponyfill); 10 | 11 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 12 | 13 | var root; /* global window */ 14 | 15 | 16 | if (typeof self !== 'undefined') { 17 | root = self; 18 | } else if (typeof window !== 'undefined') { 19 | root = window; 20 | } else if (typeof global !== 'undefined') { 21 | root = global; 22 | } else if (typeof module !== 'undefined') { 23 | root = module; 24 | } else { 25 | root = Function('return this')(); 26 | } 27 | 28 | var result = (0, _ponyfill2['default'])(root); 29 | exports['default'] = result; -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-form/weui-vcode.less: -------------------------------------------------------------------------------- 1 | @import "../../../base/fn.less"; 2 | 3 | .weui-cell_vcode { 4 | padding-right: 0; 5 | } 6 | .weui-vcode-img{ 7 | margin-left: 5px; 8 | height: unit(@weuiCellHeight / @weuiCellFontSize, em); 9 | vertical-align: middle; 10 | } 11 | .weui-vcode-btn { 12 | display: inline-block; 13 | height: unit(@weuiCellHeight / @weuiCellFontSize, em); 14 | margin-left: 5px; 15 | padding: 0 0.6em 0 0.7em; 16 | border-left: 1px solid @weuiLineColorLight; 17 | line-height: unit(@weuiCellHeight / @weuiCellFontSize, em); 18 | vertical-align: middle; 19 | font-size: @weuiCellFontSize; 20 | color: @weuiDialogLinkColor; 21 | white-space: nowrap; 22 | &:active { 23 | color: desaturate(@weuiDialogLinkColor, 30%); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | parser: 'babel-eslint', 4 | parserOptions: { 5 | sourceType: 'module' 6 | }, 7 | env: { 8 | browser: true 9 | }, 10 | // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style 11 | extends: 'standard', 12 | // required to lint *.wpy files 13 | plugins: [ 14 | 'html' 15 | ], 16 | settings: { 17 | 'html/html-extensions': ['.html', '.wpy'] 18 | }, 19 | // add your custom rules here 20 | 'rules': { 21 | // allow paren-less arrow functions 22 | 'arrow-parens': 0, 23 | // allow async-await 24 | 'generator-star-spacing': 0, 25 | // allow debugger during development 26 | 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, 27 | 'space-before-function-paren': 0 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /dist/npm/flux-standard-action/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.__esModule = true; 4 | exports.isFSA = isFSA; 5 | exports.isError = isError; 6 | 7 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } 8 | 9 | var _lodashIsplainobject = require('./../../lodash.isplainobject/index.js'); 10 | 11 | var _lodashIsplainobject2 = _interopRequireDefault(_lodashIsplainobject); 12 | 13 | var validKeys = ['type', 'payload', 'error', 'meta']; 14 | 15 | function isValidKey(key) { 16 | return validKeys.indexOf(key) > -1; 17 | } 18 | 19 | function isFSA(action) { 20 | return _lodashIsplainobject2['default'](action) && typeof action.type !== 'undefined' && Object.keys(action).every(isValidKey); 21 | } 22 | 23 | function isError(action) { 24 | return action.error === true; 25 | } -------------------------------------------------------------------------------- /dist/npm/redux/lib/utils/warning.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.__esModule = true; 4 | exports['default'] = warning; 5 | /** 6 | * Prints a warning in the console if it exists. 7 | * 8 | * @param {String} message The warning message. 9 | * @returns {void} 10 | */ 11 | function warning(message) { 12 | /* eslint-disable no-console */ 13 | if (typeof console !== 'undefined' && typeof console.error === 'function') { 14 | console.error(message); 15 | } 16 | /* eslint-enable no-console */ 17 | try { 18 | // This error was thrown as a convenience so that if you enable 19 | // "break on all exceptions" in your console, 20 | // it would pause the execution at this line. 21 | throw new Error(message); 22 | /* eslint-disable no-empty */ 23 | } catch (e) {} 24 | /* eslint-enable no-empty */ 25 | } -------------------------------------------------------------------------------- /src/style/base/variable/weui-cell.less: -------------------------------------------------------------------------------- 1 | @weuiCellBg:#FFFFFF; 2 | @weuiCellBorderColor:#D9D9D9; 3 | @weuiCellGapV:10px; 4 | @weuiCellGapH:15px; 5 | @weuiCellInnerGapH:.35em; 6 | @weuiCellFontSize:17px; 7 | @weuiCellHeight: 44px; 8 | @weuiCellHeightEm: unit(@weuiCellHeight / @weuiCellFontSize, em); 9 | @weuiCellTipsFontSize:14px; 10 | @weuiCellLabelWidth:105px; 11 | @weuiCellActiveBg: #ECECEC; 12 | 13 | @weuiCellLineHeight: unit((@weuiCellHeight - 2 * @weuiCellGapV) / @weuiCellFontSize); // 高度为44px,减去上下padding的行高 14 | @weuiCellsMarginTop:unit(20 / @weuiCellFontSize, em); 15 | 16 | // weui switch 17 | @weuiSwitchHeight: 32px; 18 | 19 | // weui uploader 20 | @weuiUploaderBorderColor:#D9D9D9; 21 | @weuiUploaderActiveBorderColor:#999999; 22 | @weuiUploaderFileSpacing: 9px; 23 | @weuiUploaderSize: 79px; 24 | @weuiUploaderBorderWidth: 1px; -------------------------------------------------------------------------------- /dist/npm/lodash/isSymbol.js: -------------------------------------------------------------------------------- 1 | var baseGetTag = require('./_baseGetTag.js'), 2 | isObjectLike = require('./isObjectLike.js'); 3 | 4 | /** `Object#toString` result references. */ 5 | var symbolTag = '[object Symbol]'; 6 | 7 | /** 8 | * Checks if `value` is classified as a `Symbol` primitive or object. 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @since 4.0.0 13 | * @category Lang 14 | * @param {*} value The value to check. 15 | * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. 16 | * @example 17 | * 18 | * _.isSymbol(Symbol.iterator); 19 | * // => true 20 | * 21 | * _.isSymbol('abc'); 22 | * // => false 23 | */ 24 | function isSymbol(value) { 25 | return typeof value == 'symbol' || 26 | (isObjectLike(value) && baseGetTag(value) == symbolTag); 27 | } 28 | 29 | module.exports = isSymbol; 30 | -------------------------------------------------------------------------------- /dist/npm/lodash/isTypedArray.js: -------------------------------------------------------------------------------- 1 | var baseIsTypedArray = require('./_baseIsTypedArray.js'), 2 | baseUnary = require('./_baseUnary.js'), 3 | nodeUtil = require('./_nodeUtil.js'); 4 | 5 | /* Node.js helper references. */ 6 | var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; 7 | 8 | /** 9 | * Checks if `value` is classified as a typed array. 10 | * 11 | * @static 12 | * @memberOf _ 13 | * @since 3.0.0 14 | * @category Lang 15 | * @param {*} value The value to check. 16 | * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. 17 | * @example 18 | * 19 | * _.isTypedArray(new Uint8Array); 20 | * // => true 21 | * 22 | * _.isTypedArray([]); 23 | * // => false 24 | */ 25 | var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; 26 | 27 | module.exports = isTypedArray; 28 | -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-form/weui-select.less: -------------------------------------------------------------------------------- 1 | @import "../../../base/fn.less"; 2 | 3 | .weui-cell_select { 4 | padding: 0; 5 | } 6 | .weui-select { 7 | position: relative; 8 | padding-left: @weuiCellGapH; 9 | padding-right: 30px; 10 | 11 | height: @weuiCellHeightEm; 12 | min-height: @weuiCellHeightEm; 13 | line-height: @weuiCellHeightEm; 14 | 15 | border-right: 1rpx solid @weuiCellBorderColor; 16 | 17 | &:before{ 18 | content: " "; 19 | .setArrow(right, 6px, #C8C8CD, 2px); 20 | 21 | position: absolute; 22 | top: 50%; 23 | right: @weuiCellGapH; 24 | margin-top: -4px; 25 | } 26 | &_in-select-after{ 27 | padding-left: 0; 28 | } 29 | } 30 | .weui-cell__hd_in-select-after, 31 | .weui-cell__bd_in-select-before{ 32 | padding-left: @weuiCellGapH; 33 | } 34 | -------------------------------------------------------------------------------- /dist/pages/wl/member.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{user.user_nicename}} 6 | 7 | 8 | 登录密码 9 | 修改 10 | 11 | 12 | 13 | 手机号码 14 | 修改 15 | 16 | 17 | 18 | 退出登录 19 | 20 | -------------------------------------------------------------------------------- /dist/npm/lodash/_nodeUtil.js: -------------------------------------------------------------------------------- 1 | var freeGlobal = require('./_freeGlobal.js'); 2 | 3 | /** Detect free variable `exports`. */ 4 | var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; 5 | 6 | /** Detect free variable `module`. */ 7 | var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; 8 | 9 | /** Detect the popular CommonJS extension `module.exports`. */ 10 | var moduleExports = freeModule && freeModule.exports === freeExports; 11 | 12 | /** Detect free variable `process` from Node.js. */ 13 | var freeProcess = moduleExports && freeGlobal.process; 14 | 15 | /** Used to access faster Node.js helpers. */ 16 | var nodeUtil = (function() { 17 | try { 18 | return freeProcess && freeProcess.binding && freeProcess.binding('util'); 19 | } catch (e) {} 20 | }()); 21 | 22 | module.exports = nodeUtil; 23 | -------------------------------------------------------------------------------- /dist/npm/lodash/isString.js: -------------------------------------------------------------------------------- 1 | var baseGetTag = require('./_baseGetTag.js'), 2 | isArray = require('./isArray.js'), 3 | isObjectLike = require('./isObjectLike.js'); 4 | 5 | /** `Object#toString` result references. */ 6 | var stringTag = '[object String]'; 7 | 8 | /** 9 | * Checks if `value` is classified as a `String` primitive or object. 10 | * 11 | * @static 12 | * @since 0.1.0 13 | * @memberOf _ 14 | * @category Lang 15 | * @param {*} value The value to check. 16 | * @returns {boolean} Returns `true` if `value` is a string, else `false`. 17 | * @example 18 | * 19 | * _.isString('abc'); 20 | * // => true 21 | * 22 | * _.isString(1); 23 | * // => false 24 | */ 25 | function isString(value) { 26 | return typeof value == 'string' || 27 | (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); 28 | } 29 | 30 | module.exports = isString; 31 | -------------------------------------------------------------------------------- /dist/components/tab.wxss: -------------------------------------------------------------------------------- 1 | .dot{position:absolute;display:flex;width:37rpx;height:35rpx;line-height:40rpx;text-align:center;align-items:center;justify-content:center;background:#e52424;border-radius:100px;color:#fff;z-index:999;font-size:26rpx;top:0;right:-10rpx}.dotbig{position:absolute;display:flex;width:50rpx;height:35rpx;line-height:40rpx;text-align:center;align-items:center;justify-content:center;background:#e52424;border-radius:100px;color:#fff;z-index:999;font-size:26rpx;top:0;right:-10rpx}.swiper-tab{width:100%;border-bottom:1rpx solid #eee;text-align:center;line-height:80rpx;display:flex;justify-content:space-between;flex-wrap:wrap;background:#fff}.swiper-tab-list{font-size:30rpx;color:#777777;padding:0 20rpx;position:relative}.active{color:#eb6623;border-bottom:5rpx solid #eb6623}.swiper-box{display:block;height:100%;width:100%;overflow:hidden}.swiper-item-box{overflow-y:scroll;overflow-x:hidden} -------------------------------------------------------------------------------- /dist/npm/lodash/isObject.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Checks if `value` is the 3 | * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) 4 | * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) 5 | * 6 | * @static 7 | * @memberOf _ 8 | * @since 0.1.0 9 | * @category Lang 10 | * @param {*} value The value to check. 11 | * @returns {boolean} Returns `true` if `value` is an object, else `false`. 12 | * @example 13 | * 14 | * _.isObject({}); 15 | * // => true 16 | * 17 | * _.isObject([1, 2, 3]); 18 | * // => true 19 | * 20 | * _.isObject(_.noop); 21 | * // => true 22 | * 23 | * _.isObject(null); 24 | * // => false 25 | */ 26 | function isObject(value) { 27 | var type = typeof value; 28 | return value != null && (type == 'object' || type == 'function'); 29 | } 30 | 31 | module.exports = isObject; 32 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseFindIndex.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The base implementation of `_.findIndex` and `_.findLastIndex` without 3 | * support for iteratee shorthands. 4 | * 5 | * @private 6 | * @param {Array} array The array to inspect. 7 | * @param {Function} predicate The function invoked per iteration. 8 | * @param {number} fromIndex The index to search from. 9 | * @param {boolean} [fromRight] Specify iterating from right to left. 10 | * @returns {number} Returns the index of the matched value, else `-1`. 11 | */ 12 | function baseFindIndex(array, predicate, fromIndex, fromRight) { 13 | var length = array.length, 14 | index = fromIndex + (fromRight ? 1 : -1); 15 | 16 | while ((fromRight ? index-- : ++index < length)) { 17 | if (predicate(array[index], index, array)) { 18 | return index; 19 | } 20 | } 21 | return -1; 22 | } 23 | 24 | module.exports = baseFindIndex; 25 | -------------------------------------------------------------------------------- /src/style/widget/weui-footer/weui-footer.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-footer { 4 | color: @weuiTextColorGray; 5 | font-size: 14px; 6 | text-align: center; 7 | } 8 | .weui-footer_fixed-bottom{ 9 | position: fixed; 10 | bottom: .52em; 11 | left: 0; 12 | right: 0; 13 | } 14 | .weui-footer__links{ 15 | font-size: 0; 16 | } 17 | .weui-footer__link{ 18 | display: inline-block; 19 | vertical-align: top; 20 | margin: 0 .62em; 21 | position: relative; 22 | font-size: 14px; 23 | color: @weuiLinkColorDefault; 24 | &:before{ 25 | .setLeftLine(); 26 | left: -.65em; 27 | top: .36em; 28 | bottom: .36em; 29 | } 30 | &:first-child{ 31 | &:before{ 32 | display: none; 33 | } 34 | } 35 | } 36 | .weui-footer__text{ 37 | padding: 0 .34em; 38 | font-size: 12px; 39 | } 40 | -------------------------------------------------------------------------------- /dist/npm/lodash/values.js: -------------------------------------------------------------------------------- 1 | var baseValues = require('./_baseValues.js'), 2 | keys = require('./keys.js'); 3 | 4 | /** 5 | * Creates an array of the own enumerable string keyed property values of `object`. 6 | * 7 | * **Note:** Non-object values are coerced to objects. 8 | * 9 | * @static 10 | * @since 0.1.0 11 | * @memberOf _ 12 | * @category Object 13 | * @param {Object} object The object to query. 14 | * @returns {Array} Returns the array of property values. 15 | * @example 16 | * 17 | * function Foo() { 18 | * this.a = 1; 19 | * this.b = 2; 20 | * } 21 | * 22 | * Foo.prototype.c = 3; 23 | * 24 | * _.values(new Foo); 25 | * // => [1, 2] (iteration order is not guaranteed) 26 | * 27 | * _.values('hi'); 28 | * // => ['h', 'i'] 29 | */ 30 | function values(object) { 31 | return object == null ? [] : baseValues(object, keys(object)); 32 | } 33 | 34 | module.exports = values; 35 | -------------------------------------------------------------------------------- /src/style/base/mixin/setOnepx.less: -------------------------------------------------------------------------------- 1 | .setTopLine(@c: #C7C7C7) { 2 | content: " "; 3 | position: absolute; 4 | left: 0; 5 | top: 0; 6 | right: 0; 7 | height: 1px; 8 | border-top: 1rpx solid @c; 9 | color: @c; 10 | } 11 | 12 | .setBottomLine(@c: #C7C7C7) { 13 | content: " "; 14 | position: absolute; 15 | left: 0; 16 | bottom: 0; 17 | right: 0; 18 | height: 1px; 19 | border-bottom: 1rpx solid @c; 20 | color: @c; 21 | } 22 | 23 | .setLeftLine(@c: #C7C7C7) { 24 | content: " "; 25 | position: absolute; 26 | left: 0; 27 | top: 0; 28 | width: 1px; 29 | bottom: 0; 30 | border-left: 1rpx solid @c; 31 | color: @c; 32 | } 33 | 34 | .setRightLine(@c: #C7C7C7) { 35 | content: " "; 36 | position: absolute; 37 | right: 0; 38 | top: 0; 39 | width: 1px; 40 | bottom: 0; 41 | border-right: 1rpx solid @c; 42 | color: @c; 43 | } -------------------------------------------------------------------------------- /dist/npm/lodash/_baseKeys.js: -------------------------------------------------------------------------------- 1 | var isPrototype = require('./_isPrototype.js'), 2 | nativeKeys = require('./_nativeKeys.js'); 3 | 4 | /** Used for built-in method references. */ 5 | var objectProto = Object.prototype; 6 | 7 | /** Used to check objects for own properties. */ 8 | var hasOwnProperty = objectProto.hasOwnProperty; 9 | 10 | /** 11 | * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. 12 | * 13 | * @private 14 | * @param {Object} object The object to query. 15 | * @returns {Array} Returns the array of property names. 16 | */ 17 | function baseKeys(object) { 18 | if (!isPrototype(object)) { 19 | return nativeKeys(object); 20 | } 21 | var result = []; 22 | for (var key in Object(object)) { 23 | if (hasOwnProperty.call(object, key) && key != 'constructor') { 24 | result.push(key); 25 | } 26 | } 27 | return result; 28 | } 29 | 30 | module.exports = baseKeys; 31 | -------------------------------------------------------------------------------- /src/style/widget/weui-tab/weui-navbar.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | @weuiNavBarColor: #1AAD19; 4 | .weui-navbar { 5 | display: flex; 6 | position: absolute; 7 | z-index: 500; 8 | top: 0; 9 | width: 100%; 10 | border-bottom: 1rpx solid #CCCCCC; 11 | } 12 | 13 | .weui-navbar__item { 14 | position: relative; 15 | display: block; 16 | flex: 1; 17 | padding: 13px 0; 18 | text-align: center; 19 | font-size: 0; 20 | 21 | &.weui-bar__item_on { 22 | color: @weuiNavBarColor; 23 | } 24 | } 25 | .weui-navbar__slider { 26 | position: absolute; 27 | content: " "; 28 | left: 0; 29 | bottom: 0; 30 | width: 6em; 31 | height: 3px; 32 | background-color: @weuiNavBarColor; 33 | transition: transform .3s; 34 | } 35 | .weui-navbar__title{ 36 | display: inline-block; 37 | font-size: 15px; 38 | max-width: 8em; 39 | .ellipsis(); 40 | } 41 | -------------------------------------------------------------------------------- /dist/npm/lodash/_baseGetTag.js: -------------------------------------------------------------------------------- 1 | var Symbol = require('./_Symbol.js'), 2 | getRawTag = require('./_getRawTag.js'), 3 | objectToString = require('./_objectToString.js'); 4 | 5 | /** `Object#toString` result references. */ 6 | var nullTag = '[object Null]', 7 | undefinedTag = '[object Undefined]'; 8 | 9 | /** Built-in value references. */ 10 | var symToStringTag = Symbol ? Symbol.toStringTag : undefined; 11 | 12 | /** 13 | * The base implementation of `getTag` without fallbacks for buggy environments. 14 | * 15 | * @private 16 | * @param {*} value The value to query. 17 | * @returns {string} Returns the `toStringTag`. 18 | */ 19 | function baseGetTag(value) { 20 | if (value == null) { 21 | return value === undefined ? undefinedTag : nullTag; 22 | } 23 | return (symToStringTag && symToStringTag in Object(value)) 24 | ? getRawTag(value) 25 | : objectToString(value); 26 | } 27 | 28 | module.exports = baseGetTag; 29 | -------------------------------------------------------------------------------- /dist/npm/lodash/toInteger.js: -------------------------------------------------------------------------------- 1 | var toFinite = require('./toFinite.js'); 2 | 3 | /** 4 | * Converts `value` to an integer. 5 | * 6 | * **Note:** This method is loosely based on 7 | * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @since 4.0.0 12 | * @category Lang 13 | * @param {*} value The value to convert. 14 | * @returns {number} Returns the converted integer. 15 | * @example 16 | * 17 | * _.toInteger(3.2); 18 | * // => 3 19 | * 20 | * _.toInteger(Number.MIN_VALUE); 21 | * // => 0 22 | * 23 | * _.toInteger(Infinity); 24 | * // => 1.7976931348623157e+308 25 | * 26 | * _.toInteger('3.2'); 27 | * // => 3 28 | */ 29 | function toInteger(value) { 30 | var result = toFinite(value), 31 | remainder = result % 1; 32 | 33 | return result === result ? (remainder ? result - remainder : result) : 0; 34 | } 35 | 36 | module.exports = toInteger; 37 | -------------------------------------------------------------------------------- /dist/store/reducers/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | var _redux = require('./../../npm/redux/lib/index.js'); 8 | 9 | var _cache = require('./cache.js'); 10 | 11 | var _cache2 = _interopRequireDefault(_cache); 12 | 13 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 14 | 15 | exports.default = (0, _redux.combineReducers)({ 16 | cache: _cache2.default 17 | }); 18 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbImNhY2hlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7QUFDQTs7Ozs7O2tCQUVlLDRCQUFnQjtBQUM3QkE7QUFENkIsQ0FBaEIsQyIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNvbWJpbmVSZWR1Y2VycyB9IGZyb20gJ3JlZHV4J1xyXG5pbXBvcnQgY2FjaGUgZnJvbSAnLi9jYWNoZSc7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBjb21iaW5lUmVkdWNlcnMoe1xyXG4gIGNhY2hlXHJcbn0pXHJcbiJdfQ== -------------------------------------------------------------------------------- /dist/npm/lodash/isLength.js: -------------------------------------------------------------------------------- 1 | /** Used as references for various `Number` constants. */ 2 | var MAX_SAFE_INTEGER = 9007199254740991; 3 | 4 | /** 5 | * Checks if `value` is a valid array-like length. 6 | * 7 | * **Note:** This method is loosely based on 8 | * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @since 4.0.0 13 | * @category Lang 14 | * @param {*} value The value to check. 15 | * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. 16 | * @example 17 | * 18 | * _.isLength(3); 19 | * // => true 20 | * 21 | * _.isLength(Number.MIN_VALUE); 22 | * // => false 23 | * 24 | * _.isLength(Infinity); 25 | * // => false 26 | * 27 | * _.isLength('3'); 28 | * // => false 29 | */ 30 | function isLength(value) { 31 | return typeof value == 'number' && 32 | value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; 33 | } 34 | 35 | module.exports = isLength; 36 | -------------------------------------------------------------------------------- /dist/npm/lodash/isArrayLike.js: -------------------------------------------------------------------------------- 1 | var isFunction = require('./isFunction.js'), 2 | isLength = require('./isLength.js'); 3 | 4 | /** 5 | * Checks if `value` is array-like. A value is considered array-like if it's 6 | * not a function and has a `value.length` that's an integer greater than or 7 | * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. 8 | * 9 | * @static 10 | * @memberOf _ 11 | * @since 4.0.0 12 | * @category Lang 13 | * @param {*} value The value to check. 14 | * @returns {boolean} Returns `true` if `value` is array-like, else `false`. 15 | * @example 16 | * 17 | * _.isArrayLike([1, 2, 3]); 18 | * // => true 19 | * 20 | * _.isArrayLike(document.body.children); 21 | * // => true 22 | * 23 | * _.isArrayLike('abc'); 24 | * // => true 25 | * 26 | * _.isArrayLike(_.noop); 27 | * // => false 28 | */ 29 | function isArrayLike(value) { 30 | return value != null && isLength(value.length) && !isFunction(value); 31 | } 32 | 33 | module.exports = isArrayLike; 34 | -------------------------------------------------------------------------------- /dist/pages/wl/changeM.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 开始盘点 5 | 6 | 7 | 8 | 9 | 微信扫一扫 10 | 11 | 12 | 13 | 输入商品编码 14 | 15 | 16 | 17 | 结束盘点 18 | 19 | 20 | 21 | 22 | {{$SheetNum$numSheet}} 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/style/widget/weui-grid/weui-grid.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-grids { 4 | border-top: 1rpx solid @weuiGridBorderColor; 5 | border-left: 1rpx solid @weuiGridBorderColor; 6 | overflow: hidden; 7 | } 8 | .weui-grid { 9 | position: relative; 10 | float: left; 11 | padding: 20px 10px; 12 | width: 100% / @weuiGridColumnCount; 13 | box-sizing: border-box; 14 | 15 | border-right: 1rpx solid @weuiGridBorderColor; 16 | border-bottom: 1rpx solid @weuiGridBorderColor; 17 | &_active{ 18 | background-color: @weuiBgColorActive; 19 | } 20 | } 21 | .weui-grid__icon { 22 | display: block; 23 | width: @weuiGridIconSize; 24 | height: @weuiGridIconSize; 25 | margin: 0 auto; 26 | } 27 | .weui-grid__label { 28 | margin-top: 5px; 29 | display: block; 30 | text-align: center; 31 | color: @weuiTextColorTitle; 32 | font-size: @weuiGridFontSize; 33 | white-space: nowrap; 34 | text-overflow: ellipsis; 35 | overflow: hidden; 36 | } 37 | -------------------------------------------------------------------------------- /dist/style/widget/weui-searchbar/weui-searchbar.wxss: -------------------------------------------------------------------------------- 1 | .weui-search-bar{position:relative;padding:8px 10px;display:flex;box-sizing:border-box;background-color:#EFEFF4;border-top:1rpx solid #D7D6DC;border-bottom:1rpx solid #D7D6DC}.weui-icon-search{margin-right:8px;font-size:inherit}.weui-icon-search_in-box{position:absolute;left:10px;top:7px}.weui-search-bar__text{display:inline-block;font-size:14px;vertical-align:middle}.weui-search-bar__form{position:relative;flex:auto;border-radius:5px;background:#FFFFFF;border:1rpx solid #E6E6EA}.weui-search-bar__box{position:relative;padding-left:30px;padding-right:30px;width:100%;box-sizing:border-box;z-index:1}.weui-search-bar__input{height:28px;line-height:28px;font-size:14px}.weui-icon-clear{position:absolute;top:0;right:0;padding:7px 8px;font-size:0}.weui-search-bar__label{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;border-radius:3px;text-align:center;color:#9B9B9B;background:#FFFFFF;line-height:28px}.weui-search-bar__cancel-btn{margin-left:10px;line-height:28px;color:#09BB07;white-space:nowrap} -------------------------------------------------------------------------------- /src/api/base.js: -------------------------------------------------------------------------------- 1 | import wepy from 'wepy'; 2 | import http from '../util/Http' 3 | 4 | export default class base { 5 | static baseUrl = wepy.$instance.globalData.baseUrl; 6 | static get = http.get.bind(http); 7 | static getTwo = http.getTwo.bind(http); 8 | static put = http.put.bind(http); 9 | static post = http.post.bind(http); 10 | static delete = http.delete.bind(http); 11 | /** 12 | * 需要token 13 | */ 14 | static setToken(param){ 15 | if(wepy.getStorageSync("user")){ 16 | Object.assign(param,{'token':''}) 17 | param.token = JSON.parse(wepy.getStorageSync("user")).token; 18 | }else{ 19 | console.log("获取用户token失败") 20 | return false; 21 | } 22 | } 23 | static setDeviceid(param){ 24 | if(wx.getStorageSync("openid")){ 25 | Object.assign(param,{'deviceid':''}); 26 | param.deviceid = wx.getStorageSync("openid"); 27 | }else{ 28 | console.log("获取用户唯一设备id失败") 29 | return false; 30 | } 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-cell.wxss: -------------------------------------------------------------------------------- 1 | .weui-cells{position:relative;margin-top:1.17647059em;background-color:#FFFFFF;line-height:1.41176471;font-size:17px}.weui-cells:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #D9D9D9;color:#D9D9D9}.weui-cells:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #D9D9D9;color:#D9D9D9}.weui-cells__title{margin-top:.77em;margin-bottom:.3em;padding-left:15px;padding-right:15px;color:#999999;font-size:14px}.weui-cells_after-title{margin-top:0}.weui-cells__tips{margin-top:.3em;color:#999999;padding-left:15px;padding-right:15px;font-size:14px}.weui-cell{padding:10px 15px;position:relative;display:flex;align-items:center}.weui-cell:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #D9D9D9;color:#D9D9D9;left:15px}.weui-cell:first-child:before{display:none}.weui-cell_active{background-color:#ECECEC}.weui-cell_primary{align-items:flex-start}.weui-cell__bd{flex:1}.weui-cell__ft{text-align:right;color:#999999} -------------------------------------------------------------------------------- /dist/components/wl/sheetNum.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .bottom { 8 | position: fixed; 9 | bottom: 50rpx; 10 | left: 40rpx; } 11 | .bottom .dotpo { 12 | position: relative; } 13 | .bottom .dotpo .dot { 14 | width: 52rpx; 15 | height: 52rpx; 16 | border-radius: 50rpx; 17 | background-color: #ffce10; 18 | font-size: 28rpx; 19 | color: #555; 20 | text-align: center; 21 | line-height: 52rpx; 22 | position: absolute; 23 | top: -10rpx; 24 | left: 100rpx; } 25 | .bottom .dan_icon { 26 | width: 160rpx; 27 | height: 160rpx; } 28 | -------------------------------------------------------------------------------- /dist/npm/lodash/keys.js: -------------------------------------------------------------------------------- 1 | var arrayLikeKeys = require('./_arrayLikeKeys.js'), 2 | baseKeys = require('./_baseKeys.js'), 3 | isArrayLike = require('./isArrayLike.js'); 4 | 5 | /** 6 | * Creates an array of the own enumerable property names of `object`. 7 | * 8 | * **Note:** Non-object values are coerced to objects. See the 9 | * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) 10 | * for more details. 11 | * 12 | * @static 13 | * @since 0.1.0 14 | * @memberOf _ 15 | * @category Object 16 | * @param {Object} object The object to query. 17 | * @returns {Array} Returns the array of property names. 18 | * @example 19 | * 20 | * function Foo() { 21 | * this.a = 1; 22 | * this.b = 2; 23 | * } 24 | * 25 | * Foo.prototype.c = 3; 26 | * 27 | * _.keys(new Foo); 28 | * // => ['a', 'b'] (iteration order is not guaranteed) 29 | * 30 | * _.keys('hi'); 31 | * // => ['0', '1'] 32 | */ 33 | function keys(object) { 34 | return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); 35 | } 36 | 37 | module.exports = keys; 38 | -------------------------------------------------------------------------------- /dist/npm/lodash/toFinite.js: -------------------------------------------------------------------------------- 1 | var toNumber = require('./toNumber.js'); 2 | 3 | /** Used as references for various `Number` constants. */ 4 | var INFINITY = 1 / 0, 5 | MAX_INTEGER = 1.7976931348623157e+308; 6 | 7 | /** 8 | * Converts `value` to a finite number. 9 | * 10 | * @static 11 | * @memberOf _ 12 | * @since 4.12.0 13 | * @category Lang 14 | * @param {*} value The value to convert. 15 | * @returns {number} Returns the converted number. 16 | * @example 17 | * 18 | * _.toFinite(3.2); 19 | * // => 3.2 20 | * 21 | * _.toFinite(Number.MIN_VALUE); 22 | * // => 5e-324 23 | * 24 | * _.toFinite(Infinity); 25 | * // => 1.7976931348623157e+308 26 | * 27 | * _.toFinite('3.2'); 28 | * // => 3.2 29 | */ 30 | function toFinite(value) { 31 | if (!value) { 32 | return value === 0 ? value : 0; 33 | } 34 | value = toNumber(value); 35 | if (value === INFINITY || value === -INFINITY) { 36 | var sign = (value < 0 ? -1 : 1); 37 | return sign * MAX_INTEGER; 38 | } 39 | return value === value ? value : 0; 40 | } 41 | 42 | module.exports = toFinite; 43 | -------------------------------------------------------------------------------- /src/style/widget/weui-animate/weui-animate.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | @keyframes slideUp { 4 | from { 5 | transform: translate3d(0, 100%, 0); 6 | } 7 | 8 | to { 9 | transform: translate3d(0, 0, 0); 10 | } 11 | } 12 | 13 | .weui-animate-slide-up { 14 | animation: slideUp ease .3s forwards; 15 | } 16 | 17 | @keyframes slideDown { 18 | from { 19 | transform: translate3d(0, 0, 0); 20 | } 21 | 22 | to { 23 | transform: translate3d(0, 100%, 0); 24 | } 25 | } 26 | 27 | .weui-animate-slide-down { 28 | animation: slideDown ease .3s forwards; 29 | } 30 | 31 | @keyframes fadeIn { 32 | from { 33 | opacity: 0; 34 | } 35 | to { 36 | opacity: 1; 37 | } 38 | } 39 | 40 | .weui-animate-fade-in { 41 | animation: fadeIn ease .3s forwards; 42 | } 43 | 44 | @keyframes fadeOut { 45 | from { 46 | opacity: 1; 47 | } 48 | to { 49 | opacity: 0; 50 | } 51 | } 52 | 53 | .weui-animate-fade-out { 54 | animation: fadeOut ease .3s forwards; 55 | } 56 | -------------------------------------------------------------------------------- /dist/npm/redux/lib/compose.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.__esModule = true; 4 | exports["default"] = compose; 5 | /** 6 | * Composes single-argument functions from right to left. The rightmost 7 | * function can take multiple arguments as it provides the signature for 8 | * the resulting composite function. 9 | * 10 | * @param {...Function} funcs The functions to compose. 11 | * @returns {Function} A function obtained by composing the argument functions 12 | * from right to left. For example, compose(f, g, h) is identical to doing 13 | * (...args) => f(g(h(...args))). 14 | */ 15 | 16 | function compose() { 17 | for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) { 18 | funcs[_key] = arguments[_key]; 19 | } 20 | 21 | if (funcs.length === 0) { 22 | return function (arg) { 23 | return arg; 24 | }; 25 | } 26 | 27 | if (funcs.length === 1) { 28 | return funcs[0]; 29 | } 30 | 31 | return funcs.reduce(function (a, b) { 32 | return function () { 33 | return a(b.apply(undefined, arguments)); 34 | }; 35 | }); 36 | } -------------------------------------------------------------------------------- /dist/pages/wl/changeType.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 盘点功能 6 | 7 | 8 | 9 | 10 | 11 | 物流功能 12 | 13 | 14 | 15 | 18 | -------------------------------------------------------------------------------- /src/pages/wl/addPanProd.wpy: -------------------------------------------------------------------------------- 1 | 4 | 12 | 29 | 30 | -------------------------------------------------------------------------------- /src/api/wl/user.js: -------------------------------------------------------------------------------- 1 | import wepy from 'wepy'; 2 | import base from '../base' 3 | export default class userWl extends base{ 4 | /** 5 | * 登录 6 | */ 7 | static async userLogin(userInfo){ 8 | const url =`${this.baseUrl}apiwl/userwl/user_login` 9 | const param = { 10 | user_mobile:userInfo.user_name, 11 | user_pass:userInfo.user_pass, 12 | // user_type:"1", 13 | user_type:"2", 14 | is_auto:'2' 15 | } 16 | this.setDeviceid(param) 17 | return await this.get(url,param); 18 | } 19 | /** 20 | * 修改密码 21 | */ 22 | static async changePwd(params){ 23 | const url = `${this.baseUrl}apiwl/userwl/password_save`; 24 | this.setDeviceid(params); 25 | this.setToken(params); 26 | return await this.get(url,params); 27 | } 28 | /** 29 | * 用户退出 30 | */ 31 | static async toLoginOut(){ 32 | const url = `${this.baseUrl}apiwl/userwl/user_logout`; 33 | const param = {}; 34 | this.setDeviceid(param); 35 | this.setToken(param); 36 | return await this.get(url,param); 37 | } 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | } -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-form/weui-form_common.less: -------------------------------------------------------------------------------- 1 | @import "../../../base/fn.less"; 2 | 3 | .weui-cell_input{ 4 | padding-top: 0; 5 | padding-bottom: 0; 6 | } 7 | .weui-label{ 8 | width:@weuiCellLabelWidth; 9 | .text_wrap(); 10 | } 11 | .weui-input{ 12 | height: @weuiCellHeightEm; 13 | min-height: @weuiCellHeightEm; 14 | line-height: @weuiCellHeightEm; 15 | } 16 | .weui-toptips{ 17 | //display: none; // 通过 wx:if 来控制 18 | position: fixed; 19 | transform: translateZ(0); 20 | top: 0; 21 | left: 0; 22 | right: 0; 23 | padding: 5px; 24 | font-size: 14px; 25 | text-align: center; 26 | color: #FFFFFF; 27 | z-index: 5000; 28 | .text_wrap(); 29 | } 30 | .weui-toptips_warn{ 31 | background-color: @weuiColorWarn; 32 | } 33 | .weui-textarea{ 34 | display: block; 35 | width: 100%; 36 | } 37 | .weui-textarea-counter{ 38 | color: @weuiTextColorTips; 39 | text-align: right; 40 | } 41 | .weui-textarea-counter_warn{ 42 | color: @weuiTextColorWarn; 43 | } 44 | .weui-cell_warn{ 45 | color: @weuiTextColorWarn; 46 | } 47 | -------------------------------------------------------------------------------- /src/style/widget/weui-page/weui-msg.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-msg { 4 | padding-top: @weuiMsgPaddingTop; 5 | text-align: center; 6 | } 7 | .weui-msg__link{ 8 | display: inline; 9 | color: @weuiLinkColorDefault; 10 | } 11 | .weui-msg__icon-area { 12 | margin-bottom: @weuiMsgIconGap; 13 | } 14 | .weui-msg__text-area { 15 | margin-bottom: @weuiMsgTextGap; 16 | padding:0 20px; 17 | } 18 | .weui-msg__title { 19 | margin-bottom: @weuiMsgTitleGap; 20 | font-weight: 400; 21 | font-size: 20px; 22 | } 23 | .weui-msg__desc { 24 | font-size: 14px; 25 | color: @weuiTextColorGray; 26 | } 27 | .weui-msg__opr-area { 28 | margin-bottom: @weuiMsgOprGap; 29 | } 30 | .weui-msg__extra-area { 31 | margin-bottom: @weuiMsgExtraAreaGap; 32 | font-size: 14px; 33 | color: @weuiTextColorGray; 34 | } 35 | 36 | @media screen and (min-height: @weuiMsgExtraAreaOfMinHeight) { 37 | .weui-msg__extra-area { 38 | position: fixed; 39 | left: 0; 40 | bottom: 0; 41 | width: 100%; 42 | text-align: center; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/style/widget/weui-tips/weui-loadmore.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-loadmore{ 4 | width: 65%; 5 | margin:1.5em auto; 6 | line-height: 1.6em; 7 | font-size:14px; 8 | text-align: center; 9 | } 10 | .weui-loadmore__tips{ 11 | display: inline-block; 12 | vertical-align: middle; 13 | } 14 | .weui-loadmore_line{ 15 | border-top:1px solid @weuiLineColorLight; 16 | margin-top:2.4em; 17 | } 18 | .weui-loadmore__tips_in-line{ 19 | position: relative; 20 | top:-.9em; 21 | padding:0 .55em; 22 | background-color: #FFFFFF; 23 | color:@weuiTextColorGray; 24 | } 25 | .weui-loadmore_dot{ 26 | } 27 | .weui-loadmore__tips_in-dot{ 28 | position: relative; 29 | padding:0 .16em; 30 | width: 4px; 31 | height: 1.6em; 32 | &:before{ 33 | content: " "; 34 | position: absolute; 35 | top: 50%; 36 | left: 50%; 37 | margin-top: -1px; 38 | margin-left: -2px; 39 | width: 4px; 40 | height: 4px; 41 | border-radius: 50%; 42 | background-color: @weuiLineColorLight; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /dist/components/home_top.wxss: -------------------------------------------------------------------------------- 1 | .mask{position:fixed;z-index:1000;top:320rpx;right:0;left:0;bottom:0;height:100%;background-color:#6c6c6c;opacity:.2}.shai_classifi{position:absolute;display:flex;flex-wrap:wrap;justify-content:space-around;background-color:#fff;padding-bottom:20rpx}.shai_classifi .classifi_item{width:220rpx;height:44rpx;border:1rpx solid #a1a1a1;font-size:26rpx;color:#666;border-radius:90rpx;text-align:center;line-height:44rpx;display:inline-flex;justify-content:center;margin-top:20rpx}.shai_classifi .activeSort{border:none;background-color:#ff9600;color:#fff}.swiper-tab{width:678rpx;border-bottom:1rpx solid #eee;line-height:65rpx;height:70rpx;display:flex;justify-content:space-between;flex-grow:row nowrap;align-items:center;background:#fff;overflow:auto}.tabViewimg{display:flex;justify-content:space-between}.right_shai{display:flex;width:72rpx;height:70rpx;justify-content:center;align-items:center;background-color:#fff;border-left:2rpx solid #a1a1a1}.right_shai .shaixuan{display:inline-flex;width:38rpx;height:38rpx}.swiper-tab-list{flex:1 0 140rpx;font-size:30rpx;text-align:center;color:#777777;padding:0 20rpx;position:relative}.active{color:#eb6623;border-bottom:5rpx solid #eb6623} -------------------------------------------------------------------------------- /dist/npm/lodash/isFunction.js: -------------------------------------------------------------------------------- 1 | var baseGetTag = require('./_baseGetTag.js'), 2 | isObject = require('./isObject.js'); 3 | 4 | /** `Object#toString` result references. */ 5 | var asyncTag = '[object AsyncFunction]', 6 | funcTag = '[object Function]', 7 | genTag = '[object GeneratorFunction]', 8 | proxyTag = '[object Proxy]'; 9 | 10 | /** 11 | * Checks if `value` is classified as a `Function` object. 12 | * 13 | * @static 14 | * @memberOf _ 15 | * @since 0.1.0 16 | * @category Lang 17 | * @param {*} value The value to check. 18 | * @returns {boolean} Returns `true` if `value` is a function, else `false`. 19 | * @example 20 | * 21 | * _.isFunction(_); 22 | * // => true 23 | * 24 | * _.isFunction(/abc/); 25 | * // => false 26 | */ 27 | function isFunction(value) { 28 | if (!isObject(value)) { 29 | return false; 30 | } 31 | // The use of `Object#toString` avoids issues with the `typeof` operator 32 | // in Safari 9 which returns 'object' for typed arrays and other constructors. 33 | var tag = baseGetTag(value); 34 | return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; 35 | } 36 | 37 | module.exports = isFunction; 38 | -------------------------------------------------------------------------------- /src/style/weui.less: -------------------------------------------------------------------------------- 1 | @import "base/reset.less"; 2 | 3 | @import "widget/weui-cell/weui-cell.less"; 4 | @import "widget/weui-cell/weui-access.less"; 5 | @import "widget/weui-cell/weui-check.less"; 6 | @import "widget/weui-cell/weui-form.less"; 7 | @import "widget/weui-cell/weui-switch.less"; 8 | @import "widget/weui-cell/weui-uploader.less"; 9 | 10 | @import "./widget/weui-page/weui-article.less"; 11 | @import "./widget/weui-page/weui-msg.less"; 12 | 13 | @import "widget/weui-flex/weui-flex.less"; 14 | 15 | @import "widget/weui-button/weui-button.less"; 16 | 17 | @import "./widget/weui-agree/weui-agree.less"; 18 | 19 | @import "./widget/weui-footer/weui-footer.less"; 20 | 21 | @import "./widget/weui-grid/weui-grid.less"; 22 | 23 | @import "./widget/weui-loading/weui-loading.less"; 24 | 25 | @import "./widget/weui-tips/weui-badge.less"; 26 | @import "./widget/weui-tips/weui-loadmore.less"; 27 | 28 | @import "./widget/weui-panel/weui-panel.less"; 29 | 30 | @import "./widget/weui-media-box/weui-media-box.less"; 31 | 32 | @import "./widget/weui-progress/weui-progress.less"; 33 | 34 | @import "./widget/weui-tab/weui-tab.less"; 35 | 36 | @import "./widget/weui-searchbar/weui-searchbar.less"; 37 | -------------------------------------------------------------------------------- /dist/npm/lodash/isArguments.js: -------------------------------------------------------------------------------- 1 | var baseIsArguments = require('./_baseIsArguments.js'), 2 | isObjectLike = require('./isObjectLike.js'); 3 | 4 | /** Used for built-in method references. */ 5 | var objectProto = Object.prototype; 6 | 7 | /** Used to check objects for own properties. */ 8 | var hasOwnProperty = objectProto.hasOwnProperty; 9 | 10 | /** Built-in value references. */ 11 | var propertyIsEnumerable = objectProto.propertyIsEnumerable; 12 | 13 | /** 14 | * Checks if `value` is likely an `arguments` object. 15 | * 16 | * @static 17 | * @memberOf _ 18 | * @since 0.1.0 19 | * @category Lang 20 | * @param {*} value The value to check. 21 | * @returns {boolean} Returns `true` if `value` is an `arguments` object, 22 | * else `false`. 23 | * @example 24 | * 25 | * _.isArguments(function() { return arguments; }()); 26 | * // => true 27 | * 28 | * _.isArguments([1, 2, 3]); 29 | * // => false 30 | */ 31 | var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { 32 | return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && 33 | !propertyIsEnumerable.call(value, 'callee'); 34 | }; 35 | 36 | module.exports = isArguments; 37 | -------------------------------------------------------------------------------- /dist/components/header.wxss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | .headerCon { 3 | display: flex; 4 | height: 86rpx; 5 | width: 100%; 6 | background-color: #f5f5f5; 7 | border-bottom: 1rpx solid #e1e1e1; } 8 | .headerCon .title { 9 | width: 82%; 10 | display: inline-flex; 11 | align-items: center; 12 | justify-content: center; } 13 | 14 | @font-face { 15 | font-family: 'iconfont'; 16 | /* project id 393411 */ 17 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 18 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 19 | 20 | .icon-next:before { 21 | content: "\e625"; } 22 | 23 | /*返回图标*/ 24 | .iconfont { 25 | display: inline-flex; 26 | align-items: center; 27 | font-family: "iconfont" !important; 28 | font-size: 42rpx; 29 | font-style: normal; 30 | -webkit-font-smoothing: antialiased; 31 | -webkit-text-stroke-width: 0.2px; 32 | color: #A1A1A1; 33 | -moz-osx-font-smoothing: grayscale; 34 | padding: 0 12rpx; } 35 | -------------------------------------------------------------------------------- /dist/npm/redux-promise/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.__esModule = true; 4 | 5 | var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; 6 | 7 | exports['default'] = promiseMiddleware; 8 | 9 | var _fluxStandardAction = require('./../../flux-standard-action/lib/index.js'); 10 | 11 | function isPromise(val) { 12 | return val && typeof val.then === 'function'; 13 | } 14 | 15 | function promiseMiddleware(_ref) { 16 | var dispatch = _ref.dispatch; 17 | 18 | return function (next) { 19 | return function (action) { 20 | if (!_fluxStandardAction.isFSA(action)) { 21 | return isPromise(action) ? action.then(dispatch) : next(action); 22 | } 23 | 24 | return isPromise(action.payload) ? action.payload.then(function (result) { 25 | return dispatch(_extends({}, action, { payload: result })); 26 | }, function (error) { 27 | return dispatch(_extends({}, action, { payload: error, error: true })); 28 | }) : next(action); 29 | }; 30 | }; 31 | } 32 | 33 | module.exports = exports['default']; -------------------------------------------------------------------------------- /dist/npm/redux-actions/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.combineActions = exports.handleActions = exports.handleAction = exports.createActions = exports.createAction = undefined; 7 | 8 | var _createAction = require('./createAction.js'); 9 | 10 | var _createAction2 = _interopRequireDefault(_createAction); 11 | 12 | var _handleAction = require('./handleAction.js'); 13 | 14 | var _handleAction2 = _interopRequireDefault(_handleAction); 15 | 16 | var _handleActions = require('./handleActions.js'); 17 | 18 | var _handleActions2 = _interopRequireDefault(_handleActions); 19 | 20 | var _combineActions = require('./combineActions.js'); 21 | 22 | var _combineActions2 = _interopRequireDefault(_combineActions); 23 | 24 | var _createActions = require('./createActions.js'); 25 | 26 | var _createActions2 = _interopRequireDefault(_createActions); 27 | 28 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 29 | 30 | exports.createAction = _createAction2.default; 31 | exports.createActions = _createActions2.default; 32 | exports.handleAction = _handleAction2.default; 33 | exports.handleActions = _handleActions2.default; 34 | exports.combineActions = _combineActions2.default; -------------------------------------------------------------------------------- /dist/npm/lodash/isBuffer.js: -------------------------------------------------------------------------------- 1 | var root = require('./_root.js'), 2 | stubFalse = require('./stubFalse.js'); 3 | 4 | /** Detect free variable `exports`. */ 5 | var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; 6 | 7 | /** Detect free variable `module`. */ 8 | var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; 9 | 10 | /** Detect the popular CommonJS extension `module.exports`. */ 11 | var moduleExports = freeModule && freeModule.exports === freeExports; 12 | 13 | /** Built-in value references. */ 14 | var Buffer = moduleExports ? root.Buffer : undefined; 15 | 16 | /* Built-in method references for those with the same name as other `lodash` methods. */ 17 | var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; 18 | 19 | /** 20 | * Checks if `value` is a buffer. 21 | * 22 | * @static 23 | * @memberOf _ 24 | * @since 4.3.0 25 | * @category Lang 26 | * @param {*} value The value to check. 27 | * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. 28 | * @example 29 | * 30 | * _.isBuffer(new Buffer(2)); 31 | * // => true 32 | * 33 | * _.isBuffer(new Uint8Array(2)); 34 | * // => false 35 | */ 36 | var isBuffer = nativeIsBuffer || stubFalse; 37 | 38 | module.exports = isBuffer; 39 | -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-uploader.wxss: -------------------------------------------------------------------------------- 1 | .weui-uploader__hd{display:flex;padding-bottom:10px;align-items:center}.weui-uploader__title{flex:1}.weui-uploader__info{color:#B2B2B2}.weui-uploader__bd{margin-bottom:-4px;margin-right:-9px;overflow:hidden}.weui-uploader__file{float:left;margin-right:9px;margin-bottom:9px}.weui-uploader__img{display:block;width:79px;height:79px}.weui-uploader__file_status{position:relative}.weui-uploader__file_status:before{content:" ";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0.5)}.weui-uploader__file-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:#FFFFFF}.weui-uploader__input-box{float:left;position:relative;margin-right:9px;margin-bottom:9px;width:77px;height:77px;border:1px solid #D9D9D9}.weui-uploader__input-box:before,.weui-uploader__input-box:after{content:" ";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background-color:#D9D9D9}.weui-uploader__input-box:before{width:2px;height:39.5px}.weui-uploader__input-box:after{width:39.5px;height:2px}.weui-uploader__input-box:active{border-color:#999999}.weui-uploader__input-box:active:before,.weui-uploader__input-box:active:after{background-color:#999999}.weui-uploader__input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0} -------------------------------------------------------------------------------- /dist/style/widget/weui-media-box/weui-media-box.wxss: -------------------------------------------------------------------------------- 1 | .weui-media-box{padding:15px;position:relative}.weui-media-box:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #E5E5E5;color:#E5E5E5;left:15px}.weui-media-box:first-child:before{display:none}.weui-media-box__title{font-weight:400;font-size:17px;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-wrap:break-word;word-break:break-all}.weui-media-box__desc{color:#999999;font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weui-media-box__info{margin-top:15px;padding-bottom:5px;font-size:13px;color:#CECECE;line-height:1em;list-style:none;overflow:hidden}.weui-media-box__info__meta{float:left;padding-right:1em}.weui-media-box__info__meta_extra{padding-left:1em;border-left:1px solid #CECECE}.weui-media-box__title_in-text{margin-bottom:8px}.weui-media-box_appmsg{display:flex;align-items:center}.weui-media-box__thumb{width:100%;height:100%;vertical-align:top}.weui-media-box__hd_in-appmsg{margin-right:.8em;width:60px;height:60px;line-height:60px;text-align:center}.weui-media-box__bd_in-appmsg{flex:1;min-width:0}.weui-media-box_small-appmsg{padding:0}.weui-cells_in-small-appmsg{margin-top:0}.weui-cells_in-small-appmsg:before{display:none} -------------------------------------------------------------------------------- /dist/npm/lodash/_baseToString.js: -------------------------------------------------------------------------------- 1 | var Symbol = require('./_Symbol.js'), 2 | arrayMap = require('./_arrayMap.js'), 3 | isArray = require('./isArray.js'), 4 | isSymbol = require('./isSymbol.js'); 5 | 6 | /** Used as references for various `Number` constants. */ 7 | var INFINITY = 1 / 0; 8 | 9 | /** Used to convert symbols to primitives and strings. */ 10 | var symbolProto = Symbol ? Symbol.prototype : undefined, 11 | symbolToString = symbolProto ? symbolProto.toString : undefined; 12 | 13 | /** 14 | * The base implementation of `_.toString` which doesn't convert nullish 15 | * values to empty strings. 16 | * 17 | * @private 18 | * @param {*} value The value to process. 19 | * @returns {string} Returns the string. 20 | */ 21 | function baseToString(value) { 22 | // Exit early for strings to avoid a performance hit in some environments. 23 | if (typeof value == 'string') { 24 | return value; 25 | } 26 | if (isArray(value)) { 27 | // Recursively convert values (susceptible to call stack limits). 28 | return arrayMap(value, baseToString) + ''; 29 | } 30 | if (isSymbol(value)) { 31 | return symbolToString ? symbolToString.call(value) : ''; 32 | } 33 | var result = (value + ''); 34 | return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; 35 | } 36 | 37 | module.exports = baseToString; 38 | -------------------------------------------------------------------------------- /dist/npm/lodash/_getRawTag.js: -------------------------------------------------------------------------------- 1 | var Symbol = require('./_Symbol.js'); 2 | 3 | /** Used for built-in method references. */ 4 | var objectProto = Object.prototype; 5 | 6 | /** Used to check objects for own properties. */ 7 | var hasOwnProperty = objectProto.hasOwnProperty; 8 | 9 | /** 10 | * Used to resolve the 11 | * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) 12 | * of values. 13 | */ 14 | var nativeObjectToString = objectProto.toString; 15 | 16 | /** Built-in value references. */ 17 | var symToStringTag = Symbol ? Symbol.toStringTag : undefined; 18 | 19 | /** 20 | * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. 21 | * 22 | * @private 23 | * @param {*} value The value to query. 24 | * @returns {string} Returns the raw `toStringTag`. 25 | */ 26 | function getRawTag(value) { 27 | var isOwn = hasOwnProperty.call(value, symToStringTag), 28 | tag = value[symToStringTag]; 29 | 30 | try { 31 | value[symToStringTag] = undefined; 32 | var unmasked = true; 33 | } catch (e) {} 34 | 35 | var result = nativeObjectToString.call(value); 36 | if (unmasked) { 37 | if (isOwn) { 38 | value[symToStringTag] = tag; 39 | } else { 40 | delete value[symToStringTag]; 41 | } 42 | } 43 | return result; 44 | } 45 | 46 | module.exports = getRawTag; 47 | -------------------------------------------------------------------------------- /src/style/base/mixin/setArrow.less: -------------------------------------------------------------------------------- 1 | ._setArrow(@arrowsize, @borderColor, @borderWidth){ 2 | display: inline-block; 3 | height: @arrowsize; 4 | width: @arrowsize; 5 | border-width: @borderWidth @borderWidth 0 0; 6 | border-color: @borderColor; 7 | border-style: solid; 8 | } 9 | 10 | .setArrow(@direction, @arrowsize, @borderColor, @borderWidth) when (@direction = top) { 11 | ._setArrow(@arrowsize, @borderColor, @borderWidth); 12 | transform: matrix(0.71,-0.71,0.71,0.71,0,0); // rotate(-45deg) 13 | } 14 | 15 | .setArrow(@direction, @arrowsize, @borderColor,@borderWidth) when (@direction = right) { 16 | ._setArrow(@arrowsize, @borderColor, @borderWidth); 17 | transform: matrix(0.71,0.71,-0.71,0.71,0,0); // rotate(45deg); 18 | 19 | position: relative; 20 | top: -2px; 21 | } 22 | 23 | .setArrow(@direction, @arrowsize, @borderColor,@borderWidth) when (@direction = down) { 24 | ._setArrow(@arrowsize, @borderColor, @borderWidth); 25 | transform: matrix(-0.71,0.71,-0.71,-0.71,0,0); // rotate(135deg); 26 | 27 | position: relative; 28 | top: -3px; 29 | } 30 | 31 | .setArrow(@direction, @arrowsize, @borderColor,@borderWidth) when (@direction = left) { 32 | ._setArrow(@arrowsize, @borderColor, @borderWidth); 33 | transform: matrix(-0.71,-0.71,0.71,-0.71,0,0); // rotate(-135deg); 34 | 35 | position: relative; 36 | top: -2px; 37 | } -------------------------------------------------------------------------------- /dist/store/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = configStore; 7 | 8 | var _redux = require('./../npm/redux/lib/index.js'); 9 | 10 | var _reduxPromise = require('./../npm/redux-promise/lib/index.js'); 11 | 12 | var _reduxPromise2 = _interopRequireDefault(_reduxPromise); 13 | 14 | var _reducers = require('./reducers/index.js'); 15 | 16 | var _reducers2 = _interopRequireDefault(_reducers); 17 | 18 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 19 | 20 | function configStore() { 21 | return (0, _redux.createStore)(_reducers2.default, (0, _redux.applyMiddleware)(_reduxPromise2.default)); 22 | } 23 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbImNvbmZpZ1N0b3JlIl0sIm1hcHBpbmdzIjoiOzs7OztrQkFJd0JBLFc7O0FBSnhCOztBQUNBOzs7O0FBQ0E7Ozs7OztBQUVlLFNBQVNBLFdBQVQsR0FBd0I7QUFDckMsU0FBTyw0Q0FBeUIsbURBQXpCLENBQVA7QUFDRCIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNyZWF0ZVN0b3JlLCBhcHBseU1pZGRsZXdhcmUgfSBmcm9tICdyZWR1eCdcclxuaW1wb3J0IHByb21pc2VNaWRkbGV3YXJlIGZyb20gJ3JlZHV4LXByb21pc2UnXHJcbmltcG9ydCByb290UmVkdWNlciBmcm9tICcuL3JlZHVjZXJzJ1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gY29uZmlnU3RvcmUgKCkge1xyXG4gIHJldHVybiBjcmVhdGVTdG9yZShyb290UmVkdWNlciwgYXBwbHlNaWRkbGV3YXJlKHByb21pc2VNaWRkbGV3YXJlKSlcclxufVxyXG4iXX0= -------------------------------------------------------------------------------- /src/style/weui-extend.scss: -------------------------------------------------------------------------------- 1 | @import "weui"; 2 | @import "variable"; 3 | 4 | //******weui fix******/ 5 | .form{ 6 | .weui-vcode-btn { 7 | color:$color-primary; 8 | } 9 | .muted{ 10 | color:$color-muted; 11 | } 12 | } 13 | 14 | %weui-cells-display{ 15 | view{ 16 | font-size: $text-nm; 17 | } 18 | .weui-cell__ft{ 19 | color: $color-normal; 20 | } 21 | } 22 | .weui-cells-extend::after{ 23 | border-bottom: $border; 24 | } 25 | .weui-cells-extend { 26 | @extend %weui-cells-display; 27 | border-top: none; 28 | .weui-cell::before,.weui-cells::after{ 29 | border-top: $border; 30 | } 31 | } 32 | 33 | .weui-cells-merge-top{ 34 | @extend .weui-cells-extend; 35 | border-bottom: $border; 36 | &::after, &::before { 37 | content: normal; 38 | } 39 | } 40 | 41 | .form { 42 | text,view{ 43 | font-family: 宋体; 44 | font-size: $text-form; 45 | } 46 | } 47 | 48 | .weui-cells-form{ 49 | @extend .weui-cells; 50 | @extend .form; 51 | @extend .weui-cells-merge-top; 52 | &{ 53 | margin-top:0; 54 | } 55 | .weui-cell__ft{ 56 | color: #999; 57 | } 58 | border-top: $border; 59 | } 60 | 61 | 62 | button[type="primary"][plain]{ 63 | color: $color-primary; 64 | border-color: $color-primary; 65 | } 66 | 67 | .weui-loadmore__tips_in-dot{ 68 | background-color: $color-bg-body; 69 | } 70 | .weui-loadmore__tips_in-line { 71 | background-color: $color-bg-body; 72 | } 73 | -------------------------------------------------------------------------------- /dist/components/wl/produList.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .plist-bottom { 8 | height: 214rpx; 9 | padding-top: 41rpx; 10 | width: 750rpx; 11 | padding-left: 40rpx; 12 | padding-right: 37rpx; 13 | border-bottom: 1rpx solid #f3f3f3; } 14 | .plist-bottom .pro_img { 15 | width: 130rpx; 16 | height: 130rpx; } 17 | .plist-bottom .pro_introd { 18 | display: inline-block; 19 | padding-left: 23rpx; 20 | width: 519rpx; } 21 | .plist-bottom .pro_introd .introd_top { 22 | font-size: 32rpx; 23 | color: #4d4d4d; 24 | padding-bottom: 8rpx; } 25 | .plist-bottom .pro_introd .intr_spice { 26 | display: block; 27 | font-size: 24rpx; 28 | color: #919191; } 29 | .plist-bottom .pro_introd .price { 30 | display: inline-block; 31 | padding-top: 11rpx; 32 | font-size: 28rpx; 33 | color: #555555; } 34 | .plist-bottom .pro_introd .all_price { 35 | float: right; 36 | font-size: 30rpx; 37 | color: #4d4d4d; } 38 | -------------------------------------------------------------------------------- /dist/pages/wl/changeType.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .changeTyppe .wl_tpye { 8 | height: 120rpx; 9 | line-height: 120rpx; 10 | margin-bottom: 1rpx; 11 | padding-left: 40rpx; 12 | padding-right: 40rpx; 13 | background: #fff; } 14 | .changeTyppe .wl_tpye .icon_type { 15 | display: block; 16 | float: left; 17 | padding-top: 30rpx; 18 | width: 60rpx; 19 | height: 60rpx; } 20 | .changeTyppe .wl_tpye .type_text { 21 | display: inline-block; 22 | padding-left: 32rpx; 23 | font-size: 30rpx; 24 | color: #4d4d4d; } 25 | .changeTyppe .wl_tpye .icon_select { 26 | display: block; 27 | float: right; 28 | margin-top: 40rpx; 29 | width: 40rpx; 30 | height: 40rpx; } 31 | 32 | .changeTyppe .btn_next { 33 | margin: 0 auto; 34 | margin-top: 75rpx; 35 | width: 670rpx; 36 | height: 100rpx; 37 | background-color: #FFCE10; 38 | line-height: 100rpx; 39 | text-align: center; 40 | border-radius: 8rpx; 41 | font-size: 36rpx; 42 | color: #555; } 43 | -------------------------------------------------------------------------------- /dist/pages/wl/newPwd.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 请保持输入密码的一致性 17 | 18 | 19 | 确认 20 | 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myproject", 3 | "version": "1.2.8", 4 | "description": "", 5 | "main": "dist/app.js", 6 | "scripts": { 7 | "dev": "wepy build --watch", 8 | "build": "cross-env NODE_ENV=production wepy build --no-cache", 9 | "test": "echo \"Error: no test specified\" && exit 1" 10 | }, 11 | "author": "", 12 | "license": "MIT", 13 | "dependencies": { 14 | "@minui/wxc-loading": "^1.0.5", 15 | "@minui/wxc-tab": "^1.0.5", 16 | "redux": "^3.7.2", 17 | "redux-actions": "^2.2.1", 18 | "redux-promise": "^0.5.3", 19 | "wepy": "^1.6.0", 20 | "wepy-async-function": "^1.4.4", 21 | "wepy-com-toast": "^1.0.2", 22 | "wepy-redux": "^1.5.3" 23 | }, 24 | "devDependencies": { 25 | "babel-eslint": "^7.2.1", 26 | "babel-plugin-transform-class-properties": "^6.24.1", 27 | "babel-plugin-transform-decorators-legacy": "^1.3.4", 28 | "babel-plugin-transform-export-extensions": "^6.22.0", 29 | "babel-plugin-transform-object-rest-spread": "^6.26.0", 30 | "babel-preset-env": "^1.6.1", 31 | "cross-env": "^5.1.3", 32 | "eslint": "^3.18.0", 33 | "eslint-config-standard": "^7.1.0", 34 | "eslint-friendly-formatter": "^2.0.7", 35 | "eslint-plugin-html": "^2.0.1", 36 | "eslint-plugin-promise": "^3.5.0", 37 | "eslint-plugin-standard": "^2.0.1", 38 | "wepy-compiler-babel": "^1.5.1", 39 | "wepy-compiler-less": "^1.3.10", 40 | "wepy-compiler-sass": "^1.3.7", 41 | "wepy-eslint": "^1.5.3" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /dist/pages/wl/wMember.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .wlme_top { 8 | height: 324rpx; 9 | text-align: center; } 10 | .wlme_top .userIcon { 11 | margin-top: 63rpx; 12 | width: 136rpx; 13 | height: 136rpx; } 14 | .wlme_top .wluser { 15 | display: block; 16 | margin-top: 29rpx; 17 | font-size: 32rpx; 18 | color: #4d4d4d; } 19 | 20 | .wl_me_list { 21 | height: 120rpx; 22 | background-color: #fff; 23 | line-height: 120rpx; 24 | padding-left: 40rpx; 25 | padding-right: 40rpx; 26 | margin-bottom: 1rpx; } 27 | .wl_me_list .iconLeft { 28 | width: 34.4rpx; 29 | height: 36.3rpx; 30 | margin-right: 46.7rpx; 31 | float: left; 32 | margin-top: 42rpx; } 33 | .wl_me_list .list_text { 34 | font-size: 30rpx; 35 | color: #4d4d4d; } 36 | .wl_me_list .list_text_right { 37 | display: inline-block; 38 | padding-left: 423rpx; 39 | font-size: 28rpx; 40 | color: #919191; } 41 | .wl_me_list .next { 42 | float: right; 43 | margin-top: 48rpx; 44 | width: 25.4rpx; 45 | height: 25.4rpx; } 46 | -------------------------------------------------------------------------------- /dist/components/product.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .product { 8 | padding-left: 30rpx; } 9 | .product .left { 10 | float: left; } 11 | .product .prod-img { 12 | background-color: #f31212; 13 | width: 180rpx; 14 | height: 180rpx; } 15 | .product .msg { 16 | display: block; 17 | width: 380rpx; 18 | display: -webkit-box; 19 | -webkit-box-orient: vertical; 20 | -webkit-line-clamp: 1; 21 | overflow: hidden; } 22 | .product .msg-name { 23 | font-size: 30rpx; 24 | color: #2d2d2d; } 25 | .product .msg-classifg { 26 | font-size: 22rpx; 27 | color: #a1a1a1; 28 | padding-top: 18rpx; } 29 | .product .msg-price { 30 | font-size: 40rpx; 31 | color: #ff7200; 32 | padding-top: 24rpx; } 33 | .product .prod-cart { 34 | width: 60rpx; 35 | height: 60rpx; } 36 | .product .pro-msg { 37 | padding-left: 30rpx; } 38 | .product .prod-cart { 39 | margin-top: 110rpx; } 40 | .product .iteam-prod { 41 | margin-top: 24rpx; 42 | height: 200rpx; 43 | border-bottom: 1rpx solid #ebebeb; } 44 | -------------------------------------------------------------------------------- /dist/components/sheader.wxss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* page/dComp/top/searchComponent.wxss */ 3 | @font-face { 4 | font-family: 'iconfont'; 5 | /* project id 393411 */ 6 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 7 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 8 | 9 | .icon-back:before { 10 | content: "\e625"; } 11 | 12 | /*返回图标*/ 13 | .icon-search:before { 14 | content: "\e699"; } 15 | 16 | /*搜索图标*/ 17 | .iconfont { 18 | font-family: "iconfont" !important; 19 | font-size: 42rpx; 20 | font-style: normal; 21 | -webkit-font-smoothing: antialiased; 22 | -webkit-text-stroke-width: 0.2px; 23 | color: #A1A1A1; 24 | -moz-osx-font-smoothing: grayscale; 25 | padding: 0 12rpx; } 26 | 27 | .viewSearch { 28 | position: relative; } 29 | 30 | .pb { 31 | position: absolute; 32 | z-index: 100; 33 | left: 30%; 34 | top: 15%; } 35 | 36 | .inputSearch { 37 | width: 642rpx; 38 | height: 60rpx; 39 | border: 1rpx solid #c3c3c3; 40 | background-color: #e5e5e5; 41 | text-align: center; 42 | font-size: 32rpx; } 43 | 44 | .searchView { 45 | display: flex; 46 | display: -webkit-flex; 47 | /* Safari */ 48 | background-color: #f5f5f5; 49 | height: 90rpx; 50 | flex-direction: row; 51 | align-items: center; } 52 | -------------------------------------------------------------------------------- /dist/npm/wepy/lib/wepy.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | var _app = require('./app.js'); 8 | 9 | var _app2 = _interopRequireDefault(_app); 10 | 11 | var _page = require('./page.js'); 12 | 13 | var _page2 = _interopRequireDefault(_page); 14 | 15 | var _component = require('./component.js'); 16 | 17 | var _component2 = _interopRequireDefault(_component); 18 | 19 | var _event = require('./event.js'); 20 | 21 | var _event2 = _interopRequireDefault(_event); 22 | 23 | var _base = require('./base.js'); 24 | 25 | var _base2 = _interopRequireDefault(_base); 26 | 27 | var _util = require('./util.js'); 28 | 29 | var _util2 = _interopRequireDefault(_util); 30 | 31 | var _mixin = require('./mixin.js'); 32 | 33 | var _mixin2 = _interopRequireDefault(_mixin); 34 | 35 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 36 | 37 | exports.default = { 38 | event: _event2.default, 39 | app: _app2.default, 40 | component: _component2.default, 41 | page: _page2.default, 42 | mixin: _mixin2.default, 43 | 44 | $createApp: _base2.default.$createApp, 45 | $createPage: _base2.default.$createPage, 46 | 47 | $isEmpty: _util2.default.$isEmpty, 48 | $isEqual: _util2.default.$isEqual, 49 | $isDeepEqual: _util2.default.$isDeepEqual, 50 | $has: _util2.default.$has, 51 | $extend: _util2.default.$extend, 52 | $isPlainObject: _util2.default.$isPlainObject, 53 | $copy: _util2.default.$copy 54 | }; 55 | //# sourceMappingURL=wepy.js.map -------------------------------------------------------------------------------- /dist/pages/wl/member.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .wlme_top { 8 | height: 324rpx; 9 | text-align: center; } 10 | .wlme_top .userIcon { 11 | margin-top: 63rpx; 12 | width: 136rpx; 13 | height: 136rpx; } 14 | .wlme_top .wluser { 15 | display: block; 16 | margin-top: 29rpx; 17 | font-size: 32rpx; 18 | color: #4d4d4d; } 19 | 20 | .wl_me_list { 21 | height: 120rpx; 22 | background-color: #fff; 23 | line-height: 120rpx; 24 | padding-left: 40rpx; 25 | padding-right: 40rpx; 26 | margin-bottom: 1rpx; } 27 | .wl_me_list .list_text { 28 | font-size: 30rpx; 29 | color: #4d4d4d; } 30 | .wl_me_list .list_text_right { 31 | display: inline-block; 32 | padding-left: 423rpx; 33 | font-size: 28rpx; 34 | color: #919191; } 35 | .wl_me_list .next { 36 | display: inline-block; 37 | padding-left: 45rpx; 38 | width: 25.4rpx; 39 | height: 25.4rpx; } 40 | 41 | .loginOut { 42 | height: 100rpx; 43 | display: block; 44 | line-height: 100rpx; 45 | text-align: center; 46 | background-color: #fff; 47 | margin-top: 123rpx; 48 | font-size: 28rpx; 49 | color: #919191; } 50 | -------------------------------------------------------------------------------- /dist/pages/wl/pMember.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .wlme_top { 8 | height: 324rpx; 9 | text-align: center; } 10 | .wlme_top .userIcon { 11 | margin-top: 63rpx; 12 | width: 136rpx; 13 | height: 136rpx; } 14 | .wlme_top .wluser { 15 | display: block; 16 | margin-top: 29rpx; 17 | font-size: 32rpx; 18 | color: #4d4d4d; } 19 | 20 | .wl_me_list { 21 | height: 120rpx; 22 | background-color: #fff; 23 | line-height: 120rpx; 24 | padding-left: 40rpx; 25 | padding-right: 40rpx; 26 | margin-bottom: 1rpx; } 27 | .wl_me_list .iconLeft { 28 | width: 34.4rpx; 29 | height: 36.3rpx; 30 | margin-right: 46.7rpx; 31 | float: left; 32 | margin-top: 42rpx; } 33 | .wl_me_list .list_text { 34 | font-size: 30rpx; 35 | color: #4d4d4d; } 36 | .wl_me_list .list_text_right { 37 | display: inline-block; 38 | padding-left: 423rpx; 39 | font-size: 28rpx; 40 | color: #919191; } 41 | .wl_me_list .next { 42 | float: right; 43 | margin-top: 48rpx; 44 | width: 25.4rpx; 45 | height: 25.4rpx; } 46 | .wl_me_list .peis { 47 | color: #FFCE10; 48 | padding-left: 420rpx; } 49 | -------------------------------------------------------------------------------- /dist/pages/wl/newPwd.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .newPwd { 8 | height: 1200rpx; 9 | background-color: #fff; } 10 | .newPwd .list_pwd { 11 | margin: 0 auto; 12 | width: 666.9rpx; 13 | height: 131rpx; 14 | line-height: 131rpx; 15 | border-bottom: 1rpx solid #c2c2c2; } 16 | .newPwd .list_pwd .input_pwd { 17 | display: block; 18 | float: left; 19 | font-size: 28rpx; 20 | color: #919191; 21 | padding-left: 20rpx; 22 | padding-top: 20rpx; 23 | margin-right: 20rpx; 24 | width: 360rpx; 25 | height: 100rpx; } 26 | .newPwd .list_pwd .clen_icon { 27 | display: block; 28 | float: right; 29 | margin-top: 60rpx; 30 | width: 36rpx; 31 | height: 22.4rpx; } 32 | .newPwd .tip_msg { 33 | padding-top: 28rpx; 34 | padding-left: 40rpx; 35 | font-size: 24rpx; 36 | color: #FFAF10; 37 | height: 217rpx; } 38 | .newPwd .btn_next { 39 | margin: 0 auto; 40 | width: 670rpx; 41 | height: 100rpx; 42 | background-color: #FFCE10; 43 | line-height: 100rpx; 44 | text-align: center; 45 | border-radius: 8rpx; 46 | font-size: 36rpx; 47 | color: #555; } 48 | -------------------------------------------------------------------------------- /dist/npm/wepy/lib/event.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 8 | 9 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 10 | 11 | var _class = function () { 12 | function _class(name, source, type) { 13 | _classCallCheck(this, _class); 14 | 15 | this.active = true; 16 | 17 | 18 | this.name = name; 19 | this.source = source; 20 | this.type = type; 21 | } 22 | 23 | _createClass(_class, [{ 24 | key: "$destroy", 25 | value: function $destroy() { 26 | this.active = false; 27 | } 28 | }, { 29 | key: "$transfor", 30 | value: function $transfor(wxevent) { 31 | var k = 0; 32 | for (k in wxevent) { 33 | this[k] = wxevent[k]; 34 | } 35 | } 36 | }]); 37 | 38 | return _class; 39 | }(); 40 | 41 | exports.default = _class; 42 | //# sourceMappingURL=event.js.map -------------------------------------------------------------------------------- /dist/npm/lodash/_baseIsNative.js: -------------------------------------------------------------------------------- 1 | var isFunction = require('./isFunction.js'), 2 | isMasked = require('./_isMasked.js'), 3 | isObject = require('./isObject.js'), 4 | toSource = require('./_toSource.js'); 5 | 6 | /** 7 | * Used to match `RegExp` 8 | * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). 9 | */ 10 | var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; 11 | 12 | /** Used to detect host constructors (Safari). */ 13 | var reIsHostCtor = /^\[object .+?Constructor\]$/; 14 | 15 | /** Used for built-in method references. */ 16 | var funcProto = Function.prototype, 17 | objectProto = Object.prototype; 18 | 19 | /** Used to resolve the decompiled source of functions. */ 20 | var funcToString = funcProto.toString; 21 | 22 | /** Used to check objects for own properties. */ 23 | var hasOwnProperty = objectProto.hasOwnProperty; 24 | 25 | /** Used to detect if a method is native. */ 26 | var reIsNative = RegExp('^' + 27 | funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') 28 | .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' 29 | ); 30 | 31 | /** 32 | * The base implementation of `_.isNative` without bad shim checks. 33 | * 34 | * @private 35 | * @param {*} value The value to check. 36 | * @returns {boolean} Returns `true` if `value` is a native function, 37 | * else `false`. 38 | */ 39 | function baseIsNative(value) { 40 | if (!isObject(value) || isMasked(value)) { 41 | return false; 42 | } 43 | var pattern = isFunction(value) ? reIsNative : reIsHostCtor; 44 | return pattern.test(toSource(value)); 45 | } 46 | 47 | module.exports = baseIsNative; 48 | -------------------------------------------------------------------------------- /dist/pages/wl/pkucun.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .kucunp { 8 | background-color: #fff; 9 | padding-left: 40rpx; 10 | padding-right: 42rpx; 11 | padding-bottom: 10rpx; } 12 | .kucunp .text { 13 | padding-top: 33rpx; 14 | font-size: 28rpx; 15 | color: #919191; } 16 | .kucunp .diqu { 17 | height: 111rpx; 18 | margin-bottom: 18rpx; 19 | border-bottom: 1rpx solid #E1E1E1; } 20 | .kucunp .diqu .left_d { 21 | display: inline-block; 22 | padding-top: 30rpx; 23 | font-size: 30rpx; 24 | color: #4d4d4d; } 25 | .kucunp .diqu .right_d { 26 | float: right; 27 | padding-top: 30rpx; } 28 | .kucunp .diqu .right_d .shensq { 29 | display: inline-block; 30 | padding-right: 26rpx; 31 | font-size: 28rpx; 32 | color: #555555; } 33 | .kucunp .diqu .right_d .next { 34 | display: inline-block; 35 | width: 25.4rpx; 36 | height: 25.4rpx; } 37 | 38 | .btn_next { 39 | margin: 0 auto; 40 | margin-top: 75rpx; 41 | width: 670rpx; 42 | height: 100rpx; 43 | background-color: #FFCE10; 44 | line-height: 100rpx; 45 | text-align: center; 46 | border-radius: 8rpx; 47 | font-size: 36rpx; 48 | color: #555; } 49 | -------------------------------------------------------------------------------- /dist/style/widget/weui-cell/weui-form/weui-form-preview.wxss: -------------------------------------------------------------------------------- 1 | .weui-form-preview{position:relative;background-color:#FFFFFF}.weui-form-preview:before{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #D9D9D9;color:#D9D9D9}.weui-form-preview:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #D9D9D9;color:#D9D9D9}.weui-form-preview__value{font-size:14px}.weui-form-preview__value_in-hd{font-size:26px}.weui-form-preview__hd{position:relative;padding:10px 15px;text-align:right;line-height:2.5em}.weui-form-preview__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid #D9D9D9;color:#D9D9D9;left:15px}.weui-form-preview__bd{padding:10px 15px;font-size:.9em;text-align:right;color:#999999;line-height:2}.weui-form-preview__ft{position:relative;line-height:50px;display:flex}.weui-form-preview__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1rpx solid #D5D5D6;color:#D5D5D6}.weui-form-preview__item{overflow:hidden}.weui-form-preview__label{float:left;margin-right:1em;min-width:4em;color:#999999;text-align:justify;text-align-last:justify}.weui-form-preview__value{display:block;overflow:hidden;word-break:normal;word-wrap:break-word}.weui-form-preview__btn{position:relative;display:block;flex:1;color:#3CC51F;text-align:center}.weui-form-preview__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #D5D5D6;color:#D5D5D6}.weui-form-preview__btn:first-child:after{display:none}.weui-form-preview__btn_active{background-color:#EEEEEE}.weui-form-preview__btn_default{color:#999999}.weui-form-preview__btn_primary{color:#0BB20C} -------------------------------------------------------------------------------- /src/style/widget/weui-cell/weui-cell.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-cells { 4 | position: relative; 5 | margin-top: @weuiCellsMarginTop; 6 | background-color: @weuiCellBg; 7 | line-height: @weuiCellLineHeight; 8 | font-size: @weuiCellFontSize; //cell中间有效高度23px,跟客户端默认图标尺寸一致 9 | &:before { 10 | .setTopLine(@weuiCellBorderColor); 11 | } 12 | &:after { 13 | .setBottomLine(@weuiCellBorderColor); 14 | } 15 | } 16 | 17 | .weui-cells__title { 18 | margin-top: .77em; // 15px - 行高 19 | margin-bottom: .3em; // 8px - 行高 20 | padding-left: @weuiCellGapH; 21 | padding-right: @weuiCellGapH; 22 | color: @weuiTextColorGray; 23 | font-size: @weuiCellTipsFontSize; 24 | } 25 | .weui-cells_after-title{ 26 | margin-top: 0; 27 | } 28 | 29 | .weui-cells__tips { 30 | margin-top: .3em; // 8px - 行高 31 | color: @weuiTextColorGray; 32 | padding-left: @weuiCellGapH; 33 | padding-right: @weuiCellGapH; 34 | font-size: @weuiCellTipsFontSize; 35 | } 36 | 37 | .weui-cell { 38 | padding: @weuiCellGapV @weuiCellGapH; 39 | position: relative; //这个是为了兼容cells容器onepx方案被before挡住而做的 40 | display: flex; 41 | align-items: center; 42 | &:before { 43 | .setTopLine(@weuiCellBorderColor); 44 | left: @weuiCellGapH; 45 | } 46 | &:first-child { 47 | &:before { 48 | display: none; 49 | } 50 | } 51 | } 52 | .weui-cell_active { 53 | background-color: @weuiCellActiveBg; 54 | } 55 | .weui-cell_primary{ 56 | align-items: flex-start; 57 | } 58 | .weui-cell__bd{ 59 | flex: 1; 60 | } 61 | .weui-cell__ft { 62 | text-align: right; 63 | color: @weuiTextColorGray; 64 | } 65 | -------------------------------------------------------------------------------- /dist/pages/wl/pwdReturn.wxss: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; 3 | /* project id 393411 */ 4 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 6 | 7 | .pwdReturn { 8 | height: 1200rpx; 9 | background-color: #fff; } 10 | .pwdReturn .list_pwd { 11 | margin: 0 auto; 12 | width: 666.9rpx; 13 | height: 131rpx; 14 | line-height: 131rpx; 15 | border-bottom: 1rpx solid #c2c2c2; } 16 | .pwdReturn .list_pwd .input_pwd { 17 | display: block; 18 | float: left; 19 | font-size: 28rpx; 20 | color: #919191; 21 | padding-left: 20rpx; 22 | padding-top: 20rpx; 23 | margin-right: 20rpx; 24 | width: 360rpx; 25 | height: 100rpx; } 26 | .pwdReturn .list_pwd .clen_icon { 27 | display: block; 28 | float: right; 29 | margin-top: 60rpx; 30 | width: 36rpx; 31 | height: 36rpx; } 32 | .pwdReturn .list_pwd .return_msg { 33 | width: 264rpx; 34 | height: 75rpx; 35 | border: 1rpx dotted #FFCE10; 36 | padding: 16rpx 28rpx; 37 | font-size: 28rpx; 38 | color: #FFAF10; } 39 | .pwdReturn .btn_next { 40 | margin: 0 auto; 41 | margin-top: 75rpx; 42 | width: 670rpx; 43 | height: 100rpx; 44 | background-color: #FFCE10; 45 | line-height: 100rpx; 46 | text-align: center; 47 | border-radius: 8rpx; 48 | font-size: 36rpx; 49 | color: #555; } 50 | -------------------------------------------------------------------------------- /dist/npm/invariant/browser.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright 2013-2015, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | 'use strict'; 11 | 12 | /** 13 | * Use invariant() to assert state which your program assumes to be true. 14 | * 15 | * Provide sprintf-style format (only %s is supported) and arguments 16 | * to provide information about what broke and what you were 17 | * expecting. 18 | * 19 | * The invariant message will be stripped in production, but the invariant 20 | * will remain to ensure logic does not differ in production. 21 | */ 22 | 23 | var invariant = function(condition, format, a, b, c, d, e, f) { 24 | if (undefined !== 'production') { 25 | if (format === undefined) { 26 | throw new Error('invariant requires an error message argument'); 27 | } 28 | } 29 | 30 | if (!condition) { 31 | var error; 32 | if (format === undefined) { 33 | error = new Error( 34 | 'Minified exception occurred; use the non-minified dev environment ' + 35 | 'for the full error message and additional helpful warnings.' 36 | ); 37 | } else { 38 | var args = [a, b, c, d, e, f]; 39 | var argIndex = 0; 40 | error = new Error( 41 | format.replace(/%s/g, function() { return args[argIndex++]; }) 42 | ); 43 | error.name = 'Invariant Violation'; 44 | } 45 | 46 | error.framesToPop = 1; // we don't care about invariant's own frame 47 | throw error; 48 | } 49 | }; 50 | 51 | module.exports = invariant; 52 | -------------------------------------------------------------------------------- /src/components/product.wpy: -------------------------------------------------------------------------------- 1 | 25 | 38 | 39 | 56 | -------------------------------------------------------------------------------- /dist/pages/wl/changeM.wxss: -------------------------------------------------------------------------------- 1 | @import "./../../components/wl/sheetNum.wxss"; 2 | @font-face { 3 | font-family: 'iconfont'; 4 | /* project id 393411 */ 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 6 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 7 | 8 | .nowStart { 9 | padding-top: 10rpx; 10 | padding-left: 40rpx; 11 | padding-right: 40rpx; } 12 | .nowStart .start_text { 13 | display: inline; 14 | font-size: 28rpx; 15 | color: #555; } 16 | .nowStart .endPan { 17 | display: block; 18 | float: right; } 19 | .nowStart .choiceTwo { 20 | margin-top: 100rpx; 21 | padding-bottom: 40rpx; 22 | display: flex; 23 | justify-content: space-around; } 24 | .nowStart .choiceTwo .one_c { 25 | width: 160rpx; 26 | height: 160rpx; 27 | background-color: cadetblue; 28 | font-size: 64rpx; 29 | color: #fff; 30 | border-radius: 100rpx; 31 | display: inline-flex; 32 | align-items: center; 33 | justify-content: center; } 34 | .nowStart .choiceTwo .one_text { 35 | margin-top: 18rpx; 36 | font-size: 32rpx; 37 | color: #4d4d4d; } 38 | .nowStart .choiceTwo .two_c { 39 | background-color: burlywood; } 40 | 41 | .end_po { 42 | width: 540rpx; 43 | border-radius: 10rpx; 44 | margin: 0 auto; 45 | background-color: #f0ca34ee; 46 | font-size: 32rpx; 47 | color: #4d4d4d; 48 | height: 80rpx; 49 | line-height: 80rpx; 50 | text-align: center; 51 | margin-top: 40rpx; } 52 | -------------------------------------------------------------------------------- /src/components/header.wpy: -------------------------------------------------------------------------------- 1 | 36 | 37 | 43 | 55 | 56 | -------------------------------------------------------------------------------- /dist/npm/lodash._basefor/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * lodash 3.0.3 (Custom Build) 3 | * Build: `lodash modularize exports="npm" -o ./` 4 | * Copyright 2012-2016 The Dojo Foundation 5 | * Based on Underscore.js 1.8.3 6 | * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 7 | * Available under MIT license 8 | */ 9 | 10 | /** 11 | * The base implementation of `baseForIn` and `baseForOwn` which iterates 12 | * over `object` properties returned by `keysFunc` invoking `iteratee` for 13 | * each property. Iteratee functions may exit iteration early by explicitly 14 | * returning `false`. 15 | * 16 | * @private 17 | * @param {Object} object The object to iterate over. 18 | * @param {Function} iteratee The function invoked per iteration. 19 | * @param {Function} keysFunc The function to get the keys of `object`. 20 | * @returns {Object} Returns `object`. 21 | */ 22 | var baseFor = createBaseFor(); 23 | 24 | /** 25 | * Creates a base function for methods like `_.forIn`. 26 | * 27 | * @private 28 | * @param {boolean} [fromRight] Specify iterating from right to left. 29 | * @returns {Function} Returns the new base function. 30 | */ 31 | function createBaseFor(fromRight) { 32 | return function(object, iteratee, keysFunc) { 33 | var index = -1, 34 | iterable = Object(object), 35 | props = keysFunc(object), 36 | length = props.length; 37 | 38 | while (length--) { 39 | var key = props[fromRight ? length : ++index]; 40 | if (iteratee(iterable[key], key, iterable) === false) { 41 | break; 42 | } 43 | } 44 | return object; 45 | }; 46 | } 47 | 48 | module.exports = baseFor; 49 | -------------------------------------------------------------------------------- /src/style/widget/weui-searchbar/weui-searchbar.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | @weuiSearchBarHeight: 28px; 4 | 5 | .weui-search-bar { 6 | position: relative; 7 | padding: 8px 10px; 8 | display: flex; 9 | box-sizing: border-box; 10 | background-color: #EFEFF4; 11 | border-top: 1rpx solid #D7D6DC; 12 | border-bottom: 1rpx solid #D7D6DC; 13 | } 14 | .weui-icon-search { 15 | margin-right: 8px; 16 | font-size:inherit; 17 | } 18 | .weui-icon-search_in-box { 19 | position: absolute; 20 | left: 10px; 21 | top: 7px; 22 | } 23 | .weui-search-bar__text{ 24 | display: inline-block; 25 | font-size: 14px; 26 | vertical-align: middle; 27 | } 28 | .weui-search-bar__form { 29 | position: relative; 30 | flex: auto; 31 | border-radius: 5px; 32 | background: #FFFFFF; 33 | border: 1rpx solid #E6E6EA; 34 | } 35 | .weui-search-bar__box { 36 | position: relative; 37 | padding-left: 30px; 38 | padding-right: 30px; 39 | width: 100%; 40 | box-sizing: border-box; 41 | z-index: 1; 42 | } 43 | .weui-search-bar__input { 44 | height: @weuiSearchBarHeight; 45 | line-height: @weuiSearchBarHeight; 46 | font-size: 14px; 47 | } 48 | .weui-icon-clear { 49 | position: absolute; 50 | top: 0; 51 | right: 0; 52 | padding: 7px 8px; 53 | font-size: 0; 54 | } 55 | .weui-search-bar__label { 56 | position: absolute; 57 | top: 0; 58 | right: 0; 59 | bottom: 0; 60 | left: 0; 61 | z-index: 2; 62 | border-radius: 3px; 63 | text-align: center; 64 | color: #9B9B9B; 65 | background: #FFFFFF; 66 | line-height: @weuiSearchBarHeight; 67 | } 68 | .weui-search-bar__cancel-btn { 69 | margin-left: 10px; 70 | line-height: @weuiSearchBarHeight; 71 | color: #09BB07; 72 | white-space: nowrap; 73 | } 74 | -------------------------------------------------------------------------------- /src/components/wl/sheetNum.wpy: -------------------------------------------------------------------------------- 1 | 25 | 33 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /src/style/widget/weui-media-box/weui-media-box.less: -------------------------------------------------------------------------------- 1 | @import "../../base/fn.less"; 2 | 3 | .weui-media-box { 4 | padding: 15px; 5 | position: relative; 6 | &:before { 7 | .setTopLine(@weuiLineColorLight); 8 | left: 15px; 9 | } 10 | &:first-child { 11 | &:before { 12 | display: none 13 | } 14 | } 15 | } 16 | .weui-media-box__title { 17 | font-weight: 400; 18 | font-size: 17px; 19 | .ellipsis(); 20 | word-wrap: break-word; 21 | word-break: break-all; 22 | } 23 | .weui-media-box__desc { 24 | color: @weuiTextColorGray; 25 | font-size: 13px; 26 | line-height: 1.2; 27 | .ellipsisLn(2); 28 | } 29 | .weui-media-box__info { 30 | margin-top: 15px; 31 | padding-bottom: 5px; 32 | font-size: 13px; 33 | color: #CECECE; 34 | line-height: 1em; 35 | list-style: none; 36 | overflow: hidden; 37 | } 38 | .weui-media-box__info__meta { 39 | float: left; 40 | padding-right: 1em; 41 | } 42 | .weui-media-box__info__meta_extra { 43 | padding-left: 1em; 44 | border-left: 1px solid #CECECE; 45 | } 46 | .weui-media-box_text { 47 | } 48 | .weui-media-box__title_in-text { 49 | margin-bottom: 8px; 50 | } 51 | .weui-media-box_appmsg { 52 | display: flex; 53 | align-items: center; 54 | } 55 | .weui-media-box__thumb { 56 | width: 100%; 57 | height: 100%; 58 | vertical-align: top; 59 | } 60 | .weui-media-box__hd_in-appmsg { 61 | margin-right: .8em; 62 | width: 60px; 63 | height: 60px; 64 | line-height: 60px; 65 | text-align: center; 66 | } 67 | .weui-media-box__bd_in-appmsg { 68 | flex: 1; 69 | min-width: 0; 70 | } 71 | .weui-media-box_small-appmsg { 72 | padding: 0; 73 | } 74 | .weui-cells_in-small-appmsg { 75 | margin-top: 0; 76 | &:before { 77 | display: none; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /dist/npm/lodash/toNumber.js: -------------------------------------------------------------------------------- 1 | var isObject = require('./isObject.js'), 2 | isSymbol = require('./isSymbol.js'); 3 | 4 | /** Used as references for various `Number` constants. */ 5 | var NAN = 0 / 0; 6 | 7 | /** Used to match leading and trailing whitespace. */ 8 | var reTrim = /^\s+|\s+$/g; 9 | 10 | /** Used to detect bad signed hexadecimal string values. */ 11 | var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; 12 | 13 | /** Used to detect binary string values. */ 14 | var reIsBinary = /^0b[01]+$/i; 15 | 16 | /** Used to detect octal string values. */ 17 | var reIsOctal = /^0o[0-7]+$/i; 18 | 19 | /** Built-in method references without a dependency on `root`. */ 20 | var freeParseInt = parseInt; 21 | 22 | /** 23 | * Converts `value` to a number. 24 | * 25 | * @static 26 | * @memberOf _ 27 | * @since 4.0.0 28 | * @category Lang 29 | * @param {*} value The value to process. 30 | * @returns {number} Returns the number. 31 | * @example 32 | * 33 | * _.toNumber(3.2); 34 | * // => 3.2 35 | * 36 | * _.toNumber(Number.MIN_VALUE); 37 | * // => 5e-324 38 | * 39 | * _.toNumber(Infinity); 40 | * // => Infinity 41 | * 42 | * _.toNumber('3.2'); 43 | * // => 3.2 44 | */ 45 | function toNumber(value) { 46 | if (typeof value == 'number') { 47 | return value; 48 | } 49 | if (isSymbol(value)) { 50 | return NAN; 51 | } 52 | if (isObject(value)) { 53 | var other = typeof value.valueOf == 'function' ? value.valueOf() : value; 54 | value = isObject(other) ? (other + '') : other; 55 | } 56 | if (typeof value != 'string') { 57 | return value === 0 ? value : +value; 58 | } 59 | value = value.replace(reTrim, ''); 60 | var isBinary = reIsBinary.test(value); 61 | return (isBinary || reIsOctal.test(value)) 62 | ? freeParseInt(value.slice(2), isBinary ? 2 : 8) 63 | : (reIsBadHex.test(value) ? NAN : +value); 64 | } 65 | 66 | module.exports = toNumber; 67 | -------------------------------------------------------------------------------- /src/mixins/pagination.wpy: -------------------------------------------------------------------------------- 1 | 82 | -------------------------------------------------------------------------------- /dist/pages/wl/login.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/components/sheader.wpy: -------------------------------------------------------------------------------- 1 | 11 | 40 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /dist/npm/lodash/isPlainObject.js: -------------------------------------------------------------------------------- 1 | var baseGetTag = require('./_baseGetTag.js'), 2 | getPrototype = require('./_getPrototype.js'), 3 | isObjectLike = require('./isObjectLike.js'); 4 | 5 | /** `Object#toString` result references. */ 6 | var objectTag = '[object Object]'; 7 | 8 | /** Used for built-in method references. */ 9 | var funcProto = Function.prototype, 10 | objectProto = Object.prototype; 11 | 12 | /** Used to resolve the decompiled source of functions. */ 13 | var funcToString = funcProto.toString; 14 | 15 | /** Used to check objects for own properties. */ 16 | var hasOwnProperty = objectProto.hasOwnProperty; 17 | 18 | /** Used to infer the `Object` constructor. */ 19 | var objectCtorString = funcToString.call(Object); 20 | 21 | /** 22 | * Checks if `value` is a plain object, that is, an object created by the 23 | * `Object` constructor or one with a `[[Prototype]]` of `null`. 24 | * 25 | * @static 26 | * @memberOf _ 27 | * @since 0.8.0 28 | * @category Lang 29 | * @param {*} value The value to check. 30 | * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. 31 | * @example 32 | * 33 | * function Foo() { 34 | * this.a = 1; 35 | * } 36 | * 37 | * _.isPlainObject(new Foo); 38 | * // => false 39 | * 40 | * _.isPlainObject([1, 2, 3]); 41 | * // => false 42 | * 43 | * _.isPlainObject({ 'x': 0, 'y': 0 }); 44 | * // => true 45 | * 46 | * _.isPlainObject(Object.create(null)); 47 | * // => true 48 | */ 49 | function isPlainObject(value) { 50 | if (!isObjectLike(value) || baseGetTag(value) != objectTag) { 51 | return false; 52 | } 53 | var proto = getPrototype(value); 54 | if (proto === null) { 55 | return true; 56 | } 57 | var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; 58 | return typeof Ctor == 'function' && Ctor instanceof Ctor && 59 | funcToString.call(Ctor) == objectCtorString; 60 | } 61 | 62 | module.exports = isPlainObject; 63 | -------------------------------------------------------------------------------- /dist/pages/wl/pRecord.wxss: -------------------------------------------------------------------------------- 1 | @import "./../../components/wl/produList.wxss"; 2 | @font-face { 3 | font-family: 'iconfont'; 4 | /* project id 393411 */ 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 6 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 7 | 8 | .plist { 9 | border-top: 4rpx solid #ffce10; 10 | background-color: #fff; 11 | margin-bottom: 37rpx; } 12 | .plist .plist-top { 13 | padding-left: 40rpx; 14 | padding-right: 37rpx; 15 | font-size: 24rpx; 16 | color: #919191; } 17 | .plist .plist-top .top_bottom { 18 | display: inline-block; 19 | margin-top: 18rpx; 20 | margin-bottom: 32rpx; } 21 | .plist .plist-top .top_bottom_right { 22 | float: right; 23 | margin-top: 18rpx; } 24 | .plist .plist-main { 25 | height: 60rpx; 26 | padding-left: 40rpx; 27 | line-height: 60rpx; 28 | border-top: 1rpx solid #f3f3f3; 29 | border-bottom: 1rpx solid #f3f3f3; 30 | font-size: 28rpx; 31 | color: #ffaf10; } 32 | .plist .ageaPan { 33 | height: 80rpx; 34 | line-height: 80rpx; 35 | text-align: center; 36 | font-size: 28rpx; 37 | color: #000; 38 | background-color: #ffaf10; } 39 | .plist .plist_price { 40 | font-size: 28rpx; 41 | padding-left: 40rpx; 42 | padding-right: 40rpx; 43 | height: 110rpx; 44 | line-height: 110rpx; } 45 | .plist .plist_price .main_price { 46 | font-size: 36rpx; 47 | color: #ffaf10; } 48 | .plist .plist_price .list_type { 49 | display: block; 50 | float: right; 51 | font-size: 28rpx; 52 | color: #ffaf10; } 53 | 54 | .noData { 55 | text-align: center; 56 | color: #919191; } 57 | -------------------------------------------------------------------------------- /dist/npm/wepy-redux/lib/helpers/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.__esModule = true; 4 | exports.mapActions = exports.mapState = undefined; 5 | 6 | var _store = require('./../store.js'); 7 | 8 | var mapState = exports.mapState = function mapState(states) { 9 | var res = {}; 10 | normalizeMap(states).forEach(function (_ref) { 11 | var key = _ref.key, 12 | val = _ref.val; 13 | 14 | res[key] = function mappedState() { 15 | var store = (0, _store.getStore)(); 16 | var state = store.getState(); 17 | return typeof val === 'function' ? val.call(this, state) : state[val]; 18 | }; 19 | }); 20 | return res; 21 | }; 22 | 23 | var mapActions = exports.mapActions = function mapActions(actions) { 24 | var res = {}; 25 | normalizeMap(actions).forEach(function (_ref2) { 26 | var key = _ref2.key, 27 | val = _ref2.val; 28 | 29 | res[key] = function mappedAction() { 30 | var store = (0, _store.getStore)(); 31 | var dispatchParam = void 0; 32 | 33 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { 34 | args[_key] = arguments[_key]; 35 | } 36 | 37 | if (typeof val === 'string') { 38 | dispatchParam = { 39 | type: val, 40 | 41 | payload: args.length > 1 ? args : args[0] 42 | }; 43 | } else { 44 | dispatchParam = typeof val === 'function' ? val.apply(store, args) : val; 45 | } 46 | return store.dispatch.call(store, dispatchParam); 47 | }; 48 | }); 49 | return res; 50 | }; 51 | 52 | function normalizeMap(map) { 53 | return Array.isArray(map) ? map.map(function (key) { 54 | return { key: key, val: key }; 55 | }) : Object.keys(map).map(function (key) { 56 | return { key: key, val: map[key] }; 57 | }); 58 | } -------------------------------------------------------------------------------- /wepy.config.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | var prod = process.env.NODE_ENV === 'production' 3 | 4 | module.exports = { 5 | wpyExt: '.wpy', 6 | build: { 7 | web: { 8 | apis: ['showToast', 'showActionSheet', 'showModal'], 9 | components: ['navigator', 'button', 'icon', 'progress', 'slider', 'radio', 'radio-group', 'checkbox', 'checkbox-group', 'switch'], 10 | htmlTemplate: path.join('src', 'index.template.html'), 11 | htmlOutput: path.join('web', 'index.html'), 12 | jsOutput: path.join('web', 'index.js') 13 | } 14 | }, 15 | resolve: { 16 | alias: { 17 | counter: path.join(__dirname, 'src/components/counter'), 18 | '@': path.join(__dirname, 'src') 19 | }, 20 | modules: ['node_modules'] 21 | }, 22 | eslint: true, 23 | compilers: { 24 | less: { 25 | compress: true 26 | }, 27 | /*sass: { 28 | outputStyle: 'compressed' 29 | },*/ 30 | babel: { 31 | sourceMap: true, 32 | presets: [ 33 | 'env' 34 | ], 35 | plugins: [ 36 | 'transform-class-properties', 37 | 'transform-decorators-legacy', 38 | 'transform-object-rest-spread', 39 | 'transform-export-extensions', 40 | ] 41 | } 42 | }, 43 | plugins: { 44 | }, 45 | appConfig: { 46 | noPromiseAPI: ['createSelectorQuery'] 47 | } 48 | } 49 | 50 | if (prod) { 51 | 52 | delete module.exports.compilers.babel.sourcesMap; 53 | // 压缩sass 54 | // module.exports.compilers['sass'] = {outputStyle: 'compressed'} 55 | 56 | // 压缩less 57 | module.exports.compilers['less'] = {compress: true} 58 | 59 | // 压缩js 60 | module.exports.plugins = { 61 | uglifyjs: { 62 | filter: /\.js$/, 63 | config: { 64 | } 65 | }, 66 | imagemin: { 67 | filter: /\.(jpg|png|jpeg)$/, 68 | config: { 69 | jpg: { 70 | quality: 80 71 | }, 72 | png: { 73 | quality: 80 74 | } 75 | } 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /dist/npm/lodash/_arrayLikeKeys.js: -------------------------------------------------------------------------------- 1 | var baseTimes = require('./_baseTimes.js'), 2 | isArguments = require('./isArguments.js'), 3 | isArray = require('./isArray.js'), 4 | isBuffer = require('./isBuffer.js'), 5 | isIndex = require('./_isIndex.js'), 6 | isTypedArray = require('./isTypedArray.js'); 7 | 8 | /** Used for built-in method references. */ 9 | var objectProto = Object.prototype; 10 | 11 | /** Used to check objects for own properties. */ 12 | var hasOwnProperty = objectProto.hasOwnProperty; 13 | 14 | /** 15 | * Creates an array of the enumerable property names of the array-like `value`. 16 | * 17 | * @private 18 | * @param {*} value The value to query. 19 | * @param {boolean} inherited Specify returning inherited property names. 20 | * @returns {Array} Returns the array of property names. 21 | */ 22 | function arrayLikeKeys(value, inherited) { 23 | var isArr = isArray(value), 24 | isArg = !isArr && isArguments(value), 25 | isBuff = !isArr && !isArg && isBuffer(value), 26 | isType = !isArr && !isArg && !isBuff && isTypedArray(value), 27 | skipIndexes = isArr || isArg || isBuff || isType, 28 | result = skipIndexes ? baseTimes(value.length, String) : [], 29 | length = result.length; 30 | 31 | for (var key in value) { 32 | if ((inherited || hasOwnProperty.call(value, key)) && 33 | !(skipIndexes && ( 34 | // Safari 9 has enumerable `arguments.length` in strict mode. 35 | key == 'length' || 36 | // Node.js 0.10 has enumerable non-index properties on buffers. 37 | (isBuff && (key == 'offset' || key == 'parent')) || 38 | // PhantomJS 2 has enumerable non-index properties on typed arrays. 39 | (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || 40 | // Skip index properties. 41 | isIndex(key, length) 42 | ))) { 43 | result.push(key); 44 | } 45 | } 46 | return result; 47 | } 48 | 49 | module.exports = arrayLikeKeys; 50 | -------------------------------------------------------------------------------- /dist/npm/lodash/includes.js: -------------------------------------------------------------------------------- 1 | var baseIndexOf = require('./_baseIndexOf.js'), 2 | isArrayLike = require('./isArrayLike.js'), 3 | isString = require('./isString.js'), 4 | toInteger = require('./toInteger.js'), 5 | values = require('./values.js'); 6 | 7 | /* Built-in method references for those with the same name as other `lodash` methods. */ 8 | var nativeMax = Math.max; 9 | 10 | /** 11 | * Checks if `value` is in `collection`. If `collection` is a string, it's 12 | * checked for a substring of `value`, otherwise 13 | * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) 14 | * is used for equality comparisons. If `fromIndex` is negative, it's used as 15 | * the offset from the end of `collection`. 16 | * 17 | * @static 18 | * @memberOf _ 19 | * @since 0.1.0 20 | * @category Collection 21 | * @param {Array|Object|string} collection The collection to inspect. 22 | * @param {*} value The value to search for. 23 | * @param {number} [fromIndex=0] The index to search from. 24 | * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. 25 | * @returns {boolean} Returns `true` if `value` is found, else `false`. 26 | * @example 27 | * 28 | * _.includes([1, 2, 3], 1); 29 | * // => true 30 | * 31 | * _.includes([1, 2, 3], 1, 2); 32 | * // => false 33 | * 34 | * _.includes({ 'a': 1, 'b': 2 }, 1); 35 | * // => true 36 | * 37 | * _.includes('abcd', 'bc'); 38 | * // => true 39 | */ 40 | function includes(collection, value, fromIndex, guard) { 41 | collection = isArrayLike(collection) ? collection : values(collection); 42 | fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; 43 | 44 | var length = collection.length; 45 | if (fromIndex < 0) { 46 | fromIndex = nativeMax(length + fromIndex, 0); 47 | } 48 | return isString(collection) 49 | ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) 50 | : (!!length && baseIndexOf(collection, value, fromIndex) > -1); 51 | } 52 | 53 | module.exports = includes; 54 | -------------------------------------------------------------------------------- /dist/npm/redux-actions/lib/combineActions.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.ACTION_TYPE_DELIMITER = undefined; 7 | exports.default = combineActions; 8 | 9 | var _isString = require('./../../lodash/isString.js'); 10 | 11 | var _isString2 = _interopRequireDefault(_isString); 12 | 13 | var _isFunction = require('./../../lodash/isFunction.js'); 14 | 15 | var _isFunction2 = _interopRequireDefault(_isFunction); 16 | 17 | var _isEmpty = require('./../../lodash/isEmpty.js'); 18 | 19 | var _isEmpty2 = _interopRequireDefault(_isEmpty); 20 | 21 | var _toString = require('./../../lodash/toString.js'); 22 | 23 | var _toString2 = _interopRequireDefault(_toString); 24 | 25 | var _isSymbol = require('./../../lodash/isSymbol.js'); 26 | 27 | var _isSymbol2 = _interopRequireDefault(_isSymbol); 28 | 29 | var _invariant = require('./../../invariant/browser.js'); 30 | 31 | var _invariant2 = _interopRequireDefault(_invariant); 32 | 33 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 34 | 35 | var ACTION_TYPE_DELIMITER = exports.ACTION_TYPE_DELIMITER = '||'; 36 | 37 | function isValidActionType(type) { 38 | return (0, _isString2.default)(type) || (0, _isFunction2.default)(type) || (0, _isSymbol2.default)(type); 39 | } 40 | 41 | function isValidActionTypes(types) { 42 | if ((0, _isEmpty2.default)(types)) { 43 | return false; 44 | } 45 | return types.every(isValidActionType); 46 | } 47 | 48 | function combineActions() { 49 | for (var _len = arguments.length, actionsTypes = Array(_len), _key = 0; _key < _len; _key++) { 50 | actionsTypes[_key] = arguments[_key]; 51 | } 52 | 53 | (0, _invariant2.default)(isValidActionTypes(actionsTypes), 'Expected action types to be strings, symbols, or action creators'); 54 | var combinedActionType = actionsTypes.map(_toString2.default).join(ACTION_TYPE_DELIMITER); 55 | return { toString: function toString() { 56 | return combinedActionType; 57 | } }; 58 | } -------------------------------------------------------------------------------- /dist/npm/wepy/lib/mixin.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 8 | 9 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 10 | 11 | var _class = function () { 12 | function _class() { 13 | _classCallCheck(this, _class); 14 | 15 | this.data = {}; 16 | this.components = {}; 17 | this.methods = {}; 18 | this.events = {}; 19 | } 20 | 21 | _createClass(_class, [{ 22 | key: '$init', 23 | value: function $init(parent) { 24 | var _this = this; 25 | 26 | var k = void 0; 27 | 28 | Object.getOwnPropertyNames(this).concat(Object.getOwnPropertyNames(Object.getPrototypeOf(this))).forEach(function (k) { 29 | if (k[0] + k[1] !== 'on' && k !== 'constructor') { 30 | if (!parent[k]) parent[k] = _this[k]; 31 | } 32 | }); 33 | 34 | ['data', 'events', 'components'].forEach(function (item) { 35 | Object.getOwnPropertyNames(_this[item]).forEach(function (k) { 36 | if (k !== 'init' && !parent[item][k]) parent[item][k] = _this[item][k]; 37 | }); 38 | }); 39 | } 40 | }]); 41 | 42 | return _class; 43 | }(); 44 | 45 | exports.default = _class; 46 | //# sourceMappingURL=mixin.js.map -------------------------------------------------------------------------------- /src/util/WxUtils.js: -------------------------------------------------------------------------------- 1 | import Tips from './Tips'; 2 | 3 | export default class WxUtils { 4 | /** 5 | * 如果能够后退(多层),则navigaetBack,否则调用redirectTo 6 | */ 7 | static backOrRedirect(url) { 8 | const pages = getCurrentPages(); 9 | // route在低版本不兼容 10 | const index = pages.findIndex(item => ('/' + item.__route__) == url); 11 | if (pages.length < 2 || index < 0) { 12 | wx.redirectTo({ 13 | url: url 14 | }); 15 | } else { 16 | const delta = pages.length - 1 - index; 17 | wx.navigateBack({ 18 | delta: delta 19 | }); 20 | } 21 | } 22 | /** 23 | * 如果能够后退(多层),则navigaetBack,否则调用navigateTo 24 | */ 25 | static backOrNavigate(url) { 26 | const pages = getCurrentPages(); 27 | // route在低版本不兼容 28 | const index = pages.findIndex(item => ('/' + item.__route__) == url); 29 | if (pages.length < 2 || index < 0) { 30 | wx.navigateTo({ 31 | url: url 32 | }); 33 | } else { 34 | const delta = pages.length - 1 - index; 35 | wx.navigateBack({ 36 | delta: delta 37 | }); 38 | } 39 | } 40 | 41 | static wxPay(param) { 42 | return new Promise((resolve, reject) => { 43 | wx.requestPayment({ 44 | ...param, 45 | complete: res => { 46 | if (res.errMsg == 'requestPayment:ok') { 47 | resolve(res); 48 | } else { 49 | reject(res); 50 | } 51 | } 52 | }); 53 | }); 54 | } 55 | 56 | /** 57 | * 兼容性判断 58 | */ 59 | static canIUse(str) { 60 | if (wx.canIUse) { 61 | return wx.canIUse(str); 62 | } else { 63 | return false; 64 | } 65 | } 66 | /** 67 | * 检查SDK版本 68 | */ 69 | static isSDKExipred() { 70 | const {SDKVersion} = wx.getSystemInfoSync(); 71 | console.info(`[version]sdk ${SDKVersion}`); 72 | return SDKVersion == null || SDKVersion < '1.2.0' 73 | } 74 | /** 75 | * 检查SDK版本 76 | */ 77 | static checkSDK() { 78 | if (this.isSDKExipred()) { 79 | Tips.modal('您的微信版本太低,为确保正常使用,请尽快升级'); 80 | } 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /dist/pages/wl/wMember.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = undefined; 7 | 8 | var _wepy = require('./../../npm/wepy/lib/wepy.js'); 9 | 10 | var _wepy2 = _interopRequireDefault(_wepy); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 15 | 16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 17 | 18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 19 | 20 | var wMember = function (_wepy$page) { 21 | _inherits(wMember, _wepy$page); 22 | 23 | function wMember() { 24 | _classCallCheck(this, wMember); 25 | 26 | return _possibleConstructorReturn(this, (wMember.__proto__ || Object.getPrototypeOf(wMember)).apply(this, arguments)); 27 | } 28 | 29 | return wMember; 30 | }(_wepy2.default.page); 31 | 32 | exports.default = wMember; 33 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndNZW1iZXIuanMiXSwibmFtZXMiOlsid01lbWJlciIsInBhZ2UiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFDQTs7Ozs7Ozs7Ozs7O0lBQ3FCQSxPOzs7Ozs7Ozs7O0VBQWdCLGVBQUtDLEk7O2tCQUFyQkQsTyIsImZpbGUiOiJ3TWVtYmVyLmpzIiwic291cmNlc0NvbnRlbnQiOlsiXHJcbmltcG9ydCB3ZXB5IGZyb20gJ3dlcHknXHJcbmV4cG9ydCBkZWZhdWx0IGNsYXNzIHdNZW1iZXIgZXh0ZW5kcyB3ZXB5LnBhZ2Uge1xyXG4gIFxyXG59XHJcbiJdfQ== -------------------------------------------------------------------------------- /dist/style/zent.wxss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /*有赞样式文件*/ 3 | .zan-btn { 4 | color: #333; 5 | background-color: #fff; 6 | margin-bottom: 10px; 7 | padding-left: 15px; 8 | padding-right: 15px; 9 | border-radius: 6px; 10 | border: 1px solid #e5e5e5; 11 | font-size: 16px; 12 | line-height: 45px; 13 | height: 45px; 14 | box-sizing: border-box; 15 | text-decoration: none; 16 | text-align: center; 17 | vertical-align: middle; } 18 | 19 | .zan-btn::after { 20 | display: none; } 21 | 22 | .zan-btn--primary { 23 | color: #1296DB; 24 | background-color: #fff; 25 | border-color: #1296DB; } 26 | 27 | .zan-btn--warn { 28 | color: #fff; 29 | background-color: #f85; 30 | border-color: #f85; } 31 | 32 | .zan-btn--danger { 33 | color: #e33; 34 | background-color: #fff; 35 | border-color: #e33; } 36 | 37 | .zan-btn--fill { 38 | background-color: #1296DB; 39 | color: #FFF; } 40 | 41 | .zan-btn--plain.zan-btn--fill { 42 | background-color: #1296DB; 43 | color: #FFF; } 44 | 45 | .zan-btn--small { 46 | display: inline-block; 47 | height: 30px; 48 | line-height: 29px; 49 | font-size: 13px; 50 | margin-left: 0px; 51 | margin-right: 5px; 52 | margin-bottom: 0; } 53 | 54 | .zan-btn--mini { 55 | display: inline-block; 56 | line-height: 21px; 57 | height: 22px; 58 | font-size: 10px; 59 | margin-right: 5px; 60 | margin-left: 0px; 61 | margin-bottom: 0; 62 | padding-left: 5px; 63 | padding-right: 5px; } 64 | 65 | .zan-btn--large { 66 | border-radius: 0; 67 | margin-bottom: 0; 68 | border: none; 69 | line-height: 50px; 70 | height: 50px; } 71 | 72 | .zan-btns { 73 | margin: 15px; } 74 | 75 | .zan-btn.zan-btn--disabled { 76 | /* 防止样式被 button[disabled] 的规则覆盖,所以使用了important */ 77 | color: #999 !important; 78 | background: #f8f8f8 !important; 79 | border-color: #e5e5e5 !important; 80 | cursor: not-allowed !important; 81 | opacity: 1 !important; } 82 | 83 | .zan-panel { 84 | background: #fff; 85 | border-top: 1rpx solid #e5e5e5; 86 | border-bottom: 1rpx solid #e5e5e5; 87 | margin-top: 10px; 88 | overflow: hidden; } 89 | -------------------------------------------------------------------------------- /dist/components/user/login.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = undefined; 7 | 8 | var _wepy = require('./../../npm/wepy/lib/wepy.js'); 9 | 10 | var _wepy2 = _interopRequireDefault(_wepy); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 15 | 16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 17 | 18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 19 | 20 | var Login = function (_wepy$component) { 21 | _inherits(Login, _wepy$component); 22 | 23 | function Login() { 24 | _classCallCheck(this, Login); 25 | 26 | return _possibleConstructorReturn(this, (Login.__proto__ || Object.getPrototypeOf(Login)).apply(this, arguments)); 27 | } 28 | 29 | return Login; 30 | }(_wepy2.default.component); 31 | 32 | exports.default = Login; 33 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvZ2luLmpzIl0sIm5hbWVzIjpbIkxvZ2luIiwiY29tcG9uZW50Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQ0E7Ozs7Ozs7Ozs7OztJQUNxQkEsSzs7Ozs7Ozs7OztFQUFjLGVBQUtDLFM7O2tCQUFuQkQsSyIsImZpbGUiOiJsb2dpbi5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxyXG5pbXBvcnQgd2VweSBmcm9tICd3ZXB5J1xyXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBMb2dpbiBleHRlbmRzIHdlcHkuY29tcG9uZW50IHtcclxuICBcclxufVxyXG4iXX0= -------------------------------------------------------------------------------- /dist/npm/redux-actions/lib/handleActions.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = handleActions; 7 | 8 | var _isPlainObject = require('./../../lodash/isPlainObject.js'); 9 | 10 | var _isPlainObject2 = _interopRequireDefault(_isPlainObject); 11 | 12 | var _reduceReducers = require('./../../reduce-reducers/lib/index.js'); 13 | 14 | var _reduceReducers2 = _interopRequireDefault(_reduceReducers); 15 | 16 | var _invariant = require('./../../invariant/browser.js'); 17 | 18 | var _invariant2 = _interopRequireDefault(_invariant); 19 | 20 | var _handleAction = require('./handleAction.js'); 21 | 22 | var _handleAction2 = _interopRequireDefault(_handleAction); 23 | 24 | var _ownKeys = require('./ownKeys.js'); 25 | 26 | var _ownKeys2 = _interopRequireDefault(_ownKeys); 27 | 28 | var _flattenUtils = require('./flattenUtils.js'); 29 | 30 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 31 | 32 | function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } 33 | 34 | function handleActions(handlers, defaultState) { 35 | var _ref = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2]; 36 | 37 | var namespace = _ref.namespace; 38 | 39 | (0, _invariant2.default)((0, _isPlainObject2.default)(handlers), 'Expected handlers to be an plain object.'); 40 | var flattenedReducerMap = (0, _flattenUtils.flattenReducerMap)(handlers, namespace); 41 | var reducers = (0, _ownKeys2.default)(flattenedReducerMap).map(function (type) { 42 | return (0, _handleAction2.default)(type, flattenedReducerMap[type], defaultState); 43 | }); 44 | var reducer = _reduceReducers2.default.apply(undefined, _toConsumableArray(reducers)); 45 | return function () { 46 | var state = arguments.length <= 0 || arguments[0] === undefined ? defaultState : arguments[0]; 47 | var action = arguments[1]; 48 | return reducer(state, action); 49 | }; 50 | } -------------------------------------------------------------------------------- /dist/components/user/comReg.wxss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @font-face { 3 | font-family: 'iconfont'; 4 | /* project id 393411 */ 5 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot"); 6 | src: url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.woff") format("woff"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.ttf") format("truetype"), url("//at.alicdn.com/t/font_393411_u6n51uw86ko6r.svg#iconfont") format("svg"); } 7 | 8 | input._f476546 { 9 | border: 1rpx solid #A1A1A1; 10 | border-radius: 2rpx; } 11 | 12 | .left._f476546 { 13 | float: left; } 14 | 15 | .right._f476546 { 16 | float: right; } 17 | 18 | .phonView._f476546 { 19 | display: flex; 20 | justify-content: center; 21 | align-items: center; 22 | position: relative; 23 | /*返回图标*/ } 24 | .phonView .phone._f476546 { 25 | width: 575rpx; 26 | height: 90rpx; 27 | padding-left: 80rpx; } 28 | .phonView .iconfont._f476546 { 29 | font-family: "iconfont" !important; 30 | font-size: 42rpx; 31 | font-style: normal; 32 | -webkit-font-smoothing: antialiased; 33 | -webkit-text-stroke-width: 0.2px; 34 | color: #A1A1A1; 35 | -moz-osx-font-smoothing: grayscale; 36 | padding: 0 12rpx; } 37 | .phonView .icon-phone._f476546:before { 38 | content: "\e624"; } 39 | .phonView .posi._f476546 { 40 | position: absolute; 41 | left: 60rpx; } 42 | 43 | .imgCodeView._f476546 { 44 | display: flex; 45 | margin-top: 30rpx; 46 | justify-content: center; } 47 | .imgCodeView .imgCodeInput._f476546 { 48 | padding-left: 20rpx; 49 | width: 400rpx; 50 | height: 90rpx; 51 | margin-right: 20rpx; } 52 | .imgCodeView .imgCode._f476546 { 53 | width: 220rpx; 54 | height: 90rpx; 55 | background-color: #2dd; } 56 | .imgCodeView .getCodeText._f476546 { 57 | display: inline-flex; 58 | width: 220rpx; 59 | height: 90rpx; 60 | background-color: #e5e5e5; 61 | align-items: center; 62 | justify-content: center; 63 | font-size: 28rpx; 64 | color: #666; } 65 | -------------------------------------------------------------------------------- /dist/components/user/comReg.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = undefined; 7 | 8 | var _wepy = require('./../../npm/wepy/lib/wepy.js'); 9 | 10 | var _wepy2 = _interopRequireDefault(_wepy); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 15 | 16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 17 | 18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 19 | 20 | var comReg = function (_wepy$component) { 21 | _inherits(comReg, _wepy$component); 22 | 23 | function comReg() { 24 | _classCallCheck(this, comReg); 25 | 26 | return _possibleConstructorReturn(this, (comReg.__proto__ || Object.getPrototypeOf(comReg)).apply(this, arguments)); 27 | } 28 | 29 | return comReg; 30 | }(_wepy2.default.component); 31 | 32 | exports.default = comReg; 33 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbVJlZy5qcyJdLCJuYW1lcyI6WyJjb21SZWciLCJjb21wb25lbnQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFDQTs7Ozs7Ozs7Ozs7O0lBQ3FCQSxNOzs7Ozs7Ozs7O0VBQWUsZUFBS0MsUzs7a0JBQXBCRCxNIiwiZmlsZSI6ImNvbVJlZy5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxyXG5pbXBvcnQgd2VweSBmcm9tICd3ZXB5J1xyXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBjb21SZWcgZXh0ZW5kcyB3ZXB5LmNvbXBvbmVudCB7XHJcbiAgXHJcbn1cclxuIl19 -------------------------------------------------------------------------------- /dist/components/wl/noData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = undefined; 7 | 8 | var _wepy = require('./../../npm/wepy/lib/wepy.js'); 9 | 10 | var _wepy2 = _interopRequireDefault(_wepy); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 15 | 16 | function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 17 | 18 | function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 19 | 20 | var NoData = function (_wepy$component) { 21 | _inherits(NoData, _wepy$component); 22 | 23 | function NoData() { 24 | _classCallCheck(this, NoData); 25 | 26 | return _possibleConstructorReturn(this, (NoData.__proto__ || Object.getPrototypeOf(NoData)).apply(this, arguments)); 27 | } 28 | 29 | return NoData; 30 | }(_wepy2.default.component); 31 | 32 | exports.default = NoData; 33 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vRGF0YS5qcyJdLCJuYW1lcyI6WyJOb0RhdGEiLCJjb21wb25lbnQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFDQTs7Ozs7Ozs7Ozs7O0lBQ3FCQSxNOzs7Ozs7Ozs7O0VBQWUsZUFBS0MsUzs7a0JBQXBCRCxNIiwiZmlsZSI6Im5vRGF0YS5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxyXG5pbXBvcnQgd2VweSBmcm9tICd3ZXB5J1xyXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBOb0RhdGEgZXh0ZW5kcyB3ZXB5LmNvbXBvbmVudCB7XHJcbiAgXHJcbn1cclxuIl19 -------------------------------------------------------------------------------- /dist/npm/lodash/_getTag.js: -------------------------------------------------------------------------------- 1 | var DataView = require('./_DataView.js'), 2 | Map = require('./_Map.js'), 3 | Promise = require('./_Promise.js'), 4 | Set = require('./_Set.js'), 5 | WeakMap = require('./_WeakMap.js'), 6 | baseGetTag = require('./_baseGetTag.js'), 7 | toSource = require('./_toSource.js'); 8 | 9 | /** `Object#toString` result references. */ 10 | var mapTag = '[object Map]', 11 | objectTag = '[object Object]', 12 | promiseTag = '[object Promise]', 13 | setTag = '[object Set]', 14 | weakMapTag = '[object WeakMap]'; 15 | 16 | var dataViewTag = '[object DataView]'; 17 | 18 | /** Used to detect maps, sets, and weakmaps. */ 19 | var dataViewCtorString = toSource(DataView), 20 | mapCtorString = toSource(Map), 21 | promiseCtorString = toSource(Promise), 22 | setCtorString = toSource(Set), 23 | weakMapCtorString = toSource(WeakMap); 24 | 25 | /** 26 | * Gets the `toStringTag` of `value`. 27 | * 28 | * @private 29 | * @param {*} value The value to query. 30 | * @returns {string} Returns the `toStringTag`. 31 | */ 32 | var getTag = baseGetTag; 33 | 34 | // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. 35 | if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || 36 | (Map && getTag(new Map) != mapTag) || 37 | (Promise && getTag(Promise.resolve()) != promiseTag) || 38 | (Set && getTag(new Set) != setTag) || 39 | (WeakMap && getTag(new WeakMap) != weakMapTag)) { 40 | getTag = function(value) { 41 | var result = baseGetTag(value), 42 | Ctor = result == objectTag ? value.constructor : undefined, 43 | ctorString = Ctor ? toSource(Ctor) : ''; 44 | 45 | if (ctorString) { 46 | switch (ctorString) { 47 | case dataViewCtorString: return dataViewTag; 48 | case mapCtorString: return mapTag; 49 | case promiseCtorString: return promiseTag; 50 | case setCtorString: return setTag; 51 | case weakMapCtorString: return weakMapTag; 52 | } 53 | } 54 | return result; 55 | }; 56 | } 57 | 58 | module.exports = getTag; 59 | -------------------------------------------------------------------------------- /src/components/user/comReg.wpy: -------------------------------------------------------------------------------- 1 | 47 | 64 | 70 | 71 | 72 | --------------------------------------------------------------------------------