初始化仓库

This commit is contained in:
wangxiaowei
2025-04-30 13:59:26 +08:00
commit f3990f76ef
1034 changed files with 133104 additions and 0 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')

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

@ -0,0 +1,69 @@
{
"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/signin/signin",
"pages/server_explan/server_explan",
"pages/store/choose_store",
"pages/store/store",
"pages/shop/shop",
"pages/order_now/order_now",
"pages/order_details/order_details",
"pages/refund/refund",
"pages/my/profile",
"pages/my/wallet",
"pages/recharge/balance",
"pages/recharge/recharge"
],
"subPackages": [
{
"root": "bundle",
"pages": [
"pages/points/points"
]
}
],
"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([["bundle/pages/points/points"],{2276:function(t,n,e){"use strict";(function(t,n){var u=e("47a9");e("6a4a");u(e("3240"));var o=u(e("ef48"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"2cd5":function(t,n,e){},"2fee":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{title:"充值余额",statusBarHeight:0,bgImageHeight:244,selectIndex:0,backText:"",topSpace:0}},onLoad:function(){var n=t.getSystemInfoSync();this.statusBarHeight=n.statusBarHeight,this.topSpace=80-this.statusBarHeight},methods:{toProfile:function(){t.navigateTo({url:"/pages/my/profile"})},toWallet:function(){t.navigateTo({url:"/pages/my/wallet"})}},computed:{navBackground:function(){return{"background-image":"url(".concat(this.cloudPath,"img/icon_recharge_bg.png)")}}}};n.default=e}).call(this,e("df3c")["default"])},"3c65":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return u}));var u={uSticky:function(){return e.e("components/uview-ui/components/u-sticky/u-sticky").then(e.bind(null,"7476"))},uNavbar:function(){return e.e("components/uview-ui/components/u-navbar/u-navbar").then(e.bind(null,"93e6"))},uInput:function(){return Promise.all([e.e("common/vendor"),e.e("components/uview-ui/components/u-input/u-input")]).then(e.bind(null,"0fa1"))},priceFormat:function(){return e.e("components/price-format/price-format").then(e.bind(null,"70de"))},uButton:function(){return e.e("components/uview-ui/components/u-button/u-button").then(e.bind(null,"9c7d"))}},o=function(){var t=this.$createElement,n=(this._self._c,this.__get_style([this.navBackground]));this.$mp.data=Object.assign({},{$root:{s0:n}})},i=[]},b529:function(t,n,e){"use strict";var u=e("2cd5"),o=e.n(u);o.a},d7cf:function(t,n,e){"use strict";e.r(n);var u=e("2fee"),o=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=o.a},ef48:function(t,n,e){"use strict";e.r(n);var u=e("3c65"),o=e("d7cf");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("b529");var a=e("828b"),c=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=c.exports}},[["2276","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,11 @@
{
"navigationBarTitleText": "积分",
"navigationStyle": "custom",
"usingComponents": {
"u-sticky": "/components/uview-ui/components/u-sticky/u-sticky",
"u-navbar": "/components/uview-ui/components/u-navbar/u-navbar",
"u-input": "/components/uview-ui/components/u-input/u-input",
"price-format": "/components/price-format/price-format",
"u-button": "/components/uview-ui/components/u-button/u-button"
}
}

View File

@ -0,0 +1 @@
<view class="index home-bg" style="{{$root.s0}}"><u-sticky vue-id="39aa39a1-1" offset-top="0" h5-nav-height="0" bg-color="transparent" enable="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-navbar vue-id="{{('39aa39a1-2')+','+('39aa39a1-1')}}" border-bottom="{{false}}" is-fixed="{{false}}" custom-class="home-bg" background="{{navBackground}}" is-back="{{true}}" backText=" " title="{{title}}" title-color="#fff" backIconColor="#fff" bind:__l="__l"></u-navbar></u-sticky><view class="row-center balance" style="{{'padding-top:'+(topSpace+'px')+';'}}"><view class="u-text-center w-full"><view class="text-fff" style="font-size:96rpx;">0</view><view class="text-fff nr">充值余额</view></view></view><view class="content u-relative u-m-l-32 u-m-r-32" style="margin-top:132rpx;"><view class="input row-center br16"><view class="input-money"><u-input vue-id="39aa39a1-3" placeholder="输入金额: 0" placeholder-style="color: #254062;" custom-style="{{({backgroundColor:'transparent'})}}" input-align="center" bind:__l="__l"></u-input></view></view><view class="u-m-t-38"><view class="sm u-m-b-20 bold-400">选择充值套餐</view><view class="grid-container"><view class="{{['item',[(selectIndex===0)?'active':'']]}}"><view class="xs text-666">充值</view><view class="text-333 md u-m-t-4">¥5</view><view class="text-666 xxs u-m-t-2">赠送11元</view></view></view></view><view class="u-m-t-56"><view class="sm u-m-b-20 bold-400">加赠券 价值10元</view><view class="grid-container u-m-t-18"><view class="coupon u-text-center"><view class="sm text-666">赠券1张</view><view class="text-333 md u-m-t-28"><price-format vue-id="39aa39a1-4" color="#FF0000" price="{{10}}" subscriptSize="{{22}}" firstSize="{{52}}" bind:__l="__l"></price-format></view><view class="text-666 sm u-m-t-30">满10元可用</view></view></view></view><view class="u-m-t-70 u-p-10"><view class="sm u-m-b-20 bold-400">充值说明</view><view class="text-999">1. 账户充值仅限在线方式支付,充值金额实时到账;</view><view class="text-999">2. 有问题请联系客服;</view></view><view class="u-m-t-42 u-p-b-20"><u-button vue-id="39aa39a1-5" hover-class="none" customStyle="{{({height:'76rpx',backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'100rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即充值</u-button></view></view></view>

View File

@ -0,0 +1 @@
page{background-color:#fff}.index{background-size:100% auto}.home-bg{background:url(http://jianbing-media.stnav.com/frontend/img/icon_recharge_bg.png) no-repeat;background-size:100% auto}.input{height:124rpx;background:#d3e0f1;border:2rpx solid #254062}.input-money{width:180rpx}.item{width:209rpx;height:155rpx;background:#f5f5f5;border:1rpx solid #f5f5f5;border-radius:12rpx 12rpx 12rpx 12rpx;padding:20rpx 20rpx 12rpx 20rpx}.active{background:#f3f8ff;border:1rpx solid #254062}.grid-container{display:grid;grid-template-columns:repeat(3,1fr);gap:32rpx}.coupon{width:207rpx;height:196rpx;background:url(http://jianbing-media.stnav.com/frontend/img/coupon_bg1.png) no-repeat;background-size:cover}.coupon > view:first-child{color:#845f2e;margin-top:4rpx}

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/appointment-time/appointment-time"],{"135c":function(t,e,n){},3634:function(t,e,n){"use strict";n.r(e);var i=n("56e9"),o=n("c211");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("9510");var c=n("828b"),a=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"48d7":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("f4f5"),o={name:"appointment-time",props:{value:{type:Boolean,required:!0}},data:function(){return{mobile:"",selectIndex:0,cateList:[]}},created:function(){this.getCatrgoryFun()},methods:{getCatrgoryFun:function(){var t=this;(0,i.getCatrgory)().then((function(e){1==e.code&&(t.cateList=e.data)}))},changeActive:function(t){this.cateList;this.selectIndex=t},handleSubmit:function(t){var e=this.mobile;if(!e)return this.$toast({title:"请授权手机号"});this.$emit("update",{mobile:e}),this.showPop=!1,this.$emit("close")},onClose:function(){this.showPop=!1,this.$emit("close")}},computed:{showPop:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}};e.default=o},"56e9":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uPopup:function(){return n.e("components/uview-ui/components/u-popup/u-popup").then(n.bind(null,"69ae"))}},o=function(){var t=this.$createElement;this._self._c},u=[]},9510:function(t,e,n){"use strict";var i=n("135c"),o=n.n(i);o.a},c211:function(t,e,n){"use strict";n.r(e);var i=n("48d7"),o=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/appointment-time/appointment-time-create-component',
{
'components/appointment-time/appointment-time-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("3634"))
})
},
[['components/appointment-time/appointment-time-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view><u-popup bind:input="__e" vue-id="2de1cf22-1" mode="bottom" border-radius="16" safe-area-inset-bottom="{{true}}" closeable="{{true}}" value="{{showPop}}" data-event-opts="{{[['^input',[['__set_model',['','showPop','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="appointment-time"><view class="bold-700 lg u-p-t-24 u-p-b-24 u-text-center">选择预约时间</view><view class="block row" style="height:700rpx;"><view class="aside"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true"><view style="padding-bottom:200rpx;"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['changeActive',[index]]]]]}}" class="{{['one-item sm '+(index==selectIndex?'active bg-white':'')]}}" bindtap="__e"><text class="name">{{item.name}}</text><block wx:if="{{index==selectIndex}}"><view class="active-line bg-default"></view></block></view></block></block></view></scroll-view></view><view class="main"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true"><view class="main-wrap u-m-t-32"><block wx:for="{{20}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="bg-white br16 row u-col-top u-m-b-24"><view>900 - 930</view></view></block></view></scroll-view></view></view></view></u-popup></view>

View File

@ -0,0 +1 @@
.appointment-time{height:800rpx;max-height:800rpx}.block{height:100vh}.aside{width:180rpx;flex:none;height:100%;background-color:#fdfdfd}.aside .one-item{position:relative;text-align:center;height:108rpx;line-height:108rpx}.aside .one-item.active{color:#254062;font-size:26rpx;font-weight:700}.aside .one-item .active-line{position:absolute;width:6rpx;height:30rpx;left:4rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.main{height:100%;flex:1}.main .main-wrap{position:relative;padding:0 20rpx}.main .main-wrap .goods{padding-bottom:200rpx}.main .main-wrap .goods .info{width:100%;display:flex;justify-content:space-between;margin:0 16rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cate-one/cate-one"],{"19fe":function(e,n,t){"use strict";var u=t("ab30"),o=t.n(u);o.a},"31be":function(e,n,t){"use strict";(function(e){var u=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=u(t("7eb4")),c=u(t("ee10")),i={name:"cate-one",props:{list:{type:Array,default:function(){return[]}}},data:function(){return{selectIndex:0,cateList:[],cateName:"",numberVal:1,showCart:!1,showSpec:!1}},methods:{changeActive:function(e){var n=this.cateList;this.selectIndex=e,this.cateName=n[e].name},getGoodsSearchFun:function(){return(0,c.default)(o.default.mark((function e(){return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},changeNumber:function(){},toShop:function(){e.navigateTo({url:"/pages/shop/shop"})}},watch:{list:{handler:function(e){if(e.length){var n=e.findIndex((function(e){return 1==e.type}));this.selectIndex=-1==n?0:n,this.cateName=e[this.selectIndex].name,this.cateList=e,this.cateTwoList=e[this.selectIndex]?e[this.selectIndex].sons:[],this.getGoodsSearchFun()}}}}};n.default=i}).call(this,t("df3c")["default"])},ab30:function(e,n,t){},af58:function(e,n,t){"use strict";t.r(n);var u=t("31be"),o=t.n(u);for(var c in u)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(c);n["default"]=o.a},e8c4:function(e,n,t){"use strict";t.r(n);var u=t("e905"),o=t("af58");for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t("19fe");var i=t("828b"),a=Object(i["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=a.exports},e905:function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return u}));var u={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"8127"))},priceFormat:function(){return t.e("components/price-format/price-format").then(t.bind(null,"70de"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"9e59"))},uBadge:function(){return t.e("components/uview-ui/components/u-badge/u-badge").then(t.bind(null,"0eb6"))},uPopup:function(){return t.e("components/uview-ui/components/u-popup/u-popup").then(t.bind(null,"69ae"))},uNumberBox:function(){return t.e("components/uview-ui/components/u-number-box/u-number-box").then(t.bind(null,"8aee"))},shopSpec:function(){return t.e("components/shop-spec/shop-spec").then(t.bind(null,"2aa3"))}},o=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showSpec=!1})},c=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cate-one/cate-one-create-component',
{
'components/cate-one/cate-one-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("e8c4"))
})
},
[['components/cate-one/cate-one-create-component']]
]);

View File

@ -0,0 +1,12 @@
{
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-badge": "/components/uview-ui/components/u-badge/u-badge",
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-number-box": "/components/uview-ui/components/u-number-box/u-number-box",
"shop-spec": "/components/shop-spec/shop-spec"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="cate"><view class="cate-one row"><view class="aside"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true"><view style="padding-bottom:200rpx;"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['changeActive',[index]]]]]}}" class="{{['one-item sm '+(index==selectIndex?'active bg-white':'')]}}" bindtap="__e"><text class="name">{{item.name}}</text><block wx:if="{{index==selectIndex}}"><view class="active-line bg-default"></view></block></view></block></block></view></scroll-view></view><view class="main"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true" data-event-opts="{{[['scrolltolower',[['getGoodsSearchFun',['$event']]]]]}}" bindscrolltolower="__e"><view class="main-wrap"><view class="goods"><view class="u-m-t-32 bold-600">{{cateName}}</view><view class="u-m-t-32"><block wx:for="{{10}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toShop']]]]}}" class="bg-white br16 row u-col-top u-m-b-24" bindtap="__e"><view><u-image vue-id="{{'0565d282-1-'+index}}" src="{{cloudPath+'img/banner.png'}}" width="136" height="136" border-radius="16" bind:__l="__l"></u-image></view><view class="info"><view><view class="u-line-2 u-p-t-10">葱烩海鲜卷边披萨</view><view class="u-p-t-44 row-between"><view class="row"><view class="primary"><price-format vue-id="{{'0565d282-2-'+index}}" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view class="u-m-l-8"><price-format vue-id="{{'0565d282-3-'+index}}" lineThrough="{{true}}" color="#C0C0C0" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" bind:__l="__l"></price-format></view></view></view></view><view class="column-end"><u-icon vue-id="{{'0565d282-4-'+index}}" name="plus-circle-fill" color="#254062" size="48" bind:__l="__l"></u-icon></view></view></view></block></view></view></view></scroll-view></view></view><view class="buy mx40 px40 br60 row-between"><view class="row"><view class="u-relative"><u-image vue-id="0565d282-5" src="{{cloudPath+'img/icon_cart.png'}}" width="56" height="56" bind:__l="__l"></u-image><u-badge vue-id="0565d282-6" type="error" count="7" absolute="{{true}}" offset="[0, 0]" bind:__l="__l"></u-badge></view><view class="text-fff u-m-l-32">未选购商品</view></view><view class="text-999">去结算</view></view><u-popup bind:input="__e" vue-id="0565d282-7" mode="bottom" border-radius="{{16}}" value="{{showCart}}" data-event-opts="{{[['^input',[['__set_model',['','showCart','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view style="max-height:800rpx;"><view class="px20 text-999 mt20">温馨提示:请适量点餐</view><view><scroll-view style="height:700rpx;" scroll-y="true" scroll-with-animation="true"><block wx:for="{{20}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="row-start u-row-between u-p-t-20 u-padding-bottom-20 px20"><view class="row-start"><view><u-image vue-id="{{('0565d282-8-'+index)+','+('0565d282-7')}}" src="{{cloudPath+'img/banner.png'}}" width="136" height="136" border-radius="16" bind:__l="__l"></u-image></view><view class="ml20"><view class="u-line-2 u-p-t-10">葱烩海鲜卷边披萨</view><view class="primary u-p-t-40"><price-format vue-id="{{('0565d282-9-'+index)+','+('0565d282-7')}}" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view></view><view><view class="u-text-right"><u-icon class="u-p-t-10" vue-id="{{('0565d282-10-'+index)+','+('0565d282-7')}}" name="trash" size="32" bind:__l="__l"></u-icon></view><view class="u-p-t-30"><u-number-box vue-id="{{('0565d282-11-'+index)+','+('0565d282-7')}}" min="1" value="{{numberVal}}" data-event-opts="{{[['^change',[['changeNumber']]],['^input',[['__set_model',['','numberVal','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-number-box></view></view></view></block></scroll-view></view></view></u-popup><shop-spec bind:close="__e" bind:input="__e" vue-id="0565d282-12" value="{{showSpec}}" data-event-opts="{{[['^close',[['e0']]],['^input',[['__set_model',['','showSpec','$event',[]]]]]]}}" bind:__l="__l"></shop-spec></view>

View File

@ -0,0 +1 @@
page{padding-bottom:0}.cate{position:relative}.cate-one{height:100vh}.cate-one .aside{width:180rpx;flex:none;height:100%;background-color:#f7f8fa}.cate-one .aside .one-item{position:relative;text-align:center;height:108rpx;line-height:108rpx}.cate-one .aside .one-item.active{color:#254062;font-size:26rpx;font-weight:700}.cate-one .aside .one-item .active-line{position:absolute;width:6rpx;height:30rpx;left:4rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cate-one .main{background-color:#fffafb;height:100%;flex:1}.cate-one .main .main-wrap{position:relative;padding:0 20rpx}.cate-one .main .main-wrap .goods{padding-bottom:200rpx}.cate-one .main .main-wrap .goods .info{width:100%;display:flex;justify-content:space-between;margin:0 16rpx}.buy{position:fixed;left:0;right:0;bottom:env(safe-area-inset-bottom);height:100rpx;background-color:#212526}

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;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},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},ea34: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=[]},f80e:function(e,n,t){"use strict";t.r(n);var o=t("ea34"),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-m-t-80"><text>手机号码</text><view class="u-flex u-row-between flex1 u-m-l-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"])},"67a3":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("67a3"),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-m-t-80"><text>头像</text><view class="u-flex u-row-between flex1 u-m-l-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-m-t-60"><text>昵称</text><view class="u-flex u-row-between flex1 u-m-l-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/order-list/order-list"],{"314c":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"order-list",props:{type:{type:String,default:"all"}},methods:{cancleOrder:function(){},toPay:function(){},seeDetails:function(){},toRefund:function(){}}};t.default=u},"60a9":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return u}));var u={uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"8127"))},uLine:function(){return e.e("components/uview-ui/components/u-line/u-line").then(e.bind(null,"f36b"))},uButton:function(){return e.e("components/uview-ui/components/u-button/u-button").then(e.bind(null,"9c7d"))}},o=function(){var n=this.$createElement;this._self._c},i=[]},af1e:function(n,t,e){"use strict";e.r(t);var u=e("60a9"),o=e("ca41");for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);var r=e("828b"),c=Object(r["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=c.exports},ca41:function(n,t,e){"use strict";e.r(t);var u=e("314c"),o=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);t["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/order-list/order-list-create-component',
{
'components/order-list/order-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("af1e"))
})
},
[['components/order-list/order-list-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view><view class="bg-white br16 px20 u-p-t-20 u-p-b-20 u-m-b-24"><view><navigator hover-class="none" url="/pages/order_details/order_details?type=0"><view class="row-between"><view>煎饼果子套餐</view><view class="text-999">待付款</view></view><view class="u-m-t-16 row"><view><u-image vue-id="3262b9e2-1" src="{{cloudPath+'img/banner.png'}}" width="124" height="124" border-radius="16" bind:__l="__l"></u-image></view><view class="sm ml20 text-999"><view>下单时间:2024-10-10 16:58:53</view><view>预计时间:2025-10-10 16:58:54</view><view>数量:1</view><view>实付:¥0.00</view></view></view><view class="u-m-t-26 u-m-b-26"><u-line vue-id="3262b9e2-2" color="#EEE" bind:__l="__l"></u-line></view></navigator></view><view class="u-m-t-26 row-between"><view class="primary">等待时间:15分钟</view><view class="row"><view class="u-m-r-16"><u-button vue-id="3262b9e2-3" hover-class="none" customStyle="{{({width:'164rpx',height:'60rpx',color:'#999',border:'1px solid #DDD'})}}" plain="{{true}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['cancleOrder']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消订单</u-button></view><view><u-button vue-id="3262b9e2-4" hover-class="none" customStyle="{{({width:'164rpx',height:'60rpx',backgroundColor:themeColor,color:'#fff',border:'none'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['toPay']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">去付款</u-button></view></view></view></view></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/price-format/price-format"],{"46d1":function(t,e,r){"use strict";r.r(e);var n=r("e908"),i=r.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(u);e["default"]=i.a},"70de":function(t,e,r){"use strict";r.r(e);var n=r("a7f5"),i=r("46d1");for(var u in i)["default"].indexOf(u)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(u);var o=r("828b"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=c.exports},a7f5:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},i=[]},e908:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:[String,Number],default:28},secondSize:{type:[String,Number],default:28},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:[String,Number],default:28},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&""!==t&&void 0!==t&&(t=parseFloat(t),t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}};e.default=n}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/price-format/price-format-create-component',
{
'components/price-format/price-format-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("70de"))
})
},
[['components/price-format/price-format-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<text class="{{[(lineThrough?'line-through':'')+' price-format']}}" style="{{'color:'+(color)+';'+('font-weight:'+(weight)+';')}}"><block wx:if="{{showSubscript}}"><text style="{{'font-size:'+(subscriptSize+'rpx')+';'+('margin-right:'+('2rpx')+';')}}">¥</text></block><text style="{{'font-size:'+(firstSize+'rpx')+';'+('margin-right:'+('1rpx')+';')}}">{{priceSlice.first}}</text><block wx:if="{{priceSlice.second}}"><text style="{{'font-size:'+(secondSize+'rpx')+';'}}">{{"."+priceSlice.second}}</text></block></text>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/shop-spec/shop-spec"],{"2aa3":function(t,n,e){"use strict";e.r(n);var o=e("e81a"),u=e("93b4");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("8e1f");var r=e("828b"),c=Object(r["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=c.exports},"2c64":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"shop-spec",props:{value:{type:Boolean,required:!0}},data:function(){return{mobile:""}},methods:{close:function(){this.showPop=!1,this.$emit("close")}},computed:{showPop:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}};n.default=o},"8e1f":function(t,n,e){"use strict";var o=e("b409"),u=e.n(o);u.a},"93b4":function(t,n,e){"use strict";e.r(n);var o=e("2c64"),u=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=u.a},b409:function(t,n,e){},e81a:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}));var o={uPopup:function(){return e.e("components/uview-ui/components/u-popup/u-popup").then(e.bind(null,"69ae"))},uButton:function(){return e.e("components/uview-ui/components/u-button/u-button").then(e.bind(null,"9c7d"))}},u=function(){var t=this.$createElement,n=(this._self._c,{color:this.themeColor,border:"1px solid "+this.themeColor,padding:"16rpx 0"});this.$mp.data=Object.assign({},{$root:{a0:n}})},i=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/shop-spec/shop-spec-create-component',
{
'components/shop-spec/shop-spec-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("2aa3"))
})
},
[['components/shop-spec/shop-spec-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view><u-popup vue-id="53c645c8-1" mode="center" border-radius="{{16}}" value="{{showPop}}" data-event-opts="{{[['^close',[['close']]],['^input',[['__set_model',['','showPop','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="bg-white spec"><view class="shop-title bold-600 u-padding-left-40 w-full">商品标题</view><view class="u-m-l-40"><scroll-view style="height:500rpx;" scroll-y="true" scroll-with-animation="true"><view><view class="attr nr u-m-t-20 u-m-b-20">口味</view><view class="row wrap"><view class="attr-list active">要葱</view><view class="attr-list">要香菜</view><view class="attr-list">葱和香菜多要</view><view class="attr-list">葱和香菜不要</view></view></view><view><view class="attr nr u-m-t-20 u-m-b-20">口味</view><view class="row wrap"><view class="attr-list">要葱</view><view class="attr-list">要香菜</view><view class="attr-list">葱和香菜多要</view><view class="attr-list">葱和香菜不要</view></view></view><view><view class="attr nr u-m-t-20 u-m-b-20">口味</view><view class="row wrap"><view class="attr-list">要葱</view><view class="attr-list">要香菜</view><view class="attr-list">葱和香菜多要</view><view class="attr-list">葱和香菜不要</view></view></view></scroll-view></view><view class="mt20"><view class="u-m-l-40">已选规格:</view><view class="row u-row-center mt20"><view class="w-40 mr10"><u-button vue-id="{{('53c645c8-2')+','+('53c645c8-1')}}" 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 class="w-40 ml10"><u-button vue-id="{{('53c645c8-3')+','+('53c645c8-1')}}" 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></view></view></u-popup></view>

View File

@ -0,0 +1 @@
.spec{width:600rpx;height:800rpx}.spec .shop-title{height:90rpx;line-height:90rpx;font-size:36rpx;background-color:#fafafa}.spec .attr{color:#212425}.spec .attr-list{color:#37393b;background-color:#f9f9f9;margin:0 10rpx 10rpx 0;border-radius:16rpx;border:2rpx solid #f6f6f7;padding:20rpx}.spec .active{border:2rpx solid #254062;color:#254062}.spec .w-40{width:40%}

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 data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="u-avatar data-v-9fcd4974" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{!uText&&avatar}}"><image class="u-avatar__img data-v-9fcd4974" style="{{$root.s1}}" src="{{avatar}}" mode="{{imgMode}}" data-event-opts="{{[['error',[['loadError',['$event']]]]]}}" binderror="__e"></image></block><block wx:else><block wx:if="{{uText}}"><text class="u-line-1 data-v-9fcd4974" style="{{'font-size:'+('38rpx')+';'}}">{{uText}}</text></block><block wx:else><slot></slot></block></block><block wx:if="{{showSex}}"><view class="{{['u-avatar__sex','data-v-9fcd4974','u-avatar__sex--'+sexIcon]}}" style="{{$root.s2}}"><u-icon vue-id="39652493-1" name="{{sexIcon}}" size="20" class="data-v-9fcd4974" bind:__l="__l"></u-icon></view></block><block wx:if="{{showLevel}}"><view class="u-avatar__level data-v-9fcd4974" style="{{$root.s3}}"><u-icon vue-id="39652493-2" name="{{levelIcon}}" size="20" class="data-v-9fcd4974" bind:__l="__l"></u-icon></view></block></view>

View File

@ -0,0 +1 @@
.u-avatar.data-v-9fcd4974{display:inline-flex;align-items:center;justify-content:center;font-size:28rpx;color:#606266;border-radius:10px;position:relative}.u-avatar__img.data-v-9fcd4974{width:100%;height:100%}.u-avatar__sex.data-v-9fcd4974{position:absolute;width:32rpx;color:#fff;height:32rpx;display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:100rpx;top:5%;z-index:1;right:-7%;border:1px #fff solid}.u-avatar__sex--man.data-v-9fcd4974{background-color:#ff2c3c}.u-avatar__sex--woman.data-v-9fcd4974{background-color:#fa3534}.u-avatar__sex--none.data-v-9fcd4974{background-color:#f90}.u-avatar__level.data-v-9fcd4974{position:absolute;width:32rpx;color:#fff;height:32rpx;display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:100rpx;bottom:5%;z-index:1;right:-7%;border:1px #fff solid;background-color:#f90}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-badge/u-badge"],{"0480":function(t,e,o){"use strict";o.r(e);var n=o("b37f"),r=o.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(u);e["default"]=r.a},"0eb6":function(t,e,o){"use strict";o.r(e);var n=o("245d"),r=o("0480");for(var u in r)["default"].indexOf(u)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(u);o("acc3");var a=o("828b"),f=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"33069fd2",null,!1,n["a"],void 0);e["default"]=f.exports},"245d":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,o=(t._self._c,t.show?t.__get_style([{top:t.offset[0]+"rpx",right:t.offset[1]+"rpx",fontSize:t.fontSize+"rpx",position:t.absolute?"absolute":"static",color:t.color,backgroundColor:t.bgColor},t.boxStyle]):null);t.$mp.data=Object.assign({},{$root:{s0:o}})},r=[]},"87d4":function(t,e,o){},acc3:function(t,e,o){"use strict";var n=o("87d4"),r=o.n(n);r.a},b37f:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-badge",props:{type:{type:String,default:"error"},size:{type:String,default:"default"},isDot:{type:Boolean,default:!1},count:{type:[Number,String]},overflowCount:{type:Number,default:99},showZero:{type:Boolean,default:!1},offset:{type:Array,default:function(){return[20,20]}},absolute:{type:Boolean,default:!0},fontSize:{type:[String,Number],default:"24"},color:{type:String,default:"#ffffff"},bgColor:{type:String,default:""},isCenter:{type:Boolean,default:!1}},computed:{boxStyle:function(){var t={};return this.isCenter?(t.top=0,t.right=0,t.transform="translateY(-50%) translateX(50%)"):(t.top=this.offset[0]+"rpx",t.right=this.offset[1]+"rpx",t.transform="translateY(0) translateX(0)"),"mini"==this.size&&(t.transform=t.transform+" scale(0.8)"),t},showText:function(){return this.isDot?"":this.count>this.overflowCount?"".concat(this.overflowCount,"+"):this.count},show:function(){return 0!=this.count||0!=this.showZero}}};e.default=n}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-badge/u-badge-create-component',
{
'components/uview-ui/components/u-badge/u-badge-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("0eb6"))
})
},
[['components/uview-ui/components/u-badge/u-badge-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<block wx:if="{{show}}"><view class="{{['u-badge','data-v-33069fd2',isDot?'u-badge-dot':'',size=='mini'?'u-badge-mini':'',type?'u-badge--bg--'+type:'']}}" style="{{$root.s0}}">{{''+showText+''}}</view></block>

View File

@ -0,0 +1 @@
.u-badge.data-v-33069fd2{display:inline-flex;justify-content:center;align-items:center;line-height:24rpx;padding:4rpx 8rpx;border-radius:100rpx;z-index:9}.u-badge--bg--primary.data-v-33069fd2{background-color:#ff2c3c}.u-badge--bg--error.data-v-33069fd2{background-color:#fa3534}.u-badge--bg--success.data-v-33069fd2{background-color:#19be6b}.u-badge--bg--info.data-v-33069fd2{background-color:#909399}.u-badge--bg--warning.data-v-33069fd2{background-color:#f90}.u-badge-dot.data-v-33069fd2{height:16rpx;width:16rpx;border-radius:100rpx;line-height:1}.u-badge-mini.data-v-33069fd2{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:center center;transform-origin:center center}.u-info.data-v-33069fd2{background-color:#909399;color:#fff}

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-grid-item/u-grid-item"],{"30bf":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-grid-item",props:{bgColor:{type:String,default:"#ffffff"},index:{type:[Number,String],default:""},customStyle:{type:Object,default:function(){return{padding:"30rpx 0"}}}},data:function(){return{parentData:{hoverClass:"",col:3,border:!0}}},created:function(){this.updateParentData(),this.parent.children.push(this)},computed:{width:function(){return 100/Number(this.parentData.col)+"%"}},methods:{updateParentData:function(){this.getParentData("u-grid")},click:function(){this.$emit("click",this.index),this.parent&&this.parent.click(this.index)}}};e.default=i},3602:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.customStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},a=[]},3651:function(t,e,n){},"42aa":function(t,e,n){"use strict";n.r(e);var i=n("3602"),a=n("a1009");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("90d5");var u=n("828b"),c=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"742b2662",null,!1,i["a"],void 0);e["default"]=c.exports},"90d5":function(t,e,n){"use strict";var i=n("3651"),a=n.n(i);a.a},a1009:function(t,e,n){"use strict";n.r(e);var i=n("30bf"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-grid-item/u-grid-item-create-component',
{
'components/uview-ui/components/u-grid-item/u-grid-item-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("42aa"))
})
},
[['components/uview-ui/components/u-grid-item/u-grid-item-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view class="u-grid-item data-v-742b2662" style="{{'background:'+(bgColor)+';'+('width:'+(width)+';')}}" hover-class="{{parentData.hoverClass}}" hover-stay-time="{{200}}" data-event-opts="{{[['tap',[['click',['$event']]]]]}}" bindtap="__e"><view class="{{['u-grid-item-box','data-v-742b2662',parentData.border?'u-border-right u-border-bottom':'']}}" style="{{$root.s0}}"><slot></slot></view></view>

View File

@ -0,0 +1 @@
.u-grid-item.data-v-742b2662{box-sizing:border-box;background:#fff;display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative;flex-direction:column;position:relative;float:left}.u-grid-item-hover.data-v-742b2662{background:#f7f7f7!important}.u-grid-marker-box.data-v-742b2662{position:absolute;display:inline-flex;line-height:0}.u-grid-marker-wrap.data-v-742b2662{position:absolute}.u-grid-item-box.data-v-742b2662{padding:30rpx 0;display:flex;flex-direction:row;align-items:center;justify-content:center;flex-direction:column;flex:1;width:100%;height:100%}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-grid/u-grid"],{"33be":function(t,e,n){"use strict";n.r(e);var i=n("350e"),a=n("fd75");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("3e4a");var u=n("828b"),c=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"087daa7c",null,!1,i["a"],void 0);e["default"]=c.exports},"350e":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.gridStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},a=[]},"3e4a":function(t,e,n){"use strict";var i=n("9473"),a=n.n(i);a.a},9473:function(t,e,n){},"988e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-grid",props:{col:{type:[Number,String],default:3},border:{type:Boolean,default:!0},align:{type:String,default:"left"},hoverClass:{type:String,default:"u-hover-class"}},data:function(){return{index:0}},watch:{parentData:function(){this.children.length&&this.children.map((function(t){"function"==typeof t.updateParentData&&t.updateParentData()}))}},created:function(){this.children=[]},computed:{parentData:function(){return[this.hoverClass,this.col,this.size,this.border]},gridStyle:function(){var t={};switch(this.align){case"left":t.justifyContent="flex-start";break;case"center":t.justifyContent="center";break;case"right":t.justifyContent="flex-end";break;default:t.justifyContent="flex-start"}return t}},methods:{click:function(t){this.$emit("click",t)}}};e.default=i},fd75:function(t,e,n){"use strict";n.r(e);var i=n("988e"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-grid/u-grid-create-component',
{
'components/uview-ui/components/u-grid/u-grid-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("33be"))
})
},
[['components/uview-ui/components/u-grid/u-grid-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view class="{{['u-grid','data-v-087daa7c',(border)?'u-border-top u-border-left':'']}}" style="{{$root.s0}}"><slot></slot></view>

View File

@ -0,0 +1 @@
.u-grid.data-v-087daa7c{width:100%;position:relative;box-sizing:border-box;overflow:hidden}

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-line/u-line"],{"10a1":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.$createElement,e=(this._self._c,this.__get_style([this.lineStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},r=[]},2597:function(t,e,n){"use strict";var i=n("2cc8"),r=n.n(i);r.a},"2cc8":function(t,e,n){},7019:function(t,e,n){"use strict";n.r(e);var i=n("786d"),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},"786d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-line",props:{color:{type:String,default:"#e4e7ed"},length:{type:String,default:"100%"},direction:{type:String,default:"row"},hairLine:{type:Boolean,default:!0},margin:{type:String,default:"0"},borderStyle:{type:String,default:"solid"}},computed:{lineStyle:function(){var t={};return t.margin=this.margin,"row"==this.direction?(t.borderBottomWidth="1px",t.borderBottomStyle=this.borderStyle,t.width=this.$u.addUnit(this.length),this.hairLine&&(t.transform="scaleY(0.5)")):(t.borderLeftWidth="1px",t.borderLeftStyle=this.borderStyle,t.height=this.$u.addUnit(this.length),this.hairLine&&(t.transform="scaleX(0.5)")),t.borderColor=this.color,t}}};e.default=i},f36b:function(t,e,n){"use strict";n.r(e);var i=n("10a1"),r=n("7019");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("2597");var a=n("828b"),u=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"3ec82d89",null,!1,i["a"],void 0);e["default"]=u.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-line/u-line-create-component',
{
'components/uview-ui/components/u-line/u-line-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f36b"))
})
},
[['components/uview-ui/components/u-line/u-line-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view class="u-line data-v-3ec82d89" style="{{$root.s0}}"></view>

View File

@ -0,0 +1 @@
.u-line.data-v-3ec82d89{vertical-align:middle}

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,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-navbar/u-navbar"],{"1a98":function(t,e,n){"use strict";var i=n("3511"),a=n.n(i);a.a},"2c5d":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=t.getSystemInfoSync();n=t.getMenuButtonBoundingClientRect();var a={name:"u-navbar",props:{height:{type:[String,Number],default:""},backIconColor:{type:String,default:"#606266"},backIconName:{type:String,default:"nav-back"},backIconSize:{type:[String,Number],default:"44"},backText:{type:String,default:""},backTextStyle:{type:Object,default:function(){return{color:"#606266"}}},title:{type:String,default:""},titleWidth:{type:[String,Number],default:"250"},titleColor:{type:String,default:"#606266"},titleBold:{type:Boolean,default:!1},titleSize:{type:[String,Number],default:"16px"},isBack:{type:[Boolean,String],default:!0},background:{type:Object,default:function(){return{background:"#ffffff"}}},isFixed:{type:Boolean,default:!0},immersive:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},customBack:{type:Function,default:null},customClass:{type:String,default:""}},data:function(){return{menuButtonInfo:n,statusBarHeight:i.statusBarHeight}},computed:{navbarInnerStyle:function(){var t={};t.height=this.navbarHeight+"px";var e=i.windowWidth-n.left;return t.marginRight=e+"px",t},navbarStyle:function(){var t={};return t.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.navbar,Object.assign(t,this.background),t},titleStyle:function(){var e={},a=i.windowWidth-n.left;return e.left=(i.windowWidth-t.upx2px(this.titleWidth))/2+"px",e.right=a-(i.windowWidth-t.upx2px(this.titleWidth))/2+a+"px",e.width=t.upx2px(this.titleWidth)+"px",e},navbarHeight:function(){var t="ios"==i.platform?44:48;return this.height?this.height:t}},created:function(){},methods:{goBack:function(){"function"===typeof this.customBack?this.customBack.bind(this.$u.$parent.call(this))():t.navigateBack()}}};e.default=a}).call(this,n("df3c")["default"])},3511:function(t,e,n){},"93e6":function(t,e,n){"use strict";n.r(e);var i=n("9955"),a=n("b407");for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("1a98");var r=n("828b"),o=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"6b9ba696",null,!1,i["a"],void 0);e["default"]=o.exports},9955: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 i}));var i={uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"9e59"))}},a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__get_style([t.navbarStyle])),i=t.__get_style([t.navbarInnerStyle]),a=t.isBack&&t.backText?t.__get_style([t.backTextStyle]):null,u=t.title?t.__get_style([t.titleStyle]):null,r=t.isFixed&&!t.immersive?Number(t.navbarHeight):null;t.$mp.data=Object.assign({},{$root:{s0:n,s1:i,s2:a,s3:u,m0:r}})},u=[]},b407:function(t,e,n){"use strict";n.r(e);var i=n("2c5d"),a=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-navbar/u-navbar-create-component',
{
'components/uview-ui/components/u-navbar/u-navbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("93e6"))
})
},
[['components/uview-ui/components/u-navbar/u-navbar-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="data-v-6b9ba696"><view class="{{['u-navbar','data-v-6b9ba696',[(isFixed)?'u-navbar-fixed':'',(borderBottom)?'u-border-bottom':''],customClass]}}" style="{{$root.s0}}"><view class="u-status-bar data-v-6b9ba696" style="{{'height:'+(statusBarHeight+'px')+';'}}"></view><view class="u-navbar-inner data-v-6b9ba696" style="{{$root.s1}}"><view class="u-navbar-left data-v-6b9ba696"><block wx:if="{{isBack}}"><view data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" class="u-back-wrap data-v-6b9ba696" bindtap="__e"><view class="u-icon-wrap data-v-6b9ba696"><u-icon vue-id="19f09a9a-1" name="{{backIconName}}" color="{{backIconColor}}" size="{{backIconSize}}" class="data-v-6b9ba696" bind:__l="__l"></u-icon></view><block wx:if="{{backText}}"><view class="u-icon-wrap u-back-text u-line-1 data-v-6b9ba696" style="{{$root.s2}}">{{backText}}</view></block></view></block><block wx:else><view class="u-back-wrap data-v-6b9ba696"><slot name="left"></slot></view></block></view><block wx:if="{{title}}"><view class="u-navbar-content-title data-v-6b9ba696" style="{{$root.s3}}"><view class="u-title u-line-1 data-v-6b9ba696" style="{{'color:'+(titleColor)+';'+('font-size:'+(titleSize)+';')+('font-weight:'+(titleBold?'bold':'normal')+';')}}">{{''+title+''}}</view></view></block><view class="u-slot-content data-v-6b9ba696"><slot></slot></view><view class="u-slot-right data-v-6b9ba696"><slot name="right"></slot></view></view></view><block wx:if="{{isFixed&&!immersive}}"><view class="u-navbar-placeholder data-v-6b9ba696" style="{{'width:'+('100%')+';'+('height:'+($root.m0+statusBarHeight+'px')+';')}}"></view></block></view>

View File

@ -0,0 +1 @@
.u-navbar.data-v-6b9ba696{width:100%}.u-navbar-fixed.data-v-6b9ba696{position:fixed;left:0;right:0;top:0;z-index:991}.u-status-bar.data-v-6b9ba696{width:100%}.u-navbar-inner.data-v-6b9ba696{display:flex;flex-direction:row;justify-content:space-between;position:relative;align-items:center}.u-back-wrap.data-v-6b9ba696{display:flex;flex-direction:row;align-items:center;flex:1;flex-grow:0;padding:14rpx 14rpx 14rpx 24rpx}.u-back-text.data-v-6b9ba696{padding-left:4rpx;font-size:30rpx}.u-navbar-content-title.data-v-6b9ba696{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1;position:absolute;left:0;right:0;height:60rpx;text-align:center;flex-shrink:0}.u-navbar-centent-slot.data-v-6b9ba696{flex:1}.u-title.data-v-6b9ba696{line-height:60rpx;font-size:32rpx;flex:1}.u-navbar-right.data-v-6b9ba696{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.u-slot-content.data-v-6b9ba696{flex:1;display:flex;flex-direction:row;align-items:center}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uview-ui/components/u-number-box/u-number-box"],{"00ad":function(t,n,i){"use strict";i.d(n,"b",(function(){return u})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){return e}));var e={uIcon:function(){return i.e("components/uview-ui/components/u-icon/u-icon").then(i.bind(null,"9e59"))}},u=function(){var t=this.$createElement;this._self._c},a=[]},"0bf4":function(t,n,i){},"4f10":function(t,n,i){"use strict";i.r(n);var e=i("a100"),u=i.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(a);n["default"]=u.a},"53bf":function(t,n,i){"use strict";var e=i("0bf4"),u=i.n(e);u.a},"8aee":function(t,n,i){"use strict";i.r(n);var e=i("00ad"),u=i("4f10");for(var a in u)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return u[t]}))}(a);i("53bf");var r=i("828b"),s=Object(r["a"])(u["default"],e["b"],e["c"],!1,null,"2476bff6",null,!1,e["a"],void 0);n["default"]=s.exports},a100:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"u-number-box",props:{value:{type:Number,default:1},bgColor:{type:String,default:"#F2F3F5"},min:{type:Number,default:0},max:{type:Number,default:99999},step:{type:Number,default:1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:26},color:{type:String,default:"#323233"},inputWidth:{type:[Number,String],default:80},inputHeight:{type:[Number,String],default:50},index:{type:[Number,String],default:""},disabledInput:{type:Boolean,default:!1},cursorSpacing:{type:[Number,String],default:100},longPress:{type:Boolean,default:!0},pressTime:{type:[Number,String],default:250},positiveInteger:{type:Boolean,default:!0}},watch:{value:function(t,n){if(console.log(t,n),!this.changeFromInner){if(this.inputVal==t)return;this.inputVal=t,this.$nextTick((function(){this.changeFromInner=!1}))}},inputVal:function(t,n){var i=this;if(""!=t){var e=0,u=this.$u.test.number(t);e=u&&t>=this.min&&t<=this.max?t:n,this.positiveInteger&&(t<0||-1!==String(t).indexOf("."))&&(e=n,this.$nextTick((function(){i.inputVal=n}))),this.isFistVal||this.handleChange(e,"change")}}},data:function(){return{inputVal:1,timer:null,changeFromInner:!1,innerChangeTimer:null,isFistVal:!0}},created:function(){this.inputVal=Number(this.value),this.isFistVal=!1},computed:{getCursorSpacing:function(){return Number(t.upx2px(this.cursorSpacing))}},methods:{btnTouchStart:function(t){var n=this;this[t](),this.longPress&&(clearInterval(this.timer),this.timer=null,this.timer=setInterval((function(){n[t]()}),this.pressTime))},clearTimer:function(){var t=this;this.$nextTick((function(){clearInterval(t.timer),t.timer=null}))},minus:function(){this.computeVal("minus")},plus:function(){this.computeVal("plus")},calcPlus:function(t,n){var i,e,u;try{e=t.toString().split(".")[1].length}catch(r){e=0}try{u=n.toString().split(".")[1].length}catch(r){u=0}i=Math.pow(10,Math.max(e,u));var a=e>=u?e:u;return((t*i+n*i)/i).toFixed(a)},calcMinus:function(t,n){var i,e,u;try{e=t.toString().split(".")[1].length}catch(r){e=0}try{u=n.toString().split(".")[1].length}catch(r){u=0}i=Math.pow(10,Math.max(e,u));var a=e>=u?e:u;return((t*i-n*i)/i).toFixed(a)},computeVal:function(n){if(t.hideKeyboard(),!this.disabled){var i=0;"minus"===n?i=this.calcMinus(this.inputVal,this.step):"plus"===n&&(i=this.calcPlus(this.inputVal,this.step)),i<this.min||i>this.max||(this.inputVal=i,this.handleChange(i,n))}},onBlur:function(t){var n=this,i=0,e=t.detail.value;/(^\d+$)/.test(e)&&0!=e[0]||(i=this.min),i=+e,i>this.max?i=this.max:i<this.min&&(i=this.min),this.$nextTick((function(){n.inputVal=i})),this.handleChange(i,"blur")},onFocus:function(){this.$emit("focus")},handleChange:function(t,n){var i=this;this.disabled||(this.innerChangeTimer&&(clearTimeout(this.innerChangeTimer),this.innerChangeTimer=null),this.changeFromInner=!0,this.innerChangeTimer=setTimeout((function(){i.changeFromInner=!1}),150),this.$emit("input",Number(t)),this.$emit(n,{value:Number(t),index:this.index}))}}};n.default=i}).call(this,i("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uview-ui/components/u-number-box/u-number-box-create-component',
{
'components/uview-ui/components/u-number-box/u-number-box-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("8aee"))
})
},
[['components/uview-ui/components/u-number-box/u-number-box-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-numberbox data-v-2476bff6"><view data-event-opts="{{[['touchstart',[['btnTouchStart',['minus']]]],['touchend',[['clearTimer',['$event']]]]]}}" class="{{['u-icon-minus','data-v-2476bff6',(disabled||inputVal<=min)?'u-icon-disabled':'']}}" style="{{'background:'+(bgColor)+';'+('height:'+(inputHeight+'rpx')+';')+('color:'+(color)+';')}}" catchtouchstart="__e" catchtouchend="__e"><u-icon vue-id="1007565a-1" name="minus" size="{{size}}" class="data-v-2476bff6" bind:__l="__l"></u-icon></view><input class="{{['u-number-input','data-v-2476bff6',(disabled)?'u-input-disabled':'']}}" style="{{'color:'+(color)+';'+('font-size:'+(size+'rpx')+';')+('background:'+(bgColor)+';')+('height:'+(inputHeight+'rpx')+';')+('width:'+(inputWidth+'rpx')+';')}}" disabled="{{disabledInput||disabled}}" cursor-spacing="{{getCursorSpacing}}" type="number" data-event-opts="{{[['blur',[['onBlur',['$event']]]],['focus',[['onFocus',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindblur="__e" bindfocus="__e" bindinput="__e"/><view data-event-opts="{{[['touchstart',[['btnTouchStart',['plus']]]],['touchend',[['clearTimer',['$event']]]]]}}" class="{{['u-icon-plus','data-v-2476bff6',(disabled||inputVal>=max)?'u-icon-disabled':'']}}" style="{{'background:'+(bgColor)+';'+('height:'+(inputHeight+'rpx')+';')+('color:'+(color)+';')}}" catchtouchstart="__e" catchtouchend="__e"><u-icon vue-id="1007565a-2" name="plus" size="{{size}}" class="data-v-2476bff6" bind:__l="__l"></u-icon></view></view>

View File

@ -0,0 +1,2 @@
.u-numberbox.data-v-2476bff6{display:inline-flex;align-items:center}.u-number-input.data-v-2476bff6{position:relative;text-align:center;padding:0;margin:0 6rpx;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-icon-plus.data-v-2476bff6,
.u-icon-minus.data-v-2476bff6{width:60rpx;display:flex;flex-direction:row;justify-content:center;align-items:center}.u-icon-plus.data-v-2476bff6{border-radius:0 8rpx 8rpx 0}.u-icon-minus.data-v-2476bff6{border-radius:8rpx 0 0 8rpx}.u-icon-disabled.data-v-2476bff6{color:#c8c9cc!important;background:#f7f8fa!important}.u-input-disabled.data-v-2476bff6{color:#c8c9cc!important;background-color:#f2f3f5!important}

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']]
]);

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