初始化代码

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

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/about-us"],{"0b43":function(e,t,n){"use strict";var r=n("251a"),o=n.n(r);o.a},"251a":function(e,t,n){},2996:function(e,t,n){"use strict";n.r(t);var r=n("4853"),o=n("f3d7");for(var u in o)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(u);n("0b43");var c=n("f0c5"),i=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=i.exports},4853:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){return t.stopPropagation(),e.$util.goUrl({url:"/home/pages/about"})})},o=[]},bd58:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("2eee")),u=r(n("9523")),c=r(n("c973")),i=n("26cb"),a=(r(n("09da")),r(n("7f53")));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,u.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={components:{},data:function(){return{isLoad:!1,options:{},version:plus.runtime.version}},computed:(0,i.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},userInfo:function(e){return e.user.userInfo}}),onLoad:function(){var e=this;return(0,c.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.initIndex();case 1:case"end":return t.stop()}}),t)})))()},methods:s(s(s({},(0,i.mapActions)(["getUserInfo","getConfigInfo"])),(0,i.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var e=this;return(0,c.default)(o.default.mark((function t(){return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getConfigInfo();case 2:e.isLoad=!0,(0,a.default)();case 4:case"end":return t.stop()}}),t)})))()}})};t.default=d},dd48:function(e,t,n){"use strict";(function(e,t){var r=n("4ea4");n("b03e");r(n("66fd"));var o=r(n("2996"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},f3d7:function(e,t,n){"use strict";n.r(t);var r=n("bd58"),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a}},[["dd48","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "关于我们",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{isLoad}}"><view class="mine-pages-setting"><view class="flex-center flex-column"><view class="space-lg"></view><view class="space-md"></view><image class="logo-img" mode="aspectFill" lazy-load="{{true}}" src="{{configInfo.app_logo}}"></image><view class="f-caption c-caption mt-md">{{configInfo.app_text}}</view><view class="space-lg"></view><view class="space-md"></view></view><view class="flex-between pd-lg fill-base f-paragraph"><view>当前版本</view><view class="c-caption">{{version}}</view></view><view class="space-md"></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-between pd-lg fill-base f-paragraph" catchtap="__e"><view>关于我们</view><view class="iconfont icon-right _i"></view></view><view class="space-footer"></view></view></block>

View File

@@ -0,0 +1 @@
.mine-pages-setting .iconfont{color:#999}.mine-pages-setting .logo-img{width:160rpx;height:160rpx}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "添加新地址",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{isLoad}}"><view class="mine-address-edit"><view class="fill-base f-title"><view class="flex-between pd-lg b-1px-b"><view>联系人</view><input class="flex-1 f-paragraph text-right" type="text" placeholder-class="c-placeholder" placeholder="{{rule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','user_name','$event',[]],['subForm']]]]]}}" value="{{subForm.user_name}}" bindinput="__e"/></view><view class="flex-between pd-lg b-1px-b"><view>手机号</view><input class="flex-1 f-paragraph text-right" type="number" placeholder-class="c-placeholder" placeholder="{{rule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['subForm']]]]]}}" value="{{subForm.mobile}}" bindinput="__e"/><button class="clear-btn" style="{{'color:'+(primaryColor)+';'+('margin-left:'+('15rpx')+';')+('font-size:'+('28rpx')+';')}}" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['toAuthPhone',['$event']]]]]}}" bindgetphonenumber="__e">授权</button></view><view class="flex-between pd-lg b-1px-b"><view class="flex-1">选择地区</view><view data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" class="flex-y-center f-paragraph max-500 text-right" catchtap="__e"><view class="{{['flex-1','text-right',[(!subForm.address)?'c-placeholder':''],[(subForm.address)?'c-title':'']]}}">{{''+(subForm.address||'点击右边图标设置')+''}}</view><view class="iconfont icon-dingwei-fill ml-sm _i" style="{{'color:'+(primaryColor)+';'}}"></view></view></view><view class="pd-lg f-title"><view>详细地址</view><textarea class="pt-lg textarea-item f-paragraph" maxlength="100" placeholder-class="c-placeholder" placeholder="{{rule[3].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','address_info','$event',[]],['subForm']]]]]}}" value="{{subForm.address_info}}" bindinput="__e"></textarea></view></view><view class="fill-base mt-md pt-sm pb-sm pl-lg pr-lg f-paragraph"><view class="flex-between"><view class="f-paragraph">设为默认地址</view><view data-event-opts="{{[['tap',[['toSetItem',['$event']]]]]}}" class="flex-1 text-right" catchtap="__e"><view class="{{['iconfont','icon-switch','ml-sm','_i',[(subForm.status==1)?'icon-switch-on':'']]}}" style="{{'color:'+(subForm.status==1?primaryColor:'#999')+';'}}"></view></view></view></view><view class="f-caption c-title mt-md pl-lg">设置后,下单时优先展示该地址</view><view class="space-max-footer"></view><fix-bottom-button vue-id="4e2a68f8-1" text="{{subForm.id?[{text:'删除',type:'cancel'},{text:'保存',type:'confirm'}]:[{text:'提交',type:'confirm'}]}}" bgColor="#fff" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['confirmSubmit']]]]}}" bind:cancel="__e" bind:confirm="__e" bind:__l="__l"></fix-bottom-button><common-popup class="vue-ref" vue-id="4e2a68f8-2" type="DEL_ITEM" info="{{popupInfo}}" data-ref="del_item" data-event-opts="{{[['^confirm',[['confirmDel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup></view></block>

View File

@@ -0,0 +1,2 @@
.mine-address-edit .icon-dingwei-fill{font-size:40rpx}.mine-address-edit .icon-switch,
.mine-address-edit .icon-switch-on{font-size:80rpx}.mine-address-edit .textarea-item{width:690rpx;height:200rpx;overflow-y:auto}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "我的地址",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-address-list"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toUpdateItem',[index]]]]]}}" class="list-item fill-base mt-md" catchtap="__e"><view class="flex-warp pd-lg b-1px-b"><view class="address-icon flex-center c-base radius" style="{{'background:'+(primaryColor)+';'}}"><view class="iconfont icon-dingwei-fill _i"></view></view><view class="address-info flex-1 ml-md"><view class="flex-y-baseline username c-title text-bold">{{item.user_name+''}}<view class="ml-md f-desc c-paragraph">{{item.mobile}}</view></view><view class="f-desc c-title">{{item.address+' '+item.address_info}}</view></view></view><view class="oper-info pl-lg pr-lg f-paragraph c-paragraph flex-between"><view class="flex-y-center" style="{{'color:'+(options.check&&item.id==check_id||!options.check&&item.status==1?primaryColor:'')+';'}}"><view class="{{['iconfont','icon-xuanze','mr-sm','_i',[(options.check&&item.id==check_id||!options.check&&item.status==1)?'icon-xuanze-fill':'']]}}" style="{{'color:'+(options.check&&item.id==check_id||!options.check&&item.status==1?primaryColor:'')+';'}}"></view><block wx:if="{{options.check}}"><block>{{item.id==check_id?'当前选择地址':'点击选择'}}</block></block><block wx:else><block>{{item.status==1?'默认地址':'设为默认'}}</block></block></view><view class="flex-center"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="pl-lg pr-lg" catchtap="__e">编辑</view><view data-event-opts="{{[['tap',[['toDel',[index]]]]]}}" class="pl-lg" catchtap="__e">删除</view></view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="746da2e4-1" noMore="{{$root.g0}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g1}}"><abnor vue-id="746da2e4-2" title="暂未设置地址信息" tip="{{[{text:'点击下方按钮添加',color:0}]}}" bind:__l="__l"></abnor></block><view class="space-max-footer"></view><fix-bottom-button vue-id="746da2e4-3" text="{{[{text:'新增地址',type:'confirm'}]}}" data-event-opts="{{[['^confirm',[['e0']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button><common-popup class="vue-ref" vue-id="746da2e4-4" type="DEL_ITEM" info="{{popupInfo}}" data-ref="del_item" data-event-opts="{{[['^confirm',[['confirmDel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup></view>

View File

@@ -0,0 +1 @@
.mine-address-list .address-icon{width:64rpx;height:64rpx}.mine-address-list .address-icon .iconfont{font-size:38rpx}.mine-address-list .address-info{max-width:606rpx}.mine-address-list .username{font-size:30rpx}.mine-address-list .oper-info{height:80rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/agreement"],{"0847":function(n,t,e){"use strict";(function(n){var o=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(e("2eee")),r=o(e("c973")),u=e("26cb"),c={components:{parser:function(){Promise.all([e.e("common/vendor"),e.e("components/jyf-Parser/index")]).then(function(){return resolve(e("c84c"))}.bind(null,e)).catch(e.oe)}},data:function(){return{options:{},detail:{},popupInfo:{}}},computed:(0,u.mapState)({primaryColor:function(n){return n.config.configInfo.primaryColor},subColor:function(n){return n.config.configInfo.subColor},configInfo:function(n){return n.config.configInfo},userInfo:function(n){return n.user.userInfo}}),onLoad:function(n){this.$util.showLoading(),this.options=n,this.initIndex()},onUnload:function(){this.$util.back()},methods:{initIndex:function(){var t=this;return(0,r.default)(i.default.mark((function e(){var o,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=t.options.type,e.next=3,t.$api.home.aboutUsInfoType({type:o});case 3:t.detail=e.sent,r=t.detail.title,n.setNavigationBarTitle({title:r}),t.$util.hideAll();case 7:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.initIndex()},linkpress:function(n){console.log("linkpress",n)}}};t.default=c}).call(this,e("543d")["default"])},"605b":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var o=function(){var n=this.$createElement;this._self._c},i=[]},6416:function(n,t,e){"use strict";var o=e("8716"),i=e.n(o);i.a},"73fb":function(n,t,e){"use strict";(function(n,t){var o=e("4ea4");e("b03e");o(e("66fd"));var i=o(e("f376"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},8716:function(n,t,e){},ed1d:function(n,t,e){"use strict";e.r(t);var o=e("0847"),i=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);t["default"]=i.a},f376:function(n,t,e){"use strict";e.r(t);var o=e("605b"),i=e("ed1d");for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);e("6416");var u=e("f0c5"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports}},[["73fb","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"parser": "/components/jyf-Parser/index"
}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{detail.id}}"><view class="mine-agreement"><view class="pd-lg"><parser vue-id="140a8756-1" html="{{detail.text}}" show-with-animation="{{true}}" lazy-load="{{true}}" data-event-opts="{{[['^linkpress',[['linkpress']]]]}}" bind:linkpress="__e" bind:__l="__l" vue-slots="{{['default']}}">加载中...</parser></view><view class="space-footer"></view></view></block>

View File

@@ -0,0 +1 @@
page{background:#fff}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/apply-result"],{"132e":function(t,e,n){"use strict";(function(t){var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("2eee")),o=r(n("9523")),a=r(n("c973")),u=n("26cb");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={components:{},data:function(){return{options:{},tipArr:{1:[],2:[],3:[{text:"平台管理员已取消授权",color:0}],4:[{text:"请联系平台管理人员询问失败原因",color:0}]},buttonArr:{1:[{text:"返回",type:"cancel"}],2:[{text:"",type:"confirm"}],3:[{text:"返回",type:"cancel"}],4:[{text:"再次申请",type:"confirm"},{text:"返回",type:"cancel"}]},title:{1:"等待审核",2:"",3:"取消授权",4:"申请失败"},image:{1:"https://lbqny.migugu.com/admin/public/apply_wait.jpg",2:"https://lbqny.migugu.com/admin/public/apply_suc.jpg",3:"https://lbqny.migugu.com/admin/public/apply_fail.jpg",4:"https://lbqny.migugu.com/admin/public/apply_fail.jpg"},isLoad:!1,status:1}},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},mineInfo:function(t){return t.user.mineInfo}}),onLoad:function(t){var e=this;return(0,a.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.$util.showLoading(),e.options=t,n.next=4,e.initIndex();case 4:case"end":return n.stop()}}),n)})))()},methods:l(l(l({},(0,u.mapActions)(["getMineInfo"])),(0,u.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var e=this;return(0,a.default)(i.default.mark((function n(){var r,o,a,u,c,l,f,s;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.getMineInfo();case 2:e.$util.hideAll(),r=e.options.type,o=e.mineInfo,a=o.farmer_status,u=o.sh_text,c=o.fx_status,l=o.fx_text,f=1==r?a:c,s=1==r?u:l,e.status=f,1==f&&(e.tipArr[f]=1==r?[{text:"审核成功后将直接入驻平台",color:0}]:[{text:"您已经成功提交申请",color:0},{text:"审核将在3个工作日内出结果请耐心等待",color:0}]),2==f&&(e.tipArr[f]=1==r?[{text:"恭喜您,审核通过!",color:0}]:[{text:"您已具备分销资格,快去分享商品体验吧~",color:0}],e.buttonArr[f][0].text=1==r?"去管理":"去分享",e.title[f]=1==r?"入驻成功":"审核通过"),4==f&&s&&(e.tipArr[f][0].text=s),e.$util.hideAll(),e.isLoad=!0,t.setNavigationBarTitle({title:e.title[f]});case 14:case"end":return n.stop()}}),n)})))()},initRefresh:function(){this.isLoad=!1,this.initIndex(!0)},confirm:function(){var t=this;return(0,a.default)(i.default.mark((function e(){var n,r,o;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=t.status,r=t.options.type,o=2==n?1==r?"/pages/mine":"/pages/shop":1==r?"/farmer/pages/apply":"/mine/pages/distribution/apply",t.$util.log(o),t.$util.goUrl({url:o,openType:2==n?"switchTab":"redirectTo"});case 5:case"end":return e.stop()}}),e)})))()},cancel:function(){this.$util.back(),this.$util.goUrl({url:1,openType:"navigateBack"})}})};e.default=f}).call(this,n("543d")["default"])},"23e1":function(t,e,n){"use strict";(function(t,e){var r=n("4ea4");n("b03e");r(n("66fd"));var i=r(n("6aa9"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"4b65":function(t,e,n){"use strict";var r=n("b9f3"),i=n.n(r);i.a},"6aa9":function(t,e,n){"use strict";n.r(e);var r=n("a169"),i=n("d3d2");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("4b65");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},a169: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=[]},b9f3:function(t,e,n){},d3d2:function(t,e,n){"use strict";n.r(e);var r=n("132e"),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}},[["23e1","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{isLoad}}"><view class="master-apply-result"><abnor vue-id="3283797e-1" percent="150%" title="{{title[status]}}" tip="{{tipArr[status]}}" button="{{buttonArr[status]}}" image="{{image[status]}}" tipMax="{{status==4?'690rpx':''}}" data-event-opts="{{[['^confirm',[['confirm']]],['^cancel',[['cancel']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:__l="__l"></abnor></view></block>

View File

@@ -0,0 +1 @@
page{background:#fff}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/balance/index"],{"010e":function(n,t,e){"use strict";(function(n,t){var o=e("4ea4");e("b03e");o(e("66fd"));var r=o(e("0c1c"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(r.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"0c1c":function(n,t,e){"use strict";e.r(t);var o=e("d591"),r=e("db96");for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);e("a80b");var u=e("f0c5"),c=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},"2eab":function(n,t,e){"use strict";(function(n){var o=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(e("2eee")),i=o(e("c973")),u=o(e("9523")),c=e("26cb");function a(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,o)}return e}function f(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?a(Object(e),!0).forEach((function(t){(0,u.default)(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var s={components:{tabbar:function(){e.e("components/tabbar").then(function(){return resolve(e("f696"))}.bind(null,e)).catch(e.oe)}},data:function(){return{detail:{},isLoad:!1}},computed:(0,c.mapState)({primaryColor:function(n){return n.config.configInfo.primaryColor},subColor:function(n){return n.config.configInfo.subColor},configInfo:function(n){return n.config.configInfo},commonOptions:function(n){return n.user.commonOptions},userInfo:function(n){return n.user.userInfo},mineInfo:function(n){return n.user.mineInfo}}),onLoad:function(){this.$util.setNavigationBarColor({color:"#ffffff",bg:"#39b54a"}),this.initIndex()},onUnload:function(){this.$util.back()},onPullDownRefresh:function(){n.showNavigationBarLoading(),this.initRefresh(),n.stopPullDownRefresh()},methods:f(f({},(0,c.mapActions)(["getMineInfo"])),{},{initIndex:function(){var n=this;return(0,i.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.getMineInfo();case 2:n.$util.hideAll(),n.isLoad=!0;case 4:case"end":return t.stop()}}),t)})))()},initRefresh:function(){this.initIndex()}})};t.default=s}).call(this,e("543d")["default"])},a80b:function(n,t,e){"use strict";var o=e("c617"),r=e.n(o);r.a},c617:function(n,t,e){},d591:function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){}));var o=function(){var n=this,t=n.$createElement;n._self._c;n._isMounted||(n.e0=function(t){return t.stopPropagation(),n.$util.goUrl({url:"/mine/pages/balance/list"})},n.e1=function(t){return t.stopPropagation(),n.$util.goUrl({url:"/mine/pages/cash-out?type=business"})},n.e2=function(t){return t.stopPropagation(),n.$util.goUrl({url:"/mine/pages/balance/record"})})},r=[]},db96:function(n,t,e){"use strict";e.r(t);var o=e("2eab"),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=r.a}},[["010e","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "余额",
"enablePullDownRefresh": true,
"usingComponents": {
"tabbar": "/components/tabbar"
}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{isLoad}}"><view class="mine-balance-index rel"><view class="count-info flex-center flex-column c-base" style="{{'background:'+(primaryColor)+';'}}"><view class="f-caption">{{mineInfo.is_user?'我的余额(元)':'可提余额(元)'}}</view><view class="price mt-sm">{{mineInfo.is_user?mineInfo.balance:mineInfo.wallet_cash}}</view><view class="flex-center btn-list f-paragraph mt-lg pt-lg"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item-child flex-center fill-base c-title mr-lg radius" catchtap="__e">充值</view><block wx:if="{{!mineInfo.is_user}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="item-child flex-center c-base radius" catchtap="__e">提现</view></block></view></view><block wx:if="{{!mineInfo.is_user}}"><view class="money-count fill-base flex-center pt-lg pb-lg"><view class="item-child flex-center flex-column b-1px-r"><view class="flex-y-baseline f-lg-title">{{mineInfo.balance}}</view><view class="f-caption c-caption">总金额(元)</view></view><view class="item-child flex-center flex-column"><view class="flex-y-baseline f-lg-title">{{mineInfo.frozen_cash}}</view><view class="f-caption c-caption">不可用余额(元)</view></view></view></block><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="flex-between mt-md pd-lg fill-base" catchtap="__e"><view class="f-title c-title">交易记录</view><view class="iconfont icon-right _i"></view></view><view class="space-footer"></view></view></block>

View File

@@ -0,0 +1 @@
.mine-balance-index .count-info{height:450rpx}.mine-balance-index .count-info .price{font-size:70rpx}.mine-balance-index .count-info .btn-list .item-child{width:240rpx;height:64rpx;border:1rpx solid #fff;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.mine-balance-index .money-count .item-child{width:50%}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "充值",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-balance-list"><view class="count-info flex-center flex-column c-base" style="{{'background:'+(primaryColor)+';'}}"><view class="f-caption">当前余额(元)</view><view class="price mt-sm">{{userInfo.balance}}</view></view><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="flex-center fill-base mg-big pd-lg box-shadow radius-24"><view class="flex-1 mr-lg"><view class="flex-y-baseline f-caption c-warning text-bold">¥<view class="f-sm-title">{{item.price}}</view></view><view class="f-caption c-desc mt-sm">{{item.title}}</view><block wx:if="{{item.member_level*1>0}}"><view class="f-caption mt-sm" style="{{'color:'+(primaryColor)+';'}}">{{''+item.member_title+''}}</view></block></view><view data-event-opts="{{[['tap',[['toChangeItem',['chooseInd',index]]]]]}}" class="stored-btn flex-center f-caption c-base radius-4" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">立即充值</view></view></block><view class="fill-base mg-big pd-lg box-shadow radius-24"><view class="input-item flex-between radius-16"><input class="flex-1 mr-lg pt-md pb-md pl-lg f-paragraph c-title" type="digit" placeholder="请输入充值金额,无赠送" placeholder-class="f-paragraph c-caption" data-event-opts="{{[['input',[['__set_model',['','price','$event',[]]],['checkInput',['$event','price']]]]]}}" value="{{price}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['toChangeItem',['chooseInd','price']]]]]}}" class="stored-btn flex-center f-caption c-base" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">立即充值</view></view></view><view class="fill-base mg-big pd-lg box-shadow radius-24"><view class="flex-y-center mb-lg"><view class="common-line" style="{{'background:'+(primaryColor)+';'}}"></view><view class="f-title c-title text-bold">充值说明</view></view><view class="f-desc c-caption"><rich-text nodes="{{text}}"></rich-text></view></view><view class="space-footer"></view><uni-popup class="vue-ref" vue-id="9afc1868-1" type="bottom" custom="{{true}}" data-ref="choose_item" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="popup-choose-item fill-base pt-lg pb-lg radius-top-34" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-between pl-lg pr-lg pb-lg" style="width:100%;" catchtap="__e"><view class="flex-center f-title c-title text-bold">选择支付方式</view><view class="iconfont icon-add-circle rotate-45 _i" style="{{'color:'+(subColor)+';'}}"></view></view><block wx:for="{{payList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toChangeItem',['payInd',index]]]]]}}" class="{{['flex-between','ml-md','mr-md','pl-sm','pr-sm','pt-lg','pb-lg',[(index>0)?'b-1px-t':'']]}}" catchtap="__e"><view class="pay-item flex-y-center"><view class="{{['iconfont','mr-md','_i',item.icon]}}" style="{{'color:'+(item.id==1?primaryColor:'#01AAF2')+';'}}"></view><view class="flex-y-baseline">{{item.title+''}}</view></view><view class="{{['pay-icon','iconfont','c-caption','_i',[(payInd!=index)?'icon-xuanze':''],[(payInd==index)?'icon-radio-fill':'']]}}" style="{{'color:'+(payInd==index?primaryColor:'')+';'}}"></view></view></block><view class="space-lg"></view><view data-event-opts="{{[['tap',[['toPay',['$event']]]]]}}" class="pay-btn flex-center f-title c-base radius" style="{{'background:'+(primaryColor)+';'}}" bindtap="__e">立即支付</view><view class="space-lg"></view><view class="space-safe"></view></view></uni-popup></view>

View File

@@ -0,0 +1 @@
.mine-balance-list .count-info{height:338rpx}.mine-balance-list .count-info .price{font-size:70rpx}.mine-balance-list .input-item{overflow:hidden;background:#f9f9f9}.mine-balance-list .input-item .stored-btn{width:134rpx;height:88rpx}.mine-balance-list .stored-btn{width:132rpx;height:58rpx}.mine-balance-list .popup-choose-item .icon-add-circle{font-size:50rpx}.mine-balance-list .popup-choose-item .pay-item .iconfont{font-size:50rpx}.mine-balance-list .popup-choose-item .pay-icon{font-size:40rpx}.mine-balance-list .popup-choose-item .pay-btn{width:500rpx;height:88rpx;margin:0 auto}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "交易记录",
"enablePullDownRefresh": true,
"usingComponents": {
"w-picker": "/components/w-picker/w-picker",
"uni-segmented-control": "/components/uni-segmented-control"
}
}

View File

@@ -0,0 +1 @@
<view class="mine-stored-record"><fixed vue-id="630b70f9-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="fill-base b-1px-b"><view class="pl-lg pr-lg"><view class="space-lg"></view><uni-segmented-control vue-id="{{('630b70f9-2')+','+('630b70f9-1')}}" current="{{typeInd}}" values="{{typeList}}" style-type="button" active-color="{{primaryColor}}" data-event-opts="{{[['^clickItem',[['handerTabChange',['$event','typeInd']]]]]}}" bind:clickItem="__e" bind:__l="__l"></uni-segmented-control></view><tab vue-id="{{('630b70f9-3')+','+('630b70f9-1')}}" list="{{tabList}}" lockTap="{{activeIndex==2&&tabList[2].start_time&&tabList[2].end_time?false:true}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange',['$event','activeIndex']]]]]}}" bind:change="__e" bind:__l="__l"></tab></view></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="fill-base pd-lg b-1px-b"><view class="flex-between"><view class="max-446 ellipsis">{{typeType[item.type]}}</view><view class="text-bold" style="{{'color:'+(primaryColor)+';'}}">{{(item.add?'+':'-')+" "+item.price}}</view></view><view class="flex-between f-caption c-desc mt-sm"><view class="c-caption">{{item.create_time}}</view><view>{{"余额:"+item.after_balance}}</view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="630b70f9-4" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="630b70f9-5" bind:__l="__l"></abnor></block><view class="space-footer"></view><uni-popup class="vue-ref" vue-id="630b70f9-6" type="top" custom="{{true}}" maskClick="{{false}}" data-ref="show_choose_time" bind:__l="__l" vue-slots="{{['default']}}"><view style="height:184rpx;"></view><view class="popup-choose-time fill-base f-paragraph c-desc pt-lg pb-lg radius-bottom-34"><view class="time-item flex-center pt-lg"><view data-event-opts="{{[['tap',[['toShowTime',['start_time']]]]]}}" class="item-child flex-center flex-column" catchtap="__e"><view>开始时间</view><view class="mt-sm" style="{{'color:'+(tabList[2].start_time?primaryColor:'#999')+';'}}">{{''+(tabList[2].start_time||'选择时间')+''}}</view></view><view data-event-opts="{{[['tap',[['toShowTime',['end_time']]]]]}}" class="item-child flex-center flex-column b-1px-l" catchtap="__e"><view>结束时间</view><view class="mt-sm" style="{{'color:'+(tabList[2].end_time?primaryColor:'#999')+';'}}">{{''+(tabList[2].end_time||'选择时间')+''}}</view></view></view><view class="button-item flex-center"><view data-event-opts="{{[['tap',[['toConfirm',[1]]]]]}}" class="item-child disabled flex-center" catchtap="__e">取消</view><view data-event-opts="{{[['tap',[['toConfirm',[2]]]]]}}" class="item-child flex-center" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">确定</view></view></view></uni-popup><w-picker class="vue-ref" vue-id="630b70f9-7" mode="date" startYear="{{startYear}}" endYear="{{endYear}}" value="{{tabList[0].end_time}}" current="{{false}}" fields="day" disabled-after="{{false}}" themeColor="{{primaryColor}}" visible="{{showDate}}" data-ref="day" data-event-opts="{{[['^confirm',[['onConfirm',['$event']]]],['^updateVisible',[['__set_sync',['$0','showDate','$event'],['']]]]]}}" bind:confirm="__e" bind:updateVisible="__e" bind:__l="__l"></w-picker></view>

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/cash-out"],{"17ee":function(t,e,n){"use strict";var r=n("4094"),i=n.n(r);i.a},4094:function(t,e,n){},"4b37":function(t,e,n){"use strict";n.r(e);var r=n("dbbf"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=i.a},"587c":function(t,e,n){"use strict";(function(t,e){var r=n("4ea4");n("b03e");r(n("66fd"));var i=r(n("bcf2"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"875f":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=[]},bcf2:function(t,e,n){"use strict";n.r(e);var r=n("875f"),i=n("4b37");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("17ee");var o=n("f0c5"),c=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=c.exports},dbbf:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("2eee")),a=r(n("c973")),o=r(n("9523")),c=n("26cb");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={components:{},data:function(){return{options:{},isLoad:!1,scrollTop:0,cash:"",apply_price:"",text:"",lockTap:!1}},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},userInfo:function(t){return t.user.userInfo},mineInfo:function(t){return t.user.mineInfo}}),onLoad:function(t){this.$util.showLoading(),this.options=t,this.initIndex()},onPageScroll:function(t){this.scrollTop=t.scrollTop},methods:s(s({},(0,c.mapActions)(["getConfigInfo"])),{},{initIndex:function(){var t=this;return(0,a.default)(i.default.mark((function e(){var n,r,a;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getConfigInfo();case 2:n=t.options.type,e.t0=n,e.next="farmer"===e.t0?6:"business"===e.t0?12:"distribution"===e.t0?14:16;break;case 6:return e.next=8,t.$api.farmer.farmerFinanceInfo();case 8:return r=e.sent,a=r.cash,t.cash=a,e.abrupt("break",16);case 12:return t.cash=t.mineInfo.wallet_cash,e.abrupt("break",16);case 14:return t.cash=t.mineInfo.fx_cash,e.abrupt("break",16);case 16:t.$util.hideAll(),t.isLoad=!0;case 18:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.initIndex()},withAll:function(){this.apply_price=this.cash},checkInput:function(t,e){var n=this,r=this.$util.formatMoney(t.detail.value);this.$nextTick((function(){n[e]=r}))},submit:function(){var t=this;return(0,a.default)(i.default.mark((function e(){var n,r,a,o,c;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("0.0"==t.apply_price&&t.$nextTick((function(){t.apply_price="0"})),n=t.apply_price,r=t.text,a=t.configInfo.cash_mini,o=t.cash,r=r?r.replace(/(^\s*)|(\s*$)/g,""):"",r&&n){e.next=8;break}return t.$util.showToast({title:r?"请输入提现金额":"请输入到账信息"}),e.abrupt("return");case 8:if(!(parseFloat(n)<parseFloat(a))){e.next=11;break}return t.$util.showToast({title:"提现金额不能低于最低提现金额".concat(a)}),e.abrupt("return");case 11:if(!(parseFloat(n)>parseFloat(o))){e.next=14;break}return t.$util.showToast({title:"提现金额不能大于可提现金额".concat(o)}),e.abrupt("return");case 14:if(!t.lockTap){e.next=16;break}return e.abrupt("return");case 16:return t.lockTap=!0,t.$util.showLoading(),e.prev=18,c=t.options.type,"distribution"===c&&(c="mine"),e.next=23,t.$api[c].applyWallet({apply_price:n,text:r});case 23:t.$util.hideAll(),t.$util.showToast({title:"提交成功"}),setTimeout((function(){t.$util.back(),t.$util.goUrl({url:1,openType:"navigateBack"})}),1e3),e.next=32;break;case 28:e.prev=28,e.t0=e["catch"](18),t.lockTap=!1,t.$util.hideAll();case 32:case"end":return e.stop()}}),e,null,[[18,28]])})))()}})};e.default=f}},[["587c","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "提现",
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-cash-out"><uni-nav-bar vue-id="07887369-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="#fff" backgroundColor="{{scrollTop<20?'':primaryColor}}" leftIcon="icon-left" title="提现" bind:__l="__l"></uni-nav-bar><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view><image class="common-bg abs" mode="aspectFill" lazy-load="{{true}}" src="https://lbqny.migugu.com/admin/farm/bg-cash.png"></image><view class="flex-column mt-md ml-lg mr-lg pd-lg fill-base radius-16"><view class="f-title c-title text-bold">备注</view><view class="pt-lg pb-md b-1px-b"><input class="flex-1" type="text" placeholder="请输入到账信息" data-event-opts="{{[['input',[['__set_model',['','text','$event',[]]]]]]}}" value="{{text}}" bindinput="__e"/></view><view class="pt-lg f-title c-title text-bold">提现金额</view><view class="flex-between pt-lg pb-md b-1px-b"><view class="flex-y-center"><view class="text-bold">¥</view><input class="flex-1 ml-sm" type="digit" placeholder="请输入提现金额" data-event-opts="{{[['input',[['__set_model',['','apply_price','$event',[]]],['checkInput',['$event','apply_price']]]]]}}" value="{{apply_price}}" bindinput="__e"/></view></view><view class="space-lg"></view><view data-event-opts="{{[['tap',[['withAll',['$event']]]]]}}" class="flex-y-baseline f-caption c-caption" catchtap="__e">{{"可提现金额¥"+cash+''}}<view class="text-bold c-warning ml-md">全部提现</view></view><view class="flex-y-baseline f-caption c-caption">最低提现金额<view class="text-bold c-warning ml-md">{{'¥'+(configInfo.cash_mini||0)}}</view></view><view class="space-lg"></view><view class="space-lg"></view><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="cash-out-btn flex-center f-title c-base radius-16" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">提现</view><block wx:if="{{options.type!='distribution'&&isLoad}}"><view class="flex-center f-caption c-caption mt-md">{{'每笔订单收取'+(100-configInfo.cash_balance*1)+"%手续费"}}</view></block></view><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-cash-out .can-out-money{font-size:50rpx;line-height:70rpx}.mine-cash-out .can-out-money .money{font-size:70rpx}.mine-cash-out .cash-out-btn{width:622rpx;height:88rpx;margin:0 auto}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/choose-time"],{"52cf":function(n,e,t){"use strict";var a=t("fa1e"),i=t.n(a);i.a},"7c63":function(n,e,t){"use strict";(function(n,e){var a=t("4ea4");t("b03e");a(t("66fd"));var i=a(t("846a"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},"846a":function(n,e,t){"use strict";t.r(e);var a=t("da3c"),i=t("85b7");for(var c in i)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(c);t("52cf");var o=t("f0c5"),r=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=r.exports},"85b7":function(n,e,t){"use strict";t.r(e);var a=t("cc51"),i=t.n(a);for(var c in a)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(c);e["default"]=i.a},cc51:function(n,e,t){"use strict";var a=t("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(t("2eee")),c=a(t("c973")),o=t("26cb"),r={data:function(){return{isLoad:!1,options:{},today_time:"",sendDay:[],sendTime:[],loading:!1,scrollNav:"scrollNav0",scrollInd:0,checkInd:-1}},computed:(0,o.mapState)({commonOptions:function(n){return n.user.commonOptions},primaryColor:function(n){return n.config.configInfo.primaryColor},subColor:function(n){return n.config.configInfo.subColor}}),onLoad:function(n){var e=n.index,t=void 0===e?"-1":e;if(t&&t.includes("_")){var a=t.split("_");this.scrollInd=a[0],this.checkInd=a[1]}this.options=n,this.$util.showLoading(),this.initIndex()},methods:{initIndex:function(){var n=arguments,e=this;return(0,c.default)(i.default.mark((function t(){var a,c,o,r,u,d,s,l;return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=n.length>0&&void 0!==n[0]?n[0]:0,c=(new Date).getTime(),e.today_time=e.$util.DateToUnix(e.$util.formatTime(c,"YY-M-D h:m")),t.next=5,e.$api.claim.sendTime();case 5:o=t.sent,r=o.time,u=void 0===r?[]:r,d=o.date,s=void 0===d?[]:d,s.length>0&&(l=s[a].date,u.map((function(n){n.time_text="".concat(n.start_time," ~ ").concat(n.end_time),n.end_time_unix=e.$util.DateToUnix("".concat(l," ").concat(n.end_time)),n.status=n.end_time_unix<e.today_time?0:1}))),e.sendDay=s,e.sendTime=u,e.loading=!1,e.isLoad=!0,e.$util.hideAll();case 16:case"end":return t.stop()}}),t)})))()},initRefresh:function(){var n=this;return(0,c.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n.initIndex();case 1:case"end":return e.stop()}}),e)})))()},onChangeNav:function(n){var e=arguments,t=this;return(0,c.default)(i.default.mark((function a(){var c,o,r,u,d,s;return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(c=e.length>1&&void 0!==e[1]?e[1]:1,o=1==c?"sendDay":"sendTime",1!=c){a.next=10;break}return t.checkInd=t.scrollInd==n?t.checkInd:-1,t.scrollInd=n,t.scrollNav="scrollNav".concat(n),a.next=8,t.initIndex(n);case 8:a.next=20;break;case 10:if(r=t[o][n].status,1==r){a.next=13;break}return a.abrupt("return");case 13:t.checkInd=n,u=t[o][n],d=t.sendDay[t.scrollInd].date,u.date=d,s={time_index:"".concat(t.scrollInd,"_").concat(n),time:u},t.$util.getPage(-1).send_info=s,t.$util.goUrl({url:1,openType:"navigateBack"});case 20:case"end":return a.stop()}}),a)})))()}}};e.default=r},da3c:function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){}));var a=function(){var n=this,e=n.$createElement,t=(n._self._c,n.isLoad?n.sendDay.length:null),a=n.isLoad?n.sendTime.length:null,i=n.isLoad&&a>0?!n.loading&&n.sendTime.length<=0:null,c=n.isLoad?!n.loading&&n.sendDay.length<=0:null;n.$mp.data=Object.assign({},{$root:{g0:t,g1:a,g2:i,g3:c}})},i=[]},fa1e:function(n,e,t){}},[["7c63","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "选择时间",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{isLoad}}"><view class="mine-choose-time"><block wx:if="{{$root.g0>0}}"><scroll-view class="scroll-left fill-base" scroll-y="{{true}}" scroll-into-view="{{scrollNav}}" scroll-with-animation="{{true}}"><block wx:for="{{sendDay}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view class="{{['item-child','flex-center','f-paragraph','c-title',[(index==scrollInd)?'active':'']]}}" style="{{'color:'+(index==scrollInd?primaryColor:'')+';'}}" id="{{'scrollNav'+index}}" data-event-opts="{{[['tap',[['onChangeNav',[index,1]]]]]}}" bindtap="__e"><view class="flex-center child ellipsis" style="{{'border-left:'+(index==scrollInd?'5rpx solid '+primaryColor:'')+';'}}">{{''+(item.date+' ('+item.week+')')+''}}</view></view></block></block></scroll-view></block><block wx:if="{{$root.g1>0}}"><view class="scroll-right abs fill-base pl-lg"><block wx:for="{{sendTime}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onChangeNav',[index,2]]]]]}}" class="item-child flex-center f-paragraph c-paragraph" style="{{'padding-right:25rpx;'+('color:'+(index==checkInd?primaryColor:'')+';')}}" bindtap="__e"><view class="{{['flex-1',[(item.status!=1)?'text-delete':'']]}}">{{''+item.time_text+''}}</view><block wx:if="{{index==checkInd}}"><view class="iconfont icon-xuanze-fill _i"></view></block></view></block><view class="mg-lg"><block wx:if="{{$root.g2}}"><abnor vue-id="6412bcfc-1" bind:__l="__l"></abnor></block></view></view></block><block wx:if="{{$root.g3}}"><abnor vue-id="6412bcfc-2" bind:__l="__l"></abnor></block></view></block>

View File

@@ -0,0 +1 @@
.mine-choose-time .scroll-left{width:260rpx;height:100vh;position:fixed;top:0;bottom:0}.mine-choose-time .item-child{height:98rpx}.mine-choose-time .item-child.active{background:#f9f9f9}.mine-choose-time .item-child .child{width:100%;height:32rpx;padding:0 5%}.mine-choose-time .scroll-right{min-height:100vh;top:0;width:460rpx;margin-left:292rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/common/video"],{2865:function(t,e,n){"use strict";n.r(e);var a=n("e7cb"),u=n("2dd2");for(var i in u)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(i);n("f5c9");var c=n("f0c5"),o=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=o.exports},"2dd2":function(t,e,n){"use strict";n.r(e);var a=n("5b4b"),u=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=u.a},"5b4b":function(t,e,n){"use strict";var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=a(n("2eee")),i=a(n("c973")),c=(n("26cb"),{data:function(){return{url:"",number:""}},onLoad:function(t){var e=this;return(0,i.default)(u.default.mark((function n(){var a;return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:a=decodeURIComponent(t.url),e.url=a;case 2:case"end":return n.stop()}}),n)})))()},methods:{play:function(t){this.$util.log("play=> ",t)},pause:function(t){this.$util.log("pause=> ",t)},ended:function(t){this.$util.log("ended=> ",t)},waitingCallback:function(t){this.$util.log("waitingCallback=> ",t)},errorCallback:function(t){this.$util.log("errorCallback=> ",t)},loadedmetadata:function(t){this.$util.log("loadedmetadata=> ",t);var e=t.detail,n=e.width,a=e.height,u=(a/n*100).toFixed(2);this.number=u?"".concat(u,"%"):"56.25%"}}});e.default=c},"5c9c":function(t,e,n){},"7b3f":function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("b03e");a(n("66fd"));var u=a(n("2865"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(u.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},e7cb:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},u=[]},f5c9:function(t,e,n){"use strict";var a=n("5c9c"),u=n.n(a);u.a}},[["7b3f","common/runtime","common/vendor"]]]);

View File

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

View File

@@ -0,0 +1 @@
<view class="video-box" style="{{'padding-bottom:'+(number)+';'}}"><video class="my-video" object-fit="fill" preload="meta" src="{{url}}" autoplay="true" controls="{{true}}" data-event-opts="{{[['play',[['play',['$event']]]],['pause',[['pause',['$event']]]],['ended',[['ended',['$event']]]],['waiting',[['waitingCallback',['$event']]]],['error',[['errorCallback',['$event']]]],['loadedmetadata',[['loadedmetadata',['$event']]]]]}}" bindplay="__e" bindpause="__e" bindended="__e" bindwaiting="__e" binderror="__e" bindloadedmetadata="__e"></video></view>

View File

@@ -0,0 +1 @@
.video-box{position:relative;width:100%;height:0}.my-video{position:absolute;left:0;top:0;width:100%;height:100%;align-items:center}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/common/web"],{4176:function(e,n,t){"use strict";t.r(n);var a=t("45a1"),u=t.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(r);n["default"]=u.a},"45a1":function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=a(t("2eee")),r=a(t("c973")),c=(t("26cb"),{data:function(){return{url:""}},onLoad:function(e){var n=this;return(0,r.default)(u.default.mark((function t(){var a;return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=e.url,n.url=decodeURIComponent(a);case 2:case"end":return t.stop()}}),t)})))()}});n.default=c},"72f1":function(e,n,t){"use strict";t.r(n);var a=t("a178"),u=t("4176");for(var r in u)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(r);var c=t("f0c5"),o=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=o.exports},a178:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},u=[]},d866:function(e,n,t){"use strict";(function(e,n){var a=t("4ea4");t("b03e");a(t("66fd"));var u=a(t("72f1"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(u.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])}},[["d866","common/runtime","common/vendor"]]]);

View File

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

View File

@@ -0,0 +1 @@
<view><web-view src="{{url}}"></web-view></view>

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/coupon/list"],{2622:function(t,e,a){"use strict";(function(t){var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2eee")),s=n(a("c973")),r=a("26cb"),o={components:{},data:function(){return{options:{},activeIndex:0,tabList:[{title:"待使用",id:1},{title:"已使用",id:2},{title:"已过期",id:3}],statusType:{1:"去使用",2:"已使用",3:"删除"},useType:{is_land:"土地租赁",is_claim:"认养服务",is_shop:"商城"},param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.$util.showLoading(),this.options=t;var e=t.tab,a=void 0===e?0:e;this.activeIndex=a,this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){this.getList()},initRefresh:function(){this.param.page=1,this.initIndex()},getList:function(){var t=this;return(0,s.default)(i.default.mark((function e(){var a,n,s,r,o,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.list,n=t.param,s=t.useType,r=t.tabList,o=t.activeIndex,n.status=r[o].id,e.next=4,t.$api.mine.userCouponList(n);case 4:u=e.sent,u.data.map((function(t){t.is_show=!1;var e="";for(var a in s)t[a]&&(e+="".concat(s[a],"、"));t.use_range=e.substring(0,e.length-1)})),1==t.param.page||(u.data=a.data.concat(u.data)),t.list=u,t.loading=!1,t.$util.hideAll();case 9:case"end":return e.stop()}}),e)})))()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()},goDetail:function(t){var e=this;return(0,s.default)(i.default.mark((function a(){var n,s,r,o,u,c;return i.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:n=e.activeIndex,a.t0=n,a.next=0===a.t0?4:1===a.t0?8:2===a.t0?9:27;break;case 4:return s=e.list.data[t],r=s.goods,o=s.shop_goods,u=r.length>0?"/pages/service":o.length>0?"/pages/shop":"/pages/restaurant",e.$util.goUrl({url:u,openType:"switchTab"}),a.abrupt("break",27);case 8:return a.abrupt("break",27);case 9:if(c=e.list.data[t].id,!e.lockTap){a.next=12;break}return a.abrupt("return");case 12:return e.lockTap=!0,e.$util.showLoading(),a.prev=14,a.next=17,e.$api.mine.couponDel({coupon_id:c});case 17:e.$util.hideAll(),e.$util.showToast({title:"删除成功"}),e.list.data.splice(t,1),e.lockTap=!1,a.next=26;break;case 23:a.prev=23,a.t1=a["catch"](14),setTimeout((function(){e.lockTap=!1,e.$util.hideAll()}),2e3);case 26:return a.abrupt("break",27);case 27:case"end":return a.stop()}}),a,null,[[14,23]])})))()}}};e.default=o}).call(this,a("543d")["default"])},"60b3":function(t,e,a){"use strict";(function(t,e){var n=a("4ea4");a("b03e");n(a("66fd"));var i=n(a("9afb"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("bc2e")["default"],a("543d")["createPage"])},"61b2":function(t,e,a){"use strict";a.r(e);var n=a("2622"),i=a.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);e["default"]=i.a},9124:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=(t._self._c,t.tabList.length),n=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null,i=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t._isMounted||(t.e0=function(t,e){var a=arguments[arguments.length-1].currentTarget.dataset,n=a.eventParams||a["event-params"];e=n.index;t.stopPropagation(),this.list.data[e].is_show=!this.list.data[e].is_show}),t.$mp.data=Object.assign({},{$root:{g0:a,g1:n,g2:i}})},i=[]},"9afb":function(t,e,a){"use strict";a.r(e);var n=a("9124"),i=a("61b2");for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);a("de2b");var r=a("f0c5"),o=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=o.exports},a94f:function(t,e,a){},de2b:function(t,e,a){"use strict";var n=a("a94f"),i=a.n(n);i.a}},[["60b3","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "我的卡券",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-coupon-list"><fixed vue-id="650cd150-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('650cd150-2')+','+('650cd150-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab><view class="b-1px-b"></view></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item fill-base mg-big pd-lg radius-34"><view class="flex-between"><view class="flex-center flex-column"><view class="flex-y-baseline f-caption c-warning">¥<view class="f-lg-title">{{item.discount+''}}</view></view><view class="f-caption c-title">优惠券</view></view><view class="flex-1 ml-lg flex-between"><view class="f-title c-title mr-lg"><view class="text-bold">{{item.title}}</view><view class="f-icontext mt-sm">{{item.type==0?'满'+item.full+'元可用':'无门槛'}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="flex-y-baseline f-icontext mt-sm" catchtap="__e">查看详情<view class="{{['iconfont','ml-sm','_i',[(!item.is_show)?'icon-down':''],[(item.is_show)?'icon-up':'']]}}" style="font-size:24rpx;"></view></view></view><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="use-btn flex-center f-caption c-base radius" style="{{'background:'+(activeIndex==0?primaryColor:activeIndex==1?'#aaa':'#F1381F')+';'}}" catchtap="__e">{{''+statusType[item.status]+''}}</view></view></view><block wx:if="{{item.is_show}}"><view class="mt-lg pd-lg f-icontext c-title radius-16" style="background:#F9FAF9;"><view class="flex-warp"><view>卡券数量:</view><view class="flex-1 c-desc">{{"x"+item.num}}</view></view><view class="flex-warp mt-md"><view>使用时间:</view><view class="flex-1 c-desc">{{activeIndex==1?item.use_time:item.start_time}}</view></view><view class="flex-warp mt-md"><view>使用范围:</view><view class="flex-1 c-desc">{{item.use_range}}</view></view><view class="flex-warp mt-md"><view>使用规则:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.rule}}</text></view></view><view class="flex-warp mt-md"><view>优惠详情:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.text}}</text></view></view></view></block></view></block><block wx:if="{{loading}}"><load-more vue-id="650cd150-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="650cd150-4" type="COUPON" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-coupon-list .list-item{overflow:hidden}.mine-coupon-list .list-item .item-title{top:0;left:0;height:50rpx;background:#ffe2e2;border-radius:15rpx 0 15rpx 0}.mine-coupon-list .list-item .use-btn{min-width:120rpx;height:58rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/coupon/use"],{"038c":function(t,n,i){},"228f":function(t,n,i){"use strict";(function(t){var e=i("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e(i("2eee")),o=e(i("c973")),s=i("26cb"),r={components:{},data:function(){return{options:{},useType:{is_land:"土地租赁",is_claim:"认养服务",is_shop:"商城"},param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo},orderInfo:function(t){return t.order.orderInfo}}),onLoad:function(t){this.options=t,this.$util.showLoading(),this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){this.getList()},initRefresh:function(){this.param.page=1,this.initIndex()},getList:function(){var t=this;return(0,o.default)(a.default.mark((function n(){var i,e,o,s,r,u,c,l;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.list,e=t.useType,o=t.options.type,s=void 0===o?1:o,r=1==s?t.$util.pick(t.orderInfo,["land_id","spe_id","cycle","massif_id","seed_data"]):{},u=Object.assign({},t.param,t.options,r),c={1:"land",2:"claim",3:"shop"},delete u.type,n.next=8,t.$api[c[s]].canUseCouponList(u);case 8:l=n.sent,l.data.map((function(t){t.is_show=!1;var n="";for(var i in e)t[i]&&(n+="".concat(e[i],"、"));t.use_range=n.substring(0,n.length-1)})),1==t.param.page||(l.data=i.data.concat(l.data)),t.list=l,t.loading=!1,t.$util.hideAll();case 13:case"end":return n.stop()}}),n)})))()},toUse:function(t){var n=this;if(!this.lockTap){this.lockTap=!0;try{var i=this.list.data[t].id;this.$util.getPage(-1).orderInfo.coupon_id=i,this.$util.back(),setTimeout((function(){n.$util.goUrl({url:1,openType:"navigateBack"})}),500)}catch(e){setTimeout((function(){n.lockTap=!1}),2e3)}}},noUse:function(){var t=this;this.$util.getPage(-1).orderInfo.coupon_id=0,this.$util.back(),setTimeout((function(){t.$util.goUrl({url:1,openType:"navigateBack"})}),500)}}};n.default=r}).call(this,i("543d")["default"])},b437:function(t,n,i){"use strict";i.r(n);var e=i("b4d9"),a=i("fbb9");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("d450");var s=i("f0c5"),r=Object(s["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=r.exports},b4d9:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null),e=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t._isMounted||(t.e0=function(t,n){var i=arguments[arguments.length-1].currentTarget.dataset,e=i.eventParams||i["event-params"];n=e.index;t.stopPropagation(),this.list.data[n].is_show=!this.list.data[n].is_show}),t.$mp.data=Object.assign({},{$root:{g0:i,g1:e}})},a=[]},d05b:function(t,n,i){"use strict";(function(t,n){var e=i("4ea4");i("b03e");e(i("66fd"));var a=e(i("b437"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(a.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},d450:function(t,n,i){"use strict";var e=i("038c"),a=i.n(e);a.a},fbb9:function(t,n,i){"use strict";i.r(n);var e=i("228f"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a}},[["d05b","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "选择卡券",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-coupon-use"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item fill-base mg-big pd-lg radius-34"><view class="flex-between"><view class="flex-center flex-column"><view class="flex-y-baseline f-caption c-warning">¥<view class="f-lg-title">{{item.discount+''}}</view></view><view class="f-caption c-title">优惠券</view></view><view class="flex-1 ml-lg flex-between"><view class="f-title c-title mr-lg"><view class="text-bold">{{item.title}}</view><view class="f-icontext mt-sm">{{item.type==0?'满'+item.full+'元可用':'无门槛'}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="flex-y-baseline f-icontext mt-sm" catchtap="__e">查看详情<view class="{{['iconfont','ml-sm','_i',[(!item.is_show)?'icon-down':''],[(item.is_show)?'icon-up':'']]}}" style="font-size:24rpx;"></view></view></view><view data-event-opts="{{[['tap',[['toUse',[index]]]]]}}" class="use-btn flex-center f-caption c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">去使用</view></view></view><block wx:if="{{item.is_show}}"><view class="mt-lg pd-lg f-icontext c-title radius-16" style="background:#F9FAF9;"><view class="flex-warp"><view>卡券数量:</view><view class="flex-1 c-desc">{{"x"+item.num}}</view></view><view class="flex-warp mt-md"><view>使用时间:</view><view class="flex-1 c-desc">{{item.start_time}}</view></view><view class="flex-warp mt-md"><view>使用范围:</view><view class="flex-1 c-desc">{{item.use_range}}</view></view><view class="flex-warp mt-md"><view>使用规则:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.rule}}</text></view></view><view class="flex-warp mt-md"><view>优惠详情:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.text}}</text></view></view></view></block></view></block><block wx:if="{{loading}}"><load-more vue-id="270dab7f-1" noMore="{{$root.g0}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g1}}"><abnor vue-id="270dab7f-2" type="COUPON" bind:__l="__l"></abnor></block><view class="space-max-footer"></view><fix-bottom-button vue-id="270dab7f-3" text="{{[{type:'confirm',text:'不使用卡券'}]}}" data-event-opts="{{[['^confirm',[['noUse']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></view>

View File

@@ -0,0 +1 @@
.mine-coupon-use .list-item{overflow:hidden}.mine-coupon-use .list-item .item-title{top:0;left:0;height:50rpx;background:#ffe2e2;border-radius:15rpx 0 15rpx 0}.mine-coupon-use .list-item .use-btn{min-width:120rpx;height:58rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/distribution/apply"],{"1bef":function(e,t,n){},"1caf":function(e,t,n){"use strict";n.r(t);var r=n("b0eb"),o=n("9453");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("5709");var u=n("f0c5"),c=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=c.exports},5709:function(e,t,n){"use strict";var r=n("1bef"),o=n.n(r);o.a},"76c5":function(e,t,n){"use strict";(function(e,t){var r=n("4ea4");n("b03e");r(n("66fd"));var o=r(n("1caf"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},9453:function(e,t,n){"use strict";n.r(t);var r=n("c2c1"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a},b0eb:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement;this._self._c},o=[]},c2c1:function(e,t,n){"use strict";(function(e){var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("2eee")),i=r(n("c973")),u=r(n("9523")),c=n("26cb");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,u.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={components:{},data:function(){return{options:{},color:"#ffffff",subForm:{user_name:"",mobile:""},rule:[{name:"user_name",checkType:"isNotNull",errorMsg:"请输入您的真实姓名",regType:2},{name:"mobile",checkType:"isAllPhone",errorMsg:"请输入手机号",regText:"手机号"}],lockTap:!1}},computed:(0,c.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},userInfo:function(e){return e.user.userInfo},mineInfo:function(e){return e.user.mineInfo}}),onLoad:function(e){this.options=e},onPullDownRefresh:function(){e.showNavigationBarLoading(),this.initRefresh(),e.stopPullDownRefresh()},onPageScroll:function(e){var t=e.scrollTop<20?"#ffffff":"#000000";this.color!=t&&(this.color=t,this.$util.setNavigationBarColor({color:t,bg:"none"}))},methods:f(f({},(0,c.mapActions)(["getConfigInfo","getUserInfo","getMineInfo","getAuthUserProfile"])),{},{initIndex:function(){return(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.initIndex()},validate:function(e){var t=new this.$util.Validate;this.rule.map((function(n){var r=n.name;t.add(e[r],n)}));var n=t.start();return console.log(n,"message"),n},submit:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$util.deepCopy(e.subForm),r=e.validate(n),!r){t.next=5;break}return e.$util.showToast({title:r}),t.abrupt("return");case 5:if(!e.lockTap){t.next=7;break}return t.abrupt("return");case 7:return e.lockTap=!0,e.$util.showLoading(),t.prev=9,t.next=12,e.$api.mine.applyReseller(n);case 12:e.$util.hideAll(),e.$util.showToast({title:"提交成功"}),e.lockTap=!1,e.$util.goUrl({url:"/mine/pages/apply-result?type=2",openType:"redirectTo"}),t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](9),setTimeout((function(){e.lockTap=!1,e.$util.hideAll()}),2e3);case 21:case"end":return t.stop()}}),t,null,[[9,18]])})))()}})};t.default=l}).call(this,n("543d")["default"])}},[["76c5","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "分销中心",
"enablePullDownRefresh": true,
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-distribution-index"><uni-nav-bar vue-id="f9af48cc-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="{{color}}" backgroundColor="{{color=='#ffffff'?'':primaryColor}}" title="分销申请" leftIcon="icon-left" bind:__l="__l"></uni-nav-bar><view class="mine-index-bg abs" mode="aspectFill" lazy-load="{{true}}"></view><view class="space-user-info rel"></view><view class="apply-info ml-lg mr-lg fill-base f-title radius-24"><view class="flex-center f-md-title text-bold c-black">申请成为分销商</view><view class="space-lg"></view><view class="pt-lg pb-md b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="text-bold">姓名</view></view><input class="pt-md" type="text" maxlength="20" placeholder-class="c-placeholder" placeholder="{{rule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','user_name','$event',[]],['subForm']]]]]}}" value="{{subForm.user_name}}" bindinput="__e"/></view><view class="mt-lg pb-md b-1px-b"><view class="flex-y-center"><view class="iconfont icon-required c-warning _i"></view><view class="text-bold">手机号</view></view><input class="pt-md" type="number" maxlength="20" placeholder-class="c-placeholder" placeholder="{{rule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['subForm']]]]]}}" value="{{subForm.mobile}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="apply-btn flex-center f-sm-title c-base text-bold radius-16" style="{{'background:'+(primaryColor)+';'}}" bindtap="__e">立即申请</view></view><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-distribution-index .space-user-info{top:0;left:0;width:100%;height:219rpx}.mine-distribution-index .mine-index-bg{background:#39b54a;height:14.625rem;width:140%;left:-20%;top:0;z-index:-1}.mine-distribution-index .apply-info{padding:50rpx}.mine-distribution-index .apply-info .apply-btn{width:590rpx;height:96rpx;margin-top:70rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/distribution/index"],{"0827":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"top",void 0,e.key,void 0)?null:t.$util.goUrl({url:t.detail.fx_code,openType:"copy"})},t.e1=function(e){return e.stopPropagation(),t.$util.goUrl({url:"/mine/pages/cash-out?type=distribution"})})},r=[]},5830:function(t,e,n){"use strict";n.r(e);var i=n("9aa4"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},6496:function(t,e,n){"use strict";n.r(e);var i=n("0827"),r=n("5830");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("9b2a");var u=n("f0c5"),a=Object(u["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},"795a":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("b03e");i(n("66fd"));var r=i(n("6496"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"9aa4":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("2eee")),o=i(n("c973")),u=i(n("9523")),a=n("26cb");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,u.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s={components:{},data:function(){return{options:{},color:"#ffffff",toolList:[{img:"/static/image/mine/land-order.png",text:"土地租赁",url:"/mine/pages/distribution/profit?type=2"},{img:"/static/image/mine/claim-order.png",text:"认养订单",url:"/mine/pages/distribution/profit?type=3"},{img:"/static/image/mine/shop.png",text:"商城订单",url:"/mine/pages/distribution/profit?type=1"},{img:"/static/image/mine/code.png",text:"推广码",url:"/mine/pages/distribution/poster"}],otherList:[{img:"/static/image/mine/team.png",text:"我的团队",url:"/mine/pages/distribution/team"},{img:"/static/image/mine/collage.png",text:"提现记录",url:"/mine/pages/distribution/record"}],detail:{}}},computed:(0,a.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo},mineInfo:function(t){return t.user.mineInfo}}),onLoad:function(){this.$util.showLoading(),this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onPageScroll:function(t){var e=t.scrollTop<20?"#ffffff":"#000000";this.color!=e&&(this.color=e,this.$util.setNavigationBarColor({color:e,bg:"none"}))},methods:f(f({},(0,a.mapActions)(["getConfigInfo","getUserInfo","getMineInfo","getAuthUserProfile"])),{},{initIndex:function(){var t=this;return(0,o.default)(r.default.mark((function e(){return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.mine.resellerInfo();case 2:t.detail=e.sent,t.$util.hideAll();case 4:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.initIndex()},toJump:function(t,e){var n=this;return(0,o.default)(r.default.mark((function i(){var o,u;return r.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:o=n[t][e],u=o.url,o.text,n.$util.log(u),n.$util.goUrl({url:u});case 3:case"end":return i.stop()}}),i)})))()}})};e.default=s}).call(this,n("543d")["default"])},"9b2a":function(t,e,n){"use strict";var i=n("f96c"),r=n.n(i);r.a},f96c:function(t,e,n){}},[["795a","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "分销中心",
"enablePullDownRefresh": true,
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{detail.id}}"><view class="mine-distribution-index"><uni-nav-bar vue-id="ab471694-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="{{color}}" backgroundColor="{{color=='#ffffff'?'':primaryColor}}" title="分销中心" leftIcon="icon-left" bind:__l="__l"></uni-nav-bar><view class="mine-index-bg abs" mode="aspectFill" lazy-load="{{true}}"></view><view class="user-info abs pt-md pl-lg pr-lg pb-lg flex-center"><image class="user-img radius" mode="aspectFill" lazy-load="{{true}}" src="{{detail.avatarUrl}}"></image><view class="flex-1 ml-md c-base"><view class="f-lg-title text-bold max-550 ellipsis">{{'Hi'+detail.nickName+''}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-y-center f-caption" bindtap="__e">{{"邀请码:\n\t\t\t\t"+detail.fx_code+''}}<view class="copy-code-btn flex-center f-icontext ml-sm">复制</view></view></view></view><view class="space-user-info rel"></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="stored-item pd-lg ml-md mr-md fill-base box-shadow radius-20" catchtap="__e"><view class="flex-center"><view class="flex-center flex-column c-title"><view class="f-lg-title text-bold">{{detail.fx_cash}}</view><view class="f-caption c-caption">总佣金</view></view><view class="line"></view><view class="flex-center flex-column c-title"><view class="f-lg-title text-bold">{{detail.notreceived_cash}}</view><view class="f-caption c-caption">待结算</view></view></view><view class="flex-center pt-lg pb-sm"><view class="common-btn flex-center f-paragraph c-base radius" style="{{'min-width:176rpx;height:60rpx;'+('background:'+(primaryColor)+';')}}">立即提现</view></view></view><view class="mine-list mt-md ml-md mr-md fill-base box-shadow radius-20"><view class="common-nav-title flex-y-center f-title c-title text-bold">我的收益</view><view class="flex-warp pb-md"><block wx:for="{{toolList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><auth class="item-child" vue-id="{{'ab471694-2-'+index}}" needAuth="{{userInfo&&!userInfo.nickName}}" must="{{true}}" data-event-opts="{{[['^go',[['toJump',['toolList',index]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-center flex-column f-caption c-title"><image class="item-img" mode="aspectFill" lazy-load="{{true}}" src="{{item.img}}"></image><view>{{item.text}}</view></view></auth></block></view></view><view class="mine-list mt-md ml-md mr-md fill-base box-shadow radius-20"><view class="common-nav-title flex-y-center f-title c-title text-bold">其他功能</view><view class="flex-warp pb-md"><block wx:for="{{otherList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><auth class="item-child" vue-id="{{'ab471694-3-'+index}}" needAuth="{{userInfo&&!userInfo.nickName}}" must="{{true}}" data-event-opts="{{[['^go',[['toJump',['otherList',index]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-center flex-column f-caption c-title"><image class="item-img" mode="aspectFill" lazy-load="{{true}}" src="{{item.img}}"></image><view>{{item.text}}</view></view></auth></block></view></view><view class="space-footer"></view></view></block>

View File

@@ -0,0 +1 @@
.mine-distribution-index .user-info{top:0;left:0;width:100%;height:416rpx;padding-top:198rpx}.mine-distribution-index .user-info .user-img{width:120rpx;height:120rpx;line-height:1rpx;overflow:hidden;border:4rpx solid #eff3fd;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.mine-distribution-index .user-info .copy-code-btn{width:65rpx;height:34rpx;border-radius:2rpx;border:1rpx solid #fff;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.mine-distribution-index .space-user-info{top:0;left:0;width:100%;height:379rpx;z-index:-1}.mine-distribution-index .mine-index-bg{background:#39b54a;height:14.625rem;width:140%;left:-20%;top:0;z-index:-1}.mine-distribution-index .stored-item .flex-column{width:50%}.mine-distribution-index .stored-item .line{width:1rpx;height:42rpx;background:#99d3b9}.mine-distribution-index .mine-list .common-nav-title{padding-top:20rpx;padding-left:54rpx}.mine-distribution-index .mine-list .item-child{width:25%;margin:10rpx 0}.mine-distribution-index .mine-list .item-child .item-img{width:88rpx;height:88rpx;margin-bottom:15rpx}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "推广码",
"enablePullDownRefresh": true,
"usingComponents": {
"l-painter": "/uni_modules/lime-painter/components/l-painter/l-painter"
}
}

View File

@@ -0,0 +1 @@
<view class="mine-distribution-poster"><view class="hideCanvasView"><l-painter class="hideCanvas vue-ref" vue-id="1e4282b2-1" data-ref="painter" bind:__l="__l"></l-painter></view><block wx:if="{{src}}"><block><view class="space-md fill-body"></view><image class="code-img" src="{{src}}" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e"></image><view class="space-md fill-body"></view><view class="pd-lg"><button data-event-opts="{{[['tap',[['saveImage',['$event']]]]]}}" class="save-btn flex-center radius" style="{{'background:'+(primaryColor)+';'}}" bindtap="__e">保存图片至相册</button><view class="text f-desc mt-lg" style="{{'color:'+(primaryColor)+';'}}"><view class="flex-y-center"><view class="radius mr-sm" style="{{'background:'+(primaryColor)+';'}}"></view>好友下载app并使用你的邀请码注册成功后</view><view class="flex-y-center"><view class="radius mr-sm" style="{{'background:'+(primaryColor)+';'}}"></view>TA将成为你的粉丝粉丝下单你也可以获得收益哟!</view></view><view class="space-footer"></view></view></block></block></view>

View File

@@ -0,0 +1 @@
page{background:#fff}.mine-distribution-poster .code-img{width:750rpx;height:1156rpx}.mine-distribution-poster .save-btn{width:690rpx;height:80rpx;line-height:80rpx;margin:0 auto}.mine-distribution-poster .text .radius{width:10rpx;height:10rpx}.mine-distribution-poster .hideCanvasView{position:relative}.mine-distribution-poster .hideCanvasView .hideCanvas{position:absolute;left:-9999rpx;top:-9999rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/distribution/profit"],{1367:function(t,i,n){"use strict";var a=n("736b"),e=n.n(a);e.a},"1c34":function(t,i,n){"use strict";n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return e})),n.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,n=(t._self._c,t.tabList.length),a=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null,e=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{g0:n,g1:a,g2:e}})},e=[]},"45fb":function(t,i,n){"use strict";n.r(i);var a=n("74a9"),e=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(o);i["default"]=e.a},"736b":function(t,i,n){},"74a9":function(t,i,n){"use strict";(function(t){var a=n("4ea4");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=a(n("2eee")),o=a(n("9523")),s=a(n("c973")),r=n("26cb"),u={components:{},data:function(){return{options:{},statusType:{1:"待结算",2:"已结算"},activeIndex:0,tabList:[{id:0,title:"全部"},{id:1,title:"待结算"},{id:2,title:"已结算"}],param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(i){this.$util.showLoading(),this.options=i;var n=i.type,a=void 0===n?1:n;t.setNavigationBarTitle({title:"".concat({1:"商城",2:"土地",3:"认养"}[a],"订单分佣")}),this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:(0,o.default)({initIndex:function(){this.getList()},initRefresh:function(){this.param.page=1,this.initIndex()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()},getList:function(){var t=this;return(0,s.default)(e.default.mark((function i(){var n,a,o,s,r,u,c,l;return e.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n=t.list,a=t.tabList,o=t.activeIndex,s=t.options,r=s.type,u=a[o].id,c=Object.assign({},t.param,{type:r,status:u}),i.next=6,t.$api.mine.fxOrderList(c);case 6:l=i.sent,1==t.param.page||(l.data=n.data.concat(l.data)),t.list=l,t.loading=!1,t.$util.hideAll();case 10:case"end":return i.stop()}}),i)})))()}},"handerTabChange",(function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()}))};i.default=u}).call(this,n("543d")["default"])},aad6:function(t,i,n){"use strict";n.r(i);var a=n("1c34"),e=n("45fb");for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(o);n("1367");var s=n("f0c5"),r=Object(s["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);i["default"]=r.exports},d2b7:function(t,i,n){"use strict";(function(t,i){var a=n("4ea4");n("b03e");a(n("66fd"));var e=a(n("aad6"));t.__webpack_require_UNI_MP_PLUGIN__=n,i(e.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["d2b7","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-coupon-list"><fixed vue-id="b548ffe0-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('b548ffe0-2')+','+('b548ffe0-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="fill-base mt-md ml-md mr-md pd-lg box-shadow-mini radius-16" catchtap="__e"><view class="flex-between pb-lg"><view data-event-opts="{{[['tap',[['goStore',[index]]]]]}}" class="flex-y-center" catchtap="__e"><image class="user-img radius" mode="aspectFill" src="{{item.source_info.avatarUrl}}"></image><view class="flex-y-center f-paragraph c-title ml-md">下单人:<view class="text-bold max-300 ellipsis">{{''+item.source_info.nickName+''}}</view></view></view><view class="{{['f-paragraph','c-caption',[(item.status==1)?'c-warning':'']]}}">{{''+statusType[item.status]+''}}</view></view><block wx:for="{{item.order_goods}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="{{['profit-item','flex-center',[(aindex!=0)?'mt-md':'']]}}"><image class="cover" mode="aspectFill" lazy-load="{{true}}" src="{{aitem.goods_cover}}"></image><view class="flex-1 ml-md"><view class="f-title c-title text-bold ellipsis">{{''+aitem.goods_name+''}}</view><view class="flex-between mt-sm"><view class="goods-spe pl-sm pr-sm f-caption c-paragraph ellipsis radius-4">{{''+aitem.spe_name+''}}</view><view class="flex-1"></view></view><view class="flex-between mt-md f-caption c-caption"><view class="flex-y-baseline"><view class="flex-y-baseline f-icontext c-warning">¥<view class="f-sm-title text-bold">{{''+aitem.singe_pay_price+''}}</view></view><view class="ml-sm">{{"提成比例 "+aitem.balance+"%"}}</view></view><view>{{"x "+aitem.num+''}}</view></view></view></view></block><view class="flex-between mt-lg pt-md b-1px-t"><view class="c-title ml-sm mr-sm">{{'付款 ¥'+item.order_price}}</view><view class="reduce-info rel flex-center pr-sm f-caption c-base" style="{{'background:'+(primaryColor)+';'}}"><view class="reduce-tag abs flex-center pr-sm f-icontext c-title">分销佣金</view>{{'¥'+item.cash+''}}</view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="b548ffe0-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="b548ffe0-4" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-coupon-list .user-img{width:44rpx;height:44rpx}.mine-coupon-list .profit-item .cover{width:172rpx;height:172rpx;border-radius:12rpx}.mine-coupon-list .profit-item .goods-spe{height:44rpx;line-height:44rpx;background:#f7f7f7}.mine-coupon-list .profit-item .ellipsis{max-width:458rpx}.mine-coupon-list .reduce-tag{background:#fcc519;background:linear-gradient(-70deg,transparent 20rpx,#fcc519 0)}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/distribution/record"],{"020e":function(t,e,i){"use strict";i.r(e);var n=i("6ebd"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"1d42":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.tabList.length),n=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null,a=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t._isMounted||(t.e0=function(e,i){var n=arguments[arguments.length-1].currentTarget.dataset,a=n.eventParams||n["event-params"];i=a.item;return t.$util.goUrl({url:i.order_code,openType:"copy"})}),t.$mp.data=Object.assign({},{$root:{g0:i,g1:n,g2:a}})},a=[]},"1dd0":function(t,e,i){"use strict";i.r(e);var n=i("1d42"),a=i("020e");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("6692");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},4903:function(t,e,i){"use strict";(function(t,e){var n=i("4ea4");i("b03e");n(i("66fd"));var a=n(i("1dd0"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},6692:function(t,e,i){"use strict";var n=i("cd03"),a=i.n(n);a.a},"6ebd":function(t,e,i){"use strict";(function(t){var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2eee")),r=n(i("c973")),o=i("26cb"),s={components:{},data:function(){return{options:{},activeIndex:0,tabList:[{id:0,title:"全部"},{id:1,title:"未到账"},{id:2,title:"已到账"},{id:3,title:"已拒绝"}],statusType:{1:"未到账",2:"已到账",3:"已拒绝"},param:{page:1},list:{data:[]},wallet_price:"",loading:!0,lockTap:!1}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),onLoad:function(){this.$util.showLoading();var t=this.$util.getPage(-1).detail.wallet_price;this.wallet_price=t,this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){this.getList()},initRefresh:function(){this.param.page=1,this.initIndex()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()},getList:function(){var t=this;return(0,r.default)(a.default.mark((function e(){var i,n,r,o,s,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.list,n=t.activeIndex,r=t.tabList,o=t.param,s=r[n].id,o.status=s,e.next=5,t.$api.mine.walletList(o);case 5:u=e.sent,1==t.param.page||(u.data=i.data.concat(u.data)),t.list=u,t.loading=!1,t.$util.hideAll();case 9:case"end":return e.stop()}}),e)})))()}}};e.default=s}).call(this,i("543d")["default"])},cd03:function(t,e,i){}},[["4903","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "提现记录",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-stored-record"><fixed vue-id="482bdbba-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="record-header flex-center flex-column c-base" style="{{'background:'+(primaryColor)+';'}}"><view class="f-caption">已累积提现金额(元)</view><view class="wallet-price">{{wallet_price}}</view></view><tab vue-id="{{('482bdbba-2')+','+('482bdbba-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['pd-lg','fill-base','b-1px-b','flex-center',[(index==0)?'mt-md':'']]}}"><view class="record radius" style="{{'background-color:'+(item.status==1?primaryColor:item.status==2?subColor:'#f86c53')+';'}}"></view><view class="f-title c-title flex-1 ml-md"><view class="flex-y-center"><view>{{statusType[item.status]}}</view><block wx:if="{{item.status==1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item})}}" class="record-tag ml-sm" bindtap="__e">复制提现编号</view></block></view><view class="f-caption c-caption">{{item.create_time_text}}</view></view><view class="text-bold f-title c-title">{{"-"+item.pay_price}}</view></view></block><block wx:if="{{loading}}"><load-more vue-id="482bdbba-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="482bdbba-4" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.record-header{width:100%;height:250rpx}.record-header .wallet-price{font-size:70rpx}.record{width:24rpx;height:24rpx;display:block}.record-tag{width:152rpx;height:32rpx;background:#eee;font-size:22rpx;display:flex;align-items:center;justify-content:center;color:#999}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/distribution/team"],{"209b":function(t,n,i){"use strict";(function(t,n){var a=i("4ea4");i("b03e");a(i("66fd"));var e=a(i("5594"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(e.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},3394:function(t,n,i){"use strict";i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return e})),i.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,i=(t._self._c,t.tabList.length),a=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null,e=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{g0:i,g1:a,g2:e}})},e=[]},5594:function(t,n,i){"use strict";i.r(n);var a=i("3394"),e=i("ad42");for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);i("b98f");var r=i("f0c5"),s=Object(r["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=s.exports},"7d7c":function(t,n,i){"use strict";(function(t){var a=i("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a(i("2eee")),o=a(i("c973")),r=i("26cb"),s={components:{},data:function(){return{options:{},activeIndex:0,tabList:[{title:"一级分销商",id:1},{title:"二级分销商",id:2}],param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.$util.showLoading(),this.options=t;var n=t.tab,i=void 0===n?0:n;this.activeIndex=i,this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){this.getList()},initRefresh:function(){this.param.page=1,this.initIndex()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()},getList:function(){var t=this;return(0,o.default)(e.default.mark((function n(){var i,a,o,r,s,c,u,l,d;return e.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.list,a=t.param,o=t.tabList,r=t.activeIndex,a.type=o[r].id,n.next=4,t.$api.mine.myTeam(a);case 4:s=n.sent,1==t.param.page||(s.data=i.data.concat(s.data)),t.list=s,c=s.one_count,u=void 0===c?0:c,l=s.two_count,d=void 0===l?0:l,t.tabList[0].title="一级分销商(".concat(u,""),t.tabList[1].title="二级分销商(".concat(d,""),t.loading=!1,t.$util.hideAll();case 11:case"end":return n.stop()}}),n)})))()}}};n.default=s}).call(this,i("543d")["default"])},ad42:function(t,n,i){"use strict";i.r(n);var a=i("7d7c"),e=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);n["default"]=e.a},b98f:function(t,n,i){"use strict";var a=i("ebdc"),e=i.n(a);e.a},ebdc:function(t,n,i){}},[["209b","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "我的团队",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-distribution-team"><fixed vue-id="28878517-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('28878517-2')+','+('28878517-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="{{['partner-item','fill-base','mt-md','ml-md','mr-md','pd-lg','radius-16',[(index!=0)?'mt-md':'']]}}" catchtap="__e"><view class="flex-center pb-lg"><image class="cover radius" mode="aspectFill" src="{{item.avatarUrl}}"></image><view class="flex-1 ml-md"><view class="f-title c-title text-bold ellipsis" style="max-width:526rpx;">{{item.nickName}}</view><view class="f-caption c-caption mt-sm">{{"绑定时间:"+item.fx_bind_time}}</view></view></view><view class="count-info flex-center radius-16"><view class="flex-center flex-column"><view class="f-md-title c-title text-bold">{{item.team_count}}</view><view class="f-icontext c-desc">推广人数</view></view><view class="flex-center flex-column"><view class="f-md-title c-title text-bold">{{item.order_count}}</view><view class="f-icontext c-desc">消费订单</view></view><view class="flex-center flex-column"><view class="f-md-title c-title text-bold">{{item.order_price}}</view><view class="f-icontext c-desc">消费金额</view></view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="28878517-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="28878517-4" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-distribution-team .partner-item .cover{width:104rpx;height:104rpx}.mine-distribution-team .partner-item .count-info{height:124rpx;background:#f5faf7}.mine-distribution-team .partner-item .count-info .flex-column{width:33.33%}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/evaluate/edit"],{"0a93":function(t,e,n){"use strict";var r=n("84e9"),i=n.n(r);i.a},"0c6a":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("2eee")),o=r(n("c973")),a=r(n("9523")),u=n("26cb");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,a.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l={components:{},data:function(){return{scrollTop:0,typeText:{claim:1,land:2,shop:3},options:{},detail:{},create_time_text:"",subForm:{star:0,text:"",imgs:[]},lockTap:!1}},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},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.options=t,this.$util.showLoading(),this.initIndex()},onPageScroll:function(t){this.scrollTop=t.scrollTop},methods:s(s({},(0,u.mapMutations)(["updateOrderItem"])),{},{initIndex:function(){var t=this;return(0,o.default)(i.default.mark((function e(){var n,r,o,a,u,c,s;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.options,r=n.id,o=n.type,a=n.eva_id,u=void 0===a?0:a,!u){e.next=8;break}return e.next=4,t.$api.mine.evaluateInfo({id:u});case 4:for(s in c=e.sent,c.imgs=c.imgs&&c.imgs.length>0?c.imgs.map((function(t){return{path:t}})):[],t.subForm)t.subForm[s]=c[s];t.create_time_text=t.$util.formatTime(1e3*c.create_time);case 8:return e.next=10,t.$api[o].orderInfo({id:r});case 10:t.detail=e.sent,t.$util.hideAll();case 12:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.initIndex()},checkStar:function(t){var e=this.$util.getDataSet(t),n=e.num;this.subForm.star=n},imgUpload:function(t){var e=t.imagelist,n=t.imgtype;this.subForm[n]=e},toDelSubmit:function(){var t=this;return(0,o.default)(i.default.mark((function e(){var n,r,o,a,u,c,s,l,f,d,p,m,b,g;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.typeText,r=t.options,o=r.id,a=r.type,u=r.eva_id,c=void 0===u?0:u,s=t.detail,l=s.order_code,f=s.farmer_id,d=s.store_id,p=void 0===d?0:d,"shop"===a&&(f=p),m=t.$util.deepCopy(t.subForm),c){e.next=10;break}if(t.subForm.star){e.next=9;break}return t.$util.showToast({title:"请选择星级评价"}),e.abrupt("return");case 9:m.imgs=m.imgs.length>0?m.imgs.map((function(t){return t.path})):[];case 10:if(b=c?{id:c,status:-1}:Object.assign({},m,{order_id:o,order_code:l,farmer_id:f,type:n[a]}),!t.lockTap){e.next=13;break}return e.abrupt("return");case 13:return t.lockTap=!0,t.$util.showLoading(),g=c?"evaluateUpdate":"evaluateAdd",e.prev=16,e.next=19,t.$api.mine[g](b);case 19:t.$util.hideAll(),t.$util.showToast({title:c?"删除成功":"提交成功"}),t.updateOrderItem({key:"haveOperItem",val:!0}),setTimeout((function(){t.$util.back(),t.$util.goUrl({url:1,openType:"navigateBack"})}),1e3),e.next=28;break;case 25:e.prev=25,e.t0=e["catch"](16),setTimeout((function(){t.lockTap=!1,t.$util.hideAll()}),2e3);case 28:case"end":return e.stop()}}),e,null,[[16,25]])})))()}})};e.default=l},"4b21":function(t,e,n){"use strict";n.r(e);var r=n("c00c"),i=n("f7f3");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("0a93");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},"63c3":function(t,e,n){"use strict";(function(t,e){var r=n("4ea4");n("b03e");r(n("66fd"));var i=r(n("4b21"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"84e9":function(t,e,n){},c00c: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,e=t.$createElement,n=(t._self._c,t.detail.id&&!t.options.eva_id?t.subForm.text.length:null),r=t.detail.id?!t.options.eva_id||t.options.eva_id&&t.subForm.imgs.length>0:null;t._isMounted||(t.e0=function(e){t.subForm.text=t.subForm.text.length>200?t.subForm.text.substring(0,200):t.subForm.text}),t.$mp.data=Object.assign({},{$root:{g0:n,g1:r}})},i=[]},f7f3:function(t,e,n){"use strict";n.r(e);var r=n("0c6a"),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}},[["63c3","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "评价",
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<block wx:if="{{detail.id}}"><view class="mine-evaluate-edit"><uni-nav-bar vue-id="7101a5df-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="#fff" backgroundColor="{{scrollTop<20?'':primaryColor}}" leftIcon="icon-left" title="订单评价" bind:__l="__l"></uni-nav-bar><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view><image class="common-bg abs" mode="aspectFill" lazy-load="{{true}}" src="https://lbqny.migugu.com/admin/farm/bg-cash.png"></image><view class="flex-column mt-md ml-lg mr-lg pd-lg fill-base radius-24"><block wx:if="{{options.type=='shop'}}"><block><block wx:for="{{detail.order_goods}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['order-item','flex-center','fill-base',[(index!=0)?'mt-md':'']]}}"><image class="avatar radius-34" mode="aspectFill" lazy-load="{{true}}" src="{{item.goods_cover}}"></image><view class="flex-1 ml-lg"><view class="f-title c-title text-bold ellipsis" style="max-width:470rpx;">{{''+item.goods_name+''}}</view><view class="flex-between f-caption c-caption mt-sm"><view class="ellipsis" style="{{'max-width:'+(item.refund_num*1>0?'300rpx':'470rpx')+';'}}">{{''+item.spe_name+''}}</view><block wx:if="{{item.refund_num*1>0}}"><view class="flex-1 c-warning text-right">{{'已退x'+item.refund_num+''}}</view></block></view><view class="flex-y-baseline mt-sm"><view class="flex-1 f-paragraph c-warning">{{"¥"+item.goods_price+''}}</view><view class="f-caption c-caption">{{"x "+item.goods_num+''}}</view></view></view></view></block></block></block><block wx:if="{{options.type!='shop'}}"><view class="order-item flex-center fill-base"><image class="avatar radius-34" mode="aspectFill" lazy-load="{{true}}" src="{{detail.goods_cover}}"></image><view class="flex-1 ml-lg"><view class="f-title c-title text-bold ellipsis" style="max-width:470rpx;">{{''+detail.goods_name+''}}</view><block wx:if="{{options.type=='claim'}}"><block><view class="title f-caption c-caption mt-sm">{{'数量:'+(detail.num+'/'+detail.unit)+''}}</view><view class="title f-caption c-caption">{{'配送周期:'+detail.send_cycle+''}}</view></block></block><block wx:if="{{options.type=='land'}}"><block><view class="f-caption c-caption mt-sm">{{'租赁期限:'+detail.end_time+' 到期'}}</view><view class="f-caption c-caption">{{'租赁面积:'+detail.area+'㎡'}}</view></block></block></view></view></block></view><view class="fill-base mt-md pd-lg b-1px-t"><block wx:if="{{options.eva_id}}"><view class="f-paragraph c-title"><text style="word-break:break-all;" decode="emsp">{{subForm.text||'没有填写评价哦'}}</text></view></block><block wx:else><block><textarea class="item-textarea" type="text" maxlength="200" placeholder-class="c-placeholder" placeholder="商品满足您的期待吗?快来分享分享吧" data-event-opts="{{[['input',[['__set_model',['$0','text','$event',[]],['subForm']],['e0',['$event']]]]]}}" value="{{subForm.text}}" bindinput="__e"></textarea><view class="mt-md f-caption c-placeholder text-right">{{''+('已输入'+$root.g0+'/200')+''}}</view></block></block></view><block wx:if="{{$root.g1}}"><view class="fill-base pt-sm pl-lg pr-lg pb-lg b-1px-t"><upload vue-id="7101a5df-2" imagelist="{{subForm.imgs}}" imgtype="imgs" text="添加图片" imgsize="{{9}}" imgauth="{{options.eva_id?false:true}}" data-event-opts="{{[['^upload',[['imgUpload']]],['^del',[['imgUpload']]]]}}" bind:upload="__e" bind:del="__e" bind:__l="__l"></upload></view></block><view class="fill-base mt-md pd-lg b-1px-tb"><view class="pb-md f-title text-bold">商品的评价</view><view class="flex-center"><view class="flex-warp flex-1"><block wx:for="{{5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view class="{{['iconfont','icon-star-fill','mr-sm','_i',[(subForm.star>=index*1+1)?'icon-font-color cur':'']]}}" data-num="{{index*1+1}}" data-event-opts="{{[['tap',[['checkStar',['$event']]]]]}}" bindtap="__e"></view></block></block></view><block wx:if="{{options.eva_id}}"><view class="f-paragraph c-caption">{{create_time_text}}</view></block></view></view><view class="space-footer"></view><view data-event-opts="{{[['tap',[['toDelSubmit',['$event']]]]]}}" class="confirm-btn ml-lg mr-lg flex-center f-title c-base radius-16" style="{{'background:'+(options.eva_id?subColor:primaryColor)+';'}}" catchtap="__e">{{options.eva_id?'删除':'提交'}}</view><view class="space-footer"></view></view></block>

View File

@@ -0,0 +1 @@
.mine-evaluate-edit .item-textarea{width:690rpx;overflow-y:auto}.mine-evaluate-edit .iconfont{font-size:42rpx;color:#eee}.mine-evaluate-edit .cur{background-image:-webkit-linear-gradient(90deg,#fdcd47,#ffc000)}.mine-evaluate-edit .confirm-btn{width:690rpx;height:96rpx}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "我的评价",
"enablePullDownRefresh": true,
"usingComponents": {
"uni-segmented-control": "/components/uni-segmented-control"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.mine-evaluate-list .common-btn{background:#ccc}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/evaluate/more"],{"194c":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("b03e");i(n("66fd"));var a=i(n("63fa"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"3ad0":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2eee")),r=i(n("9523")),o=i(n("c973")),u=n("26cb");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l={components:{},data:function(){return{options:{},activeIndex:0,tabList:[{id:0,title:"全部",number:0},{id:1,title:"好评",number:0},{id:2,title:"差评",number:0}],param:{page:1,limit:10},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,u.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){var e=this;return(0,o.default)(a.default.mark((function n(){return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.options=t,e.$util.showLoading(),n.next=4,e.initIndex();case 4:case"end":return n.stop()}}),n)})))()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:c(c({},(0,u.mapActions)(["getUserInfo"])),{},{initIndex:function(){var t=this;return(0,o.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getList();case 2:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.param.page=1,this.initIndex()},getList:function(){var t=this;return(0,o.default)(a.default.mark((function e(){var n,i,r,o,u,s,c,l,f,d,g;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.list,i=t.tabList,r=t.activeIndex,o=t.options,u=o.id,s=o.type,c=i[r].id,l=Object.assign({},t.param,{goods_id:u,type:s,is_goods:c}),e.next=6,t.$api.mine.goodsEvaluateList(l);case 6:for(g in f=e.sent,1==t.param.page||(f.data=n.data.concat(f.data)),t.list=f,d={0:"all_count",1:"good_count",2:"bad_count"},d)t.tabList[g].number=f[d[g]];t.loading=!1,t.$util.hideAll();case 12:case"end":return e.stop()}}),e)})))()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()},toPreviewImage:function(t,e){var n=this.list.data[t].imgs;this.$util.previewImage({current:n[e],urls:n})}})};e.default=l}).call(this,n("543d")["default"])},5447:function(t,e,n){"use strict";var i=n("8bbd"),a=n.n(i);a.a},"58cc":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.list.data,(function(e,n){var i=t.__get_orig(e),a=e.imgs&&e.imgs.length>0,r=a?t.__map(e.imgs,(function(n,i){var a=t.__get_orig(n),r=i<3?2==i&&e.imgs.length>3:null,o=i<3&&r?e.imgs.length:null;return{$orig:a,g1:r,g2:o}})):null;return{$orig:i,g0:a,l0:r}}))),i=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null,a=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{l1:n,g3:i,g4:a}})},a=[]},"63fa":function(t,e,n){"use strict";n.r(e);var i=n("58cc"),a=n("f93a");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("5447");var o=n("f0c5"),u=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=u.exports},"8bbd":function(t,e,n){},f93a:function(t,e,n){"use strict";n.r(e);var i=n("3ad0"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a}},[["194c","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "更多评价",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-evaluate-list"><fixed vue-id="4c516f74-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-warp fill-base pd-lg"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handerTabChange',[index]]]]]}}" class="common-btn flex-center mr-md f-caption c-base radius-4" style="{{'background:'+(activeIndex==index?primaryColor:'')+';'}}" catchtap="__e">{{''+item.title+" ("+item.number+')'}}</view></block></view></fixed><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['flex-warp','fill-base','pd-lg',[(index!=0)?'b-1px-t':'']]}}"><image class="avatar sm radius" mode="aspectFill" lazy-load="{{true}}" src="{{item.$orig.user_info.avatarUrl}}"></image><view class="flex-1 ml-lg"><view class="flex-between"><view class="f-paragraph c-title max-350 ellipsis">{{item.$orig.user_info.nickName}}</view><view class="f-icontext c-caption">{{item.$orig.create_time}}</view></view><view class="flex-warp"><block wx:for="{{5}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="iconfont icon-star-fill icon-font-color mr-sm _i" style="{{'background-image:'+(aindex<item.$orig.star?'-webkit-linear-gradient(90deg, #FDCD47, #FFC000)':'-webkit-linear-gradient(90deg, #eee, #eee)')+';'}}"></view></block></view><view class="f-caption c-desc mt-md"><text style="word-break:break-all;" decode="emsp">{{item.$orig.text||'该用户没有填写评价哦'}}</text></view><block wx:if="{{item.g0}}"><view class="flex-warp mt-md"><block wx:for="{{item.l0}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><block><block wx:if="{{aindex<3}}"><view class="eva-img sm radius-10 rel"><image class="eva-img sm radius-10" mode="aspectFill" src="{{aitem.$orig}}" data-event-opts="{{[['tap',[['toPreviewImage',[index,aindex]]]]]}}" catchtap="__e"></image><block wx:if="{{aitem.g1}}"><view class="more f-caption c-base abs">{{'+'+(aitem.g2-3)}}</view></block></view></block></block></block></view></block></view></view></block><block wx:if="{{loading}}"><load-more vue-id="4c516f74-2" noMore="{{$root.g3}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g4}}"><abnor vue-id="4c516f74-3" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-evaluate-list .common-btn{background:#ccc}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/fx-code"],{2932:function(e,t,n){"use strict";var r=n("9b12"),o=n.n(r);o.a},7061:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var r=function(){var e=this.$createElement,t=(this._self._c,this.isLoad&&!this.fx_info.id?this.subForm.fx_code.length:null),n=this.subForm.fx_code.length;this.$mp.data=Object.assign({},{$root:{g0:t,g1:n}})},o=[]},"9b12":function(e,t,n){},aa2b:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("2eee")),a=r(n("9523")),i=r(n("c973")),u=n("26cb");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={data:function(){return{isLoad:!1,options:{},fx_info:{},subForm:{fx_code:""},rule:[{name:"fx_code",checkType:"isNotNull",errorMsg:"请输入邀请码",regText:"邀请码"}],lockTap:!1}},computed:(0,u.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},loginPage:function(e){return e.user.loginPage}}),onLoad:function(e){var t=this;return(0,i.default)(o.default.mark((function n(){var r;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=e.phone,t.subForm.phone=r,t.$util.setNavigationBarColor({color:"#000000",bg:"#ffffff"});case 3:case"end":return n.stop()}}),n)})))()},methods:f(f(f({},(0,u.mapActions)(["getUserInfo"])),(0,u.mapMutations)(["updateConfigItem"])),{},{initIndex:function(){return(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},toGetFxInfo:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.subForm.fx_code,7!=n.length){t.next=7;break}return t.next=4,e.$api.user.fxcodeUser({fx_code:n});case 4:e.fx_info=t.sent,t.next=8;break;case 7:e.fx_info={};case 8:e.isLoad=n.length>=7;case 9:case"end":return t.stop()}}),t)})))()},toHome:function(){this.updateUserItem({key:"isShowLogin",val:!1}),this.$util.goUrl({url:this.loginPage,openType:"switchTab"})},validate:function(e){var t=new this.$util.Validate;this.rule.map((function(n){var r=n.name;t.add(e[r],n)}));var n=t.start();return n},submit:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$util.deepCopy(e.subForm),r=e.validate(n),!r){t.next=5;break}return e.$util.showToast({title:r}),t.abrupt("return");case 5:if(7==n.fx_code.length){t.next=8;break}return e.$util.showToast({title:"邀请码为7位数"}),t.abrupt("return");case 8:if(!e.lockTap){t.next=10;break}return t.abrupt("return");case 10:return e.lockTap=!0,e.$util.showLoading(),t.prev=12,t.next=15,e.$api.user.bindReseller(n);case 15:e.$util.hideAll(),e.$util.showToast({title:"绑定成功"}),e.lockTap=!1,e.updateUserItem({key:"isShowLogin",val:!1}),setTimeout((function(){e.$util.goUrl({url:e.loginPage,openType:"switchTab"})}),1e3),t.next=25;break;case 22:t.prev=22,t.t0=t["catch"](12),setTimeout((function(){e.lockTap=!1,e.$util.hideAll()}),2e3);case 25:case"end":return t.stop()}}),t,null,[[12,22]])})))()}})};t.default=s},cade:function(e,t,n){"use strict";n.r(t);var r=n("7061"),o=n("f3cd");for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("2932");var i=n("f0c5"),u=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);t["default"]=u.exports},eac3:function(e,t,n){"use strict";(function(e,t){var r=n("4ea4");n("b03e");r(n("66fd"));var o=r(n("cade"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},f3cd:function(e,t,n){"use strict";n.r(t);var r=n("aa2b"),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a}},[["eac3","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-pages-phone"><uni-nav-bar vue-id="6ba6df57-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="#000" backgroundColor="#fff" bind:__l="__l" vue-slots="{{['left']}}"><view class="flex-center" slot="left"><view data-event-opts="{{[['tap',[['toHome',['$event']]]]]}}" class="{{[[(configInfo.isIos)?'back-user-ios':''],[(!configInfo.isIos)?'back-user-android':'']]}}" bindtap="__e"><view class="iconfont icon-home"></view><view class="back-user_text">回到首页</view></view></view></uni-nav-bar><view style="height:200rpx;"></view><view class="flex-center flex-column"><view class="title c-black">请输入邀请码</view><view class="confirm-btn radius-16"><input class="item-input flex-y-center pl-lg pr-lg f-sm-title c-title" type="text" placeholder-class="c-placeholder" placeholder="{{rule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','fx_code','$event',[]],['subForm']],['toGetFxInfo',['$event']]]]]}}" value="{{subForm.fx_code}}" bindinput="__e"/></view><block wx:if="{{fx_info.id}}"><view class="fx-user flex-center pd-md mt-md radius-16" style="{{'border:'+('1rpx solid '+primaryColor)+';'}}"><image class="avatar md radius" src="{{fx_info.avatarUrl}}"></image><view class="flex-1 ml-md"><view class="f-title c-title max-476 ellipsis">{{fx_info.fx_name||fx_info.nickName}}</view><view class="f-caption c-caption">邀请你加入</view></view></view></block><block wx:if="{{isLoad&&!fx_info.id}}"><view class="f-caption c-warning mt-md">{{''+($root.g0==7?'邀请码无效':'邀请码为7位数')+''}}</view></block><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="confirm-btn flex-center f-sm-title text-bold c-base radius-16" style="{{'background:'+($root.g1>0?primaryColor:'#CCE9DD')+';'}}" bindtap="__e">确定绑定</view></view></view>

View File

@@ -0,0 +1 @@
page{background:#fff}.mine-pages-phone .title{font-size:54rpx;margin:80rpx 0}.mine-pages-phone .confirm-btn{width:630rpx;height:110rpx;background:#f7f7f7;margin-top:40rpx}.mine-pages-phone .confirm-btn .item-input{height:110rpx}.mine-pages-phone .fx-user{width:630rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/notice"],{"0387":function(t,a,e){"use strict";(function(t){var i=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(e("2eee")),o=i(e("c973")),r=e("26cb"),s={components:{},data:function(){return{options:{},today:"",cur_time:"",activeIndex:0,tabList:[{id:0,title:"系统公告",number:0},{id:2,title:"服务通知",number:0}],param:{page:1},list:{data:[]},loading:!0,popupInfo:{},lockTap:!1}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.$util.showLoading(),this.options=t,this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){var t=new Date(Math.ceil((new Date).getTime()));this.today=this.$util.formatTime(t,"YY-M-D"),this.cur_time=this.$util.DateToUnix(this.today),this.getList()},initRefresh:function(){this.param.page=1,this.initIndex()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.list.data=[],this.getList()},getList:function(){var t=this;return(0,o.default)(n.default.mark((function a(){var e,i,o,r,s,c,u;return n.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e=t.list,t.tabList,i=t.activeIndex,t.today,t.cur_time,o=t.$util.deepCopy(t.param),r=0==i?"systemInfoList":"operateInfoList",a.next=5,t.$api.mine[r](o);case 5:s=a.sent,1==t.param.page||(s.data=e.data.concat(s.data)),t.list=s,t.loading=!1,c=s.no_read_count,u=s.operate_no_read_count,t.tabList[0].number=c,t.tabList[1].number=u,t.$util.hideAll();case 12:case"end":return a.stop()}}),a)})))()},goDetail:function(t){var a=this.list.data[t],e=a.id,i=a.type,n=void 0===i?0:i,o=a.obj_id,r=void 0===o?0:o,s=this.activeIndex,c="";if(0==s)switch(n){case 3:case 4:c="/shop/pages/order/detail?id=".concat(r);break;case 5:case 9:c="/land/pages/order/detail?id=".concat(r);break;case 6:c="/shop/pages/refund/detail?id=".concat(r);break;case 7:c="/claim/pages/order/detail?id=".concat(r,"&tab=1");break;case 8:c="/claim/pages/order/detail?id=".concat(r);break;case 15:c="/shop/pages/detail?id=".concat(r);break}else c="/home/pages/article?id=".concat(e,"&type=3");c&&this.$util.goUrl({url:c})}}};a.default=s}).call(this,e("543d")["default"])},1924:function(t,a,e){"use strict";e.r(a);var i=e("1a82"),n=e("55f9");for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("3398");var r=e("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);a["default"]=s.exports},"1a82":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return n})),e.d(a,"a",(function(){}));var i=function(){var t=this,a=t.$createElement,e=(t._self._c,t.tabList.length),i=t.__map(t.list.data,(function(a,e){var i=t.__get_orig(a),n=0==e||e>0&&a.day!=t.list.data[e-1].day?a.day.includes("-"):null;return{$orig:i,g1:n}})),n=t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null,o=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{g0:e,l0:i,g2:n,g3:o}})},n=[]},3398:function(t,a,e){"use strict";var i=e("f765"),n=e.n(i);n.a},"55f9":function(t,a,e){"use strict";e.r(a);var i=e("0387"),n=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a},8524:function(t,a,e){"use strict";(function(t,a){var i=e("4ea4");e("b03e");i(e("66fd"));var n=i(e("1924"));t.__webpack_require_UNI_MP_PLUGIN__=e,a(n.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},f765:function(t,a,e){}},[["8524","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "消息",
"enablePullDownRefresh": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="mine-notice"><fixed vue-id="9a9a7ef6-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('9a9a7ef6-2')+','+('9a9a7ef6-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" msgRight="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab><view class="b-1px-b"></view></fixed><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{index==0||index>0&&item.$orig.day!=list.data[index-1].day}}"><view class="{{['item-day','text-center','f-icontext','c-base','radius-4',[(item.g1)?'md':'']]}}">{{item.$orig.day}}</view></block><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="item-notice fill-base pd-lg mt-md ml-md mr-md radius-16" catchtap="__e"><view class="flex-between"><view class="f-title text-bold">{{item.$orig.title}}</view><view class="f-caption c-caption">{{item.$orig.hours}}</view></view><block wx:if="{{activeIndex==0&&item.$orig.goods_cover}}"><view class="flex-center mt-lg"><image class="cover radius-16" src="{{item.$orig.goods_cover}}"></image><view class="flex-1 ml-md"><view class="f-desc c-black text-bold">{{item.$orig.msg}}</view><view class="f-caption mt-md"><block wx:if="{{item.$orig.type==6}}"><view class="flex-y-center f-caption" style="{{'color:'+(primaryColor)+';'}}">点击查看详情<view class="iconfont icon-right _i"></view></view></block><block wx:if="{{item.$orig.order_code&&item.$orig.type!=6}}"><view class="flex-y-center"><view class="c-caption">订单号:</view><view style="{{'color:'+(primaryColor)+';'}}">{{''+item.$orig.order_code}}</view></view></block></view></view></view></block><block wx:if="{{activeIndex==0&&!item.$orig.goods_cover||activeIndex==1}}"><view class="f-paragraph c-title mt-lg">{{''+(activeIndex==0?item.$orig.msg:item.$orig.sub_title)+''}}</view></block></view></block></block><block wx:if="{{loading}}"><load-more vue-id="9a9a7ef6-3" noMore="{{$root.g2}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g3}}"><abnor vue-id="9a9a7ef6-4" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>

View File

@@ -0,0 +1 @@
.mine-notice .item-day{width:100rpx;height:44rpx;line-height:44rpx;background:#d9d9d9;margin:20rpx auto}.mine-notice .item-day.md{width:150rpx}.mine-notice .item-notice .cover{width:150rpx;height:150rpx}.mine-notice .item-notice .ellipsis{max-width:480rpx}.mine-notice .item-notice .icon-right{font-size:24rpx}

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["mine/pages/pay-result"],{"034a":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("9523")),c=n("26cb");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a={components:{},data:function(){return{options:{}}},computed:(0,c.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.options=t,this.getUserInfo()},methods:u(u({},(0,c.mapActions)(["getUserInfo"])),{},{goHome:function(){this.options.type;this.$util.goUrl({url:"/pages/home",openType:"switchTab"})},goDetail:function(){var t=this.options.type,e="shop"!=t?1:2,n="/".concat(t,"/pages/order/list?tab=").concat(e);this.$util.goUrl({url:n,openType:"redirectTo"})}})};e.default=a},"2c4f":function(t,e,n){"use strict";var r=n("3887"),o=n.n(r);o.a},"306c":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},o=[]},3887:function(t,e,n){},"49f8":function(t,e,n){"use strict";n.r(e);var r=n("034a"),o=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(c);e["default"]=o.a},"7fd1":function(t,e,n){"use strict";(function(t,e){var r=n("4ea4");n("b03e");r(n("66fd"));var o=r(n("e29a"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},e29a:function(t,e,n){"use strict";n.r(e);var r=n("306c"),o=n("49f8");for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);n("2c4f");var i=n("f0c5"),u=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=u.exports}},[["7fd1","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "支付结果",
"usingComponents": {}
}

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