no message
This commit is contained in:
1
unpackage/dist/build/mp-alipay/pages/mine/card.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/card.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wallet_list.data-v-7a477d9a{border-radius:15rpx;background-color:#4879e6;padding:35rpx 50rpx 35rpx 30rpx;display:flex;align-items:flex-end;justify-content:space-between}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/card.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/card.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-7a477d9a"><z-paging class="data-v-7a477d9a" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="7a477d9a-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="g" style="margin-bottom:30rpx" onTap="{{item.f}}" class="mt30 wallet_list data-v-7a477d9a"><view class="data-v-7a477d9a" style="color:#fff"><view class="data-v-7a477d9a" style="font-weight:bold;font-size:32rpx;margin-bottom:18rpx">{{item.a}}</view><view class="data-v-7a477d9a" style="margin-bottom:12rpx;font-size:28rpx;color:#eee"> 卡号:{{item.b}}</view><view class="data-v-7a477d9a" style="margin-bottom:12rpx;font-size:28rpx;color:#eee"> 电站:{{item.c}}</view><view class="data-v-7a477d9a" style="font-size:28rpx;color:#eee"> 商户:{{item.d}}</view></view><view class="data-v-7a477d9a" style="display:flex;flex-direction:column;align-items:center;color:#fff;font-weight:bold;font-size:26rpx"><view class="data-v-7a477d9a" style="font-size:55rpx;margin-bottom:30rpx">{{item.e}}</view><view class="data-v-7a477d9a" style="font-weight:500">余额</view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/card.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/card.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");_easycom_z_paging2()}const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";if(!Math){_easycom_z_paging()}const _sfc_main={__name:"card",setup(__props){common_vendor.ref({});const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e2=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e2.scrollTop);e2.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize};api_api.userCardList(params).then((res=>{paging.value.complete(res)})).catch((res=>{paging.value.complete(false)}))};let toCrud=()=>{common_vendor.index.navigateTo({url:"./cardList?id="+e.id})};return(_ctx,_cache)=>({a:common_vendor.f(common_vendor.unref(dataList),((item,index,i0)=>({a:common_vendor.t(item.name),b:common_vendor.t(item.cardNo),c:common_vendor.t(item.stationName),d:common_vendor.t(item.merchantName),e:common_vendor.t(item.balance),f:common_vendor.o(($event=>common_vendor.unref(toCrud)(item))),g:index}))),b:()=>({r:paging,k:"paging"}),c:common_vendor.o(queryList),d:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),e:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-7a477d9a"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/build/mp-alipay/pages/mine/card.json
vendored
Normal file
6
unpackage/dist/build/mp-alipay/pages/mine/card.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "我的电卡",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/cardList.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/cardList.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wallet_pall.data-v-1c414874{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-1c414874{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-1c414874{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-1c414874:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-1c414874:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-1c414874{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-1c414874:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-1c414874:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-1c414874:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-1c414874:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-1c414874{font-weight:700;font-size:28rpx;color:#ff2727}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/cardList.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/cardList.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-1c414874"><z-paging class="data-v-1c414874" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="1c414874-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="d" style="margin-bottom:30rpx" class="mt30 wallet_list data-v-1c414874"><view class="wallet_list_left data-v-1c414874"><view class="data-v-1c414874">{{item.a}}</view><view class="data-v-1c414874">{{item.b}}</view></view><view class="wallet_list_right data-v-1c414874" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-1c414874">{{item.c}}元</view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/cardList.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/cardList.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");_easycom_z_paging2()}const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";if(!Math){_easycom_z_paging()}const _sfc_main={__name:"cardList",setup(__props){let id=common_vendor.ref("");common_vendor.ref({});const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onLoad((options=>{id.value=options.id}));common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize,id:id.value};api_api.userCardRecord(params).then((res=>{paging.value.complete(res)})).catch((res=>{paging.value.complete(false)}))};return(_ctx,_cache)=>({a:common_vendor.f(common_vendor.unref(dataList),((item,index,i0)=>({a:common_vendor.t(item.recordName||"-"),b:common_vendor.t(item.createTime),c:common_vendor.t(item.amount),d:index}))),b:()=>({r:paging,k:"paging"}),c:common_vendor.o(queryList),d:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),e:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-1c414874"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/build/mp-alipay/pages/mine/cardList.json
vendored
Normal file
6
unpackage/dist/build/mp-alipay/pages/mine/cardList.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "电卡记录",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
0
unpackage/dist/build/mp-alipay/pages/mine/earnings.acss
vendored
Normal file
0
unpackage/dist/build/mp-alipay/pages/mine/earnings.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/earnings.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/earnings.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings"><up-cell-group u-s="{{['d']}}" u-i="c749b6aa-0" onVI="__l"><up-cell u-i="c749b6aa-1,c749b6aa-0" onVI="__l" u-p="{{a}}"></up-cell></up-cell-group></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/earnings.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/earnings.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");const _sfc_main={data(){return{}},methods:{}};if(!Array){const _easycom_up_cell2=common_vendor.resolveComponent("up-cell");const _easycom_up_cell_group2=common_vendor.resolveComponent("up-cell-group");(_easycom_up_cell2+_easycom_up_cell_group2)()}const _easycom_up_cell=()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js";const _easycom_up_cell_group=()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js";if(!Math){(_easycom_up_cell+_easycom_up_cell_group)()}function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:common_vendor.p({icon:"integral-fill",title:"会员等级",value:"新版本"})}}const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createPage(MiniProgramPage);
|
||||
7
unpackage/dist/build/mp-alipay/pages/mine/earnings.json
vendored
Normal file
7
unpackage/dist/build/mp-alipay/pages/mine/earnings.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaultTitle": "收益",
|
||||
"usingComponents": {
|
||||
"up-cell": "../../uni_modules/uview-plus/components/u-cell/u-cell",
|
||||
"up-cell-group": "../../uni_modules/uview-plus/components/u-cell-group/u-cell-group"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/incomeList.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/incomeList.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wallet_pall.data-v-6ff95d97{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-6ff95d97{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-6ff95d97{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-6ff95d97:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-6ff95d97:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-6ff95d97{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-6ff95d97:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-6ff95d97:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-6ff95d97:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-6ff95d97:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-6ff95d97{font-weight:700;font-size:28rpx;color:#ff2727}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/incomeList.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/incomeList.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-6ff95d97"><z-paging class="data-v-6ff95d97" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="6ff95d97-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="d" style="margin-bottom:30rpx" class="mt30 wallet_list data-v-6ff95d97"><view class="wallet_list_left data-v-6ff95d97"><view class="data-v-6ff95d97">{{item.a}}</view><view class="data-v-6ff95d97">{{item.b}}</view></view><view class="wallet_list_right data-v-6ff95d97" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-6ff95d97">{{item.c}}元</view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/incomeList.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/incomeList.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");_easycom_z_paging2()}const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";if(!Math){_easycom_z_paging()}const _sfc_main={__name:"incomeList",setup(__props){common_vendor.ref({});const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize};api_api.walletRecord(params).then((res=>{paging.value.complete(res)})).catch((res=>{paging.value.complete(false)}))};return(_ctx,_cache)=>({a:common_vendor.f(common_vendor.unref(dataList),((item,index,i0)=>({a:common_vendor.t(item.recordName||"-"),b:common_vendor.t(item.createTime),c:common_vendor.t(item.amount),d:index}))),b:()=>({r:paging,k:"paging"}),c:common_vendor.o(queryList),d:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),e:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-6ff95d97"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/build/mp-alipay/pages/mine/incomeList.json
vendored
Normal file
6
unpackage/dist/build/mp-alipay/pages/mine/incomeList.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "余额明细",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/mine.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/mine.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.mine_header.data-v-41705366{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.mine_header_img.data-v-41705366{width:150rpx;height:150rpx;margin-right:15rpx}.mine_header_user.data-v-41705366{flex:1}.mine_header_user view.data-v-41705366:nth-child(1){font-weight:700;font-size:32rpx;color:#232323;margin-bottom:15rpx}.mine_header_user view.data-v-41705366:nth-child(2){font-weight:700;font-size:44rpx;color:#232323}.mine_header_sett.data-v-41705366{width:42rpx;height:42rpx}.mine_money.data-v-41705366{margin-top:35rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between;width:100%;height:152rpx;background:linear-gradient(178deg,#9ab6ff,#4879e6);border-radius:16rpx;padding:0 60rpx}.mine_money_left.data-v-41705366{display:flex;align-items:center;flex-direction:column;justify-content:center}.mine_money_left view.data-v-41705366:nth-child(1){font-weight:700;font-size:48rpx;color:#fff;margin-bottom:5rpx}.mine_money_left view.data-v-41705366:nth-child(2){font-weight:700;font-size:20rpx;color:#fff}.mine_money_right.data-v-41705366{display:flex;align-items:center;flex-direction:row;justify-content:center;width:124rpx;height:54rpx;background:rgba(255,255,255,.24);border-radius:140rpx;font-weight:700;font-size:24rpx;color:#fff}.mine_fun.data-v-41705366{margin-top:35rpx;width:100%;background-color:#fff;border-radius:16rpx;padding:35rpx}.mine_fun_view.data-v-41705366{display:flex;align-items:center;flex-direction:row;justify-content:space-between;margin-bottom:35rpx}.mine_fun_view_left.data-v-41705366{width:58rpx;height:58rpx;margin-right:20rpx}.mine_fun_view_name.data-v-41705366{flex:1;font-weight:700;font-size:24rpx;color:#232323}.mine_fun_view_right.data-v-41705366{width:24rpx;height:24rpx}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/mine.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/mine.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine data-v-41705366"><status-bar class="data-v-41705366" u-i="41705366-0" onVI="__l"/><view class="p30 data-v-41705366"><view class="mine_header data-v-41705366"><view class="mine_header_img data-v-41705366"><up-avatar class="data-v-41705366" u-i="41705366-1" onVI="__l" u-p="{{a}}"></up-avatar></view><view class="mine_header_user data-v-41705366"><view class="data-v-41705366">{{b}}</view><view class="data-v-41705366">{{c}}</view></view><image class="mine_header_sett data-v-41705366" onTap="{{d}}" src="{{e}}"></image></view><view class="mine_money data-v-41705366"><view class="mine_money_left data-v-41705366" onTap="{{g}}"><view class="data-v-41705366">{{f}}</view><view class="data-v-41705366">钱包余额</view></view><view class="data-v-41705366" style="display:flex;align-items:center"><view class="mine_money_right data-v-41705366" style="margin-right:20rpx" onTap="{{h}}">退款</view><view class="mine_money_right data-v-41705366" onTap="{{i}}">充值</view></view></view><view class="mine_fun data-v-41705366"><view class="mine_fun_view data-v-41705366" onTap="{{l}}"><image class="mine_fun_view_left data-v-41705366" src="{{j}}"></image><view class="mine_fun_view_name data-v-41705366">充电卡</view><image class="mine_fun_view_right data-v-41705366" src="{{k}}" mode="widthFix"></image></view></view></view><view class="data-v-41705366" style="width:100%;height:100vh;background:#f7f7f7;position:absolute;top:0;left:0;z-index:-1"></view><cc-my-tabbar class="data-v-41705366" u-i="41705366-2" onVI="__l" u-p="{{m}}"></cc-my-tabbar></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/mine.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const api_api=require("../../api/api.js");const hooks_useNav=require("../../hooks/useNav.js");if(!Array){const _easycom_statusBar2=common_vendor.resolveComponent("statusBar");const _easycom_up_avatar2=common_vendor.resolveComponent("up-avatar");const _easycom_cc_myTabbar2=common_vendor.resolveComponent("cc-myTabbar");(_easycom_statusBar2+_easycom_up_avatar2+_easycom_cc_myTabbar2)()}const _easycom_statusBar=()=>"../../components/statusBar/statusBar.js";const _easycom_up_avatar=()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js";const _easycom_cc_myTabbar=()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js";if(!Math){(_easycom_statusBar+_easycom_up_avatar+_easycom_cc_myTabbar)()}const _sfc_main={__name:"mine",setup(__props){const{nav:nav,navTo:navTo}=hooks_useNav.useNav();let info=common_vendor.ref({});common_vendor.onShow((async()=>{common_vendor.index.hideTabBar();let _res=await api_api.userInfo();info.value=_res}));const toEarnings=()=>{common_vendor.index.navigateTo({url:"./sett"})};return(_ctx,_cache)=>({a:common_vendor.p({size:"150rpx",src:common_vendor.unref(info).avatar}),b:common_vendor.t(common_vendor.unref(info).nickName),c:common_vendor.t(common_vendor.unref(info).phone||""),d:common_vendor.o(toEarnings),e:common_assets._imports_0$2,f:common_vendor.t(common_vendor.unref(info).balance),g:common_vendor.o(($event=>common_vendor.unref(navTo)("/pages/mine/incomeList"))),h:common_vendor.o(($event=>common_vendor.unref(navTo)(`/pageMake/refund/refund?balance=${common_vendor.unref(info).balance}`))),i:common_vendor.o(($event=>common_vendor.unref(navTo)("/pages/money/recharge"))),j:common_assets._imports_1$1,k:common_assets._imports_1$2,l:common_vendor.o(($event=>common_vendor.unref(navTo)("/pages/mine/card"))),m:common_vendor.p({tabBarShow:4})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-41705366"]]);my.createPage(MiniProgramPage);
|
||||
11
unpackage/dist/build/mp-alipay/pages/mine/mine.json
vendored
Normal file
11
unpackage/dist/build/mp-alipay/pages/mine/mine.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"pullRefresh": false,
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-avatar": "../../uni_modules/uview-plus/components/u-avatar/u-avatar",
|
||||
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/sett.acss
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/sett.acss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
button:after{all:unset}
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/sett.axml
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/sett.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view style="background-color:#fff;border-radius:15rpx"><up-cell-group u-s="{{['d']}}" u-i="442b60d4-0" onVI="__l" u-p="{{i}}"><button style="all:unset" open-type="chooseAvatar" onChooseAvatar="{{c}}"><up-cell u-s="{{['value']}}" u-i="442b60d4-1,442b60d4-0" onVI="__l" u-p="{{b}}"><up-avatar u-i="442b60d4-2,442b60d4-1" onVI="__l" u-p="{{a}}" slot="value"></up-avatar></up-cell></button><up-cell u-s="{{['value']}}" onClick="{{e}}" u-i="442b60d4-3,442b60d4-0" onVI="__l" u-p="{{f}}"><text class="u-slot-value" slot="value">{{d}}</text></up-cell><up-cell u-s="{{['value']}}" u-i="442b60d4-4,442b60d4-0" onVI="__l" u-p="{{h}}"><text class="u-slot-value" slot="value">{{g}}</text></up-cell></up-cell-group></view><view style="height:100rpx"></view><up-button onClick="{{j}}" u-i="442b60d4-5" onVI="__l" u-p="{{k}}"></up-button></view>
|
||||
1
unpackage/dist/build/mp-alipay/pages/mine/sett.js
vendored
Normal file
1
unpackage/dist/build/mp-alipay/pages/mine/sett.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");const utils_fun=require("../../utils/fun.js");if(!Array){const _easycom_up_avatar2=common_vendor.resolveComponent("up-avatar");const _easycom_up_cell2=common_vendor.resolveComponent("up-cell");const _easycom_up_cell_group2=common_vendor.resolveComponent("up-cell-group");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_avatar2+_easycom_up_cell2+_easycom_up_cell_group2+_easycom_up_button2)()}const _easycom_up_avatar=()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js";const _easycom_up_cell=()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js";const _easycom_up_cell_group=()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_avatar+_easycom_up_cell+_easycom_up_cell_group+_easycom_up_button)()}const _sfc_main={__name:"sett",setup(__props){let info=common_vendor.ref({});common_vendor.onShow((async()=>{getInfo()}));const getInfo=async()=>{let _res=await api_api.userInfo();info.value=_res};const chooseAvatar=async e=>{let img=await utils_fun.uploadFiles(e.detail.avatarUrl);api_api.updateAvatar({avatar:img}).then((res=>{getInfo()}));console.log(img)};const upNickName=()=>{common_vendor.index.showModal({title:"修改昵称",content:info.value.nickName,editable:true,success:function(res){if(res.confirm){api_api.updateNickName({nickName:res.content}).then((res2=>{getInfo()}));console.log(res);console.log("用户点击确定")}else if(res.cancel){console.log("用户点击取消")}}})};const outLogin=()=>{common_vendor.index.showModal({title:"提示",content:"是否确认退出登录?",success:res=>{if(res.confirm){common_vendor.index.clearStorageSync();common_vendor.index.reLaunch({url:"/pages/home/home"})}else if(res.cancel){console.log("用户点击取消")}}})};return(_ctx,_cache)=>({a:common_vendor.p({src:common_vendor.unref(info).avatar}),b:common_vendor.p({title:"头像",isLink:true,size:"min"}),c:common_vendor.o(chooseAvatar),d:common_vendor.t(common_vendor.unref(info).nickName),e:common_vendor.o(upNickName),f:common_vendor.p({title:"昵称",isLink:true,size:"min"}),g:common_vendor.t(common_vendor.unref(info).phone||"-"),h:common_vendor.p({title:"手机号",size:"min",border:false}),i:common_vendor.p({border:false}),j:common_vendor.o(outLogin),k:common_vendor.p({type:"error",text:"退出登录"})})}};my.createPage(_sfc_main);
|
||||
9
unpackage/dist/build/mp-alipay/pages/mine/sett.json
vendored
Normal file
9
unpackage/dist/build/mp-alipay/pages/mine/sett.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"up-avatar": "../../uni_modules/uview-plus/components/u-avatar/u-avatar",
|
||||
"up-cell": "../../uni_modules/uview-plus/components/u-cell/u-cell",
|
||||
"up-cell-group": "../../uni_modules/uview-plus/components/u-cell-group/u-cell-group",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user