完善余额功能
This commit is contained in:
@ -1 +1 @@
|
||||
<view class="index home-bg" style="{{$root.s0}}"><view class="row-center balance u-relative" style="{{'padding-top:'+(topSpace+'px')+';'}}"><view class="u-text-center w-full"><view class="text-fff" style="font-size:96rpx;">{{userInfo.user_integral}}</view><view class="text-fff nr">积分</view></view><view class="u-absolute right-0"><view class="excharge row-center text-default"><text class="xs">兑换商品</text><u-icon class="u-m-l-10" vue-id="39a03977-1" name="arrow-right" size="22" color="{{themeColor}}" onVueInit="__l"></u-icon></view></view></view><view class="u-p-b-40" style="margin-top:132rpx;"><view class="list bg-white br16 u-p-32"><view class="lg">积分明细</view><scroll-view style="height:880rpx;" scroll-y="true" refresher-enabled="{{true}}" refresher-triggered="{{isRefreshing}}" data-event-opts="{{[['refresherrefresh',[['refreshCallback',['$event']]]],['scrollToLower',[['upCallback',['$event']]]]]}}" onRefresherrefresh="__e" onScrollToLower="__e"><view class="u-m-t-16"><view class="u-m-b-16" a:for="{{lists}}" a:for-item="item" a:for-index="index" a:key="index"><view class="nr row-between"><view>{{item.source_type}}</view><view class="deduct">{{item.change_amount}}</view></view><view class="date xs u-m-t-16">{{item.change_amount}}</view></view></view><loading-footer vue-id="39a03977-2" status="{{loadingStatus}}" onVueInit="__l"></loading-footer></scroll-view></view></view></view>
|
||||
<view class="index home-bg" style="{{$root.s0}}"><view class="row-center balance u-relative" style="{{'padding-top:'+(topSpace+'px')+';'}}"><view class="u-text-center w-full"><view class="text-fff" style="font-size:96rpx;">{{userInfo.user_integral}}</view><view class="text-fff nr">积分</view></view><view class="u-absolute right-0"><navigator url="/bundle/pages/points/points_store" hover-class="none"><view class="excharge row-center text-default"><text class="xs">兑换商品</text><u-icon class="u-m-l-10" vue-id="39a03977-1" name="arrow-right" size="22" color="{{themeColor}}" onVueInit="__l"></u-icon></view></navigator></view></view><view class="u-p-b-40" style="margin-top:132rpx;"><view class="list bg-white br16 u-p-32"><view class="lg">积分明细</view><scroll-view style="height:880rpx;" scroll-y="true" refresher-enabled="{{true}}" refresher-triggered="{{isRefreshing}}" data-event-opts="{{[['refresherrefresh',[['refreshCallback',['$event']]]],['scrollToLower',[['upCallback',['$event']]]]]}}" onRefresherrefresh="__e" onScrollToLower="__e"><view class="u-m-t-16"><view class="u-m-b-16" a:for="{{lists}}" a:for-item="item" a:for-index="index" a:key="index"><view class="nr row-between"><view>{{item.source_type}}</view><view class="deduct">{{item.change_amount}}</view></view><view class="date xs u-m-t-16">{{item.change_amount}}</view></view></view><loading-footer vue-id="39a03977-2" status="{{loadingStatus}}" onVueInit="__l"></loading-footer></scroll-view></view></view></view>
|
||||
@ -236,6 +236,8 @@ var _type = __webpack_require__(/*! @/utils/type */ 38);
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="points-store u-relative"><view class="bg-default bg u-text-center text-fff"><view class="u-p-t-42"><view class="sm">可用积分</view><view class="fraction bold-600 u-m-t-14">0.00</view></view></view><view class="u-absolute left-0 right-0 bg-white u-p-t-34 list"><view><u-tabs vue-id="73ecc895-1" list="{{list}}" is-scroll="{{true}}" current="{{current}}" inactive-color="#636363" active-color="{{themeColor}}" data-event-opts="{{[['^change',[['change']]]]}}" onChange="__e" onVueInit="__l"></u-tabs></view><view class="u-m-l-24 u-m-r-24"><u-line vue-id="73ecc895-2" color="#EEE" onVueInit="__l"></u-line></view><view class="u-m-t-32 u-m-l-24 u-m-r-24"><view class="row-start u-col-top u-m-b-42" a:for="{{10}}" a:for-item="itme" a:for-index="index"><view><u-image vue-id="{{'73ecc895-3-'+index}}" src="{{cloudPath+'img/banner.png'}}" width="180" height="180" border-radius="20" onVueInit="__l"></u-image></view><view class="u-m-l-18 w-full"><view>小熊早餐必备煮蛋器</view><view class="u-m-t-4 text-7c">兑换66人</view><view class="u-m-t-42 row-between"><view><text class="primary">100.00</text><text class="text-7c">积分+</text><text class="primary">100.00</text><text class="text-7c">元</text></view><view><u-button vue-id="{{'73ecc895-4-'+index}}" hover-class="none" customStyle="{{({width:'145rpx',height:'61rpx',backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'31rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mpLogin']]]]}}" onClick="__e" onVueInit="__l" vue-slots="{{['default']}}">兑换</u-button></view></view></view></view></view></view></view>
|
||||
<view class="points-store u-relative"><view class="bg-default bg u-text-center text-fff"><view class="u-p-t-42"><view class="sm">可用积分</view><view class="fraction bold-600 u-m-t-14">0.00</view></view></view><view class="u-absolute left-0 right-0 bg-white u-p-t-34 list"><view><u-tabs vue-id="73ecc895-1" list="{{list}}" is-scroll="{{true}}" current="{{current}}" inactive-color="#636363" active-color="{{themeColor}}" data-event-opts="{{[['^change',[['change']]]]}}" onChange="__e" onVueInit="__l"></u-tabs></view><view class="u-m-l-24 u-m-r-24"><u-line vue-id="73ecc895-2" color="#EEE" onVueInit="__l"></u-line></view><view class="u-m-t-32 u-m-l-24 u-m-r-24"><view class="row-start u-col-top u-m-b-42" a:for="{{10}}" a:for-item="itme" a:for-index="index"><view><u-image vue-id="{{'73ecc895-3-'+index}}" src="{{cloudPath+'img/banner.png'}}" width="180" height="180" border-radius="20" onVueInit="__l"></u-image></view><view class="u-m-l-18 w-full"><view>小熊早餐必备煮蛋器</view><view class="u-m-t-4 text-7c">兑换66人</view><view class="u-m-t-42 row-between"><view><text class="primary">100.00</text><text class="text-7c">积分+</text><text class="primary">100.00</text><text class="text-7c">元</text></view><view><u-button vue-id="{{'73ecc895-4-'+index}}" hover-class="none" customStyle="{{({width:'145rpx',height:'61rpx',backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'31rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['toExchange']]]]}}" onClick="__e" onVueInit="__l" vue-slots="{{['default']}}">兑换</u-button></view></view></view></view></view></view></view>
|
||||
@ -167,7 +167,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
@ -230,10 +230,16 @@ var _default = {
|
||||
methods: {
|
||||
change: function change(index) {
|
||||
this.current = index;
|
||||
},
|
||||
toExchange: function toExchange() {
|
||||
uni.navigateTo({
|
||||
url: "/bundle/pages/points/points_shop"
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-alipay/dist/index.js */ 1)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user