初始化代码

This commit is contained in:
2025-12-22 17:13:05 +08:00
parent ed0de08e3a
commit 1f7e9d401b
2947 changed files with 526137 additions and 0 deletions

10
front/components/abnor.js Normal file
View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/abnor"],{"20e6":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n("26cb"),u={REQUEST_ERROR:{image:"https://lbqny.migugu.com/admin/public/request-error.png",title:"网络加载失败",button:[{text:"点击刷新",type:"confirm"}],tip:[]},NOT_FOUND:{image:"https://lbqny.migugu.com/admin/public/not-found.png",title:"很抱歉,找不到你要访问的页面",button:[{text:"返回",type:"cancel"}],tip:[]},DATA:{image:"/static/image/loading/no-data.png",title:"没有相关数据哦",button:[],tip:[{text:"",color:0}]},FOLLOW:{image:"https://lbqny.migugu.com/admin/public/no-follow.png",title:"关注有趣的人",button:[],tip:[{text:"不再错过他们每一条动态",color:0}]},FEED:{image:"https://lbqny.migugu.com/admin/public/no-feed.png",title:"还没有任何反馈哦",button:[],tip:[]},SHOP:{image:"https://lbqny.migugu.com/admin/public/no-shop.png",title:"稍后再来试试吧~",button:[],tip:[]},WEIBO:{image:"https://lbqny.migugu.com/admin/public/no-weibo.png",title:"",button:[],tip:[]},SEARCH:{image:"https://lbqny.migugu.com/admin/public/no-search.png",title:"抱歉!没找到相关商品~",button:[],tip:[]},TAG:{image:"https://lbqny.migugu.com/admin/public/no-tag.png",title:"",button:[],tip:[]},MESSAGE:{image:"https://lbqny.migugu.com/admin/public/no-message.png",title:"消息通知空空如也",button:[],tip:[]},LIVE:{image:"https://lbqny.migugu.com/admin/public/no-live.png",title:"",button:[],tip:[]},ORDER:{image:"https://lbqny.migugu.com/admin/public/no-order.png",title:"还没有相关订单哦",button:[],tip:[]},CART:{image:"https://lbqny.migugu.com/admin/public/no-cart.png",title:"购物车还是空的哦~",button:[{text:"去逛逛",type:"confirm"}],tip:[]},FOOTPRINT:{image:"https://lbqny.migugu.com/admin/public/no-footprint.png",title:"你还没有足迹~",button:[],tip:[]},COUPON:{image:"/static/image/loading/coupon.png",title:"暂无卡券",button:[],tip:[{text:"去首页逛逛吧~",color:0}]},REDUCTION:{image:"https://lbqny.migugu.com/admin/reduction/nodata.png",title:"您当前没有满减券,请向工作人员索取",button:[],tip:[]}},o={name:"abnor",props:{type:{type:String,default:function(){return"DATA"}},image:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},tip:{type:Array,default:function(){return[]}},button:{type:Array,default:function(){return[]}},tipTap:{type:String,default:function(){return""}},tipMax:{type:String,default:function(){return"100%"}},btnSize:{type:String,default:function(){return"big"}},percent:{type:String,default:function(){return"100%"}}},created:function(){this.init()},data:function(){return{pimage:"",ptitle:"",ptip:"",pbutton:""}},computed:(0,e.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),methods:{emitAbnorTipTap:function(){var t=this.tipTap,i=void 0===t?"":t;i&&this.$emit(i)},emitAbnorTap:function(t){var i=this.pbutton[t].type;this.$emit(i)},init:function(){var t=this.type;u[t]&&(this.pimage=this.image||u[t].image,this.ptitle=this.title||u[t].title,this.pbutton=this.button.length>0?this.button:u[t].button,this.ptip=this.tip.length>0?this.tip:u[t].tip)}}};i.default=o},8922:function(t,i,n){"use strict";var e=n("eaec"),u=n.n(e);u.a},b84b:function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return u})),n.d(i,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},u=[]},bd24:function(t,i,n){"use strict";n.r(i);var e=n("b84b"),u=n("ed93");for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return u[t]}))}(o);n("8922");var p=n("f0c5"),a=Object(p["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);i["default"]=a.exports},eaec:function(t,i,n){},ed93:function(t,i,n){"use strict";n.r(i);var e=n("20e6"),u=n.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(o);i["default"]=u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/abnor-create-component',
{
'components/abnor-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("bd24"))
})
},
[['components/abnor-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="abnor" style="{{'padding-bottom:'+(percent)+';'}}"><view class="abnor-box"><block wx:if="{{pimage}}"><image class="abnor-image" mode="aspectFit" src="{{pimage}}"></image></block><block wx:if="{{ptitle}}"><view class="abnor-text">{{ptitle}}</view></block><block wx:if="{{ptip}}"><view data-event-opts="{{[['tap',[['emitAbnorTipTap',['$event']]]]]}}" class="{{['abnor-tip',[(!tipMax)?'tip-flex':'']]}}" style="{{'max-width:'+(tipMax)+';'+('text-align:'+(tipMax?'left':'')+';')}}" catchtap="__e"><block wx:for="{{ptip}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text style="{{'color:'+(item.color==1?primaryColor:'')+';'}}">{{item.text}}</text></block></view></block><block wx:if="{{pbutton}}"><block><block wx:for="{{pbutton}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['emitAbnorTap',[index]]]]]}}" class="{{['abnor-btn',btnSize]}}" style="{{'background:'+(item.type=='confirm'?primaryColor:'')+';'+('color:'+(item.type=='confirm'?'white':'')+';')}}" catchtap="__e">{{item.text}}</view></block></block></block></block></view></view>

View File

@@ -0,0 +1 @@
.abnor{position:relative;display:block;width:100%;height:0;padding-bottom:100%;overflow:hidden}.abnor .abnor-box{position:absolute;display:flex;top:0;bottom:0;left:0;right:0;flex-direction:column;justify-content:center;align-items:center}.abnor .abnor-box .abnor-image{width:514rpx;height:260rpx;background:transparent}.abnor .abnor-box .abnor-text{margin-top:30rpx;color:#333;font-size:30rpx;font-weight:400}.abnor .abnor-box .abnor-tip{margin:15rpx 0 10rpx 0;color:#999;font-size:26rpx;text-align:center;max-height:30vh;overflow:auto}.abnor .abnor-box .tip-flex{display:flex;align-items:center;justify-content:center;flex-direction:column}.abnor .abnor-box .abnor-btn{min-width:228rpx;height:66rpx;margin-top:30rpx;padding:0 30rpx;background-color:#eee;border:0 none;border-radius:10rpx;color:#333;font-size:28rpx;text-align:center;line-height:66rpx}.abnor .abnor-box .abnor-btn.big{width:690rpx;height:100rpx;line-height:100rpx;font-size:32rpx;margin-top:40rpx;border-radius:50rpx}

10
front/components/auth.js Normal file

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -0,0 +1 @@
<view style="width:100%;"><block wx:if="{{needAuth}}"><block><view data-event-opts="{{[['tap',[['toShowAuth',['$event']]]]]}}" bindtap="__e"><slot></slot></view></block></block><block wx:else><block><view data-event-opts="{{[['tap',[['go',[1]]]]]}}" bindtap="__e"><slot></slot></view></block></block><uni-popup class="vue-ref" vue-id="3b7d33fa-1" data-ref="show_auth_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="auth-box fill-base flex-column flex-center radius-26"><block wx:if="{{pType==='userInfo'}}"><block><view class="auth-top fill-base flex-column flex-center" style="{{'background-color:'+(primaryColor)+';'}}"><view class="flex-center pd-lg"><view class="auth-info" style="overflow:hidden;"><button class="auth-info" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar" src="{{avatarUrl||'/static/mine/default_user.png'}}"></image></button></view></view><view class="f-paragraph c-base">选择头像</view></view><view class="auth-w mt-lg mb-lg"><view class="auth-input"><view style="width:110rpx;">昵称:</view><view><input type="nickname" placeholder="请输入昵称" data-event-opts="{{[['blur',[['onBlur',['$event']]]]]}}" bindblur="__e"/></view></view></view></block></block><block wx:if="{{pType=='phone'}}"><block><image class="auth-img" src="/static/mine/auth.png"></image></block></block><view class="space-sm"></view><view class="f-caption" style="{{'color:'+(primaryColor)+';'}}">{{contentList[pType][0]}}</view><view class="space-lg"></view><view class="space-lg"></view><block wx:if="{{pType==='userInfo'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background-color:'+(primaryColor)+';'+('color:'+('white')+';')}}" hover-class="btn-hover" data-event-opts="{{[['tap',[['authUserProfile',['$event']]]]]}}" catchtap="__e">{{btn_text||contentList[pType][1]}}</button></block></block><block wx:if="{{pType==='phone'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background-color:'+(primaryColor)+';'+('color:'+('white')+';')}}" open-type="getPhoneNumber" hover-class="btn-hover" data-event-opts="{{[['getphonenumber',[['authPhone',['$event']]]]]}}" bindgetphonenumber="__e">{{''+(btn_text||contentList[pType][1])+''}}</button></block></block><block wx:if="{{pType==='setting'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background-color:'+(primaryColor)+';'+('color:'+('white')+';')}}" open-type="openSetting" hover-class="btn-hover" data-event-opts="{{[['opensetting',[['openSetting',['$event']]]]]}}" bindopensetting="__e">{{''+(btn_text||contentList[pType][1])+''}}</button></block></block><block wx:if="{{!must}}"><view data-event-opts="{{[['tap',[['go',[pType=='phone'&&!userInfo.phone?2:1]]]]]}}" class="f-caption c-caption mt-md" bindtap="__e">{{pType=='userInfo'?'暂不授权':'暂不登录'}}</view></block><view class="space-md"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="3b7d33fa-2" maskClick="{{false}}" data-ref="show_phone_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content popup-phone pd-lg flex-center flex-column fill-base"><view class="f-md-title c-black">请输入手机号</view><view class="space-lg pb-lg"></view><view class="space-lg pb-lg"></view><view class="flex-center mb-lg"><view class="input-info sm mr-md radius-16"><input class="item-input flex-y-center pl-lg pr-lg f-sm-title c-title" type="number" placeholder-class="c-placeholder" placeholder="{{rule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['subForm']]]]]}}" value="{{subForm.phone}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['toSend',['$event']]]]]}}" class="send-btn flex-center c-base radius-16" style="{{'background:'+(primaryColor)+';'}}" bindtap="__e">{{''+(authTime>0?'('+authTime+'s)':'发送')+''}}</view></view><view class="input-info radius-16"><input class="item-input flex-y-center pl-lg pr-lg f-sm-title c-title" type="number" maxlength="6" placeholder-class="c-placeholder" placeholder="{{rule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','short_code','$event',[]],['subForm']]]]]}}" value="{{subForm.short_code}}" bindinput="__e"/></view><view class="button"><view data-event-opts="{{[['tap',[['go',[3]]]]]}}" class="item-child" catchtap="__e">取消</view><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="item-child" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">确定</view></view></view></uni-popup></view>

View File

@@ -0,0 +1 @@
.auth-box{width:630rpx;height:auto;padding:0 30rpx 30rpx 30rpx;overflow:hidden}.auth-box .auth-img{width:322rpx;height:341rpx}.auth-box .auth-btn{width:100%;height:85rpx;border-radius:8rpx}.auth-box .auth-info{width:120rpx;height:120rpx;background:#f4f6f8;border-radius:50%}.auth-top{width:930rpx;height:260rpx;border-radius:0 0 50% 50%;overflow:hidden}.auth-w{width:100%}.auth-input{align-items:center;background:#efeff5;display:flex;padding:20rpx;border-radius:8rpx}.popup-phone{width:630rpx}.popup-phone .input-info{width:570rpx;height:90rpx;background:#f7f7f7}.popup-phone .input-info .item-input{height:90rpx;font-size:32rpx;text-align:left}.popup-phone .input-info.sm{width:400rpx}.popup-phone .send-btn{width:150rpx;height:90rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/banner"],{"31a9":function(t,n,e){"use strict";e.r(n);var r=e("4606d"),u=e("748c");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("4294");var o=e("f0c5"),a=Object(o["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=a.exports},4294:function(t,n,e){"use strict";var r=e("4459"),u=e.n(r);u.a},4459:function(t,n,e){},"4606d":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.list.length),r=t.list.length,u=t.list.length>1&&"number"==t.indicatorType,i=u?t.list.length:null,o=t.list.length>1&&"dot"==t.indicatorType;t.$mp.data=Object.assign({},{$root:{g0:e,g1:r,g2:u,g3:i,g4:o}})},u=[]},"748c":function(t,n,e){"use strict";e.r(n);var r=e("f240"),u=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);n["default"]=u.a},f240:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("26cb"),u={name:"banner",props:{list:{type:Array,default:function(){return[1,2,3]}},height:{type:Number,default:function(){return 400}},indicatorType:{type:String,default:function(){return"dot"}},indicatorColor:{type:String,default:function(){return"#FEFFFE"}},indicatorActiveColor:{type:String,default:function(){return"#fff"}},indicatorStyle:{type:String,default:function(){return"center"}},circular:{type:Boolean,default:function(){return!0}},autoplay:{type:Boolean,default:function(){return!1}},previousMargin:{type:Number,default:function(){return 0}},nextMargin:{type:Number,default:function(){return 0}},dotWidth:{type:Number,default:function(){return 12}},margin:{type:Number,default:function(){return 0}},borderRadius:{type:Number,default:function(){return 0}},haveVideo:{type:Boolean,default:function(){return!1}}},created:function(){},data:function(){return{activeIndex:0}},computed:(0,r.mapState)({configInfo:function(t){return t.config.configInfo},commonOptions:function(t){return t.user.commonOptions}}),methods:{handerChange:function(t){this.activeIndex=t.detail.current},changeItem:function(t,n){this.$emit("change",{item:t,index:n})}}};n.default=u}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/banner-create-component',
{
'components/banner-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("31a9"))
})
},
[['components/banner-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="swiper-box" style="{{'margin:'+('0 '+margin+'rpx')+';'+('border-radius:'+(.3125+'rem')+';')}}"><swiper class="swiper-ad" style="{{'height:'+(11.375+'rem')+';'+('border-radius:'+(.3125+'rem')+';')}}" indicator-dots="{{false}}" autoplay="{{autoplay}}" indicator-color="{{indicatorColor}}" indicator-active-color="{{indicatorActiveColor}}" circular="{{circular}}" previous-margin="{{$root.g0>1?previousMargin:0}}" next-margin="{{$root.g1>1?nextMargin:0}}" easing-function="linear" data-event-opts="{{[['change',[['handerChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view data-event-opts="{{[['tap',[['changeItem',['$0',index],[[['list','',index]]]]]]]}}" class="img-box rel" style="{{'border-radius:'+(.3125+'rem')+';'}}" bindtap="__e"><image class="swiper-ad__img" style="{{'border-radius:'+(.3125+'rem')+';'}}" mode="aspectFill" lazy-load="{{true}}" src="{{item.img||item.cover||item}}"></image><block wx:if="{{haveVideo&&index==0}}"><view class="abs play-video flex-center" style="{{'border-radius:'+(.3125+'rem')+';'}}"><view class="iconfont icon-bofang _i"></view></view></block></view></swiper-item></block></swiper><block wx:if="{{$root.g2}}"><view class="numbers" style="{{'text-align:'+(indicatorStyle)+';'}}"><view class="number">{{activeIndex+1+"/"+$root.g3}}</view></view></block><block wx:if="{{$root.g4}}"><view class="dots" style="{{'text-align:'+(indicatorStyle)+';'}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="dot" style="{{'background-color:'+(index==activeIndex?indicatorActiveColor:indicatorColor)+';'+('width:'+(index==activeIndex?dotWidth+'rpx':'12rpx')+';')}}"></view></block></view></block></view>

View File

@@ -0,0 +1 @@
.swiper-box{position:relative;overflow:hidden}.swiper-box .img-box{width:100%;height:100%}.swiper-box .img-box .swiper-ad__img{width:100%;height:100%;background:#fff}.swiper-box .img-box .play-video{width:100%;height:100%;top:0;background:rgba(0,0,0,.2)}.swiper-box .img-box .play-video .iconfont{font-size:100rpx;color:#fff}.swiper-box .dots{position:absolute;z-index:20rpx;text-align:right;width:100%;-webkit-transform:translateY(-48rpx);transform:translateY(-48rpx);padding:0 20rpx}.swiper-box .dots .dot{display:inline-block;height:12rpx;width:12rpx;background-color:#fefffe;border-radius:6rpx;margin:0 8rpx}.swiper-box .numbers{position:absolute;z-index:20rpx;text-align:right;width:100%;-webkit-transform:translateY(-80rpx);transform:translateY(-80rpx);padding:0 20rpx}.swiper-box .numbers .number{display:inline-block;width:90rpx;line-height:50rpx;background:rgba(0,0,0,.3);text-align:center;color:#fff;border-radius:45rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/column"],{"0d3a":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,"swiper"==t.type?t.__map(t.formatList,(function(n,e){var r=t.__get_orig(n),u=t.__map(n,(function(n,e){var r=t.__get_orig(n),u=n.icon?null:t.getFirstText(n.cate_name);return{$orig:r,m0:u}}));return{$orig:r,l0:u}})):null),r="swiper"==t.type?t.formatList.length:null,u="scroll"==t.type?t.list.length:null;t.$mp.data=Object.assign({},{$root:{l1:e,g0:r,g1:u}})},u=[]},"4c5c":function(t,n,e){"use strict";var r=e("9bb1"),u=e.n(r);u.a},"4f40":function(t,n,e){"use strict";e.r(n);var r=e("5a0f"),u=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);n["default"]=u.a},"5a0f":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"column",props:{type:{type:String,default:function(){return"swiper"}},list:{type:Array,default:function(){return[]}},colNum:{type:Number,default:function(){return 4}},rowNum:{type:Number,default:function(){return 2}},indicatorActiveColor:{type:String,default:function(){return"#f6f5fa"}},indicatorColor:{type:String,default:function(){return"#f6f5fa"}},wingBlank:{type:Number,default:function(){return 0}},whiteSpace:{type:Number,default:function(){return 30}},borderRadius:{type:Number,default:function(){return 0}}},created:function(){},data:function(){return{activeIndex:0,newList:[],left:0,current:0,colorList:["#fc7f87","#56b4fc","#f8ae41","#11dd9e","#fba745","#fb7c85","#46adfc","#fc7d86"]}},computed:{formatRowNum:function(){var t=this.colNum,n=this.rowNum,e=this.list,r=e.length,u=r<=t?1:n;return u},formatList:function(){var t=this.colNum,n=(this.rowNum,this.type,this.list),e=this.formatRowNum,r=0,u=n.length,i=[],c=e*t;while(r<u)i.push(n.slice(r,r+=c));return i}},methods:{handerScroll:function(n){var e=n.detail,r=e.scrollLeft,u=e.scrollWidth,i=t.getSystemInfoSync().windowWidth,c=30*r/(u-i);this.left=c},handerChange:function(t){this.current=t.detail.current},change:function(t){this.$emit("change",t)},getFirstText:function(t){return t=t||"名称",t.slice(0,1)}}};n.default=e}).call(this,e("543d")["default"])},"9bb1":function(t,n,e){},e6c6:function(t,n,e){"use strict";e.r(n);var r=e("0d3a"),u=e("4f40");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("4c5c");var c=e("f0c5"),o=Object(c["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=o.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/column-create-component',
{
'components/column-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("e6c6"))
})
},
[['components/column-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view><block wx:if="{{type=='swiper'}}"><view class="column-box" style="{{'padding-top:'+(whiteSpace+'rpx')+';'+('padding-bottom:'+(whiteSpace+'rpx')+';')+('padding-left:'+(wingBlank+'rpx')+';')+('padding-right:'+(wingBlank+'rpx')+';')}}"><swiper data-event-opts="{{[['change',[['handerChange',['$event']]]]]}}" class="swiper-category" style="{{'height:'+(146*formatRowNum+20*(formatRowNum-1)+'rpx')+';'}}" bindchange="__e"><block wx:for="{{$root.l1}}" wx:for-item="pitem" wx:for-index="pindex" wx:key="pindex"><swiper-item class="swiper-category-item"><block wx:for="{{pitem.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['change',['$0'],[[['formatList','',pindex],['','',index]]]]]]]}}" class="column-item" style="{{'width:'+(100/colNum+'%')+';'+('margin-top:'+(index<colNum?'0':'20rpx')+';')}}" bindtap="__e"><block wx:if="{{item.$orig.icon}}"><image class="column-img" mode="aspectFill" lazy-load="{{true}}" src="{{item.$orig.icon}}"></image></block><block wx:else><view class="column-no-img" style="{{'background:'+(colorList[index%8])+';'+('border-radius:'+('50%')+';')+('margin:'+('0rpx auto')+';')}}">{{''+item.m0+''}}</view></block><view class="column-text">{{item.$orig.cate_name}}</view></view></block></swiper-item></block></swiper><block wx:if="{{$root.g0>1}}"><view class="dots"><block wx:for="{{formatList.length}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="dot" style="{{'background:'+(index==current?indicatorActiveColor:indicatorColor)+';'}}"></view></block></view></block></view></block><block wx:if="{{type=='scroll'}}"><view class="column-box" style="{{'padding-top:'+(whiteSpace+'rpx')+';'+('padding-bottom:'+(whiteSpace+'rpx')+';')+('padding-left:'+(wingBlank+'rpx')+';')+('padding-right:'+(wingBlank+'rpx')+';')}}"><scroll-view class="scroll-x" scroll-x="{{true}}" data-event-opts="{{[['scroll',[['handerScroll',['$event']]]]]}}" bindscroll="__e"><block wx:for="{{formatList}}" wx:for-item="pItem" wx:for-index="pindex" wx:key="pindex"><view class="scroll-x-item"><block wx:for="{{pItem}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['change',['$0'],[[['formatList','',pindex],['','',index]]]]]]]}}" class="column-item" style="{{'width:'+(750/colNum+'rpx')+';'}}" bindtap="__e"><image class="column-img" mode="aspectFill" lazy-load="{{true}}" src="{{item.icon}}"></image><view class="column-text">{{item.cate_name}}</view></view></block></view></block></scroll-view><block wx:if="{{$root.g1>formatRowNum*colNum}}"><view class="ink-bar-box"><view class="ui-tabs-ink-bar-wrapper"><view class="ui-tabs-ink-bar" style="{{'left:'+(left+'rpx')+';'+('background:'+(indicatorActiveColor)+';')}}"></view></view></view></block></view></block></view>

View File

@@ -0,0 +1 @@
.column-box{background:#fff;font-size:24rpx;color:#888}.column-box .swiper-category{width:100%;background:#fff;font-size:24rpx;color:#666;border-radius:10rpx}.column-box .swiper-category .swiper-category-item{box-sizing:border-box;display:flex;align-items:flex-start;flex-wrap:wrap;background:#fff}.column-box .swiper-category .swiper-category-item .column-item{margin-top:20rpx;float:left}.column-box .swiper-category .swiper-category-item .column-item .column-img{width:100rpx;height:100rpx;margin:0 auto}.column-box .swiper-category .swiper-category-item .column-item .column-no-img{width:100rpx;height:100rpx;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:36rpx;color:#fff}.column-box .swiper-category .swiper-category-item .column-item .column-text{margin-top:10rpx;text-align:center;color:#454a53;width:100%;padding:0 10%;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.column-box .scroll-x{white-space:nowrap;background:#fff;padding:20rpx 0}.column-box .scroll-x .scroll-x-item{position:relative;display:inline-block;vertical-align:text-top;display:flex;flex-direction:column}.column-box .scroll-x .column-item{margin-top:20rpx;float:left}.column-box .scroll-x .column-item .column-img{width:100rpx;height:100rpx;margin:0 auto}.column-box .scroll-x .column-item .column-text{margin-top:10rpx;text-align:center;color:#454a53;width:100%;padding:0 10%;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.column-box .dots{background:#fff;display:flex;align-items:center;justify-content:center;width:100%;padding-top:20rpx}.column-box .dots .dot{height:16rpx;width:16rpx;background:#ddd;border-radius:8rpx;margin:0 8rpx}.column-box .ink-bar-box{background:#fff;padding-bottom:20rpx}.column-box .ink-bar-box .ui-tabs-ink-bar-wrapper{width:60rpx;background:#ddd;position:relative;left:345rpx;bottom:0;height:8rpx;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;transition:width .25s ease-out,left .25s ease-out;overflow:hidden;border-radius:4rpx}.column-box .ink-bar-box .ui-tabs-ink-bar-wrapper .ui-tabs-ink-bar{position:absolute;width:30rpx;background:#e74d45;height:8rpx;border-radius:4rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/common-popup"],{"0174":function(t,e,n){"use strict";n.r(e);var i=n("3cd6"),o=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=o.a},"3cd6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("26cb"),o={CANCEL_ORDER:{title:"取消订单",desc:"请确认是否取消订单,取消后将无法恢复",text:"确认取消"},END_ORDER:{title:"确认收货",desc:"请确认是否收货,收货后将无法恢复",text:"确认收货"},HX_ORDER:{title:"核销订单",desc:"请确认是否核销订单,核销订单后将无法恢复",text:"确认核销"},DELETE_ORDER:{title:"删除订单",desc:"请确认是否删除订单,删除后将无法恢复",text:"确认删除"},REFUND_ORDER:{title:"申请退款",desc:"请确认是否申请退款",text:"确认申请"},CANCEL_REFUND_ORDER:{title:"取消退款",desc:"请确认是否取消退款",text:"确认取消"},NO_PASS_REFUND:{title:"拒绝退款",desc:"请确认是否拒绝退款",text:"确认拒绝"},HX_CODE:{title:"核销码",desc:"请出示二维码给核销人员"},CHANGE_UP_ITEM:{title:"上架",desc:"请确认是否上架",text:"确认上架"},CHANGE_DOWN_ITEM:{title:"下架",desc:"请确认是否下架",text:"确认下架"},DEL_ITEM:{title:"删除",desc:"请确认是否删除此数据,删除后将无法恢复",text:"确认删除"}},c={components:{},props:{maskClick:{type:Boolean,default:function(){return!1}},type:{type:String,default:function(){return"CANCEL_ORDER"}},title:{type:String,default:function(){return""}},desc:{type:String,default:function(){return""}},text:{type:String,default:function(){return""}},info:{type:Object,default:function(){return{}}},button:{type:Array,default:function(){return[{title:"取消",type:"cancel"},{title:"确定取消",type:"confirm"}]}},imgSize:{type:String,default:function(){return""}}},created:function(){this.init()},data:function(){return{ptitle:"",pdesc:"",pbutton:[]}},computed:(0,i.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),methods:{init:function(){var t=this.type;o[t]&&(this.ptitle=this.title||o[t].title,this.pdesc=this.desc||o[t].desc,this.pbutton=this.button,(this.text||o[t].text)&&(this.pbutton[1].title=this.text||o[t].text))},open:function(){this.$refs.common_popup.open()},close:function(){this.$refs.common_popup.close()},toEmit:function(t){var e=this.button[t].type;"cancel"==e?this.close():this.$emit(e)}}};e.default=c},"56a6":function(t,e,n){"use strict";n.r(e);var i=n("687a"),o=n("0174");for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);var u=n("f0c5"),r=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"019cd146",null,!1,i["a"],void 0);e["default"]=r.exports},"687a":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/common-popup-create-component',
{
'components/common-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("56a6"))
})
},
[['components/common-popup-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<uni-popup vue-id="04d0f9a1-1" type="center" maskClick="{{maskClick}}" data-ref="common_popup" class="data-v-019cd146 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content fill-base data-v-019cd146"><block wx:if="{{ptitle}}"><view class="title data-v-019cd146">{{ptitle}}</view></block><block wx:if="{{pdesc}}"><view class="desc data-v-019cd146">{{pdesc}}</view></block><block wx:if="{{info.image}}"><image class="{{['image','data-v-019cd146',imgSize]}}" mode="aspectFill" lazy-load="{{true}}" src="{{info.image}}"></image></block><block wx:if="{{info.name}}"><view class="name ellipsis-3 data-v-019cd146">{{info.name}}</view></block><view class="button data-v-019cd146"><block wx:for="{{pbutton}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-019cd146"><view data-event-opts="{{[['tap',[['toEmit',[index]]]]]}}" class="item-child data-v-019cd146" style="{{'background:'+(item.type=='confirm'?primaryColor:'')+';'+('color:'+(item.type=='confirm'?'white':'')+';')}}" catchtap="__e">{{''+item.title+''}}</view></block></block></view></view></uni-popup>

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/fix-bottom-button"],{"0273":function(t,n,e){"use strict";var o=e("9148"),r=e.n(o);r.a},2329:function(t,n,e){"use strict";e.r(n);var o=e("e89f"),r=e("cfd6");for(var f in r)["default"].indexOf(f)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(f);e("0273");var u=e("f0c5"),i=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"404f8f21",null,!1,o["a"],void 0);n["default"]=i.exports},6608:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("26cb"),r={props:{text:{type:Array,default:function(){return[{text:"保存",type:"confirm"}]}},bgColor:{type:String,default:function(){return"#fff"}}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),methods:{confirm:function(t){this.$emit(t.type)}}};n.default=r},9148:function(t,n,e){},cfd6:function(t,n,e){"use strict";e.r(n);var o=e("6608"),r=e.n(o);for(var f in o)["default"].indexOf(f)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(f);n["default"]=r.a},e89f:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.text.length),o=t.text.length,r=t.text.length,f=t.__map(t.text,(function(n,e){var f=t.__get_orig(n),u=1!=o&&0!=e?t.text.length:null,i=1!=r&&0!=e?t.text.length:null;return{$orig:f,g2:u,g4:i}}));t.$mp.data=Object.assign({},{$root:{g0:e,g1:o,g3:r,l0:f}})},r=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/fix-bottom-button-create-component',
{
'components/fix-bottom-button-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("2329"))
})
},
[['components/fix-bottom-button-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="content data-v-404f8f21" style="{{'background:'+(bgColor)+';'}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-404f8f21"><view data-event-opts="{{[['tap',[['confirm',['$0'],[[['text','',index]]]]]]]}}" class="bottom-view data-v-404f8f21" style="{{'width:'+(100/$root.g0+'%')+';'+('margin:'+($root.g1==1?'0 30rpx':index==0?'0 0 0 30rpx':index==item.g2-1?'0 30rpx 0 0':'')+';')+('border-radius:'+($root.g3==1?'88rpx':index==0?'88rpx 0 0 88rpx':index==item.g4-1?'0 88rpx 88rpx 0':'')+';')+('background:'+(item.$orig.type=='confirm'?primaryColor:subColor)+';')}}" bindtap="__e">{{''+item.$orig.text+''}}</view></block></block></view>

View File

@@ -0,0 +1 @@
.content.data-v-404f8f21{position:fixed;bottom:0rpx;display:flex;align-items:center;justify-content:center;width:100%;height:128rpx;z-index:997;height:calc(128rpx + env(safe-area-inset-bottom) / 2);padding-bottom:calc(env(safe-area-inset-bottom) / 2)}.content .bottom-view.data-v-404f8f21{width:auto;height:88rpx;line-height:88rpx;text-align:center;font-size:32rpx;font-weight:700;color:#fff}

10
front/components/fixed.js Normal file
View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/fixed"],{"04b4":function(t,e,n){"use strict";n.r(e);var i=n("67de"),u=n("e109");for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(o);n("5d09");var r=n("f0c5"),c=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},"38d1":function(t,e,n){},"5d09":function(t,e,n){"use strict";var i=n("38d1"),u=n.n(i);u.a},"67de":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},u=[]},e109:function(t,e,n){"use strict";n.r(e);var i=n("e452"),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},e452:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"fixed",props:{position:{type:[String],default:function(){return"top"}},zIndex:{type:Number,default:function(){return 999}},refresh:{type:Boolean,default:function(){return!1}}},data:function(){return{height:100*t.getSystemInfoSync().windowWidth/750}},mounted:function(){this.setHeight()},onReady:function(){this.setHeight()},watch:{refresh:function(t){console.log(t,"=======val"),t||this.setHeight()}},methods:{setHeight:function(){var e=this,n=t.createSelectorQuery().in(this);n.select(".ui-fixed").boundingClientRect((function(t){e.height=t.height})).exec()}}};e.default=n}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/fixed-create-component',
{
'components/fixed-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("04b4"))
})
},
[['components/fixed-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view><view class="{{['ui-fixed',(position=='top')?'fixed-top':'',(position=='bottom')?'fixed-bottom':'']}}" style="{{'z-index:'+(zIndex)+';'}}"><slot></slot></view><view style="{{'height:'+(height+'px')+';'}}"></view></view>

View File

@@ -0,0 +1 @@
.ui-fixed{position:fixed;left:0;width:100%}.fixed-top{top:0}.fixed-bottom{bottom:0}

View File

@@ -0,0 +1,56 @@
var inlineTags = {
abbr: true,
b: true,
big: true,
code: true,
del: true,
em: true,
font: true,
i: true,
ins: true,
label: true,
mark: true,
q: true,
s: true,
small: true,
span: true,
strong: true,
u: true
}
module.exports = {
getStyle: function(style, display) {
var res = "";
var reg = getRegExp("float[^;]+(?![\s\S]*?float)", "i");
if (reg.test(style)) res += reg.exec(style)[0];
reg = getRegExp("margin[^;]+", "gi");
if (reg.test(style)) res += (';' + style.match(reg).join(';'));
reg = getRegExp("display\s*:\s*([^;]*)(?![\s\S]*?display)", "i");
if (reg.test(style) && reg.exec(style)[1] != "flex") res += (';' + reg.exec(style)[0]);
else res += (';display:' + display);
reg = getRegExp("flex[^;]*:[^;]+", "ig");
if (reg.test(style)) res += (';' + style.match(reg).join(';'));
reg = getRegExp("[^;\s]*width[^;]+", "ig");
if (reg.test(style)) res += (';' + style.match(reg).join(';'));
return res;
},
setImgStyle: function(item, imgMode, imgLoad) {
if (imgMode == "widthFix") item.attrs.style = (item.attrs.style || '') + ";height:auto !important";
if (item.attrs.style)
item.attrs.style = item.attrs.style.replace(getRegExp("width[^;]*?%", "gi"), "width:100%").replace(getRegExp(
'margin[^;]+', "gi"), "");
if (!imgLoad) {
delete item.attrs.src;
item.attrs.style += ";width:20px !important;height:20px !important";
}
return [item];
},
setStyle: function(item) {
if (item.attrs.style)
item.attrs.style = item.attrs.style.replace(getRegExp("width[^;]*?%", "gi"), "width:100%").replace(getRegExp(
'margin[^;]+', "gi"), "");
return [item];
},
notContinue: function(item) {
return !(item.c || inlineTags[item.name] || item["continue"]);
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"trees": "/components/jyf-Parser/trees"
}
}

View File

@@ -0,0 +1 @@
<view><block wx:if="{{$root.g0}}"><slot></slot></block><trees class="_contain" style="{{('display:block;'+(selectable?'user-select:text;-webkit-user-select:text;':'')+(showWithAnimation?'opacity:0;'+showAnimation:''))}}" vue-id="116ecbda-1" nodes="{{$root.g1?nodes:html[0].name||html[0].type?html:[]}}" imgMode="{{imgMode}}" loadVideo="{{loadVideo}}" bind:__l="__l"></trees></view>

View File

@@ -0,0 +1 @@
:host{display:block;overflow:scroll;-webkit-overflow-scrolling:touch}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/jyf-Parser/trees"],{"162f":function(t,r,e){"use strict";(function(t){function n(t,r){var e="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"===typeof t)return o(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return o(t,r)}(t))||r&&t&&"number"===typeof t.length){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,s=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return u=t.done,t},e:function(t){s=!0,a=t},f:function(){try{u||null==e.return||e.return()}finally{if(s)throw a}}}}function o(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i={components:{trees:function(){Promise.resolve().then(function(){return resolve(e("ada1"))}.bind(null,e)).catch(e.oe)}},name:"trees",data:function(){return{controls:{},imgLoad:!0}},props:{nodes:{type:Array,default:[]},imgMode:{type:String,default:"default"}},mounted:function(){this._top=this.$parent;while("parser"!=this._top.$options.name){if(this._top._top){this._top=this._top._top;break}this._top=this._top.$parent}},beforeDestroy:function(){this._observer&&this._observer.disconnect()},methods:{playEvent:function(t){if((this._top.videoContexts||[]).length>1&&this._top.autopause){var r,e=n(this._top.videoContexts);try{for(e.s();!(r=e.n()).done;){var o=r.value;o.id!=t.currentTarget.id&&o.pause()}}catch(i){e.e(i)}finally{e.f()}}},previewEvent:function(r){var e=r.currentTarget.dataset.attrs;if(!e.ignore){var n=!0;if(this._top.$emit("imgtap",{id:r.currentTarget.id,src:e.src,ignore:function(){return n=!1}}),n&&this._top.autopreview){var o=this._top.imgList||[],i=o[e.i]?e.i:(o=[e.src],0);t.previewImage({current:i,urls:o})}}},tapEvent:function(r){var e=!0,n=r.currentTarget.dataset.attrs;if(n.ignore=function(){return e=!1},this._top.$emit("linkpress",n),e){if(n["app-id"]||n.appId)return t.navigateToMiniProgram({appId:n["app-id"]||n.appId,path:n.path||""});n.href&&("#"==n.href[0]?this._top.useAnchor&&this._top.navigateTo({id:n.href.substring(1)}):0==n.href.indexOf("http")||0==n.href.indexOf("//")?this._top.autocopy&&t.setClipboardData({data:n.href,success:function(){t.showToast({title:"链接已复制"})}}):t.navigateTo({url:n.href}))}},triggerError:function(t,r,e,n,o){this._top.$emit("error",{source:t,target:r,errMsg:e,errCode:n,context:o})},loadSource:function(t){var r=(this.controls[t.id]?this.controls[t.id].index:0)+1;return r<t.dataset.source.length&&(this.$set(this.controls[t.id],"index",r),!0)},adError:function(t){this.triggerError("ad",t.currentTarget,"",t.detail.errorCode)},videoError:function(r){!this.loadSource(r.currentTarget)&&this._top&&this.triggerError("video",r.currentTarget,r.detail.errMsg,void 0,t.createVideoContext(r.currentTarget.id,this))},audioError:function(t){this.loadSource(t.currentTarget)||this.triggerError("audio",t.currentTarget,t.detail.errMsg)},_loadVideo:function(t){this.$set(this.controls,t.currentTarget.id,{play:!0,index:0})}}};r.default=i}).call(this,e("543d")["default"])},"2db3":function(t,r,e){},"6d39":function(t,r,e){"use strict";e.r(r);var n=e("162f"),o=e.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){e.d(r,t,(function(){return n[t]}))}(i);r["default"]=o.a},a87d:function(t,r,e){"use strict";e.d(r,"b",(function(){return n})),e.d(r,"c",(function(){return o})),e.d(r,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},o=[]},ada1:function(t,r,e){"use strict";e.r(r);var n=e("a87d"),o=e("6d39");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(r,t,(function(){return o[t]}))}(i);e("b870");var a=e("f0c5"),u=e("d5b9"),s=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);"function"===typeof u["a"]&&Object(u["a"])(s),r["default"]=s.exports},b870:function(t,r,e){"use strict";var n=e("2db3"),o=e.n(n);o.a},d5b9:function(t,r,e){"use strict";r["a"]=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])}}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/jyf-Parser/trees-create-component',
{
'components/jyf-Parser/trees-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("ada1"))
})
},
[['components/jyf-Parser/trees-create-component']]
]);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"trees": "/components/jyf-Parser/trees"
}
}

View File

@@ -0,0 +1,2 @@
<wxs src="./handler.wxs" module="handler"></wxs>
<view style="display:inherit;white-space:inherit;"><block wx:for="{{nodes}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{handler.notContinue(item)}}"><block><block wx:if="{{item.name=='img'}}"><rich-text class="img" style="{{('text-indent:0;'+handler.getStyle(item.attrs.style,'inline-block'))}}" id="{{item.attrs.id}}" nodes="{{handler.setImgStyle(item,imgMode,imgLoad)}}" data-attrs="{{item.attrs}}" data-event-opts="{{[['tap',[['previewEvent',['$event']]]]]}}" bindtap="__e"></rich-text></block><block wx:else><block wx:if="{{item.type=='text'}}"><block><block wx:if="{{!item.decode}}"><text decode="{{true}}">{{item.text}}</text></block><block wx:else><rich-text style="display:inline-block;" nodes="{{[item]}}"></rich-text></block></block></block><block wx:else><block wx:if="{{item.name=='br'}}"><text>\n</text></block><block wx:else><block wx:if="{{item.name=='video'}}"><block><block wx:if="{{item.lazyLoad&&!controls[item.attrs.id].play}}"><view class="{{['_video '+(item.attrs.class||'')]}}" style="{{(item.attrs.style||'')}}" id="{{item.attrs.id}}" data-event-opts="{{[['tap',[['_loadVideo',['$event']]]]]}}" bindtap="__e"></view></block><block wx:else><video class="{{[item.attrs.class]}}" style="{{(item.attrs.style||'')}}" src="{{controls[item.attrs.id]?item.attrs.source[controls[item.attrs.id].index]:item.attrs.src}}" id="{{item.attrs.id}}" loop="{{item.attrs.loop}}" controls="{{item.attrs.controls}}" autoplay="{{item.attrs.autoplay||controls[item.attrs.id]&&controls[item.attrs.id].play}}" unit-id="{{item.attrs['unit-id']}}" data-source="{{item.attrs.source}}" data-event-opts="{{[['play',[['playEvent',['$event']]]],['error',[['videoError',['$event']]]]]}}" muted="{{item.attrs.muted}}" bindplay="__e" binderror="__e"></video></block></block></block><block wx:else><block wx:if="{{item.name=='iframe'}}"><block><block wx:if="{{item.attrs.lbType=='vid'||item.attrs.lbtype=='vid'}}"><txv-video vue-id="{{'26db2430-1-'+index}}" vid="{{item.attrs.src}}" playerid="{{item.attrs.src}}" width="100%" height="100%" controls="{{true}}" autoplay="{{false}}" isHiddenStop="{{true}}" bind:__l="__l"></txv-video></block></block></block><block wx:else><block wx:if="{{item.name=='audio'}}"><audio class="{{[item.attrs.class]}}" style="{{(item.attrs.style||'')}}" src="{{controls[item.attrs.id]?item.attrs.source[controls[item.attrs.id].index]:item.attrs.src}}" id="{{item.attrs.id}}" loop="{{item.attrs.loop}}" controls="{{item.attrs.controls}}" poster="{{item.attrs.poster}}" name="{{item.attrs.name}}" author="{{item.attrs.author}}" data-source="{{item.attrs.source}}" data-event-opts="{{[['error',[['audioError',['$event']]]]]}}" binderror="__e"></audio></block><block wx:else><block wx:if="{{item.name=='a'}}"><view class="{{['_a '+(item.attrs.class||'')]}}" style="{{(item.attrs.style||'')}}" data-attrs="{{item.attrs}}" hover-class="navigator-hover" hover-start-time="{{25}}" hover-stay-time="{{300}}" data-event-opts="{{[['tap',[['tapEvent',['$event']]]]]}}" bindtap="__e"><trees vue-id="{{'26db2430-2-'+index}}" nodes="{{item.children}}" imgMode="{{imgMode}}" bind:__l="__l"></trees></view></block><block wx:else><block wx:if="{{item.name=='ad'}}"><ad class="{{[item.attrs.class||'']}}" style="{{(item.attrs.style||'')}}" unit-id="{{item.attrs['unit-id']}}" data-event-opts="{{[['error',[['adError',['$event']]]]]}}" binderror="__e"></ad></block><block wx:else><rich-text class="{{['__'+item.name]}}" style="{{(''+handler.getStyle(item.attrs.style,'block'))}}" id="{{item.attrs.id}}" nodes="{{handler.setStyle(item)}}"></rich-text></block></block></block></block></block></block></block></block></block></block><block wx:else><trees class="{{[item.attrs.id+' _'+item.name+' '+(item.attrs.class||'')]}}" style="{{(item.attrs.style||'')}}" vue-id="{{'26db2430-3-'+index}}" nodes="{{item.children}}" imgMode="{{imgMode}}" loadVideo="{{loadVideo}}" bind:__l="__l"></trees></block></block></block></view>

View File

@@ -0,0 +1,28 @@
.navigator-hover{opacity:.7;text-decoration:underline}:host{display:inherit;float:inherit}._b,
._strong{font-weight:700}._big{font-size:1.2em}._small{font-size:.8em}._blockquote,
._div,
._p{display:block}._code{font-family:monospace}._del{text-decoration:line-through}._em,
._i{font-style:italic}._h1{font-size:2em}._h2{font-size:1.5em}._h3{font-size:1.17em}._h5{font-size:.67em}._h1,
._h2,
._h3,
._h4,
._h5,
._h6{font-weight:700}._ins{text-decoration:underline}._q::before{content:'"'}._q::after{content:'"'}._a,
._abbr,
._b,
._big,
._small,
._code,
._del,
._em,
._i,
._ins,
._label,
._q,
._span,
._strong{display:inline}.__sub,
.__sup,
.__bdo,
.__bdi,
.__ruby,
.__rt{display:inline-block!important}._video{background-color:#000;width:300px;height:225px;display:inline-block;position:relative}._video::after{content:"";border-width:15px 0 15px 30px;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;left:50%;top:50%;margin:-15px 0 0 -15px}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/load-more"],{"5e82":function(n,t,e){},7182:function(n,t,e){"use strict";e.r(t);var u=e("d6da"),o=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=o.a},"8e2d":function(n,t,e){"use strict";var u=e("5e82"),o=e.n(u);o.a},"9faf":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},o=[]},c1dd:function(n,t,e){"use strict";e.r(t);var u=e("9faf"),o=e("7182");for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("8e2d");var a=e("f0c5"),f=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=f.exports},d6da:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"load-more",props:{loadText:{type:String,default:function(){return"努力加载中"}},noMoreText:{type:String,default:function(){return"没有更多了"}},noMore:{type:Boolean,default:function(){return!1}},loading:{type:Boolean,default:function(){return!0}}},created:function(){},data:function(){return{}},methods:{}};t.default=u}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/load-more-create-component',
{
'components/load-more-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("c1dd"))
})
},
[['components/load-more-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="load-more"><block wx:if="{{!loading&&noMore}}"><block><view class="loadmore__line"></view><text class="loadmore__text">{{noMoreText}}</text><view class="loadmore__line"></view></block></block><block wx:if="{{loading}}"><block><view class="weui-loading"></view><text class="loadmore__text">{{loadText}}</text></block></block></view>

View File

@@ -0,0 +1 @@
.load-more{display:flex;width:100%;height:90rpx;justify-content:center;align-items:center}.loading-icon{width:30rpx;height:30rpx;margin-right:8rpx;display:inline-block;vertical-align:middle;-webkit-animation:weuiLoading 1s steps(12) infinite;animation:weuiLoading 1s steps(12) infinite;background:url(https://s10.mogucdn.com/mlcdn/c45406/171016_4a61e09hcadd157gadhdeje55e82c_32x32.png) no-repeat;background-size:100%}.loadmore__text{margin:0 8rpx 0 8rpx;color:#333;font-size:28rpx}.loadmore__line{width:100rpx;height:1rpx;border-top:1rpx solid #d2d2d2}.weui-loading{margin:0 5px;width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}.weui-loading.weui-loading_transparent{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E")}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/login-info"],{"08d3":function(t,n,e){"use strict";var r=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("2eee")),i=r(e("c973")),c=r(e("9523")),u=e("26cb");function f(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?f(Object(e),!0).forEach((function(n){(0,c.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var s={components:{},props:{},mounted:function(){this.init()},data:function(){return{}},computed:(0,u.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},isShowLogin:function(t){return t.user.isShowLogin}}),methods:a(a(a({},(0,u.mapActions)(["getConfigInfo","getUserInfo"])),(0,u.mapMutations)(["updateUserItem"])),{},{init:function(){return(0,i.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},toClose:function(){this.updateUserItem({key:"isShowLogin",val:!1})},toLogin:function(){var t=getCurrentPages(),n=t[t.length-1].route;this.updateUserItem({key:"loginPage",val:"/".concat(n)}),this.$util.goUrl({url:"/pages/login?type=1"})}})};n.default=s},"25ba":function(t,n,e){"use strict";var r=e("b571"),o=e.n(r);o.a},ac86:function(t,n,e){"use strict";e.r(n);var r=e("f45d"),o=e("bc53");for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("25ba");var c=e("f0c5"),u=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,"71e1e44a",null,!1,r["a"],void 0);n["default"]=u.exports},b571:function(t,n,e){},bc53:function(t,n,e){"use strict";e.r(n);var r=e("08d3"),o=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);n["default"]=o.a},f45d:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/login-info-create-component',
{
'components/login-info-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("ac86"))
})
},
[['components/login-info-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="data-v-71e1e44a"><block wx:if="{{isShowLogin}}"><view class="login-info pd-lg flex-center rel data-v-71e1e44a"><view data-event-opts="{{[['tap',[['toClose',['$event']]]]]}}" class="login-close flex-center radius abs data-v-71e1e44a" catchtap="__e"><view class="iconfont icon-add c-base _i data-v-71e1e44a"></view></view><image class="logo-img radius data-v-71e1e44a" mode="aspectFill" lazy-load="{{true}}" src="{{configInfo.app_logo}}"></image><view class="flex-center flex-1 ml-md data-v-71e1e44a"><view class="flex-1 data-v-71e1e44a"><view class="f-title c-base max-380 ellipsis data-v-71e1e44a">{{'欢迎来到'+configInfo.app_text}}</view><view class="text f-caption data-v-71e1e44a">登录后获取更多精彩内容</view></view><view data-event-opts="{{[['tap',[['toLogin',['$event']]]]]}}" class="login-btn flex-center f-desc c-base radius data-v-71e1e44a" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">去登录</view></view></view></block></view>

View File

@@ -0,0 +1 @@
.login-info.data-v-71e1e44a{position:fixed;left:20rpx;bottom:20rpx;width:710rpx;height:139rpx;background:rgba(0,0,0,.8);border-radius:16rpx}.login-info .logo-img.data-v-71e1e44a{width:90rpx;height:90rpx}.login-info .text.data-v-71e1e44a{color:#9e9e9e}.login-info .login-btn.data-v-71e1e44a{width:150rpx;height:54rpx}.login-info .login-close.data-v-71e1e44a{top:-10rpx;right:-10rpx;width:40rpx;height:40rpx;background:#000}.login-info .login-close .iconfont.data-v-71e1e44a{font-size:24rpx;-webkit-transform:rotate(45deg);transform:rotate(45deg)}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/min-countdown"],{"4bb6":function(t,e,n){},"7c84":function(t,e,n){"use strict";var r=n("4bb6"),i=n.n(r);i.a},9526:function(t,e,n){"use strict";n.r(e);var r=n("a2e1"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},a2e1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("26cb"),i={name:"min-countdown",props:{type:{type:Number,default:1},targetTime:{type:Number,default:0},format:{type:String,default:"{%d}天{%h}小时{%m}分{%s}秒"},color:{type:String,default:"#39b54a"},bgColor:{type:String,default:"#fff"},textColor:{type:String,default:"#39b54a"},borderColor:{type:String,default:""},className:{type:String,default:""}},data:function(){return{time:"00:00:00"}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),methods:{init:function(){var t=this;setTimeout((function(){t.getTime()}),1e3)},getTime:function(){var t={},e=this.format;function n(t){return t>9?"".concat(t):"0".concat(t)}var r=Math.ceil((this.targetTime-(new Date).getTime())/1e3);if(r>=0){t.d=n(parseInt(r/86400));var i=r%86400;t.h=n(parseInt(i/3600)),i%=3600,t.all_h=24*t.d+1*t.h,t.m=n(parseInt(i/60)),t.s=n(i%60),["d","h","m","s"].forEach((function(n){var r=t[n].split("");e=e.replace("{%"+n+"}",t[n]),e=e.replace("{%"+n+"0}",r[0]),e=e.replace("{%"+n+"1}",r[1]),e=e.replace("{%"+n+"2}",r[2]?r[2]:"0")})),this.time=1==this.type?e:t,this.init()}else this.$emit("callback")}},mounted:function(){this.getTime()}};e.default=i},b00b:function(t,e,n){"use strict";n.r(e);var r=n("b10f"),i=n("9526");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("7c84");var a=n("f0c5"),u=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=u.exports},b10f:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},i=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/min-countdown-create-component',
{
'components/min-countdown-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("b00b"))
})
},
[['components/min-countdown-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="{{['min-countdown',className]}}" style="{{'color:'+(color)+';'}}"><block wx:if="{{type==1}}"><rich-text nodes="{{time}}"></rich-text></block><block wx:if="{{type==2}}"><view class="flex-y-center"><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')+('width:'+(time.d*1>99?'54rpx':'')+';')}}">{{''+time.d+''}}</view><view class="text" style="{{'color:'+(textColor)+';'}}">天</view><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')}}">{{time.h}}</view><view class="text" style="{{'color:'+(textColor)+';'}}">时</view><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')}}">{{''+time.m+''}}</view><view class="text" style="{{'color:'+(textColor)+';'}}">分</view><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')}}">{{time.s}}</view><view class="text" style="{{'color:'+(textColor)+';'}}">秒</view></view></block><block wx:if="{{type==3}}"><view class="flex-y-center"><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')+('width:'+(time.all_h*1>99?className=='mini'?'48rpx':className=='sm'?'54rpx':'66rpx':'')+';')}}">{{''+time.all_h+''}}</view><view class="text" style="{{'color:'+(textColor)+';'}}">:</view><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')}}">{{''+time.m+''}}</view><view class="text" style="{{'color:'+(textColor)+';'}}">:</view><view class="{{['count-tag','flex-center',[(borderColor)?'haveColor':'']]}}" style="{{'background:'+(bgColor)+';'+('border:'+(borderColor?'1rpx solid '+borderColor:'')+';')}}">{{''+time.s+''}}</view></view></block><block wx:if="{{type==4}}"><view>{{time.all_h+':'+time.m+':'+time.s}}</view></block><block wx:if="{{type==5}}"><view>{{time.all_h+'小时'+time.m+'分'+time.s+'秒'}}</view></block></view>

View File

@@ -0,0 +1 @@
.min-countdown{display:inline-flex;justify-content:center;align-items:center}.min-countdown .count-tag{width:42rpx;height:42rpx;margin:0 10rpx;padding:0 10rpx;border-radius:4rpx}.min-countdown .text{color:#fff;font-size:20rpx}.min-countdown.mini .count-tag{width:36rpx;height:29rpx;border-radius:2px}.min-countdown.sm .count-tag{width:42rpx;height:42rpx}.min-countdown.md .count-tag{width:54rpx;height:54rpx;font-size:32rpx}.min-countdown.md .text{font-size:28rpx}.haveColor{-webkit-transform:rotate(1turn);transform:rotate(1turn)}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/search"],{"3cc0":function(t,n,e){"use strict";e.r(n);var r=e("df4f"),u=e("df14");for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("8d4b");var f=e("f0c5"),i=Object(f["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=i.exports},"4ee9":function(t,n,e){},"8d4b":function(t,n,e){"use strict";var r=e("4ee9"),u=e.n(r);u.a},b7fc:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("26cb"),u={name:"search",props:{type:{type:String,default:function(){return"text"}},placeholder:{type:String,default:function(){return"请输入关键字进行搜索"}},searchStyle:{type:String,default:function(){return"circle"}},textAlign:{type:String,default:function(){return"center"}},padding:{type:Number,default:function(){return 30}},margin:{type:Number,default:function(){return 0}},radius:{type:Number,default:function(){return 0}},backgroundColor:{type:String,default:function(){return"#fff"}},searchColor:{type:String,default:function(){return"#F6F5FA"}},frontColor:{type:String,default:function(){return"#888"}},autofocus:{type:Boolean,default:function(){return!1}},disabled:{type:Boolean,default:function(){return!1}},showbtn:{type:Boolean,default:function(){return!1}},focus:{type:Boolean,default:function(){return!1}},keyword:{type:String,default:function(){return""}}},created:function(){},data:function(){return{text:"",searchImg:"https://lbqny.migugu.com/admin/public/search.png"}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),methods:{confirm:function(t){var n=this.text;this.$emit("confirm",n)},handerInput:function(t){var n=t.detail.value;this.text=n,this.$emit("input",n)}}};n.default=u},df14:function(t,n,e){"use strict";e.r(n);var r=e("b7fc"),u=e.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(o);n["default"]=u.a},df4f:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},u=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/search-create-component',
{
'components/search-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("3cc0"))
})
},
[['components/search-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="search-box" style="{{'padding:'+(padding+'rpx')+';'+('margin:'+(margin+'rpx')+';')+('border-radius:'+(radius+'rpx')+';')+('background:'+(backgroundColor)+';')}}"><view class="{{['search-item',[(type=='text')?'flex-y-center':''],[(type=='input')?'flex-between':'']]}}" style="{{'border-radius:'+(radius+'rpx')+';'+('background:'+(searchColor)+';')+('color:'+(frontColor)+';')}}"><block wx:if="{{type=='text'}}"><block><view class="iconfont icon-search _i"></view><view class="ml-md f-paragraph">{{placeholder}}</view></block></block><block wx:if="{{type=='input'}}"><block><view class="flex-y-center flex-1"><view class="iconfont icon-search _i"></view><input class="flex-1 f-paragraph ml-md mr-md" type="text" disabled="{{disabled}}" placeholder="{{placeholder}}" placeholder-class="{{frontColor==='#fff'?'c-base':'c-placeholder'}}" confirm-type="search" auto-focus="{{autofocus}}" data-event-opts="{{[['input',[['handerInput',['$event']]]],['confirm',[['confirm',['$event']]]]]}}" value="{{keyword}}" bindinput="__e" bindconfirm="__e"/></view><block wx:if="{{showbtn}}"><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class=" search-item-btn flex-center radius" style="{{'background:'+(primaryColor)+';'}}" bindtap="__e">搜索</view></block></block></block></view></view>

View File

@@ -0,0 +1 @@
.search-box{padding:16rpx 16rpx;display:flex;align-items:center;background:#efeff5}.search-item{width:100%;height:70rpx;background:#fff;border-radius:30rpx;padding:0 0 0 25rpx;line-height:1;font-size:26rpx}.search-item-btn{width:110rpx;height:70rpx;font-size:26rpx;font-weight:400;color:#fff}.search-btn{padding:0 20rpx 0 40rpx}.flex-1{flex:1}.icon-md{width:40rpx;height:40rpx}.ml-md{margin-left:16rpx}

10
front/components/tab.js Normal file
View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tab"],{"0d69":function(t,n,e){},"546f":function(t,n,e){"use strict";e.r(n);var r=e("d04a"),u=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);n["default"]=u.a},"6c68":function(t,n,e){"use strict";var r=e("0d69"),u=e.n(r);u.a},"882c":function(t,n,e){"use strict";e.r(n);var r=e("b4d8"),u=e("546f");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("6c68");var f=e("f0c5"),a=Object(f["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=a.exports},b4d8:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},u=[]},d04a:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"tab",props:{list:{type:Array,default:function(){return[]}},activeIndex:{type:Number||String,default:function(){return 0}},color:{type:String,default:function(){return"#333"}},activeColor:{type:String,default:function(){return"#e73535"}},bgColor:{type:String,default:function(){return"#fff"}},width:{type:String,default:function(){return""}},height:{type:String,default:function(){return""}},haveLine:{type:Boolean,default:function(){return!0}},msgRight:{type:String,default:function(){return"5rpx"}},fontSize:{type:String,default:function(){return"28rpx"}}},created:function(){},data:function(){return{}},methods:{handerTabChange:function(t){this.$emit("change",t)}}};n.default=r}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/tab-create-component',
{
'components/tab-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("882c"))
})
},
[['components/tab-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view><scroll-view class="tab-list" style="{{'background:'+(bgColor)+';'}}" scroll-x="{{true}}" scroll-into-view="{{'tab'+(activeIndex-1)}}" scroll-with-animation="{{true}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="tab-item text-bold rel" style="{{'width:'+(width)+';'+('height:'+(height)+';')+('line-height:'+(height)+';')+('color:'+(index==activeIndex?activeColor:color)+';')+('font-size:'+(fontSize)+';')}}" id="{{'tab'+index}}" data-event-opts="{{[['tap',[['handerTabChange',[index]]]]]}}" bindtap="__e">{{''+(item.title||item)+''}}<block wx:if="{{index==activeIndex&&haveLine}}"><view class="abs line" style="{{'background:'+(activeColor)+';'}}"></view></block><block wx:if="{{item.number}}"><view class="item-msg c-base f-icontext abs" style="{{'width:'+(item.number<10?'30rpx':'50rpx')+';'+('right:'+(msgRight)+';')}}">{{''+(item.number<100?item.number:'99+')+''}}</view></block></view></block></scroll-view></view>

View File

@@ -0,0 +1 @@
.tab-list{white-space:nowrap;width:100%}.tab-item{display:inline-block;text-align:center;line-height:100rpx;padding:0 20rpx;border-color:#fff;box-sizing:border-box}.tab-item .line{width:80rpx;height:6rpx;border-radius:6rpx;left:50%;bottom:0rpx;margin-left:-40rpx}.item-msg{width:30rpx;height:30rpx;line-height:30rpx;border-radius:15rpx 15rpx 15rpx 0;background:#f12c20;top:5rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tabbar"],{"0e09":function(t,n,e){"use strict";(function(t){var r=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("9523")),c=e("26cb");function i(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?i(Object(e),!0).forEach((function(n){(0,o.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var f={components:{},props:{cur:{type:String,default:function(){return"0"}}},data:function(){return{}},computed:(0,c.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},commonOptions:function(t){return t.user.commonOptions}}),created:function(){var n=this,e=t.getSystemInfoSync().windowHeight,r=JSON.parse(JSON.stringify(this.configInfo)),o=r.navBarHeight,c=t.createSelectorQuery().in(this);c.select(".custom-tabbar").boundingClientRect((function(t){var c=e-t.height-o;r.curSysHeight=c,r.tabbarHeight=t.height,n.updateConfigItem({key:"configInfo",val:r})})).exec()},methods:a(a({},(0,c.mapMutations)(["updateConfigItem"])),{},{changeTab:function(t){this.$emit("change",t)}})};n.default=f}).call(this,e("543d")["default"])},"154d":function(t,n,e){"use strict";var r=e("3737"),o=e.n(r);o.a},"1a0f":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.configInfo.tabBar[1].name?t.__map(t.configInfo.tabBar,(function(n,e){var r=t.__get_orig(n),o=t.configInfo.tabBar.length;return{$orig:r,g0:o}})):null);t.$mp.data=Object.assign({},{$root:{l0:e}})},o=[]},3737:function(t,n,e){},"9da4":function(t,n,e){"use strict";e.r(n);var r=e("0e09"),o=e.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(c);n["default"]=o.a},f696:function(t,n,e){"use strict";e.r(n);var r=e("1a0f"),o=e("9da4");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("154d");var i=e("f0c5"),a=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"2ec10a1c",null,!1,r["a"],void 0);n["default"]=a.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/tabbar-create-component',
{
'components/tabbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("f696"))
})
},
[['components/tabbar-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="{{['custom-tabbar','fix','flex-center','data-v-2ec10a1c',[(configInfo.tabBar[1].name)?'fill-base b-1px-t':'']]}}"><block wx:if="{{configInfo.tabBar[1].name}}"><block class="data-v-2ec10a1c"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTab',[index]]]]]}}" class="flex-center flex-column mt-sm data-v-2ec10a1c" style="{{'width:'+(100/item.g0+'%')+';'}}" catchtap="__e"><image class="cover data-v-2ec10a1c" mode="aspectFill" lazy-load="{{true}}" src="{{cur==index?item.$orig.selected_img:item.$orig.default_img}}"></image><view class="text data-v-2ec10a1c" style="{{'color:'+(cur==index?primaryColor:'#666')+';'}}">{{item.$orig.name}}</view></view></block></block></block></view>

View File

@@ -0,0 +1 @@
.custom-tabbar.data-v-2ec10a1c{height:98rpx;bottom:0;height:calc(98rpx + env(safe-area-inset-bottom) / 2);padding-bottom:calc(env(safe-area-inset-bottom) / 2)}.custom-tabbar .cover.data-v-2ec10a1c{width:44rpx;height:44rpx}.custom-tabbar .text.data-v-2ec10a1c{font-size:22rpx;margin-top:5rpx;height:32rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/timeline"],{"062a":function(t,e,n){"use strict";var r=n("92d7"),a=n.n(r);a.a},"494b":function(t,e,n){"use strict";(function(t){var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("2eee")),u=r(n("c973")),i={name:"timeline",props:{list:{type:Object,default:function(){return{}}},info:{type:Object,default:function(){return{}}},type:{type:String,default:function(){return""}},activeColor:{type:String,default:function(){return"#39b54a"}},primaryColor:{type:String,default:function(){return"#39b54a"}}},created:function(){},data:function(){return{}},methods:{toPreviewImage:function(t){var e=this.list[t].cover,n=this.list.map((function(t){return t.cover}));this.$util.previewImage({current:e,urls:n})},toMap:function(e){var n=this;return(0,u.default)(a.default.mark((function r(){var u;return a.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return u=n.info,r.next=3,n.$util.checkAuth({type:"userLocation"});case 3:return r.next=5,t.getLocation({type:"gcj02"});case 5:return r.next=7,t.openLocation({latitude:1*u["".concat(e,"_lat")],longitude:1*u["".concat(e,"_lng")],name:u["".concat(e,"_address")],scale:28});case 7:case"end":return r.stop()}}),r)})))()}}};e.default=i}).call(this,n("543d")["default"])},"92d7":function(t,e,n){},"9d52":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=(this._self._c,this.list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},a008:function(t,e,n){"use strict";n.r(e);var r=n("494b"),a=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=a.a},f684:function(t,e,n){"use strict";n.r(e);var r=n("9d52"),a=n("a008");for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("062a");var i=n("f0c5"),c=Object(i["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/timeline-create-component',
{
'components/timeline-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("f684"))
})
},
[['components/timeline-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view><view class="record-box fill-base radius-24"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['record-item',[(index!=$root.g0-1)?'b-1px-l':'']]}}"><view class="c-caption rel"><text class="{{['item-tag','abs',[(info.pay_type>item.pay_type-1)?'cur':'']]}}" style="{{'border:'+('5rpx solid '+primaryColor)+';'+('background:'+(info.pay_type>item.pay_type-1?activeColor:'')+';')}}"></text><view class="item-text f-paragraph c-title flex-y-baseline">{{''+item[type]+''}}</view></view><view class="f-caption c-caption">{{item.time_text}}</view><image class="item-img mt-sm radius-10" mode="aspectFill" src="{{item.cover}}" data-event-opts="{{[['tap',[['toPreviewImage',[index]]]]]}}" catchtap="__e"></image></view></block></view></view>

View File

@@ -0,0 +1 @@
.record-item{padding:0rpx 0rpx 30rpx 40rpx;margin-left:13rpx}.record-item .item-tag{width:19rpx;height:19rpx;background:#eef5f2;border:5rpx solid #39b54a;-webkit-transform:rotate(1turn);transform:rotate(1turn);border-radius:50%;top:0rpx;left:-52rpx}.record-item .item-text{line-height:34rpx}.record-item .item-img{width:158rpx;height:120rpx;background:#f4f6f8}.record-item.b-1px-l::before{border:1rpx solid #dbdbdb;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.record-item:nth-child(5){padding-bottom:0}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-nav-bar"],{"0262":function(t,e,n){},"8b8b":function(t,e,n){"use strict";var i=n("0262"),r=n.n(i);r.a},9486:function(t,e,n){"use strict";n.r(e);var i=n("eb52"),r=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"]=r.a},"99ee":function(t,e,n){"use strict";n.r(e);var i=n("f8b5d"),r=n("9486");for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n("8b8b");var a=n("f0c5"),o=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=o.exports},eb52:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={components:{uniStatusBar:function(){n.e("components/uni-status-bar").then(function(){return resolve(n("0912"))}.bind(null,n)).catch(n.oe)}},props:{title:{type:String,default:""},image:{type:String,default:""},leftIcon:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:"#000"},backgroundColor:{type:String,default:"#FFF"},onlyLeft:{type:[Boolean],default:!1},statusBar:{type:[Boolean,String],default:""},shadow:{type:Boolean,default:function(){return!1}}},computed:{isFixed:function(){return"true"===String(this.fixed)},insertStatusBar:function(){switch(String(this.statusBar)){case"true":return!0;case"false":return!1;default:return this.isFixed}},hasShadow:function(){var t=this.backgroundColor;switch(this.shadow){case!0:return!0;case!1:return!1;default:return"transparent"!==t&&t.indexOf("rgba")<0}}},data:function(){return{navBarHeight:1*t.getSystemInfoSync().statusBarHeight+44}},methods:{onClickLeft:function(){var t=this.leftIcon,e=void 0===t?"":t;"icon-left"==e?this.$util.goUrl({url:1,openType:"navigateBack"}):"iconshouye"==e?this.$util.goUrl({url:"/pages/home",openType:"reLaunch"}):(this.$emit("clickLeft"),this.$emit("click-left"))},onClickRight:function(){this.$emit("clickRight"),this.$emit("click-right")}}};e.default=i}).call(this,n("543d")["default"])},f8b5d: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;this._self._c},r=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-nav-bar-create-component',
{
'components/uni-nav-bar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("99ee"))
})
},
[['components/uni-nav-bar-create-component']]
]);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-status-bar": "/components/uni-status-bar"
}
}

View File

@@ -0,0 +1 @@
<view class="{{['uni-navbar',(isFixed)?'uni-navbar-fixed':'',(hasShadow)?'uni-navbar-shadow':'']}}" style="{{'background-color:'+(backgroundColor)+';'+('height:'+(navBarHeight+'px')+';')}}"><block wx:if="{{insertStatusBar}}"><uni-status-bar vue-id="cec96ef6-1" bind:__l="__l"></uni-status-bar></block><view class="uni-navbar-header" style="{{'color:'+(color)+';'}}"><view data-event-opts="{{[['tap',[['onClickLeft',['$event']]]]]}}" class="uni-navbar-header-btns left" bindtap="__e"><slot name="left"></slot><block wx:if="{{leftIcon||leftText}}"><view class="uni-navbar-btn-text"><block wx:if="{{leftIcon}}"><view class="{{['iconfont','_i',leftIcon]}}"></view></block>{{leftText||''}}</view></block></view><block wx:if="{{!onlyLeft}}"><block><view class="{{['uni-navbar-container',[(title)?'flex-center':''],[(image)?'flex-y-center':'']]}}"><block wx:if="{{title}}"><view class="uni-navbar-container-title ellipsis">{{title}}</view></block><block wx:if="{{image}}"><image class="seckill-nav" mode="aspectFill" lazy-load="{{true}}" src="{{image}}"></image></block><slot></slot></view><view data-event-opts="{{[['tap',[['onClickRight',['$event']]]]]}}" class="uni-navbar-header-btns right" bindtap="__e"><block wx:if="{{rightText}}"><view class="uni-navbar-btn-text">{{rightText}}</view></block><slot name="right"></slot></view></block></block></view></view>

View File

@@ -0,0 +1 @@
.uni-navbar{display:block;position:relative;width:100%;overflow:hidden}.uni-navbar-shadow{box-shadow:0 1px 6px #ccc}.uni-navbar.uni-navbar-fixed{position:fixed;z-index:999999999}.uni-navbar-header{display:flex;flex-direction:row;width:100%;height:44px;line-height:44px;font-size:14px}.uni-navbar-header-btns{display:inline-flex;flex-wrap:nowrap;flex-shrink:0;width:100px}.uni-navbar-header-btns.left{padding-left:30rpx}.uni-navbar-header-btns.right{padding-right:30rpx}.uni-navbar-btn-text{display:flex;align-items:center}.uni-navbar-btn-text.iconfont{font-size:40rpx}.uni-navbar-container{width:100%;margin:0 5px}.uni-navbar-container-title{height:44px;line-height:44px;font-size:15px;max-width:330rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup"],{"06fb":function(t,n,e){"use strict";var o=e("19d5"),i=e.n(o);i.a},"19d5":function(t,n,e){},4463:function(t,n,e){"use strict";e.r(n);var o=e("8270"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},8270:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"UniPopup",props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},custom:{type:Boolean,default:!1},maskClick:{type:Boolean,default:!0},show:{type:Boolean,default:!0}},data:function(){return{ani:"",showPopup:!1}},watch:{show:function(t){t?this.open():this.close()}},created:function(){},methods:{clear:function(){},open:function(){var t=this;this.$emit("change",{show:!0}),this.showPopup=!0,this.$nextTick((function(){setTimeout((function(){t.ani="uni-"+t.type}),30)}))},close:function(t){var n=this;!this.maskClick&&t||(this.$emit("change",{show:!1}),this.ani="",this.$nextTick((function(){setTimeout((function(){n.showPopup=!1}),300)})))}}};n.default=o},8514: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(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},"8d51":function(t,n,e){"use strict";e.r(n);var o=e("8514"),i=e("4463");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("06fb");var a=e("f0c5"),c=Object(a["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/uni-popup-create-component',
{
'components/uni-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("8d51"))
})
},
[['components/uni-popup-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<block wx:if="{{showPopup}}"><view class="uni-popup"><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__mask',ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"></view><view data-event-opts="{{[['tap',[['close',[true]]]]]}}" class="{{['uni-popup__wrapper',type,ani,animation?'ani':'',!custom?'uni-custom':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['clear',['$event']]]]]}}" class="uni-popup__wrapper-box" catchtap="__e"><slot></slot></view></view></view></block>

View File

@@ -0,0 +1,4 @@
.uni-popup{position:fixed;top:0;top:0;bottom:0;left:0;right:0;z-index:998;overflow:hidden}.uni-popup__mask{position:absolute;top:0;bottom:0;left:0;right:0;z-index:998;background:rgba(0,0,0,.4);opacity:0}.uni-popup__mask.ani{transition:all .3s}.uni-popup__mask.uni-bottom,
.uni-popup__mask.uni-center,
.uni-popup__mask.uni-top{opacity:1}.uni-popup__wrapper{position:absolute;z-index:999;box-sizing:border-box}.uni-popup__wrapper.ani{transition:all .3s}.uni-popup__wrapper.top{top:0;left:0;width:100%;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uni-popup__wrapper.bottom{bottom:0;left:0;width:100%;-webkit-transform:translateY(100%);transform:translateY(100%)}.uni-popup__wrapper.center{width:100%;height:100%;display:flex;justify-content:center;align-items:center;-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}.uni-popup__wrapper-box{position:relative;box-sizing:border-box}.uni-popup__wrapper.uni-custom.center .uni-popup__wrapper-box{position:relative;overflow-y:scroll;border-radius:25rpx}.uni-popup__wrapper.uni-custom.bottom .uni-popup__wrapper-box{width:100%;overflow-y:scroll;border-radius:25rpx 25rpx 0 0}.uni-popup__wrapper.uni-custom.top .uni-popup__wrapper-box{width:100%;overflow-y:scroll;border-radius:0 0 25rpx 25rpx}.uni-popup__wrapper.uni-bottom,
.uni-popup__wrapper.uni-top{-webkit-transform:translateY(0);transform:translateY(0)}.uni-popup__wrapper.uni-center{-webkit-transform:scale(1);transform:scale(1);opacity:1}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-segmented-control"],{"06e6":function(t,e,r){"use strict";r.r(e);var n=r("c5c7"),o=r.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(c);e["default"]=o.a},"49df":function(t,e,r){"use strict";r.r(e);var n=r("4f03"),o=r("06e6");for(var c in o)["default"].indexOf(c)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(c);r("f3fc");var u=r("f0c5"),a=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=a.exports},"4f03":function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},o=[]},"976e":function(t,e,r){},c5c7:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uni-segmented-control",props:{current:{type:Number,default:0},values:{type:Array,default:function(){return[]}},activeColor:{type:String,default:"#007aff"},styleType:{type:String,default:"button"},haveBorder:{type:Boolean,default:function(){return!1}},lockTap:{type:Boolean,default:function(){return!0}}},data:function(){return{currentIndex:this.current}},watch:{current:function(t){t!==this.currentIndex&&(this.currentIndex=t)}},computed:{wrapStyle:function(){var t="";switch(this.styleType){case"text":t="border:0;";break;default:t=this.haveBorder?"border: 1rpx solid ".concat(this.activeColor,";"):"";break}return t},itemStyle:function(){var t="";switch(this.styleType){case"text":t="color:#000;border-left:0;";break;default:t="color:#222;background:#eddbba;border-color:#fff;";break}return t},activeStyle:function(){var t="";switch(this.styleType){case"text":t="color:".concat(this.activeColor,";border-left:0;border-bottom-style:solid;");break;default:t="color:#fff;border-color:".concat(this.activeColor,";background-color:").concat(this.activeColor);break}return t}},methods:{onClick:function(t){var e=this.lockTap,r=this.currentIndex;console.log(e,r),r===t&&e||(this.currentIndex=t,this.$emit("clickItem",t))}}};e.default=n},f3fc:function(t,e,r){"use strict";var n=r("976e"),o=r.n(n);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-segmented-control-create-component',
{
'components/uni-segmented-control-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("49df"))
})
},
[['components/uni-segmented-control-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="{{['segmented-control',styleType]}}" style="{{(wrapStyle)}}"><block wx:for="{{values}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onClick',[index]]]]]}}" class="{{['segmented-control-item',styleType]}}" style="{{(index===currentIndex?activeStyle:itemStyle)}}" bindtap="__e">{{''+item.title+''}}</view></block></view>

View File

@@ -0,0 +1 @@
.segmented-control{display:flex;flex-direction:row;justify-content:center;font-size:26rpx;border-radius:5rpx;box-sizing:border-box;margin:0 auto;overflow:hidden}.segmented-control.button{border-radius:54rpx;box-sizing:border-box}.segmented-control.text{border:0;border-radius:0rpx}.segmented-control-item{flex:1;text-align:center;line-height:54rpx;box-sizing:border-box}.segmented-control-item.button{border-left:1rpx solid}.segmented-control-item.button:first-child{border-radius:54rpx 0 0 54rpx}.segmented-control-item.button:last-child{border-radius:0 54rpx 54rpx 0}.segmented-control-item.text{border-left:0}.segmented-control-item:first-child{border-left-width:0}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-status-bar"],{"0912":function(t,n,u){"use strict";u.r(n);var e=u("58b6"),c=u("0db2");for(var a in c)["default"].indexOf(a)<0&&function(t){u.d(n,t,(function(){return c[t]}))}(a);u("999c");var i=u("f0c5"),r=Object(i["a"])(c["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=r.exports},"0db2":function(t,n,u){"use strict";u.r(n);var e=u("5200"),c=u.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){u.d(n,t,(function(){return e[t]}))}(a);n["default"]=c.a},5200:function(t,n,u){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={computed:{style:function(){return"height:".concat(t.getSystemInfoSync().statusBarHeight,"px")}}};n.default=u}).call(this,u("543d")["default"])},"58b6":function(t,n,u){"use strict";u.d(n,"b",(function(){return e})),u.d(n,"c",(function(){return c})),u.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},c=[]},"999c":function(t,n,u){"use strict";var e=u("c1a4"),c=u.n(e);c.a},c1a4:function(t,n,u){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/uni-status-bar-create-component',
{
'components/uni-status-bar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("0912"))
})
},
[['components/uni-status-bar-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="uni-status-bar" style="{{(style)}}"><slot></slot></view>

View File

@@ -0,0 +1 @@
.uni-status-bar{display:block;width:100%;height:20px;height:25px}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/upload"],{3066:function(e,t,n){"use strict";n.r(t);var i=n("6408"),a=n("ba95");for(var u in a)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(u);n("43e0");var r=n("f0c5"),o=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=o.exports},"43e0":function(e,t,n){"use strict";var i=n("ba63"),a=n.n(i);a.a},6408:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,!e.imgTypeList.includes(e.imgclass)||!e.imgclass),i=e.imgTypeList.includes(e.imgclass),a=e.imgauth&&e.imagelist.length<e.imgsize,u=a&&!e.bgimg&&e.imgsize>1?e.imagelist.length:null;e.$mp.data=Object.assign({},{$root:{g0:n,g1:i,g2:a,g3:u}})},a=[]},b3e7:function(e,t,n){"use strict";(function(e){var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("2eee")),u=i(n("278c")),r=i(n("c973")),o=n("26cb"),c={props:{imagelist:{type:Array,default:function(){return[]}},imgtype:{type:String,default:function(){return""}},imgsize:{type:Number,default:function(){return 9}},filetype:{type:String,default:function(){return"picture"}},imgclass:{type:String,default:function(){return""}},imgauth:{type:Boolean,default:function(){return!0}},text:{type:String,default:function(){return""}},bgimg:{type:String,default:function(){return""}}},data:function(){return{imgTypeList:["md","lg"]}},computed:(0,o.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor}}),methods:{previewImage:function(t,n){var i=[];n=this.$util.deepCopy(n),n.forEach((function(e,t){i.push(e.path)})),e.previewImage({current:t.path,urls:i})},toDel:function(t){var n=this;return(0,r.default)(a.default.mark((function i(){var r,o,c,s;return a.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return r="picture"==n.filetype?"图片":"视频",i.next=3,e.showModal({content:"请确认是否要删除".concat(r)});case 3:if(o=i.sent,c=(0,u.default)(o,2),c[0],s=c[1].confirm,s){i.next=9;break}return i.abrupt("return");case 9:n.imagelist.splice(t,1),n.$emit("del",{imgtype:n.imgtype,imagelist:n.imagelist});case 11:case"end":return i.stop()}}),i)})))()},chooseImage:function(){var t=this;return(0,r.default)(a.default.mark((function n(){var i,r,o,c,s,l,f,p,d,g,m,h,b,y,v,x,w,$,k,P;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.imgtype,r=t.imgsize,o=t.filetype,c=t.$util.deepCopy(t.imagelist),s="picture"==o,l=s?"chooseImage":"chooseVideo",f={count:r-1*c.length},s&&(f.sizeType=["compressed"]),n.next=8,e[l](f);case 8:if(p=n.sent,d=(0,u.default)(p,2),g=d[0],m=d[1],!g){n.next=14;break}return n.abrupt("return");case 14:if(h=m.size,b=void 0===h?0:h,y=m.tempFiles,v=m.tempFilePath,x=void 0===v?"":v,!("video"==o&&b/1024/1024>100)){n.next=18;break}return t.$util.showToast({title:"上传视频大小超过限制100M"}),n.abrupt("return");case 18:if([],t.$util.showLoading({title:"上传中"}),!s){n.next=33;break}w=0;case 22:if(!(w<y.length)){n.next=31;break}return n.next=25,t.$api.base.uploadFile({filePath:y[w].path,filetype:o});case 25:$=n.sent,k=$.attachment_path,r>1?c.push({path:k}):c=[{path:k}];case 28:w++,n.next=22;break;case 31:n.next=38;break;case 33:return n.next=35,t.$api.base.uploadVideo({filePath:x,filetype:o});case 35:P=n.sent,console.log(P,"=====video path"),c.push({path:P});case 38:t.$util.hideAll(),t.$emit("upload",{imgtype:i,imagelist:c});case 40:case"end":return n.stop()}}),n)})))()},onPlay:function(e){},onPause:function(e){},onEnded:function(e){},onTimeUpdate:function(e){},onWaiting:function(e){},onProgress:function(e){},onLoadedMetaData:function(e){}}};t.default=c}).call(this,n("543d")["default"])},ba63:function(e,t,n){},ba95:function(e,t,n){"use strict";n.r(t);var i=n("b3e7"),a=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(u);t["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/upload-create-component',
{
'components/upload-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("3066"))
})
},
[['components/upload-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="{{[[($root.g0)?'flex-warp':''],[($root.g1)?'flex-center flex-column':'']]}}"><block wx:for="{{imagelist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view class="{{['rel','item-child','radius-16',imgclass,[(imgsize>1)?'margin border':'']]}}"><block wx:if="{{filetype=='picture'}}"><image class="upload-img radius-16" mode="aspectFill" lazy-load="{{true}}" src="{{item.path}}" data-event-opts="{{[['tap',[['previewImage',['$0','$1'],[[['imagelist','',index]],'imagelist']]]]]}}" bindtap="__e"></image></block><block wx:if="{{filetype=='video'}}"><video class="ipload-video radius-16" id="{{'video_'+index}}" loop="{{false}}" enable-play-gesture="{{true}}" enable-progress-gesture="{{true}}" show-center-play-btn="{{true}}" controls="{{true}}" src="{{item.path}}" data-id="{{item.id}}" objectFit="cover" data-index="{{index}}" data-event-opts="{{[['play',[['onPlay',['$event']]]],['pause',[['onPause',['$event']]]],['ended',[['onEnded',['$event']]]],['timeupdate',[['onTimeUpdate',['$event']]]],['waiting',[['onWaiting',['$event']]]],['progress',[['onProgress',['$event']]]],['loadedmetadata',[['onLoadedMetaData',['$event']]]]]}}" bindplay="__e" bindpause="__e" bindended="__e" bindtimeupdate="__e" bindwaiting="__e" bindprogress="__e" bindloadedmetadata="__e"></video></block><block wx:if="{{imgauth}}"><block><block wx:if="{{imgsize>1}}"><block><view data-event-opts="{{[['tap',[['toDel',[index]]]]]}}" class="{{['guanbi','abs','flex-center',imgclass]}}" style="z-index:1;" bindtap="__e"><view class="iconfont icon-add rotate-45 c-base _i"></view></view></block></block><block wx:else><block><view data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" class="{{['flex-center','flex-column','item-child','border','upload-item','radius-16','abs',imgclass]}}" style="top:0;margin-top:0;background:rgba(0,0,0,0.5);" bindtap="__e"><view class="upload-icon flex-center c-base radius-16"><view class="iconfont icon-camera _i"></view></view><view class="f-caption c-base mt-sm">重新上传</view></view></block></block></block></block></view></block></block><block wx:if="{{$root.g2}}"><view data-event-opts="{{[['tap',[['chooseImage',['$event']]]]]}}" class="{{['radius-16','flex-center','flex-column','item-child','border','rel','upload-item','fill-body',imgclass,[(imgsize>1)?'margin':'']]}}" bindtap="__e"><block wx:if="{{bgimg}}"><image class="item-child md bg-img abs radius-16" style="width:292rpx;height:200rpx;" mode="aspectFill" lazy-load="{{true}}" src="{{bgimg}}"></image></block><block wx:else><block><view class="upload-icon flex-center c-desc radius-16"><view class="iconfont icon-camera _i"></view></view><block wx:if="{{text}}"><view class="f-caption c-caption mt-sm">{{text}}</view></block><block wx:if="{{imgsize>1}}"><view class="cur-imgsize f-caption c-caption">{{$root.g3+'/'+imgsize+''}}</view></block></block></block></view></block></view>

View File

@@ -0,0 +1 @@
.item-child{width:200rpx;height:200rpx;background:#fff;margin:20rpx 0}.border{border:1rpx dashed #ccc;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.item-child.bg-img{top:0;margin:0;overflow:hidden}.margin{margin:20rpx 20rpx 0 0}.item-child:nth-child(3n){margin-right:0rpx}.item-child.sm{width:140rpx;height:140rpx}.item-child.mini{width:196rpx;height:196rpx}.item-child.md{width:294rpx;height:202rpx;margin-bottom:20rpx;overflow:hidden}.item-child.lg{width:690rpx;height:400rpx}.upload-img{width:100%;height:100%}.upload-item .upload-icon .iconfont{font-size:70rpx;display:block}.upload-item .cur-imgsize{line-height:1.1}.upload-item.margin{margin-bottom:0}.guanbi{width:32rpx;height:32rpx;background:rgba(0,0,0,.2);border-radius:0 10rpx 0 0;top:0rpx;right:0rpx;z-index:1}.guanbi .iconfont{font-size:28rpx}.guanbi.lg{width:50rpx;height:50rpx}.guanbi.lg .iconfont{font-size:38rpx}

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.w-picker-flex2{flex:2}.w-picker-flex1{flex:1}.w-picker-view{width:100%;height:476rpx;overflow:hidden;background-color:#fff;z-index:666}.d-picker-view{height:100%}.w-picker-item{text-align:center;width:100%;height:88rpx;line-height:88rpx;text-overflow:ellipsis;white-space:nowrap;font-size:30rpx}

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -0,0 +1 @@
<view class="w-picker-view"><picker-view class="d-picker-view" indicator-style="{{itemHeight}}" value="{{pickVal}}" data-event-opts="{{[['change',[['handlerChange',['$event']]]]]}}" bindchange="__e"><picker-view-column><block wx:for="{{range.years}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"年"}}</view></block></picker-view-column><picker-view-column><block wx:for="{{range.months}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"月"}}</view></block></picker-view-column><picker-view-column><block wx:for="{{range.days}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"日"}}</view></block></picker-view-column><picker-view-column><block wx:for="{{range.sections}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item}}</view></block></picker-view-column></picker-view></view>

View File

@@ -0,0 +1 @@
.w-picker-flex2{flex:2}.w-picker-flex1{flex:1}.w-picker-view{width:100%;height:476rpx;overflow:hidden;background-color:#fff;z-index:666}.d-picker-view{height:100%}.w-picker-item{text-align:center;width:100%;height:88rpx;line-height:88rpx;text-overflow:ellipsis;white-space:nowrap;font-size:30rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/w-picker/linkage-picker"],{1565:function(e,t,n){"use strict";n.r(t);var i=n("98e8"),l=n("b68e");for(var a in l)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return l[e]}))}(a);n("af4f");var o=n("f0c5"),s=Object(o["a"])(l["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=s.exports},"6efe":function(e,t,n){},"98e8":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;this._self._c},l=[]},af4f:function(e,t,n){"use strict";var i=n("6efe"),l=n.n(i);l.a},b004:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n("448a")),a={data:function(){return{pickVal:[],range:[],checkObj:{}}},props:{itemHeight:{type:String,default:"44px"},value:{type:[Array,String],default:""},defaultType:{type:String,default:"label"},options:{type:Array,default:function(){return[]}},defaultProps:{type:Object,default:function(){return{lable:"label",value:"value",children:"children"}}},level:{type:[Number,String],default:2}},computed:{nodeKey:function(){return this.defaultProps.label},nodeVal:function(){return this.defaultProps.value},nodeChild:function(){return this.defaultProps.children}},watch:{value:function(e){0!=this.options.length&&this.initData()},options:function(e){this.initData()}},created:function(){0!=this.options.length&&this.initData()},methods:{getData:function(){var e,t,n,i,l=this,a=this.options,o={},s={},h=a,c=[],d=[],r=[],u=0,f=0,p=0,v=0,b="",y="",g=[],V={},k=this.value,K=[];switch(n=k[0],i=k[1],this.level>2&&(b=k[2]),this.level>3&&(y=k[3]),u=h.findIndex((function(e){return e[l.defaultType]==n})),u=k&&-1!=u?u:0,e=h[u],c=h[u][this.nodeChild],f=c.findIndex((function(e){return e[l.defaultType]==i})),f=k&&-1!=f?f:0,t=c[f],this.level>2&&(d=c[f][this.nodeChild],p=d.findIndex((function(e){return e[l.defaultType]==b})),p=k&&-1!=p?p:0,o=d[p]),this.level>3&&(r=d[v][this.nodeChild],v=r.findIndex((function(e){return e[l.defaultType]==y})),v=k&&-1!=v?v:0,s=r[v]),1*this.level){case 2:g=[u,f],V={col1:e,col2:t},K=[h,c];break;case 3:g=[u,f,p],V={col1:e,col2:t,col3:o},K=[h,c,d];break;case 4:g=[u,f,p,v],V={col1:e,col2:t,col3:o,col4:s},K=[h,c,d,r];break}return{data:K,dVal:g,obj:V}},initData:function(){var e=this,t=this.getData(),n=t.data,i=n[0],l=n[1],a=n[2]||[],o=n[3]||[],s=t.obj,h=s.col1,c=s.col2,d=s.col3||{},r=s.col4||{},u="",f=[],p=[];switch(this.level){case 2:f=[h[this.nodeVal],c[this.nodeVal]],u="".concat(h[this.nodeKey]+c[this.nodeKey]),p=[i,l];break;case 3:f=[h[this.nodeVal],c[this.nodeVal],d[this.nodeVal]],u="".concat(h[this.nodeKey]+c[this.nodeKey]+d[this.nodeKey]),p=[i,l,a];break;case 4:f=[h[this.nodeVal],c[this.nodeVal],d[this.nodeVal],r[this.nodeVal]],u="".concat(h[this.nodeKey]+c[this.nodeKey]+d[this.nodeKey]+r[this.nodeKey]),p=[i,l,a,o];break}this.range=p,this.checkObj=s,this.$nextTick((function(){e.pickVal=t.dVal})),this.$emit("change",{result:u,value:f,obj:s})},handlerChange:function(e){var t,n,i,a,o,s,h=(0,l.default)(e.detail.value),c=h[0],d=h[1],r=h[2]||0,u=h[3]||0,f=[],p=[],v={},b="",y=[];switch(t=this.options,n=t[c]&&t[c][this.nodeChild]||t[t.length-1][this.nodeChild]||[],i=t[c]||t[t.length-1]||{},a=n[d]||n[n.length-1]||{},this.level>2&&(f=n[d]&&n[d][this.nodeChild]||n[n.length-1][this.nodeChild],o=f[r]||f[f.length-1]||{}),this.level>3&&(p=f[r]&&f[r][this.nodeChild]||f[f.length-1][this.nodeChild]||[],s=p[u]||p[p.length-1]||{}),this.level){case 2:v={col1:i,col2:a},this.range=[t,n],b="".concat((i[this.nodeKey]||"")+(a[this.nodeKey]||"")),y=[i[this.nodeVal]||"",a[this.nodeVal]||""];break;case 3:v={col1:i,col2:a,col3:o},this.range=[t,n,f],b="".concat((i[this.nodeKey]||"")+(a[this.nodeKey]||"")+(o[this.nodeKey]||"")),y=[i[this.nodeVal]||"",a[this.nodeVal]||"",o[this.nodeVal]||""];break;case 4:v={col1:i,col2:a,col3:o,col4:s},this.range=[t,n,f,p],b="".concat((i[this.nodeKey]||"")+(a[this.nodeKey]||"")+(o[this.nodeKey]||"")+(s[this.nodeKey]||"")),y=[i[this.nodeVal]||"",a[this.nodeVal]||"",o[this.nodeVal]||"",s[this.nodeVal]||""];break}this.checkObj=v,this.pickVal=h,this.$emit("change",{result:b,value:y,obj:v})}}};t.default=a},b68e:function(e,t,n){"use strict";n.r(t);var i=n("b004"),l=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=l.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/w-picker/linkage-picker-create-component',
{
'components/w-picker/linkage-picker-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("1565"))
})
},
[['components/w-picker/linkage-picker-create-component']]
]);

View File

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

View File

@@ -0,0 +1 @@
<view class="w-picker-view"><picker-view class="d-picker-view" indicator-style="{{itemHeight}}" value="{{pickVal}}" data-event-opts="{{[['change',[['handlerChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{range}}" wx:for-item="group" wx:for-index="gIndex" wx:key="gIndex"><picker-view-column><block wx:for="{{group}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item[nodeKey]}}</view></block></picker-view-column></block></picker-view></view>

View File

@@ -0,0 +1 @@
.w-picker-flex2{flex:2}.w-picker-flex1{flex:1}.w-picker-view{width:100%;height:476rpx;overflow:hidden;background-color:#fff;z-index:666}.d-picker-view{height:100%}.w-picker-item{text-align:center;width:100%;height:88rpx;line-height:88rpx;text-overflow:ellipsis;white-space:nowrap;font-size:30rpx}

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -0,0 +1 @@
<view class="w-picker-view"><picker-view class="d-picker-view" indicator-style="{{itemHeight}}" value="{{pickVal}}" data-event-opts="{{[['change',[['handlerChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="w-picker-flex2"><block wx:for="{{range.fyears}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"年"}}</view></block></picker-view-column><picker-view-column class="w-picker-flex2"><block wx:for="{{range.fmonths}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"月"}}</view></block></picker-view-column><picker-view-column class="w-picker-flex2"><block wx:for="{{range.fdays}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"日"}}</view></block></picker-view-column><picker-view-column class="w-picker-flex1"><view class="w-picker-item">-</view></picker-view-column><picker-view-column class="w-picker-flex2"><block wx:for="{{range.tyears}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"年"}}</view></block></picker-view-column><picker-view-column class="w-picker-flex2"><block wx:for="{{range.tmonths}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"月"}}</view></block></picker-view-column><picker-view-column class="w-picker-flex2"><block wx:for="{{range.tdays}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="w-picker-item">{{item+"日"}}</view></block></picker-view-column></picker-view></view>

View File

@@ -0,0 +1 @@
.w-picker-flex2{flex:2}.w-picker-flex1{flex:1}.w-picker-view{width:100%;height:476rpx;overflow:hidden;background-color:#fff;z-index:666}.d-picker-view{height:100%}.w-picker-item{text-align:center;width:100%;height:88rpx;line-height:88rpx;text-overflow:ellipsis;white-space:nowrap;font-size:30rpx}

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