初始化代码

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/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>