添加签到页面

This commit is contained in:
2025-04-25 10:50:10 +08:00
parent 3574768aa5
commit d85ec0e861
213 changed files with 2110 additions and 1078 deletions

4
unpackage/dist/build/mp-weixin/app.js vendored Normal file
View File

@ -0,0 +1,4 @@
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')

51
unpackage/dist/build/mp-weixin/app.json vendored Normal file
View File

@ -0,0 +1,51 @@
{
"pages": [
"pages/index/index",
"pages/order/order",
"pages/shop_cart/shop_cart",
"pages/my/my",
"pages/login/login",
"pages/login/fastLogin",
"pages/login/mobileLogin",
"pages/server_explan/server_explan"
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "煎饼",
"navigationBarBackgroundColor": "#FFF",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#ABB0C2",
"selectedColor": "#254062",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "/static/tabbar/tab_home.png",
"selectedIconPath": "/static/tabbar/tab_home_s.png",
"text": "首页"
},
{
"pagePath": "pages/order/order",
"iconPath": "/static/tabbar/tab_order.png",
"selectedIconPath": "/static/tabbar/tab_order_s.png",
"text": "订单"
},
{
"pagePath": "pages/shop_cart/shop_cart",
"iconPath": "/static/tabbar/tab_cart.png",
"selectedIconPath": "/static/tabbar/tab_cart_s.png",
"text": "购物车"
},
{
"pagePath": "pages/my/my",
"iconPath": "/static/tabbar/tab_my.png",
"selectedIconPath": "/static/tabbar/tab_my_s.png",
"text": "我的"
}
]
},
"usingComponents": {}
}

View File

@ -0,0 +1,3 @@
@import './common/main.wxss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"297c":function(e,t,n){},"501c":function(e,t,n){"use strict";var r=n("297c"),a=n.n(r);a.a},5600:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("7eb4")),o=r(n("7ca3")),c=r(n("ee10")),u=n("8f59"),i=n("be1a"),f=n("2f2f"),s=r(n("3c3b")),l=n("5fc1");n("1193");function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b={globalData:{navHeight:""},onLaunch:function(){var t=(0,c.default)(a.default.mark((function t(n){return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.hideTabBar({animation:!1}),this.getConfigFun(),this.getUser(),this.getShareInfo(),this.getSystemInfo();case 5:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),onShow:function(e){this.bindCode(e)},onHide:function(){console.log("App Hide")},methods:p(p(p({},(0,u.mapMutations)(["SETCONFIG"])),(0,u.mapActions)(["getUser"])),{},{getSystemInfo:function(){var t=this;e.getSystemInfo({success:function(e){var n,r=e.statusBarHeight,a=e.platform;n="ios"==a||"devtools"==a?r+44:r+48,t.globalData.navHeight=n},fail:function(e){console.log(e)}})},getShareInfo:function(){return(0,c.default)(a.default.mark((function e(){var t,n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,f.userShare)();case 2:t=e.sent,n=t.code,r=t.data,1==n&&s.default.set("shareInfo",r);case 6:case"end":return e.stop()}}),e)})))()},getConfigFun:function(){var t=this;return(0,c.default)(a.default.mark((function n(){var r,o,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,f.getConfig)();case 3:r=n.sent,o=r.code,c=r.data,1==o&&(t.SETCONFIG(c),(0,l.setTabbar)()),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](0),e.showTabBar();case 12:case"end":return n.stop()}}),n,null,[[0,9]])})))()},bindCode:function(e){if(e.query){var t=e.query.invite_code||(0,l.strToParams)(decodeURIComponent(e.query.scene)).invite_code;t&&(0,i.inputInviteCode)({code:t}).then((function(e){-1==e.code&&s.default.set("INVITE_CODE",t)}))}}})};t.default=b}).call(this,n("df3c")["default"])},"6dc0":function(e,t,n){"use strict";n.r(t);var r=n("5600"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=a.a},a5a2:function(e,t,n){"use strict";(function(e,t){var r=n("47a9"),a=r(n("7ca3"));n("6a4a");var o=r(n("b03a")),c=r(n("3240")),u=r(n("8917")),i=n("5fc1"),f=r(n("3c3b")),s=r(n("7833")),l=r(n("6982"));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}e.__webpack_require_UNI_MP_PLUGIN__=n,c.default.prototype.$toast=i.toast,c.default.prototype.$copy=i.copy,c.default.prototype.$Cache=f.default,c.default.config.productionTip=!1,c.default.use(l.default),o.default.mpType="app",c.default.mixin(s.default);var b=new c.default(p(p({},o.default),{},{store:u.default}));t(b).$mount()}).call(this,n("3223")["default"],n("df3c")["createApp"])},b03a:function(e,t,n){"use strict";n.r(t);var r=n("6dc0");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("501c");var o=n("828b"),c=Object(o["a"])(r["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);t["default"]=c.exports}},[["a5a2","common/runtime","common/vendor"]]]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mobile-login/mobile-login"],{"3ebe":function(e,n,t){},7174:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;t("5fc1");var o={name:"mobile-login",props:{value:{type:Boolean,required:!0}},data:function(){return{mobile:""}},methods:{onGetPhoneNumber:function(e){"getPhoneNumber:ok"===e.detail.errMsg&&(this.mobile=110)},handleSubmit:function(e){var n=this.mobile;if(!n)return this.$toast({title:"请授权手机号"});this.$emit("update",{mobile:n}),this.showPop=!1,this.$emit("close")},onClose:function(){this.showPop=!1,this.$emit("close")}},computed:{showPop:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}};n.default=o},b994:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return o}));var o={uPopup:function(){return t.e("components/uview-ui/components/u-popup/u-popup").then(t.bind(null,"69ae"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"9e59"))}},i=function(){var e=this.$createElement;this._self._c},u=[]},e667:function(e,n,t){"use strict";var o=t("3ebe"),i=t.n(o);i.a},e6d5:function(e,n,t){"use strict";t.r(n);var o=t("7174"),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=i.a},f80e:function(e,n,t){"use strict";t.r(n);var o=t("b994"),i=t("e6d5");for(var u in i)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(u);t("e667");var r=t("828b"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/mobile-login/mobile-login-create-component',
{
'components/mobile-login/mobile-login-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f80e"))
})
},
[['components/mobile-login/mobile-login-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"usingComponents": {
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<view><u-popup bind:input="__e" vue-id="931b417c-1" mode="bottom" border-radius="16" safe-area-inset-bottom="{{true}}" maskCloseAble="{{false}}" value="{{showPop}}" data-event-opts="{{[['^input',[['__set_model',['','showPop','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><view class="u-font-xl bold-600">获取您的手机号码</view><view class="popup-form"><form data-event-opts="{{[['submit',[['handleSubmit',['$event']]]]]}}" bindsubmit="__e"><view class="u-flex u-row-between avatar u-margin-top-80"><text>手机号码</text><view class="u-flex u-row-between flex1 u-margin-left-30"><button class="u-flex u-row-between w-full" style="border:none;" hover-class="none" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"><block wx:if="{{mobile}}"><view>{{mobile}}</view></block><block wx:else><view>点击授手机号</view></block><u-icon vue-id="{{('931b417c-2')+','+('931b417c-1')}}" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></button></view></view><button class="submit-btn bg-primary" form-type="submit">确定</button><view data-event-opts="{{[['tap',[['onClose',['$event']]]]]}}" class="text-default u-text-center close-btn" bindtap="__e">暂不登录</view></form></view></view></u-popup></view>

View File

@ -0,0 +1 @@
.popup-content{padding:40rpx 40rpx 60rpx}.popup-content .submit-btn{margin-top:80rpx;background-color:#254062;padding:6rpx 0;border-radius:100rpx;color:#fff}.popup-content .close-btn{margin-top:20rpx;border:1px solid #254062;padding:20rpx 0;border-radius:100rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mplogin/mplogin"],{"067f":function(t,n,e){},"437b":function(t,n,e){"use strict";var i=e("067f"),o=e.n(i);o.a},5347:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("5fc1"),o={name:"mplogin",props:{value:{type:Boolean,required:!0}},data:function(){return{avatar:"",nickname:""}},methods:{onChooseAvatar:function(n){var e=this,o=n.detail.avatarUrl;o&&(t.showLoading({title:"正在上传中...",mask:!0}),(0,i.uploadFile)(o).then((function(n){t.hideLoading(),e.avatar=n.url})).catch((function(){t.hideLoading(),e.$toast({title:"上传失败"})})))},handleSubmit:function(t){var n=t.detail.value.nickname,e=this.avatar;return e?n?(this.$emit("update",{avatar:e,nickname:n}),this.showPop=!1,void this.$emit("close")):this.$toast({title:"请输入昵称"}):this.$toast({title:"请添加头像"})},onClose:function(){this.showPop=!1,this.$emit("close")}},computed:{showPop:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}};n.default=o}).call(this,e("df3c")["default"])},ab2a:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return i}));var i={uPopup:function(){return e.e("components/uview-ui/components/u-popup/u-popup").then(e.bind(null,"69ae"))},uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"8127"))},uIcon:function(){return e.e("components/uview-ui/components/u-icon/u-icon").then(e.bind(null,"9e59"))}},o=function(){var t=this.$createElement;this._self._c},u=[]},f9da:function(t,n,e){"use strict";e.r(n);var i=e("ab2a"),o=e("fc89");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("437b");var a=e("828b"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},fc89:function(t,n,e){"use strict";e.r(n);var i=e("5347"),o=e.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/mplogin/mplogin-create-component',
{
'components/mplogin/mplogin-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f9da"))
})
},
[['components/mplogin/mplogin-create-component']]
]);

View File

@ -0,0 +1,8 @@
{
"usingComponents": {
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<view><u-popup bind:input="__e" vue-id="1b6957f4-1" mode="bottom" border-radius="16" safe-area-inset-bottom="{{true}}" maskCloseAble="{{false}}" value="{{showPop}}" data-event-opts="{{[['^input',[['__set_model',['','showPop','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><view class="u-font-xl bold-600">获取您的昵称和头像</view><view class="popup-form"><form data-event-opts="{{[['submit',[['handleSubmit',['$event']]]]]}}" bindsubmit="__e"><view class="u-flex u-row-between avatar u-margin-top-80"><text>头像</text><view class="u-flex u-row-between flex1 u-margin-left-30"><button class="u-flex u-row-between w-full" style="border:none;" hover-class="none" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><block wx:if="{{avatar}}"><u-image vue-id="{{('1b6957f4-2')+','+('1b6957f4-1')}}" src="{{avatar}}" width="100rpx" height="100rpx" shape="circle" bind:__l="__l"></u-image></block><block wx:else><view>点击授权头像</view></block><u-icon vue-id="{{('1b6957f4-3')+','+('1b6957f4-1')}}" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></button></view></view><view class="u-flex u-row-between avatar u-margin-top-60"><text>昵称</text><view class="u-flex u-row-between flex1 u-margin-left-30"><input name="nickname" type="nickname" placeholder="请输入昵称" placeholder-style="color: #000;" value="{{nickname}}"/><u-icon vue-id="{{('1b6957f4-4')+','+('1b6957f4-1')}}" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></view></view><button class="submit-btn bg-primary" form-type="submit">确定</button><view data-event-opts="{{[['tap',[['onClose',['$event']]]]]}}" class="text-default u-text-center close-btn" bindtap="__e">暂不登录</view></form></view></view></u-popup></view>

View File

@ -0,0 +1 @@
.popup-content{padding:40rpx 40rpx 60rpx}.popup-content .submit-btn{margin-top:80rpx;background-color:#254062;padding:6rpx 0;border-radius:100rpx;color:#fff}.popup-content .close-btn{margin-top:20rpx;border:1px solid #254062;padding:20rpx 0;border-radius:100rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-button/u-button"],{"3ef3":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-button",props:{hairLine:{type:Boolean,default:!0},type:{type:String,default:"default"},size:{type:String,default:"default"},shape:{type:String,default:"square"},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},openType:{type:String,default:""},formType:{type:String,default:""},appParameter:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},lang:{type:String,default:"en"},sessionFrom:{type:String,default:""},sendMessageTitle:{type:String,default:""},sendMessagePath:{type:String,default:""},sendMessageImg:{type:String,default:""},showMessageCard:{type:Boolean,default:!1},hoverBgColor:{type:String,default:""},rippleBgColor:{type:String,default:""},ripple:{type:Boolean,default:!1},hoverClass:{type:String,default:""},customStyle:{type:Object,default:function(){return{}}},dataName:{type:String,default:""},throttleTime:{type:[String,Number],default:1e3},hoverStartTime:{type:[String,Number],default:20},hoverStayTime:{type:[String,Number],default:150}},computed:{getHoverClass:function(){if(this.loading||this.disabled||this.ripple||this.hoverClass)return"";var t;return t=this.plain?"u-"+this.type+"-plain-hover":"u-"+this.type+"-hover",t},showHairLineBorder:function(){return["primary","success","error","warning"].indexOf(this.type)>=0&&!this.plain?"":"u-hairline-border"}},data:function(){return{rippleTop:0,rippleLeft:0,fields:{},waveActive:!1}},methods:{click:function(t){var e=this;this.$u.throttle((function(){!0!==e.loading&&!0!==e.disabled&&(e.ripple&&(e.waveActive=!1,e.$nextTick((function(){this.getWaveQuery(t)}))),e.$emit("click",t))}),this.throttleTime)},getWaveQuery:function(t){var e=this;this.getElQuery().then((function(i){var n=i[0];if(n.width&&n.width&&(n.targetWidth=n.height>n.width?n.height:n.width,n.targetWidth)){e.fields=n;var r,a;r=t.touches[0].clientX,a=t.touches[0].clientY,e.rippleTop=a-n.top-n.targetWidth/2,e.rippleLeft=r-n.left-n.targetWidth/2,e.$nextTick((function(){e.waveActive=!0}))}}))},getElQuery:function(){var e=this;return new Promise((function(i){var n="";n=t.createSelectorQuery().in(e),n.select(".u-btn").boundingClientRect(),n.exec((function(t){i(t)}))}))},getphonenumber:function(t){this.$emit("getphonenumber",t)},getuserinfo:function(t){this.$emit("getuserinfo",t)},error:function(t){this.$emit("error",t)},opensetting:function(t){this.$emit("opensetting",t)},launchapp:function(t){this.$emit("launchapp",t)}}};e.default=i}).call(this,i("df3c")["default"])},"52df":function(t,e,i){"use strict";var n=i("54a3"),r=i.n(n);r.a},"54a3":function(t,e,i){},7488:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.customStyle,{overflow:this.ripple?"hidden":"visible"}])),i=Number(this.hoverStartTime),n=Number(this.hoverStayTime);this.$mp.data=Object.assign({},{$root:{s0:e,m0:i,m1:n}})},r=[]},"9c7d":function(t,e,i){"use strict";i.r(e);var n=i("7488"),r=i("ddb6");for(var a in r)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("52df");var u=i("828b"),o=Object(u["a"])(r["default"],n["b"],n["c"],!1,null,"282b06ca",null,!1,n["a"],void 0);e["default"]=o.exports},ddb6:function(t,e,i){"use strict";i.r(e);var n=i("3ef3"),r=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-button/u-button-create-component',
{
'components/uview-ui/components/u-button/u-button-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("9c7d"))
})
},
[['components/uview-ui/components/u-button/u-button-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<button class="{{['u-btn','u-line-1','u-fix-ios-appearance','data-v-282b06ca','u-size-'+size,plain?'u-btn--'+type+'--plain':'',loading?'u-loading':'',shape=='circle'?'u-round-circle':'',hairLine?showHairLineBorder:'u-btn--bold-border','u-btn--'+type,disabled?'u-btn--'+type+'--disabled':'']}}" style="{{$root.s0}}" id="u-wave-btn" hover-start-time="{{$root.m0}}" hover-stay-time="{{$root.m1}}" disabled="{{disabled}}" form-type="{{formType}}" open-type="{{openType}}" app-parameter="{{appParameter}}" hover-stop-propagation="{{hoverStopPropagation}}" send-message-title="{{sendMessageTitle}}" send-message-path="sendMessagePath" lang="{{lang}}" data-name="{{dataName}}" session-from="{{sessionFrom}}" send-message-img="{{sendMessageImg}}" show-message-card="{{showMessageCard}}" hover-class="{{getHoverClass}}" loading="{{loading}}" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]],['getuserinfo',[['getuserinfo',['$event']]]],['error',[['error',['$event']]]],['opensetting',[['opensetting',['$event']]]],['launchapp',[['launchapp',['$event']]]],['tap',[['click',['$event']]]]]}}" bindgetphonenumber="__e" bindgetuserinfo="__e" binderror="__e" bindopensetting="__e" bindlaunchapp="__e" catchtap="__e"><slot></slot><block wx:if="{{ripple}}"><view class="{{['u-wave-ripple','data-v-282b06ca',waveActive?'u-wave-active':'']}}" style="{{'top:'+(rippleTop+'px')+';'+('left:'+(rippleLeft+'px')+';')+('width:'+(fields.targetWidth+'px')+';')+('height:'+(fields.targetWidth+'px')+';')+('background-color:'+(rippleBgColor||'rgba(0, 0, 0, 0.15)')+';')}}"></view></block></button>

View File

@ -0,0 +1 @@
.u-btn.data-v-282b06ca::after{border:none}.u-btn.data-v-282b06ca{position:relative;border:0;display:inline-flex;overflow:visible;line-height:1;display:flex;flex-direction:row;align-items:center;justify-content:center;cursor:pointer;padding:0 40rpx;z-index:1;box-sizing:border-box;transition:all .15s}.u-btn--bold-border.data-v-282b06ca{border:1px solid #fff}.u-btn--default.data-v-282b06ca{color:#606266;border-color:#c0c4cc;background-color:#fff}.u-btn--primary.data-v-282b06ca{color:#fff;border-color:#ff2c3c;background-color:#ff2c3c}.u-btn--success.data-v-282b06ca{color:#fff;border-color:#19be6b;background-color:#19be6b}.u-btn--error.data-v-282b06ca{color:#fff;border-color:#fa3534;background-color:#fa3534}.u-btn--warning.data-v-282b06ca{color:#fff;border-color:#f90;background-color:#f90}.u-btn--default--disabled.data-v-282b06ca{color:#fff;border-color:#e4e7ed;background-color:#fff}.u-btn--primary--disabled.data-v-282b06ca{color:#fff!important;border-color:#a0cfff!important;background-color:#a0cfff!important}.u-btn--success--disabled.data-v-282b06ca{color:#fff!important;border-color:#71d5a1!important;background-color:#71d5a1!important}.u-btn--error--disabled.data-v-282b06ca{color:#fff!important;border-color:#fab6b6!important;background-color:#fab6b6!important}.u-btn--warning--disabled.data-v-282b06ca{color:#fff!important;border-color:#fcbd71!important;background-color:#fcbd71!important}.u-btn--primary--plain.data-v-282b06ca{color:#ff2c3c!important;border-color:#a0cfff!important;background-color:#ecf5ff!important}.u-btn--success--plain.data-v-282b06ca{color:#19be6b!important;border-color:#71d5a1!important;background-color:#dbf1e1!important}.u-btn--error--plain.data-v-282b06ca{color:#fa3534!important;border-color:#fab6b6!important;background-color:#fef0f0!important}.u-btn--warning--plain.data-v-282b06ca{color:#f90!important;border-color:#fcbd71!important;background-color:#fdf6ec!important}.u-hairline-border.data-v-282b06ca:after{content:" ";position:absolute;pointer-events:none;box-sizing:border-box;-webkit-transform-origin:0 0;transform-origin:0 0;left:0;top:0;width:199.8%;height:199.7%;-webkit-transform:scale(.5);transform:scale(.5);border:1px solid currentColor;z-index:1}.u-wave-ripple.data-v-282b06ca{z-index:0;position:absolute;border-radius:100%;background-clip:padding-box;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-transform:scale(0);transform:scale(0);opacity:1;-webkit-transform-origin:center;transform-origin:center}.u-wave-ripple.u-wave-active.data-v-282b06ca{opacity:0;-webkit-transform:scale(2);transform:scale(2);transition:opacity 1s linear,-webkit-transform .4s linear;transition:opacity 1s linear,transform .4s linear;transition:opacity 1s linear,transform .4s linear,-webkit-transform .4s linear}.u-round-circle.data-v-282b06ca{border-radius:100rpx}.u-round-circle.data-v-282b06ca::after{border-radius:100rpx}.u-loading.data-v-282b06ca::after{background-color:hsla(0,0%,100%,.35)}.u-size-default.data-v-282b06ca{font-size:30rpx;height:80rpx;line-height:80rpx}.u-size-medium.data-v-282b06ca{display:inline-flex;width:auto;font-size:26rpx;height:70rpx;line-height:70rpx;padding:0 80rpx}.u-size-mini.data-v-282b06ca{display:inline-flex;width:auto;font-size:22rpx;padding-top:1px;height:50rpx;line-height:50rpx;padding:0 20rpx}.u-primary-plain-hover.data-v-282b06ca{color:#fff!important;background:#2b85e4!important}.u-default-plain-hover.data-v-282b06ca{color:#2b85e4!important;background:#ecf5ff!important}.u-success-plain-hover.data-v-282b06ca{color:#fff!important;background:#18b566!important}.u-warning-plain-hover.data-v-282b06ca{color:#fff!important;background:#f29100!important}.u-error-plain-hover.data-v-282b06ca{color:#fff!important;background:#dd6161!important}.u-info-plain-hover.data-v-282b06ca{color:#fff!important;background:#82848a!important}.u-default-hover.data-v-282b06ca{color:#2b85e4!important;border-color:#2b85e4!important;background-color:#ecf5ff!important}.u-primary-hover.data-v-282b06ca{background:#2b85e4!important;color:#fff}.u-success-hover.data-v-282b06ca{background:#18b566!important;color:#fff}.u-info-hover.data-v-282b06ca{background:#82848a!important;color:#fff}.u-warning-hover.data-v-282b06ca{background:#f29100!important;color:#fff}.u-error-hover.data-v-282b06ca{background:#dd6161!important;color:#fff}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-checkbox/u-checkbox"],{"16fe":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return n}));var n={uIcon:function(){return i.e("components/uview-ui/components/u-icon/u-icon").then(i.bind(null,"9e59"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.checkboxStyle])),i=this.__get_style([this.iconStyle]),n=this.$u.addUnit(this.labelSize);this.$mp.data=Object.assign({},{$root:{s0:e,s1:i,g0:n}})},s=[]},"3b2c":function(t,e,i){"use strict";i.r(e);var n=i("16fe"),a=i("9ce8");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("4d71");var r=i("828b"),u=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"32056034",null,!1,n["a"],void 0);e["default"]=u.exports},"4d71":function(t,e,i){"use strict";var n=i("f2e0"),a=i.n(n);a.a},"9ce8":function(t,e,i){"use strict";i.r(e);var n=i("c501"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},c501:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-checkbox",props:{name:{type:[String,Number],default:""},shape:{type:String,default:""},value:{type:Boolean,default:!1},disabled:{type:[String,Boolean],default:""},labelDisabled:{type:[String,Boolean],default:""},activeColor:{type:String,default:""},iconSize:{type:[String,Number],default:""},labelSize:{type:[String,Number],default:""},size:{type:[String,Number],default:""}},data:function(){return{parentDisabled:!1,newParams:{}}},created:function(){this.parent=this.$u.$parent.call(this,"u-checkbox-group"),this.parent&&this.parent.children.push(this)},computed:{isDisabled:function(){return""!==this.disabled?this.disabled:!!this.parent&&this.parent.disabled},isLabelDisabled:function(){return""!==this.labelDisabled?this.labelDisabled:!!this.parent&&this.parent.labelDisabled},checkboxSize:function(){return this.size?this.size:this.parent?this.parent.size:34},checkboxIconSize:function(){return this.iconSize?this.iconSize:this.parent?this.parent.iconSize:20},elActiveColor:function(){return this.activeColor?this.activeColor:this.parent?this.parent.activeColor:"primary"},elShape:function(){return this.shape?this.shape:this.parent?this.parent.shape:"square"},iconStyle:function(){var t={};return this.elActiveColor&&this.value&&!this.isDisabled&&(t.borderColor=this.elActiveColor,t.backgroundColor=this.elActiveColor),t.width=this.$u.addUnit(this.checkboxSize),t.height=this.$u.addUnit(this.checkboxSize),t},iconColor:function(){return this.value?"#ffffff":"transparent"},iconClass:function(){var t=[];return t.push("u-checkbox__icon-wrap--"+this.elShape),1==this.value&&t.push("u-checkbox__icon-wrap--checked"),this.isDisabled&&t.push("u-checkbox__icon-wrap--disabled"),this.value&&this.isDisabled&&t.push("u-checkbox__icon-wrap--disabled--checked"),t.join(" ")},checkboxStyle:function(){var t={};return this.parent&&this.parent.width&&(t.width=this.parent.width,t.float="left"),this.parent&&this.parent.wrap&&(t.width="100%"),t}},methods:{onClickLabel:function(){this.isLabelDisabled||this.isDisabled||this.setValue()},toggle:function(){this.isDisabled||this.setValue()},emitEvent:function(){var t=this;this.$emit("change",{value:!this.value,name:this.name}),setTimeout((function(){t.parent&&t.parent.emitEvent&&t.parent.emitEvent()}),80)},setValue:function(){var t=0;if(this.parent&&this.parent.children&&this.parent.children.map((function(e){e.value&&t++})),1==this.value)this.emitEvent(),this.$emit("input",!this.value);else{if(this.parent&&t>=this.parent.max)return this.$u.toast("最多可选".concat(this.parent.max,"项"));this.emitEvent(),this.$emit("input",!this.value)}}}};e.default=n},f2e0:function(t,e,i){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-checkbox/u-checkbox-create-component',
{
'components/uview-ui/components/u-checkbox/u-checkbox-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("3b2c"))
})
},
[['components/uview-ui/components/u-checkbox/u-checkbox-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="u-checkbox data-v-32056034" style="{{$root.s0}}"><view data-event-opts="{{[['tap',[['toggle',['$event']]]]]}}" class="{{['u-checkbox__icon-wrap','data-v-32056034',iconClass]}}" style="{{$root.s1}}" bindtap="__e"><u-icon class="u-checkbox__icon-wrap__icon data-v-32056034" vue-id="5dfa9853-1" name="checkbox-mark" size="{{checkboxIconSize}}" color="{{iconColor}}" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['onClickLabel',['$event']]]]]}}" class="u-checkbox__label data-v-32056034" style="{{'font-size:'+($root.g0)+';'}}" bindtap="__e"><slot></slot></view></view>

View File

@ -0,0 +1 @@
.u-checkbox.data-v-32056034{display:inline-flex;align-items:center;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1.8}.u-checkbox__icon-wrap.data-v-32056034{color:#606266;flex:none;display:flex;flex-direction:row;align-items:center;justify-content:center;box-sizing:border-box;width:42rpx;height:42rpx;color:transparent;text-align:center;transition-property:color,border-color,background-color;font-size:20px;border:1px solid #c8c9cc;transition-duration:.2s}.u-checkbox__icon-wrap--circle.data-v-32056034{border-radius:100%}.u-checkbox__icon-wrap--square.data-v-32056034{border-radius:6rpx}.u-checkbox__icon-wrap--checked.data-v-32056034{color:#fff;background-color:#ff2c3c;border-color:#ff2c3c}.u-checkbox__icon-wrap--disabled.data-v-32056034{background-color:#ebedf0;border-color:#c8c9cc}.u-checkbox__icon-wrap--disabled--checked.data-v-32056034{color:#c8c9cc!important}.u-checkbox__label.data-v-32056034{word-wrap:break-word;margin-left:10rpx;margin-right:24rpx;color:#606266;font-size:30rpx}.u-checkbox__label--disabled.data-v-32056034{color:#c8c9cc}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,6 @@
{
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="{{['u-form-item','data-v-99b71022',(elBorderBottom)?'u-border-bottom':'',($root.m0)?'u-form-item__border-bottom--error':'']}}"><view class="u-form-item__body data-v-99b71022" style="{{'flex-direction:'+(elLabelPosition=='left'?'row':'column')+';'}}"><view class="u-form-item--left data-v-99b71022" style="{{'width:'+(uLabelWidth)+';'+('flex:'+('0 0 '+uLabelWidth)+';')+('margin-bottom:'+(elLabelPosition=='left'?0:'10rpx')+';')}}"><block wx:if="{{required||leftIcon||label}}"><view class="u-form-item--left__content data-v-99b71022"><block wx:if="{{required}}"><text class="u-form-item--left__content--required data-v-99b71022">*</text></block><block wx:if="{{leftIcon}}"><view class="u-form-item--left__content__icon data-v-99b71022"><u-icon vue-id="15be292e-1" name="{{leftIcon}}" custom-style="{{leftIconStyle}}" class="data-v-99b71022" bind:__l="__l"></u-icon></view></block><view class="u-form-item--left__content__label data-v-99b71022" style="{{$root.s0}}">{{''+label+''}}</view></view></block></view><view class="u-form-item--right u-flex data-v-99b71022"><view class="u-form-item--right__content data-v-99b71022"><view class="u-form-item--right__content__slot data-v-99b71022"><slot></slot></view><block wx:if="{{$slots.right||rightIcon}}"><view class="u-form-item--right__content__icon u-flex data-v-99b71022"><block wx:if="{{rightIcon}}"><u-icon vue-id="15be292e-2" custom-style="{{rightIconStyle}}" name="{{rightIcon}}" class="data-v-99b71022" bind:__l="__l"></u-icon></block><slot name="right"></slot></view></block></view></view></view><block wx:if="{{$root.m1}}"><view class="u-form-item__message data-v-99b71022" style="{{'padding-left:'+(elLabelPosition=='left'?$root.g0:'0')+';'}}">{{validateMessage}}</view></block></view>

View File

@ -0,0 +1 @@
.u-form-item.data-v-99b71022{display:flex;flex-direction:row;padding:20rpx 0;font-size:28rpx;color:#303133;box-sizing:border-box;line-height:70rpx;flex-direction:column}.u-form-item__border-bottom--error.data-v-99b71022:after{border-color:#fa3534}.u-form-item__body.data-v-99b71022{display:flex;flex-direction:row}.u-form-item--left.data-v-99b71022{display:flex;flex-direction:row;align-items:center}.u-form-item--left__content.data-v-99b71022{position:relative;display:flex;flex-direction:row;align-items:center;padding-right:10rpx;flex:1}.u-form-item--left__content__icon.data-v-99b71022{margin-right:8rpx}.u-form-item--left__content--required.data-v-99b71022{position:absolute;left:-16rpx;vertical-align:middle;color:#fa3534;padding-top:6rpx}.u-form-item--left__content__label.data-v-99b71022{display:flex;flex-direction:row;align-items:center;flex:1}.u-form-item--right.data-v-99b71022{flex:1}.u-form-item--right__content.data-v-99b71022{display:flex;flex-direction:row;align-items:center;flex:1}.u-form-item--right__content__slot.data-v-99b71022{flex:1}.u-form-item--right__content__icon.data-v-99b71022{margin-left:10rpx;color:#c0c4cc;font-size:30rpx}.u-form-item__message.data-v-99b71022{font-size:24rpx;line-height:24rpx;color:#fa3534;margin-top:12rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-form/u-form"],{"1cde":function(t,e,n){},"2a51":function(t,e,n){"use strict";n.r(e);var u=n("81c9"),r=n("c260");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("d18f");var o=n("828b"),f=Object(o["a"])(r["default"],u["b"],u["c"],!1,null,"33b744f0",null,!1,u["a"],void 0);e["default"]=f.exports},"32bb":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"u-form",props:{model:{type:Object,default:function(){return{}}},errorType:{type:Array,default:function(){return["message","toast"]}},borderBottom:{type:Boolean,default:!0},labelPosition:{type:String,default:"left"},labelWidth:{type:[String,Number],default:90},labelAlign:{type:String,default:"left"},labelStyle:{type:Object,default:function(){return{}}}},provide:function(){return{uForm:this}},data:function(){return{rules:{}}},created:function(){this.fields=[]},methods:{setRules:function(t){this.rules=t},resetFields:function(){this.fields.map((function(t){t.resetField()}))},validate:function(t){var e=this;return new Promise((function(n){var u=!0,r=0,i=[];e.fields.map((function(o){o.validation("",(function(o){o&&(u=!1,i.push(o)),++r===e.fields.length&&(n(u),-1===e.errorType.indexOf("none")&&e.errorType.indexOf("toast")>=0&&i.length&&e.$u.toast(i[0]),"function"==typeof t&&t(u))}))}))}))}}};e.default=u},"81c9":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},r=[]},c260:function(t,e,n){"use strict";n.r(e);var u=n("32bb"),r=n.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(i);e["default"]=r.a},d18f:function(t,e,n){"use strict";var u=n("1cde"),r=n.n(u);r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-form/u-form-create-component',
{
'components/uview-ui/components/u-form/u-form-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("2a51"))
})
},
[['components/uview-ui/components/u-form/u-form-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="u-form data-v-33b744f0"><slot></slot></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-icon/u-icon"],{"756c":function(t,i,e){"use strict";var n=e("c200"),o=e.n(n);o.a},"7f7b":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=(t._self._c,t.__get_style([t.customStyle])),n=t.isImg?t.__get_style([t.imgStyle]):null,o=t.isImg?null:t.__get_style([t.iconStyle]),u=!t.isImg&&t.showDecimalIcon?t.__get_style([t.decimalIconStyle]):null,l=""!==t.label?t.$u.addUnit(t.labelSize):null,s=""!==t.label&&"right"==t.labelPos?t.$u.addUnit(t.marginLeft):null,r=""!==t.label&&"bottom"==t.labelPos?t.$u.addUnit(t.marginTop):null,c=""!==t.label&&"left"==t.labelPos?t.$u.addUnit(t.marginRight):null,a=""!==t.label&&"top"==t.labelPos?t.$u.addUnit(t.marginBottom):null;t.$mp.data=Object.assign({},{$root:{s0:e,s1:n,s2:o,s3:u,g0:l,g1:s,g2:r,g3:c,g4:a}})},o=[]},"9d9b":function(t,i,e){"use strict";e.r(i);var n=e("bacf"),o=e.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(u);i["default"]=o.a},"9e59":function(t,i,e){"use strict";e.r(i);var n=e("7f7b"),o=e("9d9b");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(u);e("756c");var l=e("828b"),s=Object(l["a"])(o["default"],n["b"],n["c"],!1,null,"251bfbaa",null,!1,n["a"],void 0);i["default"]=s.exports},bacf:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={name:"u-icon",props:{name:{type:String,default:""},color:{type:String,default:""},size:{type:[Number,String],default:"inherit"},bold:{type:Boolean,default:!1},index:{type:[Number,String],default:""},hoverClass:{type:String,default:""},customPrefix:{type:String,default:"uicon"},label:{type:[String,Number],default:""},labelPos:{type:String,default:"right"},labelSize:{type:[String,Number],default:"28"},labelColor:{type:String,default:"#606266"},marginLeft:{type:[String,Number],default:"6"},marginTop:{type:[String,Number],default:"6"},marginRight:{type:[String,Number],default:"6"},marginBottom:{type:[String,Number],default:"6"},imgMode:{type:String,default:"widthFix"},customStyle:{type:Object,default:function(){return{}}},width:{type:[String,Number],default:""},height:{type:[String,Number],default:""},top:{type:[String,Number],default:0},showDecimalIcon:{type:Boolean,default:!1},inactiveColor:{type:String,default:"#ececec"},percent:{type:[Number,String],default:"50"}},computed:{customClass:function(){var t=[];return t.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?t.push("u-iconfont"):t.push(this.customPrefix),this.showDecimalIcon&&this.inactiveColor&&this.$u.config.type.includes(this.inactiveColor)?t.push("u-icon__icon--"+this.inactiveColor):this.color&&this.$u.config.type.includes(this.color)&&t.push("u-icon__icon--"+this.color),t},iconStyle:function(){var t={};return t={fontSize:"inherit"==this.size?"inherit":this.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$u.addUnit(this.top)},this.showDecimalIcon&&this.inactiveColor&&!this.$u.config.type.includes(this.inactiveColor)?t.color=this.inactiveColor:this.color&&!this.$u.config.type.includes(this.color)&&(t.color=this.color),t},isImg:function(){return-1!==this.name.indexOf("/")},imgStyle:function(){var t={};return t.width=this.width?this.$u.addUnit(this.width):this.$u.addUnit(this.size),t.height=this.height?this.$u.addUnit(this.height):this.$u.addUnit(this.size),t},decimalIconStyle:function(){var t={};return t={fontSize:"inherit"==this.size?"inherit":this.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:this.$u.addUnit(this.top),width:this.percent+"%"},this.color&&!this.$u.config.type.includes(this.color)&&(t.color=this.color),t},decimalIconClass:function(){var t=[];return t.push(this.customPrefix+"-"+this.name),"uicon"==this.customPrefix?t.push("u-iconfont"):t.push(this.customPrefix),this.color&&this.$u.config.type.includes(this.color)?t.push("u-icon__icon--"+this.color):t.push("u-icon__icon--primary"),t}},methods:{click:function(){this.$emit("click",this.index)},touchstart:function(){this.$emit("touchstart",this.index)}}};i.default=n},c200:function(t,i,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-icon/u-icon-create-component',
{
'components/uview-ui/components/u-icon/u-icon-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("9e59"))
})
},
[['components/uview-ui/components/u-icon/u-icon-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="{{['u-icon','data-v-251bfbaa','u-icon--'+labelPos]}}" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{isImg}}"><image class="u-icon__img data-v-251bfbaa" style="{{$root.s1}}" src="{{name}}" mode="{{imgMode}}"></image></block><block wx:else><text class="{{['u-icon__icon','data-v-251bfbaa',customClass]}}" style="{{$root.s2}}" hover-class="{{hoverClass}}" data-event-opts="{{[['touchstart',[['touchstart',['$event']]]]]}}" bindtouchstart="__e"><block wx:if="{{showDecimalIcon}}"><text class="{{['u-icon__decimal','data-v-251bfbaa',decimalIconClass]}}" style="{{$root.s3}}" hover-class="{{hoverClass}}"></text></block></text></block><block wx:if="{{label!==''}}"><text class="u-icon__label data-v-251bfbaa" style="{{'color:'+(labelColor)+';'+('font-size:'+($root.g0)+';')+('margin-left:'+(labelPos=='right'?$root.g1:0)+';')+('margin-top:'+(labelPos=='bottom'?$root.g2:0)+';')+('margin-right:'+(labelPos=='left'?$root.g3:0)+';')+('margin-bottom:'+(labelPos=='top'?$root.g4:0)+';')}}">{{label+''}}</text></block></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-image/u-image"],{"2ea6":function(t,e,i){},3127:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return r}));var r={uIcon:function(){return i.e("components/uview-ui/components/u-icon/u-icon").then(i.bind(null,"9e59"))}},n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.__get_style([t.wrapStyle,t.backgroundStyle])),r=t.isError||"circle"==t.shape?null:t.$u.addUnit(t.borderRadius),n=t.showLoading&&t.loading&&"circle"!=t.shape?t.$u.addUnit(t.borderRadius):null,o=t.showError&&t.isError&&!t.loading&&"circle"!=t.shape?t.$u.addUnit(t.borderRadius):null;t.$mp.data=Object.assign({},{$root:{s0:i,g0:r,g1:n,g2:o}})},o=[]},7539:function(t,e,i){"use strict";var r=i("2ea6"),n=i.n(r);n.a},8127:function(t,e,i){"use strict";i.r(e);var r=i("3127"),n=i("eff9");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7539");var a=i("828b"),u=Object(a["a"])(n["default"],r["b"],r["c"],!1,null,"37cccd57",null,!1,r["a"],void 0);e["default"]=u.exports},b302:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"u-image",props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:100},bgColor:{type:String,default:"#f3f4f6"}},data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler:function(t){t?this.isError=!1:(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),t.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(t.opacity=this.opacity,t.transition="opacity ".concat(Number(this.durationTime)/1e3,"s ease-in-out")),t}},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(){var t=this;if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout((function(){t.durationTime=t.duration,t.opacity=1,setTimeout((function(){t.removeBgColor()}),t.durationTime)}),50)},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=r},eff9:function(t,e,i){"use strict";i.r(e);var r=i("b302"),n=i.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);e["default"]=n.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-image/u-image-create-component',
{
'components/uview-ui/components/u-image/u-image-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("8127"))
})
},
[['components/uview-ui/components/u-image/u-image-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="u-image data-v-37cccd57" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{!isError}}"><image class="u-image__image data-v-37cccd57" style="{{'border-radius:'+(shape=='circle'?'50%':$root.g0)+';'}}" src="{{src}}" mode="{{mode}}" lazy-load="{{lazyLoad}}" data-event-opts="{{[['error',[['onErrorHandler',['$event']]]],['load',[['onLoadHandler',['$event']]]]]}}" binderror="__e" bindload="__e"></image></block><block wx:if="{{showLoading&&loading}}"><view class="u-image__loading data-v-37cccd57" style="{{'border-radius:'+(shape=='circle'?'50%':$root.g1)+';'+('background-color:'+(this.bgColor)+';')}}"><block wx:if="{{$slots.loading}}"><slot name="loading"></slot></block><block wx:else><u-icon vue-id="048c262a-1" name="{{loadingIcon}}" width="{{width}}" height="{{height}}" class="data-v-37cccd57" bind:__l="__l"></u-icon></block></view></block><block wx:if="{{showError&&isError&&!loading}}"><view class="u-image__error data-v-37cccd57" style="{{'border-radius:'+(shape=='circle'?'50%':$root.g2)+';'}}"><block wx:if="{{$slots.error}}"><slot name="error"></slot></block><block wx:else><u-icon vue-id="048c262a-2" name="{{errorIcon}}" width="{{width}}" height="{{height}}" class="data-v-37cccd57" bind:__l="__l"></u-icon></block></view></block></view>

View File

@ -0,0 +1 @@
.u-image.data-v-37cccd57{position:relative;transition:opacity .5s ease-in-out}.u-image__image.data-v-37cccd57{width:100%;height:100%}.u-image__loading.data-v-37cccd57, .u-image__error.data-v-37cccd57{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909399;font-size:46rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-input/u-input"],{"0fa1":function(t,e,n){"use strict";n.r(e);var i=n("c3f4"),u=n("a5d4");for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(o);n("5633");var a=n("828b"),r=Object(a["a"])(u["default"],i["b"],i["c"],!1,null,"03b23d54",null,!1,i["a"],void 0);e["default"]=r.exports},5633:function(t,e,n){"use strict";var i=n("861a"),u=n.n(i);u.a},"861a":function(t,e,n){},"9d5e":function(t,e,n){"use strict";var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i(n("4f27")),o={name:"u-input",mixins:[u.default],props:{value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:"请输入内容"},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},placeholderStyle:{type:String,default:"color: #c0c4cc;"},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:Boolean,default:!0},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0}},data:function(){return{defaultValue:this.value,inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:""}},watch:{value:function(t,e){this.defaultValue=t,t!=e&&"select"==this.type&&this.handleInput({detail:{value:t}})}},computed:{inputMaxlength:function(){return Number(this.maxlength)},getStyle:function(){var t={};return t.minHeight=this.height?this.height+"rpx":"textarea"==this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",t=Object.assign(t,this.customStyle),t},getCursorSpacing:function(){return Number(this.cursorSpacing)},uSelectionStart:function(){return String(this.selectionStart)},uSelectionEnd:function(){return String(this.selectionEnd)}},created:function(){this.$on("on-form-item-error",this.onFormItemError)},methods:{handleInput:function(t){var e=this,n=t.detail.value;this.trim&&(n=this.$u.trim(n)),this.$emit("input",n),this.defaultValue=n,setTimeout((function(){e.dispatch("u-form-item","on-form-change",n)}),40)},handleBlur:function(t){var e=this;setTimeout((function(){e.focused=!1}),100),this.$emit("blur",t.detail.value),setTimeout((function(){e.dispatch("u-form-item","on-form-blur",t.detail.value)}),40)},onFormItemError:function(t){this.validateState=t},onFocus:function(t){this.focused=!0,this.$emit("focus")},onConfirm:function(t){this.$emit("confirm",t.detail.value)},onClear:function(t){this.$emit("input","")},inputClick:function(){this.$emit("click")}}};e.default=o},a5d4:function(t,e,n){"use strict";n.r(e);var i=n("9d5e"),u=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=u.a},c3f4:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"9e59"))}},u=function(){var t=this,e=t.$createElement,n=(t._self._c,"textarea"==t.type?t.__get_style([t.getStyle]):null),i="textarea"!=t.type?t.__get_style([t.getStyle]):null;t._isMounted||(t.e0=function(e){t.showPassword=!t.showPassword}),t.$mp.data=Object.assign({},{$root:{s0:n,s1:i}})},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-input/u-input-create-component',
{
'components/uview-ui/components/u-input/u-input-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("0fa1"))
})
},
[['components/uview-ui/components/u-input/u-input-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['inputClick',['$event']]]]]}}" class="{{['u-input','data-v-03b23d54',(border)?'u-input--border':'',(validateState)?'u-input--error':'']}}" style="{{'padding:'+('0 '+(border?20:0)+'rpx')+';'+('border-color:'+(borderColor)+';')+('text-align:'+(inputAlign)+';')}}" catchtap="__e"><block wx:if="{{type=='textarea'}}"><textarea class="u-input__input u-input__textarea data-v-03b23d54" style="{{$root.s0}}" placeholder="{{placeholder}}" placeholderStyle="{{placeholderStyle}}" disabled="{{disabled}}" maxlength="{{inputMaxlength}}" fixed="{{fixed}}" focus="{{focus}}" autoHeight="{{autoHeight}}" selection-end="{{uSelectionEnd}}" selection-start="{{uSelectionStart}}" cursor-spacing="{{getCursorSpacing}}" show-confirm-bar="{{showConfirmbar}}" data-event-opts="{{[['input',[['handleInput',['$event']]]],['blur',[['handleBlur',['$event']]]],['focus',[['onFocus',['$event']]]],['confirm',[['onConfirm',['$event']]]]]}}" value="{{defaultValue}}" bindinput="__e" bindblur="__e" bindfocus="__e" bindconfirm="__e"></textarea></block><block wx:else><input class="u-input__input data-v-03b23d54" style="{{$root.s1}}" type="{{type=='password'?'text':type}}" password="{{type=='password'&&!showPassword}}" placeholder="{{placeholder}}" placeholderStyle="{{placeholderStyle}}" disabled="{{disabled||type==='select'}}" maxlength="{{inputMaxlength}}" focus="{{focus}}" confirmType="{{confirmType}}" cursor-spacing="{{getCursorSpacing}}" selection-end="{{uSelectionEnd}}" selection-start="{{uSelectionStart}}" show-confirm-bar="{{showConfirmbar}}" data-event-opts="{{[['focus',[['onFocus',['$event']]]],['blur',[['handleBlur',['$event']]]],['input',[['handleInput',['$event']]]],['confirm',[['onConfirm',['$event']]]]]}}" value="{{defaultValue}}" bindfocus="__e" bindblur="__e" bindinput="__e" bindconfirm="__e"/></block><view class="u-input__right-icon u-flex data-v-03b23d54"><block wx:if="{{clearable&&value!=''&&focused}}"><view data-event-opts="{{[['tap',[['onClear',['$event']]]]]}}" class="u-input__right-icon__clear u-input__right-icon__item data-v-03b23d54" bindtap="__e"><u-icon vue-id="549469cd-1" size="32" name="close-circle-fill" color="#c0c4cc" class="data-v-03b23d54" bind:__l="__l"></u-icon></view></block><block wx:if="{{passwordIcon&&type=='password'}}"><view class="u-input__right-icon__clear u-input__right-icon__item data-v-03b23d54"><u-icon vue-id="549469cd-2" size="32" name="{{!showPassword?'eye':'eye-fill'}}" color="#c0c4cc" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" class="data-v-03b23d54" bind:__l="__l"></u-icon></view></block><block wx:if="{{type=='select'}}"><view class="{{['u-input__right-icon--select','u-input__right-icon__item','data-v-03b23d54',(selectOpen)?'u-input__right-icon--select--reverse':'']}}"><u-icon vue-id="549469cd-3" name="arrow-down-fill" size="26" color="#c0c4cc" class="data-v-03b23d54" bind:__l="__l"></u-icon></view></block></view></view>

View File

@ -0,0 +1 @@
.u-input.data-v-03b23d54{position:relative;flex:1;display:flex;flex-direction:row}.u-input__input.data-v-03b23d54{font-size:28rpx;color:#303133;flex:1}.u-input__textarea.data-v-03b23d54{width:auto;font-size:28rpx;color:#303133;padding:10rpx 0;line-height:normal;flex:1}.u-input--border.data-v-03b23d54{border-radius:6rpx;border-radius:4px;border:1px solid #dcdfe6}.u-input--error.data-v-03b23d54{border-color:#fa3534!important}.u-input__right-icon__item.data-v-03b23d54{margin-left:10rpx}.u-input__right-icon--select.data-v-03b23d54{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.u-input__right-icon--select--reverse.data-v-03b23d54{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-mask/u-mask"],{"0804":function(t,e,n){"use strict";n.r(e);var o=n("d909"),r=n("de45");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("c181");var a=n("828b"),c=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"37a5c257",null,!1,o["a"],void 0);e["default"]=c.exports},"15c2":function(t,e,n){"use strict";var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("7ca3"));function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c={name:"u-mask",props:{show:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},customStyle:{type:Object,default:function(){return{}}},zoom:{type:Boolean,default:!0},duration:{type:[Number,String],default:300},maskClickAble:{type:Boolean,default:!0}},data:function(){return{zoomStyle:{transform:""},scale:"scale(1.2, 1.2)"}},watch:{show:function(t){t&&this.zoom?this.zoomStyle.transform="scale(1, 1)":!t&&this.zoom&&(this.zoomStyle.transform=this.scale)}},computed:{maskStyle:function(){var t={backgroundColor:"rgba(0, 0, 0, 0.6)"};return this.show?t.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.mask:t.zIndex=-1,t.transition="all ".concat(this.duration/1e3,"s ease-in-out"),Object.keys(this.customStyle).length&&(t=a(a({},t),this.customStyle)),t}},methods:{click:function(){this.maskClickAble&&this.$emit("click")}}};e.default=c},"43b8":function(t,e,n){},c181:function(t,e,n){"use strict";var o=n("43b8"),r=n.n(o);r.a},d909:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.maskStyle,this.zoomStyle]));this._isMounted||(this.e0=function(t){t.stopPropagation(),t.preventDefault()}),this.$mp.data=Object.assign({},{$root:{s0:e}})},r=[]},de45:function(t,e,n){"use strict";n.r(e);var o=n("15c2"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-mask/u-mask-create-component',
{
'components/uview-ui/components/u-mask/u-mask-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("0804"))
})
},
[['components/uview-ui/components/u-mask/u-mask-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="{{['u-mask','data-v-37a5c257',(zoom)?'u-mask-zoom':'',(show)?'u-mask-show':'']}}" style="{{$root.s0}}" hover-stop-propagation="{{true}}" data-event-opts="{{[['tap',[['click',['$event']]]],['touchmove',[['e0',['$event']]]]]}}" bindtap="__e" catchtouchmove="__e"><slot></slot></view>

View File

@ -0,0 +1 @@
.u-mask.data-v-37a5c257{position:fixed;top:0;left:0;right:0;bottom:0;opacity:0;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.u-mask-show.data-v-37a5c257{opacity:1}.u-mask-zoom.data-v-37a5c257{-webkit-transform:scale(1.2);transform:scale(1.2)}

View File

@ -0,0 +1,22 @@
var inline = {
abbr: 1,
b: 1,
big: 1,
code: 1,
del: 1,
em: 1,
i: 1,
ins: 1,
label: 1,
q: 1,
small: 1,
span: 1,
strong: 1,
sub: 1,
sup: 1
}
module.exports = {
use: function(item) {
return !item.c && !inline[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1
}
}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-parse/libs/trees"],{2700:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},s=[]},"9d80":function(t,e,i){"use strict";i.r(e);var r=i("f985"),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);e["default"]=s.a},b8de:function(t,e,i){"use strict";var r=i("ba6e"),s=i.n(r);s.a},ba6e:function(t,e,i){},dd7b:function(t,e,i){"use strict";i.r(e);var r=i("2700"),s=i("9d80");for(var n in s)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(n);i("b8de");var a=i("828b"),o=i("fd95"),d=Object(a["a"])(s["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);"function"===typeof o["a"]&&Object(o["a"])(d),e["default"]=d.exports},f985:function(t,e,i){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t.Parser={};var s=i("8533").errorImg,n={components:{trees:function(){Promise.resolve().then(function(){return resolve(i("dd7b"))}.bind(null,i)).catch(i.oe)}},name:"trees",data:function(){return{ctrl:[],placeholder:'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="225"/>',errorImg:s,loadVideo:"undefined"==typeof plus,c:"",s:""}},props:{nodes:Array,lazyLoad:Boolean,loading:String},mounted:function(){for(this.top=this.$parent;"parser"!=this.top.$options.name;this.top=this.top.$parent);this.init()},methods:{init:function(){for(var t,e=this.nodes.length;t=this.nodes[--e];)if("img"==t.name)this.top.imgList.setItem(t.attrs.i,t.attrs["original-src"]||t.attrs.src);else if("video"==t.name||"audio"==t.name){var i;"video"==t.name?i=r.createVideoContext(t.attrs.id,this):this.$refs[t.attrs.id]&&(i=this.$refs[t.attrs.id][0]),i&&(i.id=t.attrs.id,this.top.videoContexts.push(i))}},play:function(t){var e=this.top.videoContexts;if(e.length>1&&this.top.autopause)for(var i=e.length;i--;)e[i].id!=t.currentTarget.dataset.id&&e[i].pause()},imgtap:function(e){var i=e.currentTarget.dataset.attrs;if(!i.ignore){var s=!0,n={id:e.target.id,src:i.src,ignore:function(){return s=!1}};if(t.Parser.onImgtap&&t.Parser.onImgtap(n),this.top.$emit("imgtap",n),s){var a=this.top.imgList,o=a[i.i]?parseInt(i.i):(a=[i.src],0);r.previewImage({current:o,urls:a})}}},loadImg:function(t){var e=t.currentTarget.dataset.i;this.lazyLoad&&!this.ctrl[e]?this.$set(this.ctrl,e,1):this.loading&&2!=this.ctrl[e]&&this.$set(this.ctrl,e,2)},linkpress:function(e){var i=!0,s=e.currentTarget.dataset.attrs;if(s.ignore=function(){return i=!1},t.Parser.onLinkpress&&t.Parser.onLinkpress(s),this.top.$emit("linkpress",s),i){if(s["app-id"])return r.navigateToMiniProgram({appId:s["app-id"],path:s.path});s.href&&("#"==s.href[0]?this.top.useAnchor&&this.top.navigateTo({id:s.href.substring(1)}):0==s.href.indexOf("http")||0==s.href.indexOf("//")?r.setClipboardData({data:s.href,success:function(){return r.showToast({title:"链接已复制"})}}):r.navigateTo({url:s.href,fail:function(){r.switchTab({url:s.href})}}))}},error:function(t){var e=t.currentTarget,i=e.dataset.source,r=e.dataset.i;if("video"==i||"audio"==i){var n=this.ctrl[r]?this.ctrl[r].i+1:1;n<this.nodes[r].attrs.source.length&&this.$set(this.ctrl,r,n),t.detail.__args__&&(t.detail=t.detail.__args__[0])}else s&&"img"==i&&(this.top.imgList.setItem(e.dataset.index,s),this.$set(this.ctrl,r,3));this.top&&this.top.$emit("error",{source:i,target:e,errMsg:t.detail.errMsg})},_loadVideo:function(t){this.$set(this.ctrl,t.target.dataset.i,0)}}};e.default=n}).call(this,i("0ee4"),i("df3c")["default"])},fd95:function(t,e,i){"use strict";e["a"]=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])}}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-parse/libs/trees-create-component',
{
'components/uview-ui/components/u-parse/libs/trees-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("dd7b"))
})
},
[['components/uview-ui/components/u-parse/libs/trees-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"trees": "/components/uview-ui/components/u-parse/libs/trees"
}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,17 @@
._a{display:inline;padding:1.5px 0 1.5px 0;color:#366092;word-break:break-all}._hover{text-decoration:underline;opacity:.7}._img{display:inline-block;max-width:100%;overflow:hidden}:host{display:inline}.interlayer{display:inherit;flex-direction:inherit;flex-wrap:inherit;align-content:inherit;align-items:inherit;justify-content:inherit;width:100%;white-space:inherit}._b,
._strong{font-weight:700}._blockquote,
._div,
._p,
._ol,
._ul,
._li{display:block}._code{font-family:monospace}._del{text-decoration:line-through}._em,
._i{font-style:italic}._h1{font-size:2em}._h2{font-size:1.5em}._h3{font-size:1.17em}._h5{font-size:.83em}._h6{font-size:.67em}._h1,
._h2,
._h3,
._h4,
._h5,
._h6{display:block;font-weight:700}._image{display:block;width:100%;height:360px;margin-top:-360px;opacity:0}._ins{text-decoration:underline}._li{flex:1;width:0}._ol-bef{width:36px;margin-right:5px;text-align:right}._ul-bef{display:block;margin:0 12px 0 23px;line-height:normal}._ol-bef,
._ul-bef{flex:none;-webkit-user-select:none;user-select:none}._ul-p1{display:inline-block;width:.3em;height:.3em;overflow:hidden;line-height:.3em}._ul-p2{display:inline-block;width:.23em;height:.23em;border:.05em solid #000;border-radius:50%}._q::before{content:'"'}._q::after{content:'"'}._sub{font-size:smaller;vertical-align:sub}._sup{font-size:smaller;vertical-align:super}.__bdo,
.__bdi,
.__ruby,
.__rt{display:inline-block}._video{position:relative;display:inline-block;width:300px;height:225px;background-color:#000}._video::after{position:absolute;top:50%;left:50%;margin:-15px 0 0 -15px;content:"";border-color:transparent transparent transparent #fff;border-style:solid;border-width:15px 0 15px 30px}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"trees": "/components/uview-ui/components/u-parse/libs/trees"
}
}

View File

@ -0,0 +1 @@
<view><block wx:if="{{!$root.g0}}"><slot></slot></block><view style="{{(showAm+(selectable?';user-select:text;-webkit-user-select:text':''))}}" id="_top"><trees vue-id="3b75df8a-1" nodes="{{nodes}}" lazyLoad="{{lazyLoad}}" loading="{{loadingImg}}" bind:__l="__l"></trees></view></view>

View File

@ -0,0 +1 @@
@-webkit-keyframes _show{0%{opacity:0}100%{opacity:1}}@keyframes _show{0%{opacity:0}100%{opacity:1}}:host{display:block;overflow:auto;-webkit-overflow-scrolling:touch}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-popup/u-popup"],{"69ae":function(t,e,n){"use strict";n.r(e);var i=n("a25d"),o=n("f7a5");for(var s in o)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(s);n("c8ba");var u=n("828b"),a=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"cc555dd6",null,!1,i["a"],void 0);e["default"]=a.exports},"9af0":function(t,e,n){},a25d:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uMask:function(){return n.e("components/uview-ui/components/u-mask/u-mask").then(n.bind(null,"0804"))},uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"9e59"))}},o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.visibleSync?t.__get_style([t.customStyle,t.style]):null),i=t.visibleSync&&"center"==t.mode?t.__get_style([t.customStyle,t.centerStyle]):null;t.$mp.data=Object.assign({},{$root:{s0:n,s1:i}})},s=[]},b011:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-popup",props:{show:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},value:{type:Boolean,default:!1},popup:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:""},closeable:{type:Boolean,default:!1},closeIcon:{type:String,default:"close"},closeIconPos:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#909399"},closeIconSize:{type:[String,Number],default:"30"},width:{type:String,default:""},height:{type:String,default:""},negativeTop:{type:[String,Number],default:0},maskCustomStyle:{type:Object,default:function(){return{}}},duration:{type:[String,Number],default:250}},data:function(){return{visibleSync:!1,showDrawer:!1,timer:null,closeFromInner:!1}},computed:{style:function(){var t={};if("left"==this.mode||"right"==this.mode?t={width:this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"==this.mode?"-100%":"100%",",0px,0px)")}:"top"!=this.mode&&"bottom"!=this.mode||(t={width:"100%",height:this.height?this.getUnitValue(this.height):this.getUnitValue(this.length),transform:"translate3D(0px,".concat("top"==this.mode?"-100%":"100%",",0px)")}),t.zIndex=this.uZindex,this.borderRadius){switch(this.mode){case"left":t.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":t.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":t.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":t.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break;default:}t.overflow="hidden"}return this.duration&&(t.transition="all ".concat(this.duration/1e3,"s linear")),t},centerStyle:function(){var t={};return t.width=this.width?this.getUnitValue(this.width):this.getUnitValue(this.length),t.height=this.height?this.getUnitValue(this.height):"auto",t.zIndex=this.uZindex,t.marginTop="-".concat(this.$u.addUnit(this.negativeTop)),this.borderRadius&&(t.borderRadius="".concat(this.borderRadius,"rpx"),t.overflow="hidden"),t},uZindex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{value:function(t){t?this.open():this.closeFromInner||this.close(),this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{getUnitValue:function(t){return/(%|px|rpx|auto)$/.test(t)?t:t+"rpx"},maskClick:function(){this.close()},close:function(){this.closeFromInner=!0,this.change("showDrawer","visibleSync",!1)},modeCenterClose:function(t){"center"==t&&this.maskCloseAble&&this.close()},open:function(){this.change("visibleSync","showDrawer",!0)},change:function(t,e,n){var i=this;1==this.popup&&this.$emit("input",n),this[t]=n,this.timer=n?setTimeout((function(){i[e]=n,i.$emit(n?"open":"close")}),50):setTimeout((function(){i[e]=n,i.$emit(n?"open":"close")}),this.duration)}}};e.default=i},c8ba:function(t,e,n){"use strict";var i=n("9af0"),o=n.n(i);o.a},f7a5:function(t,e,n){"use strict";n.r(e);var i=n("b011"),o=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-popup/u-popup-create-component',
{
'components/uview-ui/components/u-popup/u-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("69ae"))
})
},
[['components/uview-ui/components/u-popup/u-popup-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"usingComponents": {
"u-mask": "/components/uview-ui/components/u-mask/u-mask",
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
},
"component": true
}

View File

@ -0,0 +1 @@
<block wx:if="{{visibleSync}}"><view class="u-drawer data-v-cc555dd6" style="{{'z-index:'+(uZindex-1)+';'}}" hover-stop-propagation="{{true}}"><u-mask vue-id="8d9116ee-1" duration="{{duration}}" custom-style="{{maskCustomStyle}}" maskClickAble="{{maskCloseAble}}" z-index="{{uZindex-2}}" show="{{showDrawer&&mask}}" data-event-opts="{{[['^click',[['maskClick']]]]}}" bind:click="__e" class="data-v-cc555dd6" bind:__l="__l"></u-mask><view data-event-opts="{{[['tap',[['modeCenterClose',['$0'],['mode']],['',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="{{['u-drawer-content','data-v-cc555dd6',safeAreaInsetBottom?'safe-area-inset-bottom':'','u-drawer-'+mode,showDrawer?'u-drawer-content-visible':'',zoom&&mode=='center'?'u-animation-zoom':'']}}" style="{{$root.s0}}" catchtap="__e" catchtouchmove="__e"><block wx:if="{{mode=='center'}}"><view data-event-opts="{{[['tap',[['',['$event']]]],['touchmove',[['',['$event']]]]]}}" class="u-mode-center-box data-v-cc555dd6" style="{{$root.s1}}" catchtap="__e" catchtouchmove="__e"><block wx:if="{{closeable}}"><u-icon class="{{['u-close','data-v-cc555dd6','u-close--'+closeIconPos]}}" vue-id="8d9116ee-2" name="{{closeIcon}}" color="{{closeIconColor}}" size="{{closeIconSize}}" data-event-opts="{{[['^click',[['close']]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block><scroll-view class="u-drawer__scroll-view data-v-cc555dd6" scroll-y="true"><slot></slot></scroll-view></view></block><block wx:else><scroll-view class="u-drawer__scroll-view data-v-cc555dd6" scroll-y="true"><slot></slot></scroll-view></block><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="{{['u-close','data-v-cc555dd6','u-close--'+closeIconPos]}}" bindtap="__e"><block wx:if="{{mode!='center'&&closeable}}"><u-icon vue-id="8d9116ee-3" name="{{closeIcon}}" color="{{closeIconColor}}" size="{{closeIconSize}}" class="data-v-cc555dd6" bind:__l="__l"></u-icon></block></view></view></view></block>

View File

@ -0,0 +1 @@
.u-drawer.data-v-cc555dd6{display:block;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden}.u-drawer-content.data-v-cc555dd6{display:block;position:absolute;z-index:888;transition:all .25s linear}.u-drawer__scroll-view.data-v-cc555dd6{width:100%;height:100%}.u-drawer-left.data-v-cc555dd6{top:0;bottom:0;left:0;background-color:#fff}.u-drawer-right.data-v-cc555dd6{right:0;top:0;bottom:0;background-color:#fff}.u-drawer-top.data-v-cc555dd6{top:0;left:0;right:0;background-color:#fff}.u-drawer-bottom.data-v-cc555dd6{bottom:0;left:0;right:0;background-color:#fff}.u-drawer-center.data-v-cc555dd6{display:flex;flex-direction:row;flex-direction:column;bottom:0;left:0;right:0;top:0;justify-content:center;align-items:center;opacity:0;z-index:99999}.u-mode-center-box.data-v-cc555dd6{min-width:100rpx;min-height:100rpx;display:block;position:relative}.u-drawer-content-visible.u-drawer-center.data-v-cc555dd6{-webkit-transform:scale(1);transform:scale(1);opacity:1}.u-animation-zoom.data-v-cc555dd6{-webkit-transform:scale(1.15);transform:scale(1.15)}.u-drawer-content-visible.data-v-cc555dd6{-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important}.u-close.data-v-cc555dd6{position:absolute;z-index:3}.u-close--top-left.data-v-cc555dd6{top:30rpx;left:30rpx}.u-close--top-right.data-v-cc555dd6{top:30rpx;right:30rpx}.u-close--bottom-left.data-v-cc555dd6{bottom:30rpx;left:30rpx}.u-close--bottom-right.data-v-cc555dd6{right:30rpx;bottom:30rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-swiper/u-swiper"],{"02fc":function(t,e,n){},"0a5c":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.list,(function(e,n){var i=t.__get_orig(e),r=t.title&&e.title?t.__get_style([{"padding-bottom":t.titlePaddingBottom},t.titleStyle]):null;return{$orig:i,s0:r}}))),i="number"==t.mode?t.list.length:null;t.$mp.data=Object.assign({},{$root:{l0:n,g0:i}})},r=[]},3867:function(t,e,n){"use strict";n.r(e);var i=n("0a5c"),r=n("848b");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("cd64");var u=n("828b"),a=Object(u["a"])(r["default"],i["b"],i["c"],!1,null,"431f1ac9",null,!1,i["a"],void 0);e["default"]=a.exports},"49a1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-swiper",props:{list:{type:Array,default:function(){return[]}},title:{type:Boolean,default:!1},indicator:{type:Object,default:function(){return{}}},borderRadius:{type:[Number,String],default:8},interval:{type:[String,Number],default:3e3},mode:{type:String,default:"round"},height:{type:[Number,String],default:250},indicatorPos:{type:String,default:"bottomCenter"},effect3d:{type:Boolean,default:!1},effect3dPreviousMargin:{type:[Number,String],default:50},autoplay:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},circular:{type:Boolean,default:!0},imgMode:{type:String,default:"aspectFill"},name:{type:String,default:"image"},bgColor:{type:String,default:"#f3f4f6"},current:{type:[Number,String],default:0},titleStyle:{type:Object,default:function(){return{}}}},watch:{list:function(t,e){t.length!==e.length&&(this.uCurrent=0)},current:function(t){this.uCurrent=t}},data:function(){return{uCurrent:this.current}},computed:{justifyContent:function(){return"topLeft"==this.indicatorPos||"bottomLeft"==this.indicatorPos?"flex-start":"topCenter"==this.indicatorPos||"bottomCenter"==this.indicatorPos?"center":"topRight"==this.indicatorPos||"bottomRight"==this.indicatorPos?"flex-end":void 0},titlePaddingBottom:function(){var t=0;return"none"==this.mode?"12rpx":(t=["bottomLeft","bottomCenter","bottomRight"].indexOf(this.indicatorPos)>=0&&"number"==this.mode?"60rpx":["bottomLeft","bottomCenter","bottomRight"].indexOf(this.indicatorPos)>=0&&"number"!=this.mode?"40rpx":"12rpx",t)},elCurrent:function(){return Number(this.current)}},methods:{listClick:function(t){this.$emit("click",t)},change:function(t){var e=t.detail.current;this.uCurrent=e,this.$emit("change",e)},animationfinish:function(t){}}};e.default=i},"848b":function(t,e,n){"use strict";n.r(e);var i=n("49a1"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},cd64:function(t,e,n){"use strict";var i=n("02fc"),r=n.n(i);r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-swiper/u-swiper-create-component',
{
'components/uview-ui/components/u-swiper/u-swiper-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("3867"))
})
},
[['components/uview-ui/components/u-swiper/u-swiper-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="u-swiper-wrap data-v-431f1ac9" style="{{'border-radius:'+(borderRadius+'rpx')+';'}}"><swiper style="{{'height:'+(height+'rpx')+';'+('background-color:'+(bgColor)+';')}}" current="{{elCurrent}}" interval="{{interval}}" circular="{{circular}}" duration="{{duration}}" autoplay="{{autoplay}}" previous-margin="{{effect3d?effect3dPreviousMargin+'rpx':'0'}}" next-margin="{{effect3d?effect3dPreviousMargin+'rpx':'0'}}" data-event-opts="{{[['change',[['change',['$event']]]],['animationfinish',[['animationfinish',['$event']]]]]}}" bindchange="__e" bindanimationfinish="__e" class="data-v-431f1ac9"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="u-swiper-item data-v-431f1ac9"><view data-event-opts="{{[['tap',[['listClick',[index]]]]]}}" class="{{['u-list-image-wrap','data-v-431f1ac9',uCurrent!=index?'u-list-scale':'']}}" style="{{'border-radius:'+(borderRadius+'rpx')+';'+('transform:'+(effect3d&&uCurrent!=index?'scaleY(0.9)':'scaleY(1)')+';')+('margin:'+(effect3d&&uCurrent!=index?'0 20rpx':0)+';')}}" catchtap="__e"><image class="u-swiper-image data-v-431f1ac9" src="{{item.$orig[name]||item.$orig}}" mode="{{imgMode}}"></image><block wx:if="{{title&&item.$orig.title}}"><view class="u-swiper-title u-line-1 data-v-431f1ac9" style="{{item.s0}}">{{''+item.$orig.title+''}}</view></block></view></swiper-item></block></swiper><view class="u-swiper-indicator data-v-431f1ac9" style="{{'top:'+(indicatorPos=='topLeft'||indicatorPos=='topCenter'||indicatorPos=='topRight'?'12rpx':'auto')+';'+('bottom:'+(indicatorPos=='bottomLeft'||indicatorPos=='bottomCenter'||indicatorPos=='bottomRight'?'12rpx':'auto')+';')+('justify-content:'+(justifyContent)+';')+('padding:'+('0 '+(effect3d?'74rpx':'24rpx'))+';')}}"><block wx:if="{{mode=='rect'}}"><block class="data-v-431f1ac9"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['u-indicator-item-rect','data-v-431f1ac9',(index==uCurrent)?'u-indicator-item-rect-active':'']}}"></view></block></block></block><block wx:if="{{mode=='dot'}}"><block class="data-v-431f1ac9"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['u-indicator-item-dot','data-v-431f1ac9',(index==uCurrent)?'u-indicator-item-dot-active':'']}}"></view></block></block></block><block wx:if="{{mode=='round'}}"><block class="data-v-431f1ac9"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['u-indicator-item-round','data-v-431f1ac9',(index==uCurrent)?'u-indicator-item-round-active':'']}}"></view></block></block></block><block wx:if="{{mode=='number'}}"><block class="data-v-431f1ac9"><view class="u-indicator-item-number data-v-431f1ac9">{{uCurrent+1+"/"+$root.g0}}</view></block></block></view></view>

View File

@ -0,0 +1 @@
.u-swiper-wrap.data-v-431f1ac9{position:relative;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0)}.u-swiper-image.data-v-431f1ac9{width:100%;will-change:transform;height:100%;display:block}.u-swiper-indicator.data-v-431f1ac9{padding:0 24rpx;position:absolute;display:flex;flex-direction:row;width:100%;z-index:1}.u-indicator-item-rect.data-v-431f1ac9{width:26rpx;height:8rpx;margin:0 6rpx;transition:all .5s;background-color:rgba(0,0,0,.3)}.u-indicator-item-rect-active.data-v-431f1ac9{background-color:hsla(0,0%,100%,.8)}.u-indicator-item-dot.data-v-431f1ac9{width:14rpx;height:14rpx;margin:0 6rpx;border-radius:20rpx;transition:all .5s;background-color:rgba(0,0,0,.3)}.u-indicator-item-dot-active.data-v-431f1ac9{background-color:hsla(0,0%,100%,.8)}.u-indicator-item-round.data-v-431f1ac9{width:14rpx;height:14rpx;margin:0 6rpx;border-radius:20rpx;transition:all .5s;background-color:rgba(0,0,0,.3)}.u-indicator-item-round-active.data-v-431f1ac9{width:34rpx;background-color:hsla(0,0%,100%,.8)}.u-indicator-item-number.data-v-431f1ac9{padding:6rpx 16rpx;line-height:1;background-color:rgba(0,0,0,.3);border-radius:100rpx;font-size:26rpx;color:hsla(0,0%,100%,.8)}.u-list-scale.data-v-431f1ac9{-webkit-transform-origin:center center;transform-origin:center center}.u-list-image-wrap.data-v-431f1ac9{width:100%;height:100%;flex:1;transition:all .5s;overflow:hidden;box-sizing:initial;position:relative}.u-swiper-title.data-v-431f1ac9{position:absolute;background-color:rgba(0,0,0,.3);bottom:0;left:0;width:100%;font-size:28rpx;padding:12rpx 24rpx;color:hsla(0,0%,100%,.9)}.u-swiper-item.data-v-431f1ac9{display:flex;flex-direction:row;overflow:hidden;align-items:center}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-verification-code/u-verification-code"],{"2e83":function(e,t,n){"use strict";n.r(t);var i=n("6bae"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=a.a},4568:function(e,t,n){"use strict";n.r(t);var i=n("a0ea"),a=n("2e83");for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);n("b80a");var u=n("828b"),c=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"c12e3e86",null,!1,i["a"],void 0);t["default"]=c.exports},"5f3c":function(e,t,n){},"6bae":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"u-verification-code",props:{seconds:{type:[String,Number],default:60},startText:{type:String,default:"获取验证码"},changeText:{type:String,default:"X秒重新获取"},endText:{type:String,default:"重新获取"},keepRunning:{type:Boolean,default:!1},uniqueKey:{type:String,default:""}},data:function(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted:function(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler:function(e){this.secNum=e}}},methods:{checkKeepRunning:function(){var t=Number(e.getStorageSync(this.uniqueKey+"_$uCountDownTimestamp"));if(!t)return this.changeEvent(this.startText);var n=Math.floor(+new Date/1e3);this.keepRunning&&t&&t>n?(this.secNum=t-n,e.removeStorageSync(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start:function(){var e=this;this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.setTimeToStorage(),this.timer=setInterval((function(){--e.secNum?e.changeEvent(e.changeText.replace(/x|X/,e.secNum)):(clearInterval(e.timer),e.timer=null,e.changeEvent(e.endText),e.secNum=e.seconds,e.$emit("end"),e.canGetCode=!0)}),1e3)},reset:function(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent:function(e){this.$emit("change",e)},setTimeToStorage:function(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<=this.seconds){var t=Math.floor(+new Date/1e3);e.setStorage({key:this.uniqueKey+"_$uCountDownTimestamp",data:t+Number(this.secNum)})}}},beforeDestroy:function(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}};t.default=n}).call(this,n("df3c")["default"])},a0ea:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;this._self._c},a=[]},b80a:function(e,t,n){"use strict";var i=n("5f3c"),a=n.n(i);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-verification-code/u-verification-code-create-component',
{
'components/uview-ui/components/u-verification-code/u-verification-code-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("4568"))
})
},
[['components/uview-ui/components/u-verification-code/u-verification-code-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="u-code-wrap data-v-c12e3e86"></view>

View File

@ -0,0 +1 @@
.u-code-wrap.data-v-c12e3e86{width:0;height:0;position:fixed;z-index:-1}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"0a03":function(n,e,t){},"0b61":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;t("2f2f"),t("f4f5");var u=t("5fc1"),i={data:function(){return{list:[{image:"http://jianbing-media.stnav.com/frontend/img/banner.png",title:"昨夜星辰昨夜风,画楼西畔桂堂东"}]}},onLoad:function(){(0,u.setTabbar)()},onShow:function(){},methods:{}};e.default=i},"754b":function(n,e,t){"use strict";t.r(e);var u=t("a4fe"),i=t("af7f");for(var o in i)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(o);t("f16c");var a=t("828b"),c=Object(a["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);e["default"]=c.exports},a4fe:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return u}));var u={uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"9e59"))},uButton:function(){return t.e("components/uview-ui/components/u-button/u-button").then(t.bind(null,"9c7d"))},uSwiper:function(){return t.e("components/uview-ui/components/u-swiper/u-swiper").then(t.bind(null,"3867"))},uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"8127"))}},i=function(){var n=this.$createElement;this._self._c},o=[]},aeee:function(n,e,t){"use strict";(function(n,e){var u=t("47a9");t("6a4a");u(t("3240"));var i=u(t("754b"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},af7f:function(n,e,t){"use strict";t.r(e);var u=t("0b61"),i=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(o);e["default"]=i.a},f16c:function(n,e,t){"use strict";var u=t("0a03"),i=t.n(u);i.a}},[["aeee","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,9 @@
{
"navigationBarTitleText": "首页",
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-swiper": "/components/uview-ui/components/u-swiper/u-swiper",
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -0,0 +1 @@
<view class="content"><view class="store u-flex u-row-between u-p-32"><view><view class="lg bold-600 u-flex">MEET轻食店<u-icon class="right-icon" vue-id="8dd740cc-1" name="arrow-right" size="28" bind:__l="__l"></u-icon></view><view class="u-flex u-margin-top-8"><u-icon vue-id="8dd740cc-2" name="map" size="32" bind:__l="__l"></u-icon>请选择收货地址</view></view><view><u-button vue-id="8dd740cc-3" shape="circle" hair-line="{{false}}" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'36rpx'})}}" bind:__l="__l" vue-slots="{{['default']}}">签到</u-button></view></view><view class="swiper u-relative"><u-swiper vue-id="8dd740cc-4" height="524" list="{{list}}" border-radius="0" bind:__l="__l"></u-swiper><view class="balance bg-white u-flex"><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-5" src="{{cloudPath+'img/icon_balance.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-margin-left-60 u-text-center"><view class="nr">0.00</view><view class="text-default xs">余额</view></view></view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-6" src="{{cloudPath+'img/icon_points.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-margin-left-60 u-text-center"><view class="nr">0.00</view><view class="text-default xs">积分</view></view></view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-7" src="{{cloudPath+'img/icon_coupon.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-margin-left-60 u-text-center"><view class="nr">0</view><view class="text-default xs u-text-center">券</view></view></view></view></view><view class="order u-flex u-row-between"><view class="bg-white u-text-center"><view class="text-default xxl">预约下单</view><view class="xs text-999">极速送达更便捷</view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-8" src="{{cloudPath+'img/icon_p_order.png'}}" width="132" height="132" bind:__l="__l"></u-image></view></view><view class="bg-white u-text-center"><view class="text-default xxl">现在点单</view><view class="xs text-999">下单更便捷</view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-9" src="{{cloudPath+'img/icon_order.png'}}" width="132" height="133" mode="aspectFit" bind:__l="__l"></u-image></view></view></view><view class="mx-20 u-margin-bottom-64"><u-image vue-id="8dd740cc-10" src="{{cloudPath+'img/activity.png'}}" height="264" bind:__l="__l"></u-image></view></view>

View File

@ -0,0 +1 @@
.content .store{background-color:#fffafb;height:108rpx}.content .store .right-icon{font-weight:700;margin-left:4rpx}.content .swiper{height:544rpx;box-sizing:border-box;width:100%}.content .swiper .balance{position:absolute;bottom:0;left:0;right:0;margin:0 20rpx;height:140rpx;border-radius:16rpx}.content .swiper .balance > view{width:33.33%}.content .order{margin:30rpx 20rpx}.content .order > view{border-radius:16rpx;padding:40rpx 86rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/fastLogin"],{"116b":function(e,n,t){"use strict";t.r(n);var r=t("b064"),a=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=a.a},"883f":function(e,n,t){"use strict";(function(e,n){var r=t("47a9");t("6a4a");r(t("3240"));var a=r(t("b1b9"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},b064:function(e,n,t){"use strict";(function(e){var r=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=r(t("7eb4")),o=r(t("ee10")),u=r(t("7ca3")),i=t("8f59"),c=t("5fc1"),f=t("2f2f"),s=t("1193"),l=r(t("3c3b"));t("032b");function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function b(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,u.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p={data:function(){return{form:{avatar:"",nickname:"",isAgree:!1}}},methods:b(b(b({},(0,i.mapMutations)(["LOGIN","LOGOUT"])),(0,i.mapActions)(["getUser"])),{},{onChooseAvatar:function(n){var t=this,r=n.detail.avatarUrl;r&&(e.showLoading({title:"正在上传中...",mask:!0}),(0,c.uploadFile)(r).then((function(n){e.hideLoading(),t.form.avatar=n.url})).catch((function(){e.hideLoading(),t.$toast({title:"上传失败"})})))},doLogin:function(n){var t=this;return(0,o.default)(a.default.mark((function r(){var o,u,i,l,d,b,p,v,m;return a.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(t.form.nickname=n.detail.value.nickname,t.form.isAgree){r.next=4;break}return t.$toast({title:"请先阅读并同意服务协议和隐私政策"}),r.abrupt("return",!1);case 4:return r.next=6,(0,s.getUserInfo)();case 6:return o=r.sent,u=o.userInfo,i=u.avatarUrl,l=u.nickName,u.gender,e.showLoading({title:"登录中",mask:!0}),r.next=14,(0,s.getWxCode)();case 14:return d=r.sent,r.next=17,(0,f.authLogin)({code:d,nickname:l||"",headimgurl:i,client:c.client});case 17:b=r.sent,p=b.code,v=b.data,m=b.msg,1==p?v.is_new_user?(e.hideLoading(),t.loginData=v,t.handleSubmitInfo()):t.loginHandle(v):t.$toast({title:m});case 22:case"end":return r.stop()}}),r)})))()},handleSubmitInfo:function(){var e=this;return(0,o.default)(a.default.mark((function n(){var t,r;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t=e.loginData||{},n.next=3,(0,f.updateUser)({avatar:e.form.avatar,nickname:e.form.nickname},t.token);case 3:r=n.sent,1==r.code&&e.loginHandle(t);case 5:case"end":return n.stop()}}),n)})))()},loginHandle:function(n){var t=this;return(0,o.default)(a.default.mark((function r(){var o;return a.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:t.LOGIN(n),e.hideLoading(),o=l.default.get("INVITE_CODE"),o&&inputInviteCode({code:o}),e.navigateBack({success:function(){var e=(0,c.currentPage)(),n=e.onLoad,t=e.options;n&&n(t)}});case 5:case"end":return r.stop()}}),r)})))()}})};n.default=p}).call(this,t("df3c")["default"])},b1b9:function(e,n,t){"use strict";t.r(n);var r=t("f149"),a=t("116b");for(var o in a)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(o);t("fee5");var u=t("828b"),i=Object(u["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=i.exports},c05f:function(e,n,t){},f149:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return r}));var r={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"8127"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"9e59"))},uButton:function(){return t.e("components/uview-ui/components/u-button/u-button").then(t.bind(null,"9c7d"))},uCheckbox:function(){return t.e("components/uview-ui/components/u-checkbox/u-checkbox").then(t.bind(null,"3b2c"))}},a=function(){var e=this.$createElement;this._self._c},o=[]},fee5:function(e,n,t){"use strict";var r=t("c05f"),a=t.n(r);a.a}},[["883f","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,9 @@
{
"navigationBarTitleText": "登录",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox"
}
}

View File

@ -0,0 +1 @@
<view class="login"><view class="u-font-xl bold-600 u-padding-top-56">获取你的昵称、头像</view><view><form data-event-opts="{{[['submit',[['doLogin',['$event']]]]]}}" bindsubmit="__e"><view class="u-flex u-row-between avatar u-margin-top-80"><text>头像</text><view class="u-flex u-row-between flex1 u-margin-left-30"><button class="u-flex u-row-between w-full" style="border:none;" hover-class="none" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><block wx:if="{{form.avatar}}"><u-image vue-id="11c35a68-1" src="{{form.avatar}}" width="100rpx" height="100rpx" shape="circle" bind:__l="__l"></u-image></block><block wx:else><view>点击授权头像</view></block><u-icon vue-id="11c35a68-2" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></button></view></view><view class="u-flex u-row-between avatar u-margin-top-80"><text>昵称</text><view class="u-flex u-row-between flex1 u-margin-left-30"><input name="nickname" type="nickname" placeholder="请输入昵称" placeholder-style="color: #000;" value="{{form.nickname}}"/><u-icon vue-id="11c35a68-3" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></view></view><view class="menu"><view class="u-margin-bottom-32"><button class="submit-btn" form-type="submit" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle">允许</button></view><u-button vue-id="11c35a68-4" hover-class="none" customStyle="{{({color:'#000',border:'none',padding:'16rpx 0'})}}" plain="{{true}}" hair-line="{{false}}" shape="circle" bind:__l="__l" vue-slots="{{['default']}}">拒绝</u-button></view></form><view class="u-margin-top-32 u-flex u-row-center"><u-checkbox bind:input="__e" vue-id="11c35a68-5" shape="circle" active-color="{{themeColor}}" value="{{form.isAgree}}" data-event-opts="{{[['^input',[['__set_model',['$0','isAgree','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></u-checkbox></view></view></view>

View File

@ -0,0 +1 @@
page{background-color:#fff}.login{margin:0 32rpx}.login .avatar text{font-size:48rpx}.login .menu{margin-top:200rpx}.login .submit-btn{background-color:#254062;border-radius:200rpx;color:#fff;height:81rpx;line-height:81rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"25b8":function(e,n,t){"use strict";t.r(n);var o=t("df06"),r=t("2bca");for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t("5dd4");var u=t("828b"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=a.exports},"2bca":function(e,n,t){"use strict";t.r(n);var o=t("fa00"),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},3454:function(e,n,t){"use strict";(function(e,n){var o=t("47a9");t("6a4a");o(t("3240"));var r=o(t("25b8"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"5dd4":function(e,n,t){"use strict";var o=t("5ffd"),r=t.n(o);r.a},"5ffd":function(e,n,t){},df06:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var o={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"8127"))},uButton:function(){return t.e("components/uview-ui/components/u-button/u-button").then(t.bind(null,"9c7d"))},uCheckbox:function(){return t.e("components/uview-ui/components/u-checkbox/u-checkbox").then(t.bind(null,"3b2c"))},mplogin:function(){return t.e("components/mplogin/mplogin").then(t.bind(null,"f9da"))},mobileLogin:function(){return t.e("components/mobile-login/mobile-login").then(t.bind(null,"f80e"))}},r=function(){var e=this,n=e.$createElement,t=(e._self._c,{color:e.themeColor,border:"1px solid "+e.themeColor,padding:"16rpx 0"});e._isMounted||(e.e0=function(n){e.mpLoginPopup=!1},e.e1=function(n){e.mobilePopup=!1}),e.$mp.data=Object.assign({},{$root:{a0:t}})},i=[]},fa00:function(e,n,t){"use strict";(function(e){var o=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t("7eb4")),i=o(t("ee10")),u=o(t("7ca3")),a=t("8f59"),c=t("5fc1"),l=t("2f2f"),f=t("1193"),s=o(t("3c3b"));t("032b");function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(Object(t),!0).forEach((function(n){(0,u.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var b={data:function(){return{form:{allow:!1},loginData:{},mpLoginPopup:!1,mobilePopup:!1}},onLoad:function(){},methods:p(p(p({},(0,a.mapMutations)(["LOGIN","LOGOUT"])),(0,a.mapActions)(["getUser"])),{},{mpLogin:function(){var n=this;return(0,i.default)(r.default.mark((function t(){var o,i,u,a,s,d,p,b,m;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n.form.allow){t.next=3;break}return n.$toast({title:"请您先阅读并同意服务协议和隐私政策"}),t.abrupt("return",!1);case 3:return t.next=5,(0,f.getUserInfo)();case 5:return o=t.sent,i=o.userInfo,u=i.avatarUrl,a=i.nickName,i.gender,e.showLoading({title:"登录中",mask:!0}),t.next=13,(0,f.getWxCode)();case 13:return s=t.sent,t.next=16,(0,l.authLogin)({code:s,nickname:a||"",headimgurl:u,client:c.client});case 16:d=t.sent,p=d.code,b=d.data,m=d.msg,1==p?b.is_new_user?(e.hideLoading(),n.mpLoginPopup=!0,n.loginData=b):n.loginHandle(b):n.$toast({title:m});case 21:case"end":return t.stop()}}),t)})))()},handleSubmitInfo:function(e){var n=this;return(0,i.default)(r.default.mark((function t(){var o,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=n.loginData||{},t.next=3,(0,l.updateUser)(e,o.token);case 3:i=t.sent,1==i.code&&n.loginHandle(o);case 5:case"end":return t.stop()}}),t)})))()},mobileLogin:function(){if(!this.form.allow)return this.$toast({title:"请您先阅读并同意服务协议和隐私政策"});this.mobilePopup=!0},handleSubmitMobile:function(e){var n=this;return(0,i.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:(0,l.mobileLogin)({mobile:e.mobile}).then((function(e){1==e.code&&n.loginHandle(e.data)}));case 1:case"end":return t.stop()}}),t)})))()},loginHandle:function(n){var t=this;return(0,i.default)(r.default.mark((function o(){var i;return r.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:t.LOGIN(n),e.hideLoading(),i=s.default.get("INVITE_CODE"),i&&inputInviteCode({code:i}),e.navigateBack({success:function(){var e=(0,c.currentPage)(),n=e.onLoad,t=e.options;n&&n(t)}});case 5:case"end":return o.stop()}}),o)})))()}}),computed:p({},(0,a.mapGetters)(["appConfig"]))};n.default=b}).call(this,t("df3c")["default"])}},[["3454","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,10 @@
{
"navigationBarTitleText": "授权登录",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox",
"mplogin": "/components/mplogin/mplogin",
"mobile-login": "/components/mobile-login/mobile-login"
}
}

View File

@ -0,0 +1 @@
<view class="login"><view class="u-flex u-row-center logo"><u-image vue-id="35a7246c-1" src="{{cloudPath+'img/login-logo.png'}}" width="574rpx" height="432rpx" bind:__l="__l"></u-image></view><view class="u-text-center text-gray"><view>小程序需要登录注册才能使用相关功能,申请获取以下权限</view><view class="u-margin-top-20">获得你的公开信息(昵称、头像、手机号码等)</view></view><view class="u-margin-top-56"><view class="u-margin-bottom-32"><u-button vue-id="35a7246c-2" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">快捷登录</u-button></view><view><u-button vue-id="35a7246c-3" hover-class="none" customStyle="{{$root.a0}}" plain="{{true}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mobileLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">手机号登录/注册</u-button></view></view><view class="u-margin-top-32 u-flex u-row-center"><view><u-checkbox bind:input="__e" vue-id="35a7246c-4" shape="circle" active-color="{{themeColor}}" value="{{form.allow}}" data-event-opts="{{[['^input',[['__set_model',['$0','allow','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意</view></u-checkbox></view><view class="u-flex protocol"><navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></view><mplogin bind:close="__e" bind:update="__e" bind:input="__e" vue-id="35a7246c-5" value="{{mpLoginPopup}}" data-event-opts="{{[['^close',[['e0']]],['^update',[['handleSubmitInfo']]],['^input',[['__set_model',['','mpLoginPopup','$event',[]]]]]]}}" bind:__l="__l"></mplogin><mobile-login bind:close="__e" bind:update="__e" bind:input="__e" vue-id="35a7246c-6" value="{{mobilePopup}}" data-event-opts="{{[['^close',[['e1']]],['^update',[['handleSubmitMobile']]],['^input',[['__set_model',['','mobilePopup','$event',[]]]]]]}}" bind:__l="__l"></mobile-login></view>

View File

@ -0,0 +1 @@
page{background-color:#fff}.login{margin:0 64rpx}.login .logo{padding-top:150rpx}.login .protocol{margin-top:-4rpx;margin-left:-20rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/mobileLogin"],{"73a2":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return o}));var o={uForm:function(){return e.e("components/uview-ui/components/u-form/u-form").then(e.bind(null,"2a51"))},uFormItem:function(){return Promise.all([e.e("common/vendor"),e.e("components/uview-ui/components/u-form-item/u-form-item")]).then(e.bind(null,"051c"))},uInput:function(){return Promise.all([e.e("common/vendor"),e.e("components/uview-ui/components/u-input/u-input")]).then(e.bind(null,"0fa1"))},uVerificationCode:function(){return e.e("components/uview-ui/components/u-verification-code/u-verification-code").then(e.bind(null,"4568"))},uButton:function(){return e.e("components/uview-ui/components/u-button/u-button").then(e.bind(null,"9c7d"))},uCheckbox:function(){return e.e("components/uview-ui/components/u-checkbox/u-checkbox").then(e.bind(null,"3b2c"))}},u=function(){var n=this.$createElement;this._self._c},i=[]},"815e":function(n,t,e){"use strict";e.r(t);var o=e("844f"),u=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=u.a},"844f":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{form:{mobile:"",code:"",checked:!1},seconds:60,tips:""}},methods:{codeChange:function(n){this.tips=n},getCode:function(){var t=this;this.$refs.uCode.canGetCode?(n.showLoading({title:"正在获取验证码"}),setTimeout((function(){n.hideLoading(),t.$u.toast("验证码已发送"),t.$refs.uCode.start()}),2e3)):this.$u.toast("倒计时结束后再发送")},allowProtocol:function(){},handleLogin:function(){var n=this.form,t=n.mobile,e=n.code,o=n.checked;return this.$u.test.mobile(t)?e&&o?void console.log(123123):this.$u.toast("请输入验证码!"):this.$u.toast("请检查手机号码格式!")}}};t.default=e}).call(this,e("df3c")["default"])},"92bf":function(n,t,e){"use strict";e.r(t);var o=e("73a2"),u=e("815e");for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);e("ae61");var c=e("828b"),r=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=r.exports},a4bc:function(n,t,e){},adcf:function(n,t,e){"use strict";(function(n,t){var o=e("47a9");e("6a4a");o(e("3240"));var u=o(e("92bf"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(u.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},ae61:function(n,t,e){"use strict";var o=e("a4bc"),u=e.n(o);u.a}},[["adcf","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,11 @@
{
"navigationBarTitleText": "手机号登录/注册",
"usingComponents": {
"u-form": "/components/uview-ui/components/u-form/u-form",
"u-form-item": "/components/uview-ui/components/u-form-item/u-form-item",
"u-input": "/components/uview-ui/components/u-input/u-input",
"u-verification-code": "/components/uview-ui/components/u-verification-code/u-verification-code",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox"
}
}

View File

@ -0,0 +1 @@
<view class="login"><view class="title">手机号登录</view><view><u-form class="vue-ref" vue-id="b4d28524-1" model="{{form}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item class="mobile" vue-id="{{('b4d28524-2')+','+('b4d28524-1')}}" label="+86" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('b4d28524-3')+','+('b4d28524-2')}}" placeholder="请输入电话" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('b4d28524-4')+','+('b4d28524-1')}}" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input bind:input="__e" vue-id="{{('b4d28524-5')+','+('b4d28524-4')}}" placeholder="请输入验证码" value="{{form.code}}" data-event-opts="{{[['^input',[['__set_model',['$0','code','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input><view slot="right"><u-verification-code class="vue-ref" vue-id="{{('b4d28524-6')+','+('b4d28524-4')}}" seconds="{{seconds}}" data-ref="uCode" data-event-opts="{{[['^end',[['end']]],['^start',[['start']]],['^change',[['codeChange']]]]}}" bind:end="__e" bind:start="__e" bind:change="__e" bind:__l="__l"></u-verification-code><u-button vue-id="{{('b4d28524-7')+','+('b4d28524-4')}}" size="mini" shape="circle" hover-class="none" data-event-opts="{{[['^tap',[['getCode']]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">{{tips}}</u-button></view></u-form-item></u-form></view><view class="u-margin-top-32"><u-button vue-id="b4d28524-8" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['handleLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">登录/注册</u-button></view><view class="u-margin-top-32 u-flex u-row-center"><u-checkbox vue-id="b4d28524-9" shape="circle" active-color="{{themeColor}}" value="{{form.checked}}" data-event-opts="{{[['^change',[['allowProtocol']]],['^input',[['__set_model',['$0','checked','$event',[]],['form']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></u-checkbox></view></view>

View File

@ -0,0 +1 @@
page{background-color:#fff}.login{margin:0 64rpx}.login .title{font-size:56rpx;padding-top:190rpx}.login .mobile{margin-top:96rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/my"],{"021c":function(n,t,c){"use strict";(function(n,t){var a=c("47a9");c("6a4a");a(c("3240"));var e=a(c("c250"));n.__webpack_require_UNI_MP_PLUGIN__=c,t(e.default)}).call(this,c("3223")["default"],c("df3c")["createPage"])},"0a3c":function(n,t){},"0fcc":function(n,t,c){"use strict";c.r(t);var a=c("0a3c"),e=c.n(a);for(var u in a)["default"].indexOf(u)<0&&function(n){c.d(t,n,(function(){return a[n]}))}(u);t["default"]=e.a},bd26:function(n,t,c){"use strict";c.d(t,"b",(function(){return a})),c.d(t,"c",(function(){return e})),c.d(t,"a",(function(){}));var a=function(){var n=this.$createElement;this._self._c},e=[]},c250:function(n,t,c){"use strict";c.r(t);var a=c("bd26"),e=c("0fcc");for(var u in e)["default"].indexOf(u)<0&&function(n){c.d(t,n,(function(){return e[n]}))}(u);var r=c("828b"),f=Object(r["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=f.exports}},[["021c","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="_div"></view>

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/order"],{"59b2":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},a=[]},"75e8":function(n,t,e){"use strict";e.r(t);var u=e("59b2"),a=e("7a2f");for(var r in a)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(r);e("b1dd");var c=e("828b"),o=Object(c["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=o.exports},"76cd":function(n,t,e){"use strict";(function(n,t){var u=e("47a9");e("6a4a");u(e("3240"));var a=u(e("75e8"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"7a2f":function(n,t,e){"use strict";e.r(t);var u=e("a977"),a=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=a.a},a977:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;e("2f2f");t.default={data:function(){return{title:"Hello"}},onLoad:function(){},methods:{}}},b1dd:function(n,t,e){"use strict";var u=e("cd01"),a=e.n(u);a.a},cd01:function(n,t,e){}},[["76cd","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "订单",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="content"><image class="logo" src="/static/logo.png"></image><view class="text-area"><text class="title">{{title}}</text></view></view>

View File

@ -0,0 +1 @@
.content{display:flex;flex-direction:column;align-items:center;justify-content:center}.logo{height:200rpx;width:200rpx;margin-top:200rpx;margin-left:auto;margin-right:auto;margin-bottom:50rpx}.text-area{display:flex;justify-content:center}.title{font-size:36rpx;color:#8f8f94}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/server_explan/server_explan"],{"0376":function(t,e,n){"use strict";(function(t,e){var r=n("47a9");n("6a4a");r(n("3240"));var a=r(n("3068"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"0a59":function(t,e,n){"use strict";var r=n("5bf1"),a=n.n(r);a.a},3068:function(t,e,n){"use strict";n.r(e);var r=n("7bd3"),a=n("d8fb");for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("0a59");var o=n("828b"),i=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=i.exports},"5bf1":function(t,e,n){},"7bd3":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return r}));var r={uParse:function(){return Promise.all([n.e("common/vendor"),n.e("components/uview-ui/components/u-parse/u-parse")]).then(n.bind(null,"8590"))}},a=function(){var t=this.$createElement;this._self._c},u=[]},"7c12":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("2f2f"),a={data:function(){return{content:""}},onLoad:function(e){var n=e.type;n=parseInt(n);var r="";switch(0==n?r="服务协议":1==n&&(r="隐私政策"),t.setNavigationBarTitle({title:r}),n){case 0:this.getServerProtoFun();break;case 1:this.getPrivatePolicyFun();break;case 2:this.getAfterSaleGuarFun();break;default:this.getServerProtoFun();break}},methods:{getServerProtoFun:function(){var t=this;(0,r.getServerProto)().then((function(e){1==e.code&&setTimeout((function(){t.content=e.data}),200)}))},getPrivatePolicyFun:function(){var t=this;(0,r.getPrivatePolicy)().then((function(e){1==e.code&&setTimeout((function(){t.content=e.data}),200)}))},getAfterSaleGuarFun:function(){var t=this;(0,r.getAfterSaleGuar)().then((function(e){1==e.code&&setTimeout((function(){t.content=e.data}),200)}))}}};e.default=a}).call(this,n("df3c")["default"])},d8fb:function(t,e,n){"use strict";n.r(e);var r=n("7c12"),a=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=a.a}},[["0376","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,5 @@
{
"usingComponents": {
"u-parse": "/components/uview-ui/components/u-parse/u-parse"
}
}

View File

@ -0,0 +1 @@
<view><view class="main"><u-parse vue-id="429052e4-1" html="{{content}}" bind:__l="__l"></u-parse></view></view>

View File

@ -0,0 +1 @@
.main{padding:20rpx}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/shop_cart/shop_cart"],{"111b":function(n,t,a){"use strict";(function(n,t){var e=a("47a9");a("6a4a");e(a("3240"));var u=e(a("ea62"));n.__webpack_require_UNI_MP_PLUGIN__=a,t(u.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},"296b":function(n,t,a){"use strict";a.d(t,"b",(function(){return e})),a.d(t,"c",(function(){return u})),a.d(t,"a",(function(){}));var e=function(){var n=this.$createElement;this._self._c},u=[]},9351:function(n,t,a){"use strict";a.r(t);var e=a("b3f7"),u=a.n(e);for(var r in e)["default"].indexOf(r)<0&&function(n){a.d(t,n,(function(){return e[n]}))}(r);t["default"]=u.a},b3f7:function(n,t){},ea62:function(n,t,a){"use strict";a.r(t);var e=a("296b"),u=a("9351");for(var r in u)["default"].indexOf(r)<0&&function(n){a.d(t,n,(function(){return u[n]}))}(r);var c=a("828b"),f=Object(c["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);t["default"]=f.exports}},[["111b","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "购物车",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="_div"></view>

View File

@ -0,0 +1,29 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"es6": false,
"postcss": false,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"libVersion": "3.8.1",
"appid": "wx5e2c7a2204b66251",
"projectname": "base",
"condition": {},
"editorSetting": {
"tabIndent": "auto",
"tabSize": 4
}
}

Some files were not shown because too many files have changed in this diff Show More