第一次提交

This commit is contained in:
wangxiaowei
2025-06-11 10:21:51 +08:00
commit 52932d54b1
2341 changed files with 185283 additions and 0 deletions

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/points/part/recharge"],{"0b17":function(n,t,e){},3001:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=(n._self._c,n.points_name()),i=n.points_name(),o=n.points_name();n._isMounted||(n.e0=function(t){n.value=""}),n.$mp.data=Object.assign({},{$root:{m0:e,m1:i,m2:o}})},o=[]},6558:function(n,t,e){"use strict";var i=e("0b17"),o=e.n(i);o.a},be32:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={components:{uniLoadMore:function(){e.e("components/uni-load-more").then(function(){return resolve(e("e5dd"))}.bind(null,e)).catch(e.oe)}},data:function(){return{input_len:6,Visible:!1,value:"",is_send:!1}},props:["isPop","discount_ratio"],watch:{isPop:function(n,t){n!=t&&(this.Visible=n)}},methods:{submit:function(){var n=this;if(!n.is_send){n.is_send=!0;n.page,n.list_rows;n._get("user.User/transPoints",{points:n.value},(function(t){n.is_send=!1,n.showSuccess(t.msg,(function(){n.closePop(!0)}))}),(function(t){n.is_send=!1}))}},closePop:function(n){this.$emit("close",n),this.value=""}}};t.default=i},f1ef:function(n,t,e){"use strict";e.r(t);var i=e("be32"),o=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(s);t["default"]=o.a},f6ce:function(n,t,e){"use strict";e.r(t);var i=e("3001"),o=e("f1ef");for(var s in o)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(s);e("6558");var u=e("828b"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/user/points/part/recharge-create-component',
{
'pages/user/points/part/recharge-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f6ce"))
})
},
[['pages/user/points/part/recharge-create-component']]
]);

View File

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

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['closePop',[null]]]]]}}" class="{{[Visible?'pop-bg open':'pop-bg close']}}" catchtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="pop-content" catchtap="__e"><view class="recharge-top theme-bg mb30"><view class="recharge-icon left"></view><view class="recharge-icon right"></view></view><view class="f30 gray3 ww100 mb35 tc fb">{{$root.m0+"提现"}}</view><view class="input-box"><input type="digit" placeholder="{{'请输入兑换'+$root.m1+'值'}}" data-event-opts="{{[['input',[['__set_model',['','value','$event',[]]]]]]}}" value="{{value}}" bindinput="__e"/><image class="input-err" src="/static/icon/input-err.png" mode data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></view><view class="gray9 f26 tc mt30" style="margin-bottom:56rpx;">{{"注:1"+$root.m2+" = "+discount_ratio+" 余额"}}</view><view class="ww100 d-c-c"><view data-event-opts="{{[['tap',[['submit']]]]}}" class="sub-btn theme-btn" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['closePop',[null]]]]]}}" class="close-btn theme-borderbtn" bindtap="__e">取消</view></view></view></view>

View File

@ -0,0 +1 @@
.recharge-top{height:75rpx;position:relative;border-radius:25rpx 25rpx 0 0}.recharge-top .recharge-icon{width:12rpx;height:49rpx;background:#fff;box-shadow:0rpx 8rpx 3rpx 0rpx rgba(6,0,1,.03);border-radius:6rpx;position:absolute;top:-15rpx}.recharge-top .recharge-icon.left{left:156rpx}.recharge-top .recharge-icon.right{right:156rpx}.input-box{width:428rpx;height:72rpx;border:1rpx solid #eee;border-radius:15rpx;display:flex;justify-content:center;align-items:center;padding:0 14rpx 0 21rpx;margin:0 auto}.input-box input{border:none;font-size:26rpx;color:#999;flex:1}.input-err{width:42rpx;height:42rpx;flex-shrink:0;margin-left:18rpx}.sub-btn{width:148rpx;height:48rpx;border-radius:36rpx;font-size:28rpx;color:#fff;display:flex;justify-content:center;align-content:center;margin-right:93rpx;line-height:48rpx}.close-btn{width:148rpx;height:48rpx;border-radius:36rpx;font-size:28rpx;color:#fff;display:flex;justify-content:center;align-content:center;line-height:48rpx}.dominant{color:#e2231a}.pop-bg{position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,.5);z-index:99}.pop-bg .pop-content{position:fixed;z-index:100;bottom:0;left:0;right:0;top:0;margin:auto;width:516rpx;height:477rpx;padding:0 0 32rpx 0;box-sizing:border-box;-webkit-transform:translateZ(0);transform:translateZ(0);transition:-webkit-transform .2s cubic-bezier(0,0,.25,1);transition:transform .2s cubic-bezier(0,0,.25,1);transition:transform .2s cubic-bezier(0,0,.25,1),-webkit-transform .2s cubic-bezier(0,0,.25,1);background-color:#fff;border-radius:25rpx}.pop-bg.close{height:0}.pop-bg.close .pop-content{-webkit-transform:translate3d(0,2000rpx,0);transform:translate3d(0,2000rpx,0)}.code-image{width:360rpx;height:360rpx}.icon-img{width:40rpx;height:40rpx;margin-right:16rpx}.close-img{width:32rpx;height:32rpx;position:absolute;right:32rpx;top:32rpx}.input-item{width:72rpx;height:96rpx;background:#fff;border-radius:0;font-size:40rpx;color:rgba(0,0,0,.87);font-weight:600;display:flex;justify-content:center;align-items:center;border-bottom:2rpx solid #00bdbd;margin-right:16rpx;text-align:center;line-height:96rpx}.input-item:last-child{margin-right:0}.input-hid{margin-left:-100%}.get-code-btn{background-color:#fff;color:#e2231a;background:none;padding:0;margin:0 auto}button[disabled]:not([type]).get-code-btn{background-color:#fff;color:#999}

View File

@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/points/points"],{"0bfc":function(t,n,a){"use strict";a.r(n);var e=a("e3ff"),o=a("fa85");for(var i in o)["default"].indexOf(i)<0&&function(t){a.d(n,t,(function(){return o[t]}))}(i);a("cc54");var s=a("828b"),c=Object(s["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=c.exports},"0ddf":function(t,n,a){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={components:{uniLoadMore:function(){a.e("components/uni-load-more").then(function(){return resolve(a("e5dd"))}.bind(null,a)).catch(a.oe)},recharge:function(){a.e("pages/user/points/part/recharge").then(function(){return resolve(a("f6ce"))}.bind(null,a)).catch(a.oe)}},data:function(){return{isPop:!1,loadding:!0,indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,topRefresh:!1,phoneHeight:0,scrollviewHigh:0,tableData:[],last_page:0,page:1,list_rows:20,no_more:!1,loading:!0,points:0,is_open:!1,discount_ratio:"0",is_trans_balance:!1}},computed:{loadingType:function(){return this.loading?1:0!=this.tableData.length&&this.no_more?2:0}},onReady:function(){t.setNavigationBarTitle({title:this.points_name()})},mounted:function(){this.getData()},onReachBottom:function(){this.page<this.last_page&&(this.page++,this.getData()),this.no_more=!0},methods:{closePop:function(t){null!=t&&(this.page=1,this.tableData=[],this.getData()),this.isPop=!1},getData:function(){var t=this,n=t.page,a=t.list_rows;t._get("points.log/index",{page:n||1,list_rows:a},(function(n){if(t.loading=!1,t.points=n.data.points,t.discount_ratio=n.data.discount_ratio,t.is_open=n.data.is_open,t.is_trans_balance=n.data.is_trans_balance,t.tableData=t.tableData.concat(n.data.list.data),t.last_page=n.data.list.last_page,n.data.list.last_page<=1)return t.no_more=!0,!1}))},gotoShop:function(){this.gotoPage("/pages/plus/points/list/list")}}};n.default=e}).call(this,a("df3c")["default"])},"91b3":function(t,n,a){},c818:function(t,n,a){"use strict";(function(t,n){var e=a("47a9");a("7d57");e(a("3240"));var o=e(a("0bfc"));t.__webpack_require_UNI_MP_PLUGIN__=a,n(o.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},cc54:function(t,n,a){"use strict";var e=a("91b3"),o=a.n(e);o.a},e3ff:function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,a=(t._self._c,t.theme()||""),e=t.theme(),o=t.points_name(),i=t.is_open?t.points_name():null,s=t.__map(t.tableData,(function(n,a){var e=t.__get_orig(n),o=t.points_name(n.describe);return{$orig:e,m4:o}})),c=0==t.tableData.length&&!t.loading;t._isMounted||(t.e0=function(n){t.isPop=!0}),t.$mp.data=Object.assign({},{$root:{m0:a,m1:e,m2:o,m3:i,l0:s,g0:c}})},o=[]},fa85:function(t,n,a){"use strict";a.r(n);var e=a("0ddf"),o=a.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(i);n["default"]=o.a}},[["c818","common/runtime","common/vendor"]]]);

View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "积分",
"usingComponents": {
"uni-load-more": "/components/uni-load-more",
"recharge": "/pages/user/points/part/recharge"
}
}

View File

@ -0,0 +1 @@
<view class="{{[$root.m0]}}" data-theme="{{$root.m1}}"><view class="points-top theme-bg d-b-c"><image class="bg-points" src="/static/bg-points.png" mode></image><view class="d-c d-c-c pr ww100 hh100"><text class="f28 mb30">{{$root.m2}}</text><text class="f72 fb">{{points}}</text><block wx:if="{{is_trans_balance}}"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="f24 re-btn dominant" bindtap="__e">提现</text></block></view><block wx:if="{{is_open}}"><button data-event-opts="{{[['tap',[['gotoShop',['$event']]]]]}}" class="right-btn" bindtap="__e">{{$root.m3+"商城"}}<text class="icon iconfont icon-sanjiao1 ml10" style="color:#ffffff;font-size:28rpx;"></text></button></block></view><view class="p-0-30 bg-white"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="d-b-c border-b p-30-0"><view class="d-s-s f-w d-c flex-1"><text class="f28">{{item.m4}}</text><text class="pt10 gray9 20">{{item.$orig.create_time}}</text></view><block wx:if="{{item.$orig.value>0}}"><view class="red f28">{{"+"+item.$orig.value}}</view></block><block wx:else><view class="red f28">{{item.$orig.value}}</view></block></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="12bd5a82-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view><recharge vue-id="12bd5a82-2" isPop="{{isPop}}" discount_ratio="{{discount_ratio}}" data-event-opts="{{[['^close',[['closePop']]]]}}" bind:close="__e" bind:__l="__l"></recharge></view>

View File

@ -0,0 +1 @@
.points-top{box-sizing:border-box;height:346rpx;padding:0 30rpx;color:#fff;position:relative;z-index:1}.points-top .bg-points{width:750rpx;height:346rpx;z-index:0;position:absolute;left:0;top:0}.re-btn{height:60rpx;line-height:60rpx;width:190rpx;padding:0 8rpx;background-color:#fff;border-radius:30rpx;margin-top:46rpx;text-align:center;font-size:28rpx}.right-btn{font-size:28rpx;font-weight:500;color:#fff;position:absolute;right:21rpx;top:12rpx;background:none;border:none;padding:0}