first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/api/api.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/api/api.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../request/index.js");exports.activityInfo=(e,o={})=>t.http("/api/v0/activity/info",e,"GET"),exports.activityList=(e,o={})=>t.http("/api/v0/activity/list",e,"GET"),exports.activityUserConfirm=(e,o={})=>t.http("/api/v0/activity/user/confirm",e),exports.activityUserInfo=(e,o={})=>t.http("/api/v0/activity/user/info",e,"GET"),exports.activityUserList=(e,o={})=>t.http("/api/v0/activity/user/list",e,"GET"),exports.addGoodsOrders=(e,o={})=>t.http("/api/v0/orders/addGoodsOrders",e),exports.addGoodsPackageOrders=(e,o={})=>t.http("/api/v0/orders/addGoodsPackageOrders",e),exports.addUsersAccountInfo=(e,o={})=>t.http("/api/v0/user/addUsersAccountInfo",e),exports.bannerInfo=(e,o={})=>t.http("/api/v0/banner/bannerInfo",e,"GET"),exports.forgotPassword=(e,o={})=>t.http("/api/auth/forgotPassword",e),exports.forgotUserName=(e,o={})=>t.http("/api/auth/forgotUserName",e),exports.freezeIncomeRecord=(e,o={})=>t.http("/api/v0/user/freezeIncomeRecord",e),exports.freezeTotal=(e,o={})=>t.http("/api/v0/user/freezeTotal",e),exports.freezeWalletRecord=(e,o={})=>t.http("/api/v0/user/freezeWalletRecord",e),exports.getAppConfig=(e,o={})=>t.http("/api/v0/config/getAppConfig",e),exports.getContentCategoryList=(e,o={})=>t.http("/api/v0/banner/getContentCategoryList",e),exports.getContentInfo=(e,o={})=>t.http("/api/v0/banner/getContentInfo",e),exports.getContentList=(e,o={})=>t.http("/api/v0/banner/getContentList",e),exports.getDeviceCount=(e,o={})=>t.http("/api/v0/user/getDeviceCount",e,"GET"),exports.getDeviceInfo=(e,o={})=>t.http("/api/v0/user/getDeviceInfo",e),exports.getOssUploadParams=(e,o={})=>t.http("/api/v0/files/getOssUploadParams",e,"GET"),exports.getUsersAccountInfo=(e,o={})=>t.http("/api/v0/user/getUsersAccountInfo",e),exports.getUsersPoint1Info=(e,o={})=>t.http("/api/v0/user/getUsersPoint1Info",e),exports.getUsersPoint2Info=(e,o={})=>t.http("/api/v0/user/getUsersPoint2Info",e),exports.getUsersPointRecord=(e,o={})=>t.http("/api/v0/user/getUsersPointRecord",e),exports.giveWallet=(e,o={})=>t.http("/api/v0/recharge/giveWallet",e),exports.giveWallet2=(e,o={})=>t.http("/api/v0/recharge/giveWallet2",e),exports.lklPaymentGoods=(e,o={})=>t.http("/api/v0/payment/lklPaymentGoods",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"}),exports.lklPaymentPackages=(e,o={})=>t.http("/api/v0/payment/lklPaymentPackages",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"}),exports.loginApi=(e,o={})=>t.http("/api/auth/login",e),exports.orderInfo=(e,o={})=>t.http("/api/v0/orders/info",e,"GET"),exports.orderPage=(e,o={})=>t.http("/api/v0/orders/selectListByPage",e),exports.registerApi=(e,o={})=>t.http("/api/auth/register",e),exports.saveOpenIdByWxCode=(e,o={})=>t.http("/api/auth/saveOpenIdByWxCode",e),exports.selectGoodsInfo=(e,o={})=>t.http("/api/v0/goodsPackages/selectGoodsInfo",e),exports.selectListByPage=(e,o={})=>t.http("/api/v0/goodsPackages/selectListByPage",e),exports.selectProtocolInfo=(e,o={})=>t.http("/api/v0/protocol/selectProtocolInfo",e,"GET"),exports.shareList=(e,o={})=>t.http("/api/v0/user/shareList",e),exports.shareUserInfo=(e,o={})=>t.http("/api/v0/user/shareUserInfo",e),exports.shareUserInfoStats=(e,o={})=>t.http("/api/v0/user/shareUserInfoStats",e),exports.shopInfo=(e,o={})=>t.http("/api/v0/goods/selectGoodsInfo",e),exports.shopPage=(e,o={})=>t.http("/api/v0/goods/selectListByPage",e),exports.smsCode=(e,o={})=>t.http("/api/auth/sendSmsCode",e),exports.updatePhone=(e,o={})=>t.http("/api/v0/user/updatePhone",e),exports.updateUserInfo=(e,o={})=>t.http("/api/v0/user/updateUserInfo",e),exports.userExtract=(e,o={})=>t.http("/api/v0/extract/userExtract",e),exports.userExtractList=(e,o={})=>t.http("/api/v0/extract/userExtractList",e),exports.userInfo=(e,o={})=>t.http("/api/v0/user/info",e,"GET"),exports.userPointRecharge=(e,o={})=>t.http("/api/v0/recharge/userPointRecharge",e),exports.userRechargeByLkl=(e,o={})=>t.http("/api/v0/recharge/userRechargeByLkl",e),exports.userStat=(e,o={})=>t.http("/api/v0/stat/userStat",e,"GET"),exports.walletPaymentGoods=(e,o={})=>t.http("/api/v0/payment/walletPaymentGoods",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"}),exports.walletPaymentPackages=(e,o={})=>t.http("/api/v0/payment/walletPaymentPackages",e,"POST",{"Content-Type":"application/x-www-form-urlencoded"});
|
||||
1
unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js"),o=require("./store/index.js"),n=require("./uni_modules/uview-plus/index.js"),r=require("./uni_modules/uview-plus/libs/mixin/mpShare.js");Math;const t={onLaunch:function(n){let r=e.index.getStorageSync("token");r&&o.store.commit("setToken",r)},onShow:function(o){console.log(o),"pages/order/pay"==o.path&&o.query.amount&&e.index.redirectTo({url:`/pages/order/success?amount=${o.query.amount}&id=${o.query.id}&type=2`})},onHide:function(){}};function u(){const u=e.createSSRApp(t);return u.mixin(r.mpShare),u.use(n.uviewPlus),u.use(o.store),{app:u}}u().app.mount("#app"),exports.createApp=u;
|
||||
76
unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
76
unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/market/market",
|
||||
"pages/mine/mine",
|
||||
"pages/piles/piles",
|
||||
"pages/wallet/wallet",
|
||||
"pages/login/login",
|
||||
"pages/shop/shop",
|
||||
"pages/mine/earnings",
|
||||
"pages/wallet/withdraw",
|
||||
"pages/wallet/bankCard",
|
||||
"pages/wallet/addBankCard",
|
||||
"pages/login/register",
|
||||
"pages/order/order",
|
||||
"pages/shop/affirm",
|
||||
"pages/order/pay",
|
||||
"pages/setMeal/setMeal",
|
||||
"pages/setMeal/affirm",
|
||||
"pages/setMealList/setMealList",
|
||||
"pages/order/success",
|
||||
"pages/agreement/agreement",
|
||||
"pages/login/getBack",
|
||||
"pages/mine/topUp",
|
||||
"pages/mine/transferBalance",
|
||||
"pages/market/detail",
|
||||
"pages/mine/setting",
|
||||
"pages/mine/phone",
|
||||
"pages/wallet/withdrawList",
|
||||
"pages/wallet/incomeList",
|
||||
"pages/mine/balanceIncome",
|
||||
"pages/shareList/shareList",
|
||||
"pages/mine/share",
|
||||
"pages/protocol/buy",
|
||||
"pages/protocol/trusteeship",
|
||||
"pages/activity/index",
|
||||
"pages/activity/detail813",
|
||||
"pages/activity/detail513",
|
||||
"pages/activity/shop/index",
|
||||
"pages/order/details",
|
||||
"pages/mine/toUser",
|
||||
"pages/mine/toUser2",
|
||||
"pages/wallet/freezeMoney",
|
||||
"pages/wallet/freezeEarnings",
|
||||
"pages/shareList/detail",
|
||||
"pages/login/getBackAccout",
|
||||
"pages/webView/webView"
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#999999",
|
||||
"selectedColor": "#999999",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/market/market",
|
||||
"text": "公告"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/mine",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
||||
2
unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
2
unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/common/assets.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/common/assets.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports._imports_0="/static/jthn.png",exports._imports_0$1="/static/icon/sz.png",exports._imports_0$2="/static/logoB.png",exports._imports_0$3="/static/icon/mx.png",exports._imports_0$4="/static/icon/xia.png",exports._imports_0$5="/static/icon/avatar.png",exports._imports_1="/static/jp.png",exports._imports_1$1="/static/logo.png",exports._imports_1$2="/static/icon/zhuan.png",exports._imports_2="/static/icon/txs.png",exports._imports_2$1="/static/icon/tx.png",exports._imports_3="/static/icon/yhk.png";
|
||||
1
unpackage/dist/build/mp-weixin/common/js/user.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/common/js/user.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../vendor.js"),s=require("../../api/api.js");exports.uploadFiles=a=>new Promise((async(t,o)=>{let i=await s.getOssUploadParams();const r={policy:i.policy,OSSAccessKeyId:i.accessId,success_action_status:200,signature:i.signature,key:i.dir+Date.now()+Math.floor(1e5+9e5*Math.random())+"."+a.substring(a.lastIndexOf(".")+1)};e.index.uploadFile({url:i.host,filePath:a,header:{"content-type":"multipart/form-data"},name:"file",formData:r,success:e=>{t(r.key)},fail:e=>{console.log(e),o(e)}}),console.log()}));
|
||||
7
unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
7
unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e={__name:"statusBar",setup(e){const n=t.index.getSystemInfoSync().statusBarHeight+"px";return(t,e)=>({a:n})}};wx.createComponent(e);
|
||||
4
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="position:relative"><view style="{{'height:' + a}}"></view><view style="height:44px;display:flex;align-items:center"><slot/></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.statusBar_blur{width:100%;height:185rpx;position:absolute;top:0;left:0;background:linear-gradient(180deg,#dbe5ff,#fff 15%,#fff 81%,#f7f7f7);opacity:.8;filter:blur(50px);z-index:-1}
|
||||
1
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e={__name:"tabbar",props:{path:{type:String,default:""}},setup(e){const a=e;let n=t.ref([{pagePath:"/pages/index/index",text:"首页",icon_select:"/static/tabbar/home.png",icon:"/static/tabbar/homes.png",type:0},{pagePath:"/pages/market/market",text:"公告",icon_select:"/static/tabbar/market.png",icon:"/static/tabbar/markets.png",type:0},{pagePath:"/pages/mine/mine",text:"我的",icon_select:"/static/tabbar/mine.png",icon:"/static/tabbar/mines.png",type:0}]);return(i,p)=>({a:t.f(t.unref(n),((n,i,p)=>({a:e.path==n.pagePath?n.icon:n.icon_select,b:t.t(n.text),c:e.path==n.pagePath?"#4874E5":"",d:i,e:t.o((e=>(e=>{if(t.index.vibrateShort(),a.path==e)return!0;t.index.switchTab({url:e})})(n.pagePath)),i)})))})}};wx.createComponent(e);
|
||||
4
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="tabbar_pages p30"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" class="tabbar_pages_view" bindtap="{{item.e}}"><view><view><image mode="widthFix" src="{{item.a}}"></image></view><view style="{{'color:' + item.c}}">{{item.b}}</view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/tabbar/tabbar.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.tabbar_pages{position:fixed;bottom:0;left:0;width:750rpx;height:120rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between;background-color:#fff;box-shadow:0 -6rpx 12rpx 2rpx rgba(88,140,255,.1);border-radius:15rpx 15rpx 0rpx 0rpx;z-index:99;padding:20rpx 115rpx}.tabbar_pages_view{width:100%}.tabbar_pages_view view{font-size:24rpx;color:#999;display:flex;align-items:center;flex-direction:column;justify-content:space-between}.tabbar_pages_view view image{width:44rpx;height:44rpx;margin-bottom:15rpx}.tabbar_pages_view:nth-child(1) view{align-items:flex-start}.tabbar_pages_view:nth-child(3) view{align-items:flex-end}
|
||||
1
unpackage/dist/build/mp-weixin/config.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/config.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports.API_URL="https://guangdongapp.zhongshuai2023.com";
|
||||
1
unpackage/dist/build/mp-weixin/hooks/useNav.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/hooks/useNav.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js"),n=require("../store/index.js");exports.useNav=function(){return{nav:n=>{e.index["nav"!=n.type&&n.type&&"switchTab"==n.type?"switchTab":"navigateTo"]({url:n.path})},navTo:(o,t,s)=>{if(s)e.index.makePhoneCall({phoneNumber:"17707569278"});else{if(console.log(t,"token"),console.log(n.store.state.token,"store.state.token"),t&&!n.store.state.token)return e.index.showModal({title:"提示",content:"你还未登录,是否前往登录?",success:function(n){n.confirm?e.index.navigateTo({url:"/pages/login/login"}):n.cancel&&console.log("用户点击取消")}});e.index.navigateTo({url:o})}}}};
|
||||
1
unpackage/dist/build/mp-weixin/money.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/money.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports.moneyJson=[{name:"充值",id:1100},{name:"后台充值",id:1200},{name:"后台划扣",id:1201},{name:"购买商品",id:2100},{name:"商品推广",id:2110},{name:"商品培育津贴",id:2120},{name:"商品服务津贴",id:2130},{name:"购买商品-退单",id:2200},{name:"商品推广-退单",id:2210},{name:"商品培育津贴-退单",id:2220},{name:"商品服务津贴-退单",id:2230},{name:"充电桩收益",id:3100},{name:"充电桩推广",id:3110},{name:"充电桩培育津贴",id:3120},{name:"充电桩服务津贴",id:3130},{name:"充电桩收益-退单",id:3200},{name:"充电桩推广-退单",id:3210},{name:"充电桩培育津贴-退单",id:3220},{name:"充电桩服务津贴-退单",id:3230},{name:"提现",id:4100},{name:"提现失败",id:4200},{name:"转赠付款",id:5100},{name:"转赠收款",id:5200},{name:"转换减少",id:6100},{name:"转换增加",id:6200}];
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/detail513.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/detail513.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("mp-html")+e.resolveComponent("u-line"))()}Math||((()=>"../../uni_modules/mp-html/components/mp-html/mp-html.js")+(()=>"../../uni_modules/uview-plus/components/u-line/u-line.js"))();const i={__name:"detail513",setup(i){let n=e.ref({}),r=e.ref("");return e.onLoad((async e=>{var i;r.value=e.type,(i=2==e.type?await t.activityUserInfo({id:e.id}):await t.activityInfo({id:e.id})).information&&(i.information=JSON.parse(i.information)),n.value=i})),(t,i)=>e.e({a:e.p({content:e.unref(n).detail}),b:2==e.unref(r)},2==e.unref(r)?e.e({c:e.unref(n).deviceList},e.unref(n).deviceList?{d:e.f(e.unref(n).deviceList,((t,i,n)=>({a:e.t(t.id),b:e.t(t.createTime),c:"8dc35874-1-"+n,d:i})))}:{},{e:e.unref(n).deviceList},e.unref(n).deviceList?{f:e.t(e.unref(n).deviceList.length)}:{},{g:e.t(e.unref(n).freezeDate),h:e.t(e.unref(n).confirmDate),i:e.t(e.unref(n).expirationDate)}):{})}},n=e._export_sfc(i,[["__scopeId","data-v-8dc35874"]]);wx.createPage(n);
|
||||
7
unpackage/dist/build/mp-weixin/pages/activity/detail513.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/activity/detail513.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "活动",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html",
|
||||
"u-line": "../../uni_modules/uview-plus/components/u-line/u-line"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/detail513.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/detail513.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-8dc35874"><view class="data-v-8dc35874"><view class="data-v-8dc35874" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><mp-html wx:if="{{a}}" class="data-v-8dc35874" u-i="8dc35874-0" bind:__l="__l" u-p="{{a}}"></mp-html></view><view wx:if="{{b}}" class="data-v-8dc35874"><view class="data-v-8dc35874" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx;margin-top:30rpx"><view class="data-v-8dc35874">锁定中充电桩</view><view class="data-v-8dc35874" style="height:20rpx"></view><view wx:if="{{c}}" class="data-v-8dc35874"><view wx:for="{{d}}" wx:for-item="item" wx:key="d" class="data-v-8dc35874"><view class="data-v-8dc35874" style="color:#909399;font-size:28rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-8dc35874">设备ID:{{item.a}}</view><view class="data-v-8dc35874">{{item.b}}</view></view><view class="data-v-8dc35874" style="height:10rpx"></view><u-line class="data-v-8dc35874" u-i="{{item.c}}" bind:__l="__l"></u-line><view class="data-v-8dc35874" style="height:10rpx"></view></view></view><view class="data-v-8dc35874" style="height:20rpx"></view><view wx:if="{{e}}" class="data-v-8dc35874"><view class="data-v-8dc35874" style="color:#909399">当前数量{{f}}</view></view></view><view class="data-v-8dc35874" style="height:20rpx"></view><view class="data-v-8dc35874" style="background-color:#ffffff;padding:30rpx;border-radius:10rpx"><view class="data-v-8dc35874">当前状态</view><view class="data-v-8dc35874" style="height:10rpx"></view><view class="data-v-8dc35874">参与时间:{{g}}个月</view><view class="data-v-8dc35874" style="height:10rpx"></view><view class="data-v-8dc35874">有效期:{{h}}-{{i}}</view></view></view><view class="data-v-8dc35874" style="height:100rpx"></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/detail513.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/detail513.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
view.data-v-8dc35874{line-height:60rpx}.uni-list.data-v-8dc35874{background-color:#fff;position:relative;width:100%;display:flex;flex-direction:column}.uni-list-cell.data-v-8dc35874{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.uni-list-cell-left.data-v-8dc35874{white-space:nowrap;font-size:28rpx;padding:0 30rpx}.uni-list-cell-db.data-v-8dc35874,.uni-list-cell-right.data-v-8dc35874{flex:1}.uni-input-group.data-v-8dc35874{position:relative;padding:0;border:0;background-color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/detail813.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/detail813.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("mp-html")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/mp-html/components/mp-html/mp-html.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"detail813",setup(n){let r=e.ref({}),o=e.ref("");e.onLoad((async e=>{var n;o.value=e.type,n=2==e.type?await t.activityUserInfo({id:e.id}):await t.activityInfo({id:e.id}),r.value=n}));const a=e=>{const t=new Date;let n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return"start"===e?n-=60:"end"===e&&(n+=2),r=r>9?r:"0"+r,o=o>9?o:"0"+o,`${n}-${r}-${o}`},u=e=>{l.value=e.detail.value};let i=e.computed((()=>a("start"))),s=e.computed((()=>a("end")));const c=a({format:!0});let l=e.ref(c),d=()=>{t.activityUserConfirm({id:r.value.id,orderDate:l.value}).then((t=>{e.index.showToast({title:"认领成功",icon:"none"})}))};return(t,n)=>e.e({a:e.p({content:e.unref(r).detail}),b:2==e.unref(o)},2==e.unref(o)?{c:e.t(e.unref(r).deviceId),d:e.t(e.unref(r).createTime)}:{},{e:2!=e.unref(o)},2!=e.unref(o)?e.e({f:!t.ac},t.ac?{}:{g:e.t(e.unref(l)),h:e.unref(i),i:e.unref(s),j:e.unref(l),k:e.o(u)},{l:e.o(e.unref(d)),m:e.p({color:"#4874e5",type:"primary"})}):{})}},r=e._export_sfc(n,[["__scopeId","data-v-0ecd3070"]]);wx.createPage(r);
|
||||
7
unpackage/dist/build/mp-weixin/pages/activity/detail813.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/activity/detail813.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "活动",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/detail813.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/detail813.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-0ecd3070"><view class="data-v-0ecd3070"><view class="data-v-0ecd3070" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><mp-html wx:if="{{a}}" class="data-v-0ecd3070" u-i="0ecd3070-0" bind:__l="__l" u-p="{{a}}"></mp-html></view><view wx:if="{{b}}" class="data-v-0ecd3070" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx;margin-top:30rpx"><view class="data-v-0ecd3070">赠送充电桩</view><view class="data-v-0ecd3070" style="height:20rpx"></view><view class="data-v-0ecd3070" style="color:#909399;font-size:28rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-0ecd3070">设备ID:{{c}}</view><view class="data-v-0ecd3070">{{d}}</view></view></view><view wx:if="{{e}}" class="data-v-0ecd3070"><view wx:if="{{f}}" class="data-v-0ecd3070" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx;display:flex;align-items:center;margin-top:30rpx"><view class="data-v-0ecd3070" style="margin-right:25rpx">下单日期</view><view class="data-v-0ecd3070" style="flex:1"><picker class="data-v-0ecd3070" mode="date" start="{{h}}" end="{{i}}" value="{{j}}" bindchange="{{k}}"><view class="uni-input data-v-0ecd3070">{{g}}</view></picker></view></view><view class="data-v-0ecd3070" style="margin-top:30rpx"><up-button wx:if="{{m}}" class="data-v-0ecd3070" u-s="{{['d']}}" bindclick="{{l}}" u-i="0ecd3070-1" bind:__l="__l" u-p="{{m}}">认领</up-button></view></view><view class="data-v-0ecd3070" style="height:100rpx"></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/detail813.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/detail813.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
view.data-v-0ecd3070{line-height:60rpx}.uni-list.data-v-0ecd3070{background-color:#fff;position:relative;width:100%;display:flex;flex-direction:column}.uni-list-cell.data-v-0ecd3070{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.uni-list-cell-left.data-v-0ecd3070{white-space:nowrap;font-size:28rpx;padding:0 30rpx}.uni-list-cell-db.data-v-0ecd3070,.uni-list-cell-right.data-v-0ecd3070{flex:1}.uni-input-group.data-v-0ecd3070{position:relative;padding:0;border:0;background-color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const t=require("../../api/api.js"),i=require("../../uni_modules/uview-plus/libs/function/index.js");if(!Array){e.resolveComponent("up-divider")()}Math;const a={__name:"index",setup(a){let r=e.ref([]);return e.onLoad((async()=>{let e=await t.activityList();r.value=e})),(t,a)=>({a:e.f(e.unref(r),((t,a,r)=>({a:e.t(t.title),b:"f87b2b56-0-"+r,c:e.t(e.unref(i.timeFormat)(new Date(t.startTime).getTime(),"yyyy-mm-dd")),d:e.t(e.unref(i.timeFormat)(new Date(t.endTime).getTime(),"yyyy-mm-dd")),e:t,f:`/pages/activity/detail${1==t.type?"8":"5"}13?id=${t.id}`})))})}},r=e._export_sfc(a,[["__scopeId","data-v-f87b2b56"]]);wx.createPage(r);
|
||||
6
unpackage/dist/build/mp-weixin/pages/activity/index.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/activity/index.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "活动中心",
|
||||
"usingComponents": {
|
||||
"up-divider": "../../uni_modules/uview-plus/components/u-divider/u-divider"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-f87b2b56"><view class="data-v-f87b2b56" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-f87b2b56">活动列表</view><navigator class="data-v-f87b2b56" url="/pages/activity/shop/index" style="color:#2b85e4">我的参与</navigator></view><view class="data-v-f87b2b56" style="height:20rpx"></view><navigator wx:for="{{a}}" wx:for-item="i" wx:key="e" class="data-v-f87b2b56" url="{{i.f}}" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view class="data-v-f87b2b56"><view class="data-v-f87b2b56">{{i.a}}</view></view><up-divider class="data-v-f87b2b56" u-i="{{i.b}}" bind:__l="__l"></up-divider><view class="data-v-f87b2b56">活动时间:{{i.c}}-{{i.d}}</view></navigator></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.xkl-com-bg.data-v-f87b2b56{min-height:100vh}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/shop/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/shop/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../api/api.js");require("../../../uni_modules/uview-plus/index.js");const t=require("../../../uni_modules/uview-plus/libs/function/index.js"),r={__name:"index",setup(r){let a=e.ref([]);e.onLoad((async()=>{let e=await i.activityUserList();a.value=e}));return(i,r)=>({a:e.f(e.unref(a),((i,r,a)=>({a:e.t(i.title),b:e.t(e.unref(t.timeFormat)(new Date(i.createTime).getTime(),"yyyy-mm-dd")),c:r,d:e.o((t=>{return r=`/pages/activity/detail${1==i.type?"8":"5"}13?id=${i.id}&type=2`,void e.index.navigateTo({url:r});var r}),r)})))})}};wx.createPage(r);
|
||||
4
unpackage/dist/build/mp-weixin/pages/activity/shop/index.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/activity/shop/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "参与记录",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/activity/shop/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/activity/shop/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view><view wx:for="{{a}}" wx:for-item="item" wx:key="c" bindtap="{{item.d}}" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view>{{item.a}}</view><view style="height:10rpx"></view><view>活动参与时间:{{item.b}}</view></view></view></view>
|
||||
0
unpackage/dist/build/mp-weixin/pages/activity/shop/index.wxss
vendored
Normal file
0
unpackage/dist/build/mp-weixin/pages/activity/shop/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){e.resolveComponent("mp-html")()}Math;const o={__name:"agreement",setup(o){let n=e.ref({});return e.onLoad((async e=>{let o=await t.selectProtocolInfo({id:e.id});n.value=o})),(t,o)=>({a:e.p({content:e.unref(n).protocolContent})})}};wx.createPage(o);
|
||||
6
unpackage/dist/build/mp-weixin/pages/agreement/agreement.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/agreement/agreement.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><mp-html wx:if="{{a}}" u-i="47679100-0" bind:__l="__l" u-p="{{a}}"/><view style="height:100rpx"></view></view>
|
||||
0
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxss
vendored
Normal file
0
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),n=require("../../hooks/useNav.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("up-swiper")+e.resolveComponent("up-icon")+e.resolveComponent("up-grid-item")+e.resolveComponent("up-grid")+e.resolveComponent("tabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-swiper/u-swiper.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js")+(()=>"../../uni_modules/uview-plus/components/u-grid/u-grid.js")+(()=>"../../components/tabbar/tabbar.js"))();const a={__name:"index",setup(a){const{nav:i,navTo:s}=n.useNav();e.reactive(["https://cdn.uviewui.com/uview/swiper/swiper1.png","https://cdn.uviewui.com/uview/swiper/swiper2.png","https://cdn.uviewui.com/uview/swiper/swiper3.png"]);const r=e.ref(null);let p=e.ref([]);e.ref([]);let u=e.ref([]),c=e.ref([]);e.onShow((async()=>{e.index.hideTabBar()})),e.onLoad((async o=>{if(e.index.hideTabBar(),o.q){const n=function(e,o){let n,t=/([^?&=]+)=([^&]+)/g,a={};for(;null!==(n=t.exec(e));){let e=decodeURIComponent(n[1]),o=decodeURIComponent(n[2]);a[e]?Array.isArray(a[e])?a[e].push(o):a[e]=[a[e],o]:a[e]=o}return o?a[o]?a[o]:"":a}(decodeURIComponent(o.q));n.num&&e.index.setStorageSync("invite_code",n.num)}l();let n=await t.getContentList({cid:1});c.value=n.records,t.shopPage().then((e=>{p.value=e.records}))}));let l=async()=>{let e=await t.bannerInfo();u.value=e},d=()=>!r.value;e.onPullDownRefresh((()=>{d()||r.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{d()||(r.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&r.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{d()||r.value.pageReachBottom()}));const m=e.reactive([{img:"/static/icon/dz.png",name:"我的电桩",path:"/pages/piles/piles",login:!0},{img:"/static/icon/zd.png",name:"我的账单",path:"/pages/mine/balanceIncome",login:!0},{img:"/static/icon/hd.png",name:"活动",path:"/pages/activity/index",login:!1},{img:"/static/icon/kf.png",name:"联系客服",login:!1,openType:"contact"}]);let g=o=>{e.index.navigateTo({url:"/pages/shop/shop?id="+o.id})},v=o=>{let n=u.value[o];n.jumpUrl&&e.index.navigateTo({url:n.jumpUrl})},f=()=>{e.index.switchTab({url:"/pages/market/market"})};return(n,t)=>({a:e.o(e.unref(v)),b:e.p({list:e.unref(u),keyName:"imageUrl",height:"388rpx",indicator:!0}),c:e.f(m,((o,n,t)=>({a:"fc75a286-4-"+t+",fc75a286-3-"+t,b:e.p({imgMode:"widthFix",name:o.img,size:27}),c:e.t(o.name),d:o.openType,e:n,f:e.o((n=>e.unref(s)(o.path,o.login,o.call)),n),g:"fc75a286-3-"+t+",fc75a286-2"}))),d:e.p({bgColor:"#fff"}),e:e.p({border:!1,col:"4"}),f:e.p({name:"arrow-right",color:"#4874e5",size:"14"}),g:e.o(((...o)=>e.unref(f)&&e.unref(f)(...o))),h:e.f(e.unref(c),((o,n,t)=>e.e({a:n<=2},n<=2?{b:e.t(o.title),c:`/pages/market/detail?id=${o.id}`}:{},{d:n}))),i:e.o((o=>e.unref(i)({path:"/pages/setMealList/setMealList"}))),j:o._imports_0,k:o._imports_1,l:e.f(e.unref(p),((o,n,t)=>({a:JSON.parse(o.picture)[0],b:e.t(o.goodsName),c:e.t(o.salePrice),d:o,e:e.o((n=>e.unref(g)(o)),o)}))),m:e.p({path:"/pages/index/index"})})}},i=e._export_sfc(a,[["__scopeId","data-v-fc75a286"]]);a.__runtimeHooks=1,wx.createPage(i);
|
||||
12
unpackage/dist/build/mp-weixin/pages/index/index.json
vendored
Normal file
12
unpackage/dist/build/mp-weixin/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-swiper": "../../uni_modules/uview-plus/components/u-swiper/u-swiper",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 homeIndex data-v-fc75a286" style="padding-bottom:150rpx"><status-bar class="data-v-fc75a286" u-i="fc75a286-0" bind:__l="__l"/><up-swiper wx:if="{{b}}" class="data-v-fc75a286" bindclick="{{a}}" u-i="fc75a286-1" bind:__l="__l" u-p="{{b}}"></up-swiper><view class="mt30 data-v-fc75a286"><up-grid wx:if="{{e}}" class="data-v-fc75a286" u-s="{{['d']}}" u-i="fc75a286-2" bind:__l="__l" u-p="{{e}}"><up-grid-item wx:for="{{c}}" wx:for-item="item" wx:key="e" class="data-v-fc75a286" u-s="{{['d']}}" bindclick="{{item.f}}" u-i="{{item.g}}" bind:__l="__l" u-p="{{d}}"><button class="data-v-fc75a286" open-type="{{item.d}}" style="all:unset;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column"><view class="data-v-fc75a286" style="height:35rpx"></view><up-icon wx:if="{{item.b}}" class="data-v-fc75a286" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></up-icon><text class="data-v-fc75a286" style="font-size:24rpx;color:#333;margin-top:10rpx">{{item.c}}</text><view class="data-v-fc75a286" style="height:15rpx"></view></button></up-grid-item></up-grid></view><view class="mt30 data-v-fc75a286"><view class="home_notice data-v-fc75a286"><view class="home_notice_title data-v-fc75a286"><view class="data-v-fc75a286">系统公告</view><view style="font-size:28rpx" bindtap="{{g}}" class="u-flex-y-center data-v-fc75a286"> 更多 <up-icon wx:if="{{f}}" class="data-v-fc75a286" u-i="fc75a286-5" bind:__l="__l" u-p="{{f}}"></up-icon></view></view><view wx:for="{{h}}" wx:for-item="item" wx:key="d" class="data-v-fc75a286"><navigator wx:if="{{item.a}}" url="{{item.c}}" class="home_notice_view data-v-fc75a286"><view class="data-v-fc75a286">{{item.b}}</view></navigator></view></view></view><image class="data-v-fc75a286" bindtap="{{i}}" src="{{j}}" style="width:690rpx;margin:30rpx 0" mode="widthFix"></image><view class="shopList data-v-fc75a286"><image class="shopList_img data-v-fc75a286" src="{{k}}" mode="widthFix"></image><view class="shopList_list data-v-fc75a286"><view wx:for="{{l}}" wx:for-item="i" wx:key="d" class="shopList_list_view data-v-fc75a286" bindtap="{{i.e}}"><image class="shopList_list_view_img data-v-fc75a286" src="{{i.a}}" mode="aspectFit"></image><view class="shopList_list_view_tit data-v-fc75a286">{{i.b}}</view><view class="shopList_list_view_mon data-v-fc75a286"><view class="shopList_list_view_mon_left data-v-fc75a286">¥{{i.c}} 元</view></view></view></view></view><tabbar wx:if="{{m}}" class="data-v-fc75a286" u-i="fc75a286-6" bind:__l="__l" u-p="{{m}}"></tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.shopList.data-v-fc75a286{display:flex;align-items:center;flex-direction:column;justify-content:content}.shopList_img.data-v-fc75a286{width:308rpx;height:44rpx;margin-bottom:50rpx}.shopList_list.data-v-fc75a286{width:690rpx;display:flex;flex-wrap:wrap;justify-content:space-between}.shopList_list_view.data-v-fc75a286{border-radius:8rpx;width:334rpx;background-color:#fff;margin-bottom:30rpx;padding-bottom:20rpx}.shopList_list_view_img.data-v-fc75a286{width:334rpx;height:334rpx;border-radius:8rpx 8rpx 0rpx 0rpx}.shopList_list_view_tit.data-v-fc75a286{padding:10rpx 20rpx 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:30rpx;color:#232323}.shopList_list_view_mon.data-v-fc75a286{padding:0rpx 20rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.shopList_list_view_mon_left.data-v-fc75a286{font-weight:700;font-size:30rpx;color:#4874e5}.shopList_list_view_mon_right.data-v-fc75a286{width:80rpx;height:40rpx;display:flex;align-items:center;flex-direction:row;justify-content:center;font-size:26rpx;background-color:#4874e5;color:#fff;font-weight:700;border-radius:20rpx}.home_notice.data-v-fc75a286{background-color:#fff;border-radius:25rpx;padding:30rpx 40rpx}.home_notice_title.data-v-fc75a286{font-size:30rpx;font-weight:700;color:#4874e5;text-align:center;margin-bottom:30rpx;display:flex;align-items:center;justify-content:space-between}.home_notice_view.data-v-fc75a286{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;padding-bottom:20rpx}.home_notice_view view.data-v-fc75a286{max-width:600rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.homeIndex ::deep .u-grid-item.data-v-fc75a286{margin-top:0}.homeIndex button.data-v-fc75a286:after{all:unset}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/getBack.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/getBack.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("statusBar")+e.resolveComponent("up-input")+e.resolveComponent("up-code"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js"))();const s={__name:"getBack",setup(s){const t=e.index.getSystemInfoSync().statusBarHeight+"px";let r=e.ref(""),a=e.ref(null),i=e.reactive({userName:"",passwd:"",phone:"",smsCode:"",confirmPasswd:""}),u=e=>{r.value=e},d=()=>{if(!i.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});a.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),n.smsCode({phone:i.phone}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),a.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},l=async()=>i.userName?i.phone?11!=i.phone.length?e.index.showToast({title:"请输入正确的手机号",icon:"none"}):i.smsCode?i.passwd?i.confirmPasswd?i.passwd!=i.confirmPasswd?e.index.showToast({title:"两次密码输入不一致",icon:"none"}):(await n.forgotPassword(i),e.index.showToast({title:"修改成功",icon:"none"}),void setTimeout((()=>{e.index.navigateBack()}),200)):e.index.showToast({title:"请再次输入密码",icon:"none"}):e.index.showToast({title:"请输入密码",icon:"none"}):e.index.showToast({title:"请输入验证码",icon:"none"}):e.index.showToast({title:"请输入手机号",icon:"none"}):e.index.showToast({title:"请输入用户名",icon:"none"}),p=()=>{e.index.navigateBack()};return(n,s)=>({a:t,b:e.o(e.unref(p)),c:e.p({name:"arrow-left",bold:!0,color:"#000"}),d:o._imports_0$2,e:o._imports_1$1,f:e.o((o=>e.unref(i).userName=o)),g:e.p({fontSize:"30rpx",placeholder:"请输入您的用户名",border:"bottom",clearable:!0,modelValue:e.unref(i).userName}),h:e.o((o=>e.unref(i).passwd=o)),i:e.p({fontSize:"30rpx",type:"password",placeholder:"请输入您的密码",border:"bottom",clearable:!0,modelValue:e.unref(i).passwd}),j:e.o((o=>e.unref(i).confirmPasswd=o)),k:e.p({fontSize:"30rpx",type:"password",placeholder:"请再次输入您的密码",border:"bottom",clearable:!0,modelValue:e.unref(i).confirmPasswd}),l:e.o((o=>e.unref(i).phone=o)),m:e.p({fontSize:"30rpx",placeholder:"请输入您的手机号",border:"bottom",clearable:!0,modelValue:e.unref(i).phone}),n:e.o((o=>e.unref(i).smsCode=o)),o:e.p({fontSize:"30rpx",placeholder:"请输入验证码",border:"bottom",clearable:!0,modelValue:e.unref(i).smsCode}),p:e.sr(a,"f3c5f3e6-7",{k:"uCode"}),q:e.o(e.unref(u)),r:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),s:e.t(e.unref(r)),t:e.o(((...o)=>e.unref(d)&&e.unref(d)(...o))),v:e.unref(r),w:e.o(((...o)=>e.unref(l)&&e.unref(l)(...o)))})}},t=e._export_sfc(s,[["__scopeId","data-v-f3c5f3e6"]]);wx.createPage(t);
|
||||
10
unpackage/dist/build/mp-weixin/pages/login/getBack.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/login/getBack.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/getBack.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/getBack.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-f3c5f3e6"><view class="orderdetail_header p30 data-v-f3c5f3e6"><view class="data-v-f3c5f3e6" style="{{'height:' + a}}"></view><view class="data-v-f3c5f3e6" style="height:44px;display:flex;align-items:center"><up-icon wx:if="{{c}}" class="data-v-f3c5f3e6" bindclick="{{b}}" u-i="f3c5f3e6-0" bind:__l="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-f3c5f3e6" src="{{d}}"></image><status-bar class="data-v-f3c5f3e6" u-i="f3c5f3e6-1" bind:__l="__l"/><view class="login_logo data-v-f3c5f3e6"><image class="login_logo_img data-v-f3c5f3e6" src="{{e}}"></image><view class="login_logo_tit data-v-f3c5f3e6">欢迎来到星动能源</view></view><view class="data-v-f3c5f3e6" style="margin-top:150rpx"><view class="data-v-f3c5f3e6" style="margin-bottom:30rpx"><up-input wx:if="{{g}}" class="data-v-f3c5f3e6" u-i="f3c5f3e6-2" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-f3c5f3e6" style="margin-bottom:30rpx"><up-input wx:if="{{i}}" class="data-v-f3c5f3e6" u-i="f3c5f3e6-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-input></view><view class="data-v-f3c5f3e6" style="margin-bottom:30rpx"><up-input wx:if="{{k}}" class="data-v-f3c5f3e6" u-i="f3c5f3e6-4" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></up-input></view><view class="data-v-f3c5f3e6" style="margin-bottom:30rpx"><up-input wx:if="{{m}}" class="data-v-f3c5f3e6" u-i="f3c5f3e6-5" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"></up-input></view><view class="data-v-f3c5f3e6" style="margin-bottom:30rpx;display:flex;align-items:center"><up-input wx:if="{{o}}" class="data-v-f3c5f3e6" u-i="f3c5f3e6-6" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"></up-input><up-code wx:if="{{r}}" class="r data-v-f3c5f3e6" u-r="uCode" bindchange="{{q}}" u-i="f3c5f3e6-7" bind:__l="__l" u-p="{{r}}"></up-code><text class="data-v-f3c5f3e6" bindtap="{{t}}" text="{{v}}" style="font-size:28rpx;color:#4874e5">{{s}}</text></view></view><view class="data-v-f3c5f3e6" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-f3c5f3e6" bindtap="{{w}}">确认</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/getBack.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/getBack.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.login.data-v-f3c5f3e6{padding:0 60rpx}.login_bei.data-v-f3c5f3e6{position:fixed;right:0;top:0;width:608rpx;height:424rpx}.login_logo.data-v-f3c5f3e6{margin-top:150rpx}.login_logo_img.data-v-f3c5f3e6{width:152rpx;height:106rpx;border-radius:28rpx;margin-bottom:20rpx}.login_logo_tit.data-v-f3c5f3e6{font-weight:700;font-size:44rpx;color:#232323}.login_btn.data-v-f3c5f3e6{width:474rpx;height:78rpx;background:#4874e5;border-radius:54rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:30rpx;color:#fff}.orderdetail_header.data-v-f3c5f3e6{width:750rpx;position:fixed;left:0;top:0;z-index:99}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("statusBar")+e.resolveComponent("up-input")+e.resolveComponent("up-code"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js"))();const t={__name:"getBackAccout",setup(t){const s=e.index.getSystemInfoSync().statusBarHeight+"px";let r=e.ref(""),i=e.ref(null),a=e.reactive({phone:"",smsCode:""}),u=e=>{r.value=e},c=()=>{if(!a.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});i.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),n.smsCode({phone:a.phone}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),i.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},l=async()=>{if(!a.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});if(11!=a.phone.length)return e.index.showToast({title:"请输入正确的手机号",icon:"none"});if(!a.smsCode)return e.index.showToast({title:"请输入验证码",icon:"none"});let o=await n.forgotUserName(a);0==o.userNames.length?e.index.showModal({title:"提示",content:"该手机号还未注册",showCancel:!1,confirmText:"我知道了"}):e.index.showModal({title:"已找回的用户名",content:o.userNames.join(","),showCancel:!1,confirmText:"确认",success:()=>{e.index.setClipboardData({data:o.userNames.join(","),success:()=>{e.index.showToast({title:"已复制用户名"}),setTimeout((()=>{e.index.navigateBack()}),1500)}})}})},d=()=>{e.index.navigateBack()};return(n,t)=>({a:s,b:e.o(e.unref(d)),c:e.p({name:"arrow-left",bold:!0,color:"#000"}),d:o._imports_0$2,e:o._imports_1$1,f:e.o((o=>e.unref(a).phone=o)),g:e.p({fontSize:"30rpx",placeholder:"请输入您的手机号",border:"bottom",clearable:!0,modelValue:e.unref(a).phone}),h:e.o((o=>e.unref(a).smsCode=o)),i:e.p({fontSize:"30rpx",placeholder:"请输入验证码",border:"bottom",clearable:!0,modelValue:e.unref(a).smsCode}),j:e.sr(i,"1e450428-4",{k:"uCode"}),k:e.o(e.unref(u)),l:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),m:e.t(e.unref(r)),n:e.o(((...o)=>e.unref(c)&&e.unref(c)(...o))),o:e.unref(r),p:e.o(((...o)=>e.unref(l)&&e.unref(l)(...o)))})}},s=e._export_sfc(t,[["__scopeId","data-v-1e450428"]]);wx.createPage(s);
|
||||
10
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-1e450428"><view class="orderdetail_header p30 data-v-1e450428"><view class="data-v-1e450428" style="{{'height:' + a}}"></view><view class="data-v-1e450428" style="height:44px;display:flex;align-items:center"><up-icon wx:if="{{c}}" class="data-v-1e450428" bindclick="{{b}}" u-i="1e450428-0" bind:__l="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-1e450428" src="{{d}}"></image><status-bar class="data-v-1e450428" u-i="1e450428-1" bind:__l="__l"/><view class="login_logo data-v-1e450428"><image class="login_logo_img data-v-1e450428" src="{{e}}"></image><view class="login_logo_tit data-v-1e450428">欢迎来到星动能源</view></view><view class="data-v-1e450428" style="margin-top:150rpx"><view class="data-v-1e450428" style="margin-bottom:30rpx"><up-input wx:if="{{g}}" class="data-v-1e450428" u-i="1e450428-2" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-1e450428" style="margin-bottom:30rpx;display:flex;align-items:center"><up-input wx:if="{{i}}" class="data-v-1e450428" u-i="1e450428-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-input><up-code wx:if="{{l}}" class="r data-v-1e450428" u-r="uCode" bindchange="{{k}}" u-i="1e450428-4" bind:__l="__l" u-p="{{l}}"></up-code><text class="data-v-1e450428" bindtap="{{n}}" text="{{o}}" style="font-size:28rpx;color:#4874e5">{{m}}</text></view></view><view class="data-v-1e450428" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-1e450428" bindtap="{{p}}">确认</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/getBackAccout.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.login.data-v-1e450428{padding:0 60rpx}.login_bei.data-v-1e450428{position:fixed;right:0;top:0;width:608rpx;height:424rpx}.login_logo.data-v-1e450428{margin-top:150rpx}.login_logo_img.data-v-1e450428{width:152rpx;height:106rpx;border-radius:28rpx;margin-bottom:20rpx}.login_logo_tit.data-v-1e450428{font-weight:700;font-size:44rpx;color:#232323}.login_btn.data-v-1e450428{width:474rpx;height:78rpx;background:#4874e5;border-radius:54rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:30rpx;color:#fff}.orderdetail_header.data-v-1e450428{width:750rpx;position:fixed;left:0;top:0;z-index:99}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),n=require("../../api/api.js"),t=require("../../store/index.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("statusBar")+e.resolveComponent("up-input"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js"))();const r={__name:"login",setup(r){const a=e.index.getSystemInfoSync().statusBarHeight+"px";e.ref("");let s=e.reactive({userName:"",passwd:"",uuid:"",captcha:""}),i=()=>{e.index.navigateBack()},u=()=>{e.index.navigateTo({url:"/pages/login/register"})},c=()=>{e.index.navigateTo({url:"./getBackAccout"})},p=()=>{e.index.navigateTo({url:"/pages/login/getBack"})},l=async()=>{try{const{code:o}=await e.index.login();let r=await n.loginApi(s);e.index.setStorageSync("token",r.token),e.index.setStorageSync("user",r),t.store.commit("setToken",r.token);await n.saveOpenIdByWxCode({loginCode:o});e.index.showToast({title:"登录成功",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),200)}catch(o){}};return(n,t)=>({a:a,b:e.o(e.unref(i)),c:e.p({name:"arrow-left",bold:!0,color:"#000"}),d:o._imports_0$2,e:o._imports_1$1,f:e.o((o=>e.unref(s).userName=o)),g:e.p({fontSize:"30rpx",placeholder:"请输入您的用户名",border:"bottom",clearable:!0,modelValue:e.unref(s).userName}),h:e.o((o=>e.unref(s).passwd=o)),i:e.p({fontSize:"30rpx",type:"password",placeholder:"请输入您的密码",border:"bottom",clearable:!0,modelValue:e.unref(s).passwd}),j:e.o(((...o)=>e.unref(c)&&e.unref(c)(...o))),k:e.o(((...o)=>e.unref(p)&&e.unref(p)(...o))),l:e.o(((...o)=>e.unref(l)&&e.unref(l)(...o))),m:e.o(((...o)=>e.unref(u)&&e.unref(u)(...o)))})}},a=e._export_sfc(r,[["__scopeId","data-v-79e1360b"]]);wx.createPage(a);
|
||||
9
unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-79e1360b"><view class="orderdetail_header p30 data-v-79e1360b"><view class="data-v-79e1360b" style="{{'height:' + a}}"></view><view class="data-v-79e1360b" style="height:44px;display:flex;align-items:center"><up-icon wx:if="{{c}}" class="data-v-79e1360b" bindclick="{{b}}" u-i="79e1360b-0" bind:__l="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-79e1360b" src="{{d}}"></image><status-bar class="data-v-79e1360b" u-i="79e1360b-1" bind:__l="__l"/><view class="login_logo data-v-79e1360b"><image class="login_logo_img data-v-79e1360b" src="{{e}}"></image><view class="login_logo_tit data-v-79e1360b">欢迎来到星动能源</view></view><view class="data-v-79e1360b" style="margin-top:150rpx"><view class="data-v-79e1360b" style="margin-bottom:50rpx"><up-input wx:if="{{g}}" class="data-v-79e1360b" u-i="79e1360b-2" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-79e1360b"><up-input wx:if="{{i}}" class="data-v-79e1360b" u-i="79e1360b-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-input></view></view><view class="data-v-79e1360b" style="font-size:28rpx;color:#666;margin-top:20rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-79e1360b"> 忘记账号? <text class="data-v-79e1360b" style="color:#4874e5" bindtap="{{j}}">找回用户名</text></view><view class="data-v-79e1360b"><text class="data-v-79e1360b" style="color:#4874e5" bindtap="{{k}}">忘记密码</text></view></view><view class="data-v-79e1360b" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-79e1360b" bindtap="{{l}}">登录</view></view><view class="data-v-79e1360b" style="display:flex;justify-content:center;margin-top:40rpx;opacity:0.5"><view class="login_btn data-v-79e1360b" bindtap="{{m}}">还没有账号?立即注册</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.login.data-v-79e1360b{padding:0 60rpx}.login_bei.data-v-79e1360b{position:fixed;right:0;top:0;width:608rpx;height:424rpx}.login_logo.data-v-79e1360b{margin-top:150rpx}.login_logo_img.data-v-79e1360b{width:152rpx;height:106rpx;border-radius:28rpx;margin-bottom:20rpx}.login_logo_tit.data-v-79e1360b{font-weight:700;font-size:44rpx;color:#232323}.login_btn.data-v-79e1360b{width:474rpx;height:78rpx;background:#4874e5;border-radius:54rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:30rpx;color:#fff}.orderdetail_header.data-v-79e1360b{width:750rpx;position:fixed;left:0;top:0;z-index:99}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/register.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/register.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("statusBar")+e.resolveComponent("up-input")+e.resolveComponent("up-code")+e.resolveComponent("up-checkbox"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js")+(()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js"))();const t={__name:"register",setup(t){const s=e.index.getSystemInfoSync().statusBarHeight+"px";let r=e.ref(""),a=e.ref(null);e.ref("");let i=e.reactive({userName:"",passwd:"",shareCode:"",phone:"",platform:1,smsCode:"",confirmPasswd:""}),u=e.ref(!1);e.onLoad((()=>{const o=e.index.getStorageSync("invite_code");o&&(i.shareCode=o)}));let d=e=>{u.value=e},l=()=>{e.index.navigateBack()},p=e=>{r.value=e},c=()=>{if(!i.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});a.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),n.smsCode({phone:i.phone}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),a.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},m=async()=>u.value?i.userName?i.phone?11!=i.phone.length?e.index.showToast({title:"请输入正确的手机号",icon:"none"}):i.smsCode?i.shareCode?i.passwd?i.confirmPasswd?i.passwd!=i.confirmPasswd?e.index.showToast({title:"两次密码输入不一致",icon:"none"}):(await n.registerApi(i),e.index.showToast({title:"注册成功",icon:"none"}),void setTimeout((()=>{e.index.navigateBack()}),200)):e.index.showToast({title:"请再次输入密码",icon:"none"}):e.index.showToast({title:"请输入密码",icon:"none"}):e.index.showToast({title:"请输入邀请码",icon:"none"}):e.index.showToast({title:"请输入验证码",icon:"none"}):e.index.showToast({title:"请输入手机号",icon:"none"}):e.index.showToast({title:"请输入用户名",icon:"none"}):e.index.showToast({title:"请先阅读并勾选隐私政策和用户注册服务协议",icon:"none"}),f=()=>{e.index.navigateBack()};return(n,t)=>({a:s,b:e.o(e.unref(f)),c:e.p({name:"arrow-left",bold:!0,color:"#000"}),d:o._imports_0$2,e:o._imports_1$1,f:e.o((o=>e.unref(i).userName=o)),g:e.p({fontSize:"30rpx",placeholder:"请输入您的用户名",border:"bottom",clearable:!0,modelValue:e.unref(i).userName}),h:e.o((o=>e.unref(i).phone=o)),i:e.p({fontSize:"30rpx",placeholder:"请输入您的手机号",border:"bottom",clearable:!0,modelValue:e.unref(i).phone}),j:e.o((o=>e.unref(i).smsCode=o)),k:e.p({fontSize:"30rpx",placeholder:"请输入验证码",border:"bottom",clearable:!0,modelValue:e.unref(i).smsCode}),l:e.sr(a,"72154356-5",{k:"uCode"}),m:e.o(e.unref(p)),n:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),o:e.t(e.unref(r)),p:e.o(((...o)=>e.unref(c)&&e.unref(c)(...o))),q:e.unref(r),r:e.o((o=>e.unref(i).shareCode=o)),s:e.p({fontSize:"30rpx",placeholder:"请输入您的邀请码",border:"bottom",clearable:!0,modelValue:e.unref(i).shareCode}),t:e.o((o=>e.unref(i).passwd=o)),v:e.p({fontSize:"30rpx",type:"password",placeholder:"请输入您的密码",border:"bottom",clearable:!0,modelValue:e.unref(i).passwd}),w:e.o((o=>e.unref(i).confirmPasswd=o)),x:e.p({fontSize:"30rpx",type:"password",placeholder:"请再次输入您的密码",border:"bottom",clearable:!0,modelValue:e.unref(i).confirmPasswd}),y:e.o(((...o)=>e.unref(l)&&e.unref(l)(...o))),z:e.o(((...o)=>e.unref(m)&&e.unref(m)(...o))),A:e.o(e.unref(d)),B:e.p({customStyle:{marginRight:"15rpx",marginBotton:0}})})}},s=e._export_sfc(t,[["__scopeId","data-v-72154356"]]);wx.createPage(s);
|
||||
11
unpackage/dist/build/mp-weixin/pages/login/register.json
vendored
Normal file
11
unpackage/dist/build/mp-weixin/pages/login/register.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/register.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/register.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-72154356"><view class="orderdetail_header p30 data-v-72154356"><view class="data-v-72154356" style="{{'height:' + a}}"></view><view class="data-v-72154356" style="height:44px;display:flex;align-items:center"><up-icon wx:if="{{c}}" class="data-v-72154356" bindclick="{{b}}" u-i="72154356-0" bind:__l="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-72154356" src="{{d}}"></image><view class="data-v-72154356" style="padding:0 60rpx"><status-bar class="data-v-72154356" u-i="72154356-1" bind:__l="__l"/><view class="login_logo data-v-72154356"><image class="login_logo_img data-v-72154356" src="{{e}}"></image><view class="login_logo_tit data-v-72154356">欢迎来到星动能源</view></view><view class="data-v-72154356" style="margin-top:100rpx"><view class="data-v-72154356"><up-input wx:if="{{g}}" class="data-v-72154356" u-i="72154356-2" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-72154356" style="font-size:26rpx;color:#ff9900;margin:10rpx 0 10rpx;padding-left:9px">用户名由字母或数字组成,长度6-32</view><view class="data-v-72154356" style="margin-bottom:30rpx"><up-input wx:if="{{i}}" class="data-v-72154356" u-i="72154356-3" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-input></view><view class="data-v-72154356" style="margin-bottom:30rpx;display:flex;align-items:center"><up-input wx:if="{{k}}" class="data-v-72154356" u-i="72154356-4" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></up-input><up-code wx:if="{{n}}" class="r data-v-72154356" u-r="uCode" bindchange="{{m}}" u-i="72154356-5" bind:__l="__l" u-p="{{n}}"></up-code><text class="data-v-72154356" bindtap="{{p}}" text="{{q}}" style="font-size:28rpx;color:#4874e5">{{o}}</text></view><view class="data-v-72154356" style="margin-bottom:30rpx"><up-input wx:if="{{s}}" class="data-v-72154356" u-i="72154356-6" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"></up-input></view><view class="data-v-72154356"><up-input wx:if="{{v}}" class="data-v-72154356" u-i="72154356-7" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"></up-input></view><view class="data-v-72154356" style="font-size:26rpx;color:#ff9900;margin:10rpx 0 10rpx;padding-left:9px">密码必须包含字母、数字长度8-32</view><view class="data-v-72154356" style="margin-bottom:30rpx"><up-input wx:if="{{x}}" class="data-v-72154356" u-i="72154356-8" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"></up-input></view></view><view class="data-v-72154356" style="font-size:28rpx;color:#666;margin-top:20rpx"> 已有账号? <text class="data-v-72154356" style="color:#4874e5" bindtap="{{y}}">立即登录</text></view><view class="data-v-72154356" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-72154356" bindtap="{{z}}">注册</view></view></view><view class="data-v-72154356" style="display:flex;flex-wrap:wrap;justify-content:center;margin-top:20rpx;font-size:26rpx;align-items:center"><up-checkbox wx:if="{{B}}" class="data-v-72154356" bindchange="{{A}}" u-i="72154356-9" bind:__l="__l" u-p="{{B}}"></up-checkbox> 已阅读并同意 <navigator class="data-v-72154356" url="/pages/agreement/agreement?id=9" style="color:#4874e5">《用户注册服务协议》</navigator> 和 <navigator class="data-v-72154356" url="/pages/agreement/agreement?id=10" style="color:#4874e5">《隐私政策》</navigator></view><view class="data-v-72154356" style="height:150rpx"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/register.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/register.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.login_bei.data-v-72154356{position:fixed;right:0;top:0;width:608rpx;height:424rpx}.login_logo.data-v-72154356{margin-top:150rpx}.login_logo_img.data-v-72154356{width:152rpx;height:106rpx;border-radius:28rpx;margin-bottom:20rpx}.login_logo_tit.data-v-72154356{font-weight:700;font-size:44rpx;color:#232323}.login_btn.data-v-72154356{width:474rpx;height:78rpx;background:#4874e5;border-radius:54rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:30rpx;color:#fff}.orderdetail_header.data-v-72154356{width:750rpx;position:fixed;left:0;top:0;z-index:99}
|
||||
1
unpackage/dist/build/mp-weixin/pages/market/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/market/detail.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){e.resolveComponent("mp-html")()}Math;const n={__name:"detail",setup(n){let r=e.ref({});return e.onLoad((async e=>{let n=await t.getContentInfo({id:e.id});r.value=n})),(t,n)=>e.e({a:e.t(e.unref(r).title),b:e.t(e.unref(r).createTime),c:e.unref(r).video},e.unref(r).video?{d:e.unref(r).video}:{},{e:e.p({content:e.unref(r).detail})})}};wx.createPage(n);
|
||||
6
unpackage/dist/build/mp-weixin/pages/market/detail.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/market/detail.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/market/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/market/detail.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view style="font-size:34rpx">{{a}}</view><view style="height:20rpx"></view><view style="color:#999;font-size:30rpx">发布时间:{{b}}</view><view style="height:20rpx"></view><video wx:if="{{c}}" src="{{d}}" style="width:100%"></video><view style="height:20rpx"></view><mp-html wx:if="{{e}}" u-i="006554ff-0" bind:__l="__l" u-p="{{e}}"/><view style=""></view></view>
|
||||
0
unpackage/dist/build/mp-weixin/pages/market/detail.wxss
vendored
Normal file
0
unpackage/dist/build/mp-weixin/pages/market/detail.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/market/market.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/market/market.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("up-tabs")+e.resolveComponent("statusBar")+e.resolveComponent("z-paging")+e.resolveComponent("tabbar"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-tabs/u-tabs.js")+(()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../components/tabbar/tabbar.js"))();const a={__name:"market",setup(a){const t=e.reactive({cid:4});let r=e.ref();e.onLoad((async()=>{e.index.hideTabBar();let a=await o.getContentCategoryList();r.value=a.records,t.cid=r.value[0].id,s.value.reload()})),e.onShow((async()=>{e.index.hideTabBar()}));let n=e=>{console.log(e),t.cid=e.id,s.value.reload()};const s=e.ref(null);let l=e.ref([]),c=()=>!s.value;e.onPullDownRefresh((()=>{c()||s.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{c()||(s.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&s.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{c()||s.value.pageReachBottom()}));const u=(e,a)=>{const r={current:e,pageSize:a,...t};o.getContentList(r).then((e=>{s.value.complete(e.records)})).catch((e=>{s.value.complete(!1)}))};let i=o=>{e.index.navigateTo({url:o})};return(o,a)=>({a:e.o(e.unref(n)),b:e.p({list:e.unref(r)}),c:e.f(e.unref(l),((o,a,t)=>e.e({a:o.cover},o.cover?{b:o.cover}:{c:e.t(o.title)},{d:o,e:e.o((a=>e.unref(i)(`/pages/market/detail?id=${o.id}`)),o)}))),d:e.sr(s,"f3236f17-0",{k:"paging"}),e:e.o(u),f:e.o((o=>e.isRef(l)?l.value=o:l=o)),g:e.p({"use-page-scroll":!0,modelValue:e.unref(l)}),h:e.p({path:"/pages/market/market"})})}},t=e._export_sfc(a,[["__scopeId","data-v-f3236f17"]]);a.__runtimeHooks=1,wx.createPage(t);
|
||||
10
unpackage/dist/build/mp-weixin/pages/market/market.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/market/market.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-tabs": "../../uni_modules/uview-plus/components/u-tabs/u-tabs",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/market/market.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/market/market.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-f3236f17" style="padding-bottom:150rpx"><z-paging wx:if="{{g}}" class="r data-v-f3236f17" u-s="{{['d']}}" u-r="paging" bindquery="{{e}}" u-i="f3236f17-0" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><status-bar class="data-v-f3236f17" u-s="{{['d']}}" u-i="f3236f17-1,f3236f17-0" bind:__l="__l"><up-tabs wx:if="{{b}}" class="data-v-f3236f17" bindclick="{{a}}" u-i="f3236f17-2,f3236f17-1" bind:__l="__l" u-p="{{b}}"></up-tabs></status-bar><view wx:for="{{c}}" wx:for-item="i" wx:key="d" class="order_view data-v-f3236f17" bindtap="{{i.e}}"><image wx:if="{{i.a}}" class="data-v-f3236f17" src="{{i.b}}" mode="aspectFill" style="width:690rpx;height:248rpx;margin-top:30rpx;border-radius:10rpx"></image><view wx:else class="mt30 data-v-f3236f17" style="display:flex;align-items:center;height:80rpx;background-color:#fff;padding:0 30rpx;justify-content:space-between"><view class="data-v-f3236f17">{{i.c}}</view></view></view></z-paging><tabbar wx:if="{{h}}" class="data-v-f3236f17" u-i="f3236f17-3" bind:__l="__l" u-p="{{h}}"></tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/market/market.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/market/market.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.order_list_header.data-v-f3236f17{width:100%;height:100rpx;display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:36rpx;color:#232323}.order_list_header_view.data-v-f3236f17{position:relative;margin-right:50rpx}.order_list_header_view view.data-v-f3236f17{position:relative;z-index:99}.order_list_header_view_dian.data-v-f3236f17{position:absolute!important;bottom:0rpx;right:20rpx;width:66rpx;height:20rpx;background-color:#4874e5;border-radius:10rpx;z-index:1!important}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js");require("../../uni_modules/uview-plus/index.js");const t=require("../../api/api.js"),a=require("../../hooks/useNav.js");if(!Array){(e.resolveComponent("up-grid-item")+e.resolveComponent("up-grid")+e.resolveComponent("up-icon"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js")+(()=>"../../uni_modules/uview-plus/components/u-grid/u-grid.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js"))();const r={__name:"balanceIncome",setup(r){const{nav:n,navTo:s}=a.useNav();let i=e.ref({});e.ref({});let u=e.ref(0),p=e.ref(0),f=e.ref(0),m=e.ref(0),l=e.ref([{name:"收益统计",type:"收益",data:{}},{name:"推广统计",type:"推广",data:{}},{name:"邀请统计",type:"邀请",data:{}}]);e.ref(1),e.onShow((async()=>{let e=await t.userInfo();i.value=e,d();let o=await t.freezeTotal();m.value=o.income,f.value=o.wallet}));let d=async()=>{let e=await t.userStat();u.value=e.devices,p.value=e.teamDevices,l.value.map(((o,t)=>{"推广"==o.type&&(o.data={day_money:e.ordersToday,week_money1:e.ordersLastWeek,week_money0:e.ordersThisWeek,total_money:e.orders30Days}),"收益"==o.type&&(o.data={day_money:e.pointDeviceToday,week_money1:e.pointDeviceLastWeek,week_money0:e.pointDeviceThisWeek,total_money:e.pointDevice30Days}),"邀请"==o.type&&(o.data={day_money:e.usersDay,week_money1:e.usersLastWeek,week_money0:e.usersThisWeek,total_money:e.users30Days})}))};return(t,a)=>e.e({a:e.t(e.unref(i).points2||"0.00"),b:e.t(e.unref(i).points1||"0.00"),c:e.o((o=>e.unref(s)("/pages/mine/topUp",!0))),d:e.o((o=>e.unref(s)("/pages/wallet/withdraw",!0))),e:o._imports_0$3,f:e.o((o=>e.unref(s)("/pages/wallet/incomeList",!0))),g:e.p({bgColor:"#fff"}),h:o._imports_1$2,i:e.o((o=>e.unref(s)("/pages/mine/transferBalance",!0))),j:e.p({bgColor:"#fff"}),k:o._imports_1$2,l:e.o((o=>e.unref(s)("/pages/mine/toUser",!0))),m:e.p({bgColor:"#fff"}),n:o._imports_2,o:e.o((o=>e.unref(s)("/pages/wallet/withdrawList",!0))),p:e.p({bgColor:"#fff"}),q:e.p({border:!1,col:"4"}),r:e.unref(i).point2Give&&1==e.unref(i).point2Give},e.unref(i).point2Give&&1==e.unref(i).point2Give?{s:o._imports_1$2,t:e.o((o=>e.unref(s)("/pages/mine/toUser2",!0))),v:e.p({bgColor:"#fff"}),w:e.p({border:!1,col:"4"})}:{},{x:e.t(e.unref(f)),y:e.p({name:"arrow-right",color:"#2979ff",size:"16"}),z:e.o((o=>e.unref(s)("/pages/wallet/freezeMoney",!0))),A:e.t(e.unref(m)),B:e.p({name:"arrow-right",color:"#2979ff",size:"16"}),C:e.o((o=>e.unref(s)("/pages/wallet/freezeEarnings",!0))),D:e.t(e.unref(u)||0),E:e.t(e.unref(p)||0),F:e.f(e.unref(l),((o,t,a)=>({a:e.t(o.name),b:e.t(o.data.day_money||0),c:e.t(o.type),d:e.t(o.data.week_money1||0),e:e.t(o.type),f:e.t(o.data.week_money0||0),g:e.t(o.type),h:e.t(o.data.total_money||0),i:e.t(o.type),j:t})))})}},n=e._export_sfc(r,[["__scopeId","data-v-c8ba1f6a"]]);r.__runtimeHooks=1,wx.createPage(n);
|
||||
8
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/balanceIncome.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wallet_pall.data-v-c8ba1f6a{height:200rpx;border-radius:16rpx 16rpx 0rpx 0rpx;padding:40rpx;background:linear-gradient(179deg,#5082ff,#4278ff);display:flex;align-items:center;flex-direction:row;justify-content:space-between;border-bottom:1rpx solid rgba(153,153,153,.6)}.wallet_pall_header.data-v-c8ba1f6a{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-c8ba1f6a{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-c8ba1f6a:nth-child(1){font-weight:700;font-size:68rpx;color:#fff}.wallet_pall_ye view.data-v-c8ba1f6a: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:#fff}.wallet_pall_view.data-v-c8ba1f6a{display:flex;flex-direction:column;align-items:center;justify-content:center}.wallet_pall_view view.data-v-c8ba1f6a:nth-child(1){font-weight:700;font-size:45rpx;color:#fff;margin-bottom:30rpx}.wallet_pall_view view.data-v-c8ba1f6a:nth-child(2){font-size:28rpx;color:#fff}.wallet_list.data-v-c8ba1f6a{width:690rpx;height:120rpx;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-c8ba1f6a:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-c8ba1f6a:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_right.data-v-c8ba1f6a{font-weight:700;font-size:28rpx;color:#ff2727}.mine_block.data-v-c8ba1f6a{padding:24rpx;background-color:#fff;border-radius:12rpx;margin-bottom:20rpx}.mine_block_tit.data-v-c8ba1f6a{display:flex;align-items:center;justify-content:space-between}.mine_block_tit_left.data-v-c8ba1f6a{font-weight:700;font-size:28rpx;color:#232323}.mine_block_tit_right.data-v-c8ba1f6a{display:flex;align-items:center;font-size:24rpx;color:#cbd73b}.mine_block_tit_right image.data-v-c8ba1f6a{width:13rpx;height:22rpx;margin-left:15rpx;margin-top:6rpx}.mine_block_view.data-v-c8ba1f6a{width:100%;min-height:120rpx;border-radius:12rpx;border:2rpx solid rgba(55,112,174,.1);margin-top:16rpx;display:flex;align-items:center;font-size:28rpx;color:#232323;padding:20rpx 30rpx;text-align:center}.mine_block_view image.data-v-c8ba1f6a{width:48rpx;height:48rpx;margin-right:25rpx}.u-flex-y-center.data-v-c8ba1f6a{display:flex;flex-direction:row;justify-content:start;align-items:center}.u-flex-between.data-v-c8ba1f6a{justify-content:space-between}.u-flex-fill.data-v-c8ba1f6a{flex:1 1 auto}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js");require("../../uni_modules/uview-plus/index.js");const n=require("../../api/api.js"),t=require("../../hooks/useNav.js"),s=require("../../money.js"),r=require("../../uni_modules/uview-plus/libs/function/index.js");if(!Array){(e.resolveComponent("up-grid-item")+e.resolveComponent("up-grid")+e.resolveComponent("uni-section")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js")+(()=>"../../uni_modules/uview-plus/components/u-grid/u-grid.js")+(()=>"../../uni_modules/uni-section/components/uni-section/uni-section.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const a={__name:"earnings",setup(a){const{nav:i,navTo:u}=t.useNav();let l=e.ref({});const p=e.ref(null);let c=e.ref([]),m=e.ref(1);e.onShow((async()=>{let e=await n.userInfo();l.value=e,1!=m.value&&p.value.reload(),m.value++}));let d=()=>!p.value;e.onPullDownRefresh((()=>{d()||p.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{d()||(p.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&p.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{d()||p.value.pageReachBottom()}));const g=(o,t)=>{let{id:s}=e.index.getStorageSync("user");const r={current:o,pageSize:t,userId:s};n.getUsersPoint1Info(r).then((e=>{p.value.complete(e.records)})).catch((e=>{p.value.complete(!1)}))};return(n,t)=>({a:e.t(e.unref(l).points1||"0.00"),b:e.o((o=>e.unref(u)("/pages/mine/transferBalance",!0))),c:o._imports_0$3,d:e.o((o=>e.unref(u)("/pages/wallet/incomeList",!0))),e:o._imports_2,f:e.o((o=>e.unref(u)("/pages/wallet/withdrawList",!0))),g:o._imports_2$1,h:e.o((o=>e.unref(u)("/pages/wallet/withdraw",!0))),i:o._imports_3,j:e.o((o=>e.unref(u)("/pages/wallet/bankCard",!0))),k:e.p({border:!1,col:"4"}),l:e.p({title:"最新记录",type:"line",titleFontSize:"32rpx"}),m:e.f(e.unref(c),((o,n,t)=>({a:e.t(e.unref(s.moneyJson).find((e=>e.id==o.type)).name),b:e.t(e.unref(r.timeFormat)(new Date(o.createTime).getTime(),"yyyy-mm-dd hh:MM")),c:e.t(o.points),d:n}))),n:e.sr(p,"a3a9f3b8-0",{k:"paging"}),o:e.o(g),p:e.o((o=>e.isRef(c)?c.value=o:c=o)),q:e.p({"use-page-scroll":!0,modelValue:e.unref(c)})})}},i=e._export_sfc(a,[["__scopeId","data-v-a3a9f3b8"]]);a.__runtimeHooks=1,wx.createPage(i);
|
||||
9
unpackage/dist/build/mp-weixin/pages/mine/earnings.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/mine/earnings.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "收益",
|
||||
"usingComponents": {
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"uni-section": "../../uni_modules/uni-section/components/uni-section/uni-section",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-a3a9f3b8"><z-paging wx:if="{{q}}" class="r data-v-a3a9f3b8" u-s="{{['d']}}" u-r="paging" bindquery="{{o}}" u-i="a3a9f3b8-0" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"><view class="wallet_pall data-v-a3a9f3b8"><view class="wallet_pall_header data-v-a3a9f3b8">当前收益(元)</view><view class="wallet_pall_ye data-v-a3a9f3b8"><view class="data-v-a3a9f3b8">{{a}}</view><view class="data-v-a3a9f3b8" bindtap="{{b}}">转入余额</view></view></view><view class="mt30 data-v-a3a9f3b8"><up-grid wx:if="{{k}}" class="data-v-a3a9f3b8" u-s="{{['d']}}" u-i="a3a9f3b8-1,a3a9f3b8-0" bind:__l="__l" u-p="{{k}}"><up-grid-item class="data-v-a3a9f3b8" u-s="{{['d']}}" bindclick="{{d}}" u-i="a3a9f3b8-2,a3a9f3b8-1" bind:__l="__l"><image class="data-v-a3a9f3b8" src="{{c}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-a3a9f3b8" style="font-size:28rpx;color:#333;margin-top:10rpx">收支明细</text><view class="data-v-a3a9f3b8" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-a3a9f3b8" u-s="{{['d']}}" bindclick="{{f}}" u-i="a3a9f3b8-3,a3a9f3b8-1" bind:__l="__l"><image class="data-v-a3a9f3b8" src="{{e}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-a3a9f3b8" style="font-size:28rpx;color:#333;margin-top:10rpx">提现明细</text><view class="data-v-a3a9f3b8" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-a3a9f3b8" u-s="{{['d']}}" bindclick="{{h}}" u-i="a3a9f3b8-4,a3a9f3b8-1" bind:__l="__l"><image class="data-v-a3a9f3b8" src="{{g}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-a3a9f3b8" style="font-size:28rpx;color:#333;margin-top:10rpx">提现</text><view class="data-v-a3a9f3b8" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-a3a9f3b8" u-s="{{['d']}}" bindclick="{{j}}" u-i="a3a9f3b8-5,a3a9f3b8-1" bind:__l="__l"><image class="data-v-a3a9f3b8" src="{{i}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-a3a9f3b8" style="font-size:28rpx;color:#333;margin-top:10rpx">银行卡</text><view class="data-v-a3a9f3b8" style="height:15rpx"></view></up-grid-item></up-grid></view><view class="mt30 data-v-a3a9f3b8"><uni-section wx:if="{{l}}" class="data-v-a3a9f3b8" u-i="a3a9f3b8-6,a3a9f3b8-0" bind:__l="__l" u-p="{{l}}"></uni-section></view><view wx:for="{{m}}" wx:for-item="item" wx:key="d" class="mt30 wallet_list data-v-a3a9f3b8"><view class="wallet_list_left data-v-a3a9f3b8"><view class="data-v-a3a9f3b8">{{item.a}}</view><view class="data-v-a3a9f3b8">{{item.b}}</view></view><view class="wallet_list_right data-v-a3a9f3b8">{{item.c}}元</view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wallet_pall.data-v-a3a9f3b8{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-a3a9f3b8{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-a3a9f3b8{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-a3a9f3b8:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-a3a9f3b8: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-a3a9f3b8{width:690rpx;height:120rpx;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-a3a9f3b8:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-a3a9f3b8:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_right.data-v-a3a9f3b8{font-weight:700;font-size:28rpx;color:#ff2727}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n=require("../../common/assets.js"),o=require("../../hooks/useNav.js"),r=require("../../api/api.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("up-tag")+e.resolveComponent("up-grid-item")+e.resolveComponent("up-grid")+e.resolveComponent("up-icon")+e.resolveComponent("up-image")+e.resolveComponent("tabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js")+(()=>"../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js")+(()=>"../../uni_modules/uview-plus/components/u-grid/u-grid.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-image/u-image.js")+(()=>"../../components/tabbar/tabbar.js"))();const a={__name:"mine",setup(a){const{nav:i,navTo:s}=o.useNav();let t=e.ref({}),u=e.ref(!0);e.onLoad((()=>{e.index.hideTabBar()}));const l=e.reactive([{img:"/static/icon/dd.png",name:"订单",path:"/pages/order/order",login:!0},{img:"/static/icon/zb.png",name:"邀请记录",path:"/pages/shareList/shareList",login:!0},{img:"/static/icon/dz.png",name:"充电桩",path:"/pages/piles/piles",login:!0},{img:"/static/icon/kf.png",name:"联系客服",login:!1,openType:"contact"}]);e.onShow((()=>{e.index.hideTabBar(),e.index.getStorageSync("token")||""?(p(),u.value=!0):(t.value={},u.value=!1)}));let p=async()=>{try{let n=await r.userInfo();t.value=n,e.index.setStorageSync("user",n)}catch(n){console.log(123456),t.value={},u.value=!1}},m=n=>{e.index.setClipboardData({data:n,success:function(){}})};return(o,r)=>{var a,i,p,d,c,f;return e.e({a:e.unref(t).avatar||"/static/icon/avatar.png",b:e.unref(u)},e.unref(u)?e.e({c:e.unref(t).nickName},e.unref(t).nickName?{d:e.t(e.unref(t).nickName||"")}:{},{e:1==e.unref(t).level},1==e.unref(t).level?{f:e.p({text:"运营中心",plain:!0,size:"mini",borderColor:"#fa7d02",color:"#fa7d02"})}:{},{g:2==e.unref(t).level},2==e.unref(t).level?{h:e.p({text:"合伙人",plain:!0,size:"mini",borderColor:"#fa7d02",color:"#fa7d02"})}:{},{i:3==e.unref(t).level},3==e.unref(t).level?{j:e.p({text:"省分公司",plain:!0,size:"mini",borderColor:"#fa7d02",color:"#fa7d02"})}:{},{k:e.t(e.unref(t).userName||"")}):{},{l:e.unref(u)},e.unref(u)?{m:n._imports_0$1}:{},{n:e.o((n=>e.unref(s)("/pages/mine/setting",!0))),o:e.t(e.unref(t).points2||"0.00"),p:e.o((n=>e.unref(s)("/pages/mine/balanceIncome",!0))),q:e.t(e.unref(t).points1||"0.00"),r:e.o((n=>e.unref(s)("/pages/mine/balanceIncome",!0))),s:e.t(e.unref(t).deviceNum||0),t:e.o((n=>e.unref(s)("/pages/piles/piles",!0))),v:e.p({border:!1,col:"3"}),w:null==(i=null==(a=e.unref(t))?void 0:a.formUsersInfo)?void 0:i.userName},(null==(d=null==(p=e.unref(t))?void 0:p.formUsersInfo)?void 0:d.userName)?{x:e.t(null==(f=null==(c=e.unref(t))?void 0:c.formUsersInfo)?void 0:f.userName)}:{},{y:e.f(l,((n,o,r)=>({a:"0a37936b-10-"+r+",0a37936b-9-"+r,b:e.p({imgMode:"widthFix",name:n.img,size:27}),c:e.t(n.name),d:n.openType,e:o,f:e.o((o=>e.unref(s)(n.path,n.login,n.call)),o),g:"0a37936b-9-"+r+",0a37936b-8"}))),z:e.p({bgColor:"#fff"}),A:e.p({border:!1,col:"4"}),B:e.unref(t).qrCode},e.unref(t).qrCode?e.e({C:0==e.unref(t).pemType},0==e.unref(t).pemType?{}:{D:e.t(e.unref(t).shareCode),E:e.o((n=>e.unref(m)(e.unref(t).shareCode))),F:e.p({src:e.unref(t).qrCode,radius:"20rpx",width:"440rpx",height:"440rpx",mode:"widthFix"})}):{},{G:e.p({path:"/pages/mine/mine"})})}}},i=e._export_sfc(a,[["__scopeId","data-v-0a37936b"]]);wx.createPage(i);
|
||||
13
unpackage/dist/build/mp-weixin/pages/mine/mine.json
vendored
Normal file
13
unpackage/dist/build/mp-weixin/pages/mine/mine.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-image": "../../uni_modules/uview-plus/components/u-image/u-image",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine p30 data-v-0a37936b" style="padding-bottom:150rpx"><status-bar class="data-v-0a37936b" u-i="0a37936b-0" bind:__l="__l"/><view class="mine_header data-v-0a37936b" bindtap="{{n}}"><image class="mine_header_img data-v-0a37936b" src="{{a}}"></image><view wx:if="{{b}}" class="mine_header_text data-v-0a37936b"><view class="mine_header_text_nick data-v-0a37936b"><view wx:if="{{c}}" class="data-v-0a37936b" style="margin-right:15rpx">{{d}}</view><up-tag wx:if="{{e}}" class="data-v-0a37936b" u-i="0a37936b-1" bind:__l="__l" u-p="{{f}}"></up-tag><up-tag wx:if="{{g}}" class="data-v-0a37936b" u-i="0a37936b-2" bind:__l="__l" u-p="{{h}}"></up-tag><up-tag wx:if="{{i}}" class="data-v-0a37936b" u-i="0a37936b-3" bind:__l="__l" u-p="{{j}}"></up-tag></view><view class="mine_header_text_acc data-v-0a37936b">{{k}}</view></view><view wx:else class="mine_header_text data-v-0a37936b"><view class="mine_header_text_nick data-v-0a37936b">点击登录</view></view><image wx:if="{{l}}" class="mine_header_sz data-v-0a37936b" src="{{m}}"></image></view><view class="mt30 data-v-0a37936b"><up-grid wx:if="{{v}}" class="data-v-0a37936b" u-s="{{['d']}}" u-i="0a37936b-4" bind:__l="__l" u-p="{{v}}"><up-grid-item class="data-v-0a37936b" u-s="{{['d']}}" bindclick="{{p}}" u-i="0a37936b-5,0a37936b-4" bind:__l="__l"><view class="data-v-0a37936b" style="height:15rpx"></view><view class="data-v-0a37936b" style="font-weight:bold">{{o}}</view><text class="data-v-0a37936b" style="font-size:28rpx;color:#333;margin-top:10rpx">增值收益</text><view class="data-v-0a37936b" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-0a37936b" u-s="{{['d']}}" bindclick="{{r}}" u-i="0a37936b-6,0a37936b-4" bind:__l="__l"><view class="data-v-0a37936b" style="height:15rpx"></view><view class="data-v-0a37936b" style="font-weight:bold">{{q}}</view><text class="data-v-0a37936b" style="font-size:28rpx;color:#333;margin-top:10rpx">基础收益</text><view class="data-v-0a37936b" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-0a37936b" u-s="{{['d']}}" bindclick="{{t}}" u-i="0a37936b-7,0a37936b-4" bind:__l="__l"><view class="data-v-0a37936b" style="height:15rpx"></view><view class="data-v-0a37936b" style="font-weight:bold">{{s}}</view><text class="data-v-0a37936b" style="font-size:28rpx;color:#333;margin-top:10rpx">充电桩</text><view class="data-v-0a37936b" style="height:15rpx"></view></up-grid-item></up-grid></view><view wx:if="{{w}}" class="mt30 data-v-0a37936b" style="width:100%;background-color:#fff;padding:25rpx;font-size:30rpx">邀请人:{{x}}</view><view class="data-v-0a37936b" style="height:25rpx"></view><view class="data-v-0a37936b" style="background-color:#fff"><up-grid wx:if="{{A}}" class="data-v-0a37936b" u-s="{{['d']}}" u-i="0a37936b-8" bind:__l="__l" u-p="{{A}}"><up-grid-item wx:for="{{y}}" wx:for-item="item" wx:key="e" class="data-v-0a37936b" u-s="{{['d']}}" bindclick="{{item.f}}" u-i="{{item.g}}" bind:__l="__l" u-p="{{z}}"><button class="data-v-0a37936b" open-type="{{item.d}}" style="all:unset;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column"><view class="data-v-0a37936b" style="height:35rpx"></view><up-icon wx:if="{{item.b}}" class="data-v-0a37936b" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></up-icon><text class="data-v-0a37936b" style="font-size:28rpx;color:#333;margin-top:10rpx">{{item.c}}</text><view class="data-v-0a37936b" style="height:20rpx"></view></button></up-grid-item></up-grid></view><view class="data-v-0a37936b" style="height:50rpx"></view><view wx:if="{{B}}" class="data-v-0a37936b" style="background-color:#f6faff;padding:30rpx;border-radius:10rpx"><view wx:if="{{C}}" class="data-v-0a37936b" style="color:#999999"> 暂无推广权限 </view><view wx:else class="data-v-0a37936b"><view class="data-v-0a37936b" style="font-size:30rpx;color:#999999;text-align:center;margin-bottom:20rpx"> 邀请码:{{D}} <text class="data-v-0a37936b" style="text-decoration:underline;margin-left:30rpx" bindtap="{{E}}">复制</text></view><view class="u-flex u-flex-xy-center data-v-0a37936b"><up-image wx:if="{{F}}" class="data-v-0a37936b" u-i="0a37936b-11" bind:__l="__l" u-p="{{F}}"></up-image></view><view class="data-v-0a37936b" style="height:10rpx"></view><view class="data-v-0a37936b" style="font-size:30rpx;color:#999999;text-align:center">长按保存或者转发</view></view></view><view class="data-v-0a37936b" style="height:50rpx"></view><tabbar wx:if="{{G}}" class="data-v-0a37936b" u-i="0a37936b-12" bind:__l="__l" u-p="{{G}}"></tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background:linear-gradient(180deg,#dbe5ff,#f7f7f7 15%,#f7f7f7 81%,#f7f7f7)}.mine_header.data-v-0a37936b{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.mine_header_img.data-v-0a37936b{width:152rpx;height:152rpx;margin-right:22rpx;border-radius:50%}.mine_header_text.data-v-0a37936b{flex:1}.mine_header_text_nick.data-v-0a37936b{display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:40rpx;color:#232323;margin-bottom:15rpx}.mine_header_text_acc.data-v-0a37936b{font-weight:700;font-size:32rpx;color:#232323}.mine_header_sz.data-v-0a37936b{width:44rpx;height:38rpx}.mine ::deep .u-grid-item.data-v-0a37936b{margin-top:0}.mine button.data-v-0a37936b:after{all:unset}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/phone.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/phone.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-code")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"phone",setup(n){let t=e.ref({}),u=e.ref(""),r=e.ref(""),d=e.ref(null),s=e.ref(null),a=e.reactive({newPhone:"",newPhoneSmsCode:"",oldPhoneSmsCode:""});e.onLoad((async e=>{t.value=await o.userInfo()}));let i=async()=>{await o.updatePhone(a),e.index.showToast({title:"修改成功",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1500)},l=e=>{u.value=e},p=e=>{r.value=e},f=n=>{if(!n)return e.index.showToast({title:"请输入手机号",icon:"none"});d.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),o.smsCode({phone:n}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),d.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},h=n=>{if(!n)return e.index.showToast({title:"请输入手机号",icon:"none"});s.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),o.smsCode({phone:n}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),s.value.start()}))):e.index.$u.toast("倒计时结束后再发送")};return(o,n)=>({a:e.o((o=>e.unref(t).phone=o)),b:e.p({border:!1,disabledColor:"#fff",placeholder:"请输入",disabled:!0,modelValue:e.unref(t).phone}),c:e.o((o=>e.unref(a).oldPhoneSmsCode=o)),d:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).oldPhoneSmsCode}),e:e.sr(d,"08b7825f-2",{k:"uCode1"}),f:e.o(e.unref(l)),g:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),h:e.t(e.unref(u)),i:e.o((o=>e.unref(f)(e.unref(t).phone))),j:e.p({color:"#4874e5"}),k:e.o((o=>e.unref(a).newPhone=o)),l:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).newPhone}),m:e.o((o=>e.unref(a).newPhoneSmsCode=o)),n:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).newPhoneSmsCode}),o:e.sr(s,"08b7825f-6",{k:"uCode2"}),p:e.o(e.unref(p)),q:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),r:e.t(e.unref(r)),s:e.o((o=>e.unref(h)(e.unref(a).newPhone))),t:e.p({color:"#4874e5"}),v:e.o(((...o)=>e.unref(i)&&e.unref(i)(...o)))})}},t=e._export_sfc(n,[["__scopeId","data-v-08b7825f"]]);wx.createPage(t);
|
||||
8
unpackage/dist/build/mp-weixin/pages/mine/phone.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/mine/phone.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/phone.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/phone.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="addBankCard p30 data-v-08b7825f"><view class="data-v-08b7825f"><view class="data-v-08b7825f"><view class="addBankCard_input_tit data-v-08b7825f">请输入手机号:</view><view class="addBankCard_input data-v-08b7825f"><up-input wx:if="{{b}}" class="data-v-08b7825f" u-i="08b7825f-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></up-input></view></view><view class="data-v-08b7825f"><view class="addBankCard_input_tit data-v-08b7825f">请输入验证码:</view><view class="addBankCard_input data-v-08b7825f"><up-input wx:if="{{d}}" class="data-v-08b7825f" u-i="08b7825f-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></up-input><view class="data-v-08b7825f" style="width:250rpx"><up-code wx:if="{{g}}" class="r data-v-08b7825f" u-r="uCode1" bindchange="{{f}}" u-i="08b7825f-2" bind:__l="__l" u-p="{{g}}"></up-code><up-button wx:if="{{j}}" class="data-v-08b7825f" u-s="{{['d']}}" bindclick="{{i}}" u-i="08b7825f-3" bind:__l="__l" u-p="{{j}}">{{h}}</up-button></view></view></view><view class="data-v-08b7825f"><view class="addBankCard_input_tit data-v-08b7825f">请输入新手机号:</view><view class="addBankCard_input data-v-08b7825f"><up-input wx:if="{{l}}" class="data-v-08b7825f" u-i="08b7825f-4" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-input></view></view><view class="data-v-08b7825f"><view class="addBankCard_input_tit data-v-08b7825f">请输入新手机号验证码:</view><view class="addBankCard_input data-v-08b7825f"><up-input wx:if="{{n}}" class="data-v-08b7825f" u-i="08b7825f-5" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></up-input><view class="data-v-08b7825f" style="width:250rpx"><up-code wx:if="{{q}}" class="r data-v-08b7825f" u-r="uCode2" bindchange="{{p}}" u-i="08b7825f-6" bind:__l="__l" u-p="{{q}}"></up-code><up-button wx:if="{{t}}" class="data-v-08b7825f" u-s="{{['d']}}" bindclick="{{s}}" u-i="08b7825f-7" bind:__l="__l" u-p="{{t}}">{{r}}</up-button></view></view></view></view><view class="data-v-08b7825f" style="height:50rpx"></view><view class="data-v-08b7825f" style="display:flex;justify-content:center"><view class="addBankCard_btn data-v-08b7825f" bindtap="{{v}}">确定</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/phone.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/phone.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.addBankCard_input.data-v-08b7825f{width:690rpx;height:100rpx;background:#fff;border-radius:8rpx;display:flex;align-items:center;flex-direction:row;justify-content:start;margin-bottom:30rpx;padding:0 30rpx}.addBankCard_input_tit.data-v-08b7825f{width:100%;font-weight:700;font-size:26rpx;color:#232323;margin-bottom:20rpx}.addBankCard_btn.data-v-08b7825f{width:488rpx;height:86rpx;background:#4874e5;border-radius:44rpx;display:flex;align-items:center;flex-direction:row;justify-content:center;font-weight:700;font-size:28rpx;color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/setting.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/setting.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),n=require("../../api/api.js"),r=require("../../hooks/useNav.js"),u=require("../../common/js/user.js"),t=require("../../store/index.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("u-button")+e.resolveComponent("uni-popup-dialog")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const s={__name:"setting",setup(s){const{nav:a,navTo:p}=r.useNav();let i=e.ref();e.ref(!1);let l=e.ref(null);e.onShow((()=>{c()}));let c=async()=>{let e=await n.userInfo();i.value=e},m=async e=>{await n.updateUserInfo({nickName:e}),c(),console.log(e)},d=async e=>{const{avatarUrl:o}=e.detail;let r=await u.uploadFiles(o);await n.updateUserInfo({avatar:r}),c()},f=()=>{e.index.clearStorageSync(),t.store.commit("setToken",""),e.index.showToast({title:"退出登录成功",icon:"success"}),e.index.switchTab({url:"/pages/index/index"})};return(n,r)=>e.e({a:e.unref(i).avatar},e.unref(i).avatar?{b:e.unref(i).avatar,c:e.o(((...e)=>n.infoHeader&&n.infoHeader(...e)))}:{d:o._imports_0$5},{e:e.o(((...o)=>e.unref(d)&&e.unref(d)(...o))),f:e.t(e.unref(i).nickName||"默认用户"),g:e.p({name:"edit-pen",size:"24"}),h:e.o((o=>e.unref(l).open())),i:e.unref(i).userName},e.unref(i).userName?{j:e.t(e.unref(i).userName)}:{},{k:e.p({color:"#999999",name:"arrow-right",size:"35rpx"}),l:e.unref(i).phone},e.unref(i).phone?{m:e.t(e.unref(i).phone)}:{},{n:e.p({color:"#999999",name:"arrow-right",size:"35rpx"}),o:e.o((o=>e.unref(p)("/pages/mine/phone",!0))),p:e.o((o=>e.unref(f)())),q:e.p({text:"退出登录",size:"normal",type:"error"}),r:e.sr("inputClose","31028581-5,31028581-4"),s:e.o(e.unref(m)),t:e.p({inputType:"text",mode:"input",title:"请输入昵称",placeholder:"请输入昵称"}),v:e.sr(l,"31028581-4",{k:"inputDialog"}),w:e.p({type:"dialog"})})}},a=e._export_sfc(s,[["__scopeId","data-v-31028581"]]);wx.createPage(a);
|
||||
9
unpackage/dist/build/mp-weixin/pages/mine/setting.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/mine/setting.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"u-button": "../../uni_modules/uview-plus/components/u-button/u-button",
|
||||
"uni-popup-dialog": "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/setting.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/setting.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-31028581"><view class="data-v-31028581" style="padding-top:30rpx"><view class="means-a data-v-31028581"><view class="means-a-list data-v-31028581" style="justify-content:center;padding-top:30rpx"><button class="data-v-31028581" style="all:unset" open-type="chooseAvatar" bindchooseavatar="{{e}}"><image wx:if="{{a}}" src="{{b}}" class="header data-v-31028581" mode="widthFix" bindtap="{{c}}"></image><image wx:else class="header data-v-31028581" src="{{d}}" mode="widthFix"></image></button></view><view class="means-a-list data-v-31028581" style="justify-content:center" bindtap="{{h}}"><view class="nickname data-v-31028581">{{f}}</view><up-icon wx:if="{{g}}" class="data-v-31028581" u-i="31028581-0" bind:__l="__l" u-p="{{g}}"></up-icon></view><view class="means-a-list data-v-31028581"><view class="tit data-v-31028581">用户名</view><view class="means-zhuomi data-v-31028581"><view wx:if="{{i}}" class="means-zhuomi-tit data-v-31028581">{{j}}</view><up-icon wx:if="{{k}}" class="data-v-31028581" u-i="31028581-1" bind:__l="__l" u-p="{{k}}"></up-icon></view></view><view class="means-a-list data-v-31028581" bindtap="{{o}}"><view class="tit data-v-31028581">手机号</view><view class="means-zhuomi data-v-31028581"><view wx:if="{{l}}" class="means-zhuomi-tit data-v-31028581">{{m}}</view><up-icon wx:if="{{n}}" class="data-v-31028581" u-i="31028581-2" bind:__l="__l" u-p="{{n}}"></up-icon></view></view></view></view><view class="data-v-31028581" style="height:80rpx"></view><u-button wx:if="{{q}}" class="data-v-31028581" bindclick="{{p}}" u-i="31028581-3" bind:__l="__l" u-p="{{q}}"></u-button><uni-popup wx:if="{{w}}" class="r data-v-31028581" u-s="{{['d']}}" u-r="inputDialog" u-i="31028581-4" bind:__l="__l" u-p="{{w}}"><uni-popup-dialog wx:if="{{t}}" class="r data-v-31028581" u-r="inputClose" bindconfirm="{{s}}" u-i="31028581-5,31028581-4" bind:__l="__l" u-p="{{t}}"></uni-popup-dialog></uni-popup></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/setting.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/setting.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
view.data-v-31028581{box-sizing:border-box}.means-a.data-v-31028581{width:100%;background:#fff;border-radius:15rpx;padding:25rpx}.means-a .means-a-list.data-v-31028581{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:100rpx;background-color:#fff;padding:0;border:0}.means-a .means-a-list .tit.data-v-31028581{font-size:30rpx;color:#999}.means-a .means-a-list .header.data-v-31028581{width:140rpx;height:140rpx;margin-bottom:20rpx;border-radius:50%}.means-a .means-a-list .nickname.data-v-31028581{font-size:30rpx;color:#222}.means-a .means-a-list .means-zhuomi.data-v-31028581{display:flex;align-items:center}.means-a .means-a-list .means-zhuomi .zuomi.data-v-31028581{width:189rpx;height:36rpx;border:1rpx solid #4d4590;border-radius:5rpx;text-align:center;line-height:36rpx;color:#4d4590;font-size:22rpx}.means-a .means-a-list .means-zhuomi .means-zhuomi-tit.data-v-31028581{margin:0 15rpx 0 30rpx;font-size:28rpx;color:#999}.means-a .means-a-list .means-zhuomi image.data-v-31028581{width:11rpx;height:21rpx}button.data-v-31028581:after{all:unset}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/share.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/share.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");require("../../store/index.js");const r=require("../../api/api.js");if(!Array){e.resolveComponent("up-image")()}Math;const a={__name:"share",setup(a){let t=e.ref({}),o=e.ref(!0);e.onShow((()=>{e.index.getStorageSync("token")||""?(n(),o.value=!0):o.value=!1}));let n=async()=>{let e=await r.userInfo();t.value=e},s=r=>{e.index.setClipboardData({data:r,success:function(){}})};return(r,a)=>e.e({a:e.unref(t).qrCode},e.unref(t).qrCode?{b:e.t(e.unref(t).shareCode),c:e.o((r=>e.unref(s)(e.unref(t).shareCode))),d:e.p({src:e.unref(t).qrCode,radius:"20rpx",width:"440rpx",height:"440rpx",mode:"widthFix"})}:{})}},t=e._export_sfc(a,[["__scopeId","data-v-31a7dd90"]]);wx.createPage(t);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/share.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/share.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "邀请码",
|
||||
"usingComponents": {
|
||||
"up-image": "../../uni_modules/uview-plus/components/u-image/u-image"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/share.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/share.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine p30 data-v-31a7dd90"><view wx:if="{{a}}" class="data-v-31a7dd90" style="background-color:#f6faff;padding:30rpx;border-radius:10rpx"><view class="data-v-31a7dd90" style="font-size:30rpx;color:#999999;text-align:center;margin-bottom:20rpx"> 邀请码:{{b}} <text class="data-v-31a7dd90" style="text-decoration:underline;margin-left:30rpx" bindtap="{{c}}">复制</text></view><view class="u-flex u-flex-xy-center data-v-31a7dd90"><up-image wx:if="{{d}}" class="data-v-31a7dd90" u-i="31a7dd90-0" bind:__l="__l" u-p="{{d}}"></up-image></view><view class="data-v-31a7dd90" style="height:10rpx"></view><view class="data-v-31a7dd90" style="font-size:30rpx;color:#999999;text-align:center">长按保存或者转发</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/share.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/share.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background:linear-gradient(180deg,#dbe5ff,#f7f7f7 15%,#f7f7f7 81%,#f7f7f7)}.mine.data-v-31a7dd90{display:flex;align-items:center;justify-content:center;width:100%;height:100vh}.mine_header.data-v-31a7dd90{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.mine_header_img.data-v-31a7dd90{width:152rpx;height:152rpx;margin-right:22rpx;border-radius:50%}.mine_header_text.data-v-31a7dd90{flex:1}.mine_header_text_nick.data-v-31a7dd90{font-weight:700;font-size:40rpx;color:#232323;margin-bottom:15rpx}.mine_header_text_acc.data-v-31a7dd90{font-weight:700;font-size:32rpx;color:#232323}.mine_header_sz.data-v-31a7dd90{width:44rpx;height:38rpx}.mine ::deep .u-grid-item.data-v-31a7dd90{margin-top:0}.mine button.data-v-31a7dd90:after{all:unset}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/toUser.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/toUser.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-code")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"toUser",setup(n){e.ref();let t=e.ref({}),r=e.ref([]),u=e.ref(""),s=e.ref(null),a=e.reactive({rechargeMoney:"",smsCode:"",toUserName:"",toPhone:""});e.ref(),e.onLoad((async()=>{let e=await o.userInfo();t.value=e;const{configValue:n}=await o.getAppConfig({configKey:"DEPOSIT"});r.value=JSON.parse(n)}));let i=e=>{u.value=e},l=()=>{if(!t.value.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});s.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),o.smsCode({phone:t.value.phone}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),s.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},d=async()=>a.rechargeMoney?a.smsCode?a.toUserName?a.toPhone?(await o.giveWallet(a),void e.index.showModal({title:"提示",content:"转赠成功",showCancel:!1,success(){e.index.navigateBack()}})):e.index.showToast({title:"请输入转赠手机号",icon:"none"}):e.index.showToast({title:"请输入转赠用户名",icon:"none"}):e.index.showToast({title:"请输入验证码",icon:"none"}):e.index.showToast({title:"请输入金额",icon:"none"});return(o,n)=>({a:e.t(e.unref(t).points1),b:e.o((o=>e.unref(a).rechargeMoney=o)),c:e.p({fontSize:"36rpx",placeholder:"请输入转赠金额",border:!1,modelValue:e.unref(a).rechargeMoney}),d:e.o((o=>e.unref(a).rechargeMoney=e.unref(t).points1)),e:e.o((o=>e.unref(t).phone=o)),f:e.p({border:!1,disabled:!0,modelValue:e.unref(t).phone}),g:e.o((o=>e.unref(a).smsCode=o)),h:e.p({placeholder:"请输入验证码",border:!1,modelValue:e.unref(a).smsCode}),i:e.sr(s,"43e73c21-3",{k:"uCode"}),j:e.o(e.unref(i)),k:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),l:e.t(e.unref(u)),m:e.o(e.unref(l)),n:e.p({color:"#4874e5"}),o:e.o((o=>e.unref(a).toUserName=o)),p:e.p({placeholder:"转赠用户名",border:!1,modelValue:e.unref(a).toUserName}),q:e.o((o=>e.unref(a).toPhone=o)),r:e.p({placeholder:"转赠手机号",border:!1,modelValue:e.unref(a).toPhone}),s:e.o(((...o)=>e.unref(d)&&e.unref(d)(...o)))})}},t=e._export_sfc(n,[["__scopeId","data-v-43e73c21"]]);wx.createPage(t);
|
||||
8
unpackage/dist/build/mp-weixin/pages/mine/toUser.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/mine/toUser.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "基础收益转赠",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/toUser.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/toUser.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="withdraw p30 data-v-43e73c21"><view class="data-v-43e73c21" style="background-color:#ffffff;padding:30rpx;border-radius:10rpx;font-size:30rpx;color:#949494"><view class="data-v-43e73c21">当前基础收益 ¥{{a}},最低转赠¥1</view></view><view class="data-v-43e73c21" style="height:30rpx"></view><view class="withdraw_mon data-v-43e73c21"><view class="withdraw_mon_input data-v-43e73c21"><view class="withdraw_mon_input_fu data-v-43e73c21">¥</view><view class="data-v-43e73c21"><up-input wx:if="{{c}}" class="data-v-43e73c21" u-i="43e73c21-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-input></view><view class="withdraw_mon_input_note data-v-43e73c21" bindtap="{{d}}">全部转赠</view></view><view class="data-v-43e73c21"><up-input wx:if="{{f}}" class="data-v-43e73c21" u-i="43e73c21-1" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-input></view><view class="withdraw_mon_input data-v-43e73c21"><up-input wx:if="{{h}}" class="data-v-43e73c21" u-i="43e73c21-2" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></up-input><view class="data-v-43e73c21" style="width:250rpx"><up-code wx:if="{{k}}" class="r data-v-43e73c21" u-r="uCode" bindchange="{{j}}" u-i="43e73c21-3" bind:__l="__l" u-p="{{k}}"></up-code><up-button wx:if="{{n}}" class="data-v-43e73c21" u-s="{{['d']}}" bindclick="{{m}}" u-i="43e73c21-4" bind:__l="__l" u-p="{{n}}">{{l}}</up-button></view></view><view class="withdraw_mon_input data-v-43e73c21"><up-input wx:if="{{p}}" class="data-v-43e73c21" u-i="43e73c21-5" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></up-input></view><view class="withdraw_mon_input data-v-43e73c21"><up-input wx:if="{{r}}" class="data-v-43e73c21" u-i="43e73c21-6" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></up-input></view></view><view class="data-v-43e73c21" style="height:20rpx"></view><view class="data-v-43e73c21" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><view class="data-v-43e73c21" style="color:#f29100">温馨提示</view><view class="data-v-43e73c21" style="height:10rpx"></view><view class="data-v-43e73c21" style="font-size:28rpx;color:#909399"><view class="data-v-43e73c21">1.基础收益转赠给团队成员(直线上级、直线下级);</view><view class="data-v-43e73c21" style="height:10rpx"></view><view class="data-v-43e73c21">2.转赠金额实时到账,不扣手续费;</view><view class="data-v-43e73c21" style="height:10rpx"></view><view class="data-v-43e73c21">3.转赠成功后实时生效,不支持撤回。</view></view></view><view class="data-v-43e73c21" style="height:50rpx"></view><view class="data-v-43e73c21" style="display:flex;justify-content:center;margin-top:80rpx"><view class="affirm_btn data-v-43e73c21" bindtap="{{s}}">确认</view></view><view class="data-v-43e73c21" style="height:50rpx"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/toUser.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/toUser.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.withdraw_k.data-v-43e73c21{width:100%;height:74rpx;padding:0 20rpx;background:#fff;border-radius:8rpx;display:flex;align-items:center;justify-content:space-between;margin-bottom:30rpx}.withdraw_k_tit.data-v-43e73c21{font-weight:700;font-size:24rpx;color:#232323;margin-right:100rpx}.withdraw_k_input.data-v-43e73c21{flex:1;text-align:right;font-size:28rpx}.withdraw_k_img.data-v-43e73c21{width:44rpx;height:44rpx}.withdraw_mon.data-v-43e73c21{padding:20rpx;background:#fff;border-radius:8rpx}.withdraw_mon_tit.data-v-43e73c21{font-weight:700;font-size:24rpx;color:#232323}.withdraw_mon_input.data-v-43e73c21{display:flex;align-items:center;justify-content:space-between;border-bottom:2rpx solid #cccccc;padding:15rpx 0;margin-bottom:20rpx}.withdraw_mon_input_fu.data-v-43e73c21{font-weight:700;font-size:66rpx;color:#232323}.withdraw_mon_input_note.data-v-43e73c21{font-weight:700;font-size:24rpx;color:#f77}.withdraw_mon_note.data-v-43e73c21{font-weight:400;font-size:24rpx;color:#232323;margin-bottom:10rpx}.withdraw_note.data-v-43e73c21{margin-top:30rpx;padding:0 15rpx}.withdraw_note view.data-v-43e73c21{margin-bottom:15rpx;font-weight:400;font-size:26rpx;color:#232323;line-height:40rpx}.affirm_btn.data-v-43e73c21{width:650rpx;height:78rpx;background:#4874e5;border-radius:12rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:24rpx;color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/toUser2.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/toUser2.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-code")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"toUser2",setup(n){e.ref();let t=e.ref({}),r=e.ref([]),u=e.ref(""),s=e.ref(null),a=e.reactive({rechargeMoney:"",smsCode:"",toUserName:"",toPhone:""});e.ref(),e.onLoad((async()=>{let e=await o.userInfo();t.value=e;const{configValue:n}=await o.getAppConfig({configKey:"DEPOSIT"});r.value=JSON.parse(n)}));let i=e=>{u.value=e},l=()=>{if(!t.value.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});s.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),o.smsCode({phone:t.value.phone}).then((o=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),s.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},d=async()=>a.rechargeMoney?a.smsCode?a.toUserName?a.toPhone?(await o.giveWallet2(a),void e.index.showModal({title:"提示",content:"转赠成功",showCancel:!1,success(){e.index.navigateBack()}})):e.index.showToast({title:"请输入转赠手机号",icon:"none"}):e.index.showToast({title:"请输入转赠用户名",icon:"none"}):e.index.showToast({title:"请输入验证码",icon:"none"}):e.index.showToast({title:"请输入金额",icon:"none"});return(o,n)=>({a:e.t(e.unref(t).points2),b:e.o((o=>e.unref(a).rechargeMoney=o)),c:e.p({fontSize:"36rpx",placeholder:"请输入转赠金额",border:!1,modelValue:e.unref(a).rechargeMoney}),d:e.o((o=>e.unref(a).rechargeMoney=e.unref(t).points2)),e:e.o((o=>e.unref(t).phone=o)),f:e.p({border:!1,disabled:!0,modelValue:e.unref(t).phone}),g:e.o((o=>e.unref(a).smsCode=o)),h:e.p({placeholder:"请输入验证码",border:!1,modelValue:e.unref(a).smsCode}),i:e.sr(s,"05f70616-3",{k:"uCode"}),j:e.o(e.unref(i)),k:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),l:e.t(e.unref(u)),m:e.o(e.unref(l)),n:e.p({color:"#4874e5"}),o:e.o((o=>e.unref(a).toUserName=o)),p:e.p({placeholder:"转赠用户名",border:!1,modelValue:e.unref(a).toUserName}),q:e.o((o=>e.unref(a).toPhone=o)),r:e.p({placeholder:"转赠手机号",border:!1,modelValue:e.unref(a).toPhone}),s:e.o(((...o)=>e.unref(d)&&e.unref(d)(...o)))})}},t=e._export_sfc(n,[["__scopeId","data-v-05f70616"]]);wx.createPage(t);
|
||||
8
unpackage/dist/build/mp-weixin/pages/mine/toUser2.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/mine/toUser2.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "增值收益转赠",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/toUser2.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/toUser2.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="withdraw p30 data-v-05f70616"><view class="data-v-05f70616" style="background-color:#ffffff;padding:30rpx;border-radius:10rpx;font-size:30rpx;color:#949494"><view class="data-v-05f70616">当前增值收益 ¥{{a}},最低转赠¥1</view></view><view class="data-v-05f70616" style="height:30rpx"></view><view class="withdraw_mon data-v-05f70616"><view class="withdraw_mon_input data-v-05f70616"><view class="withdraw_mon_input_fu data-v-05f70616">¥</view><view class="data-v-05f70616"><up-input wx:if="{{c}}" class="data-v-05f70616" u-i="05f70616-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-input></view><view class="withdraw_mon_input_note data-v-05f70616" bindtap="{{d}}">全部转赠</view></view><view class="data-v-05f70616"><up-input wx:if="{{f}}" class="data-v-05f70616" u-i="05f70616-1" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-input></view><view class="withdraw_mon_input data-v-05f70616"><up-input wx:if="{{h}}" class="data-v-05f70616" u-i="05f70616-2" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></up-input><view class="data-v-05f70616" style="width:250rpx"><up-code wx:if="{{k}}" class="r data-v-05f70616" u-r="uCode" bindchange="{{j}}" u-i="05f70616-3" bind:__l="__l" u-p="{{k}}"></up-code><up-button wx:if="{{n}}" class="data-v-05f70616" u-s="{{['d']}}" bindclick="{{m}}" u-i="05f70616-4" bind:__l="__l" u-p="{{n}}">{{l}}</up-button></view></view><view class="withdraw_mon_input data-v-05f70616"><up-input wx:if="{{p}}" class="data-v-05f70616" u-i="05f70616-5" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></up-input></view><view class="withdraw_mon_input data-v-05f70616"><up-input wx:if="{{r}}" class="data-v-05f70616" u-i="05f70616-6" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"></up-input></view></view><view class="data-v-05f70616" style="height:20rpx"></view><view class="data-v-05f70616" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><view class="data-v-05f70616" style="color:#f29100">温馨提示</view><view class="data-v-05f70616" style="height:10rpx"></view><view class="data-v-05f70616" style="font-size:28rpx;color:#909399"><view class="data-v-05f70616">1.增值收益转赠给团队成员(直线上级、直线下级);</view><view class="data-v-05f70616" style="height:10rpx"></view><view class="data-v-05f70616">2.转赠金额实时到账,不扣手续费;</view><view class="data-v-05f70616" style="height:10rpx"></view><view class="data-v-05f70616">3.转赠成功后实时生效,不支持撤回。</view></view></view><view class="data-v-05f70616" style="height:50rpx"></view><view class="data-v-05f70616" style="display:flex;justify-content:center;margin-top:80rpx"><view class="affirm_btn data-v-05f70616" bindtap="{{s}}">确认</view></view><view class="data-v-05f70616" style="height:50rpx"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/toUser2.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/toUser2.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.withdraw_k.data-v-05f70616{width:100%;height:74rpx;padding:0 20rpx;background:#fff;border-radius:8rpx;display:flex;align-items:center;justify-content:space-between;margin-bottom:30rpx}.withdraw_k_tit.data-v-05f70616{font-weight:700;font-size:24rpx;color:#232323;margin-right:100rpx}.withdraw_k_input.data-v-05f70616{flex:1;text-align:right;font-size:28rpx}.withdraw_k_img.data-v-05f70616{width:44rpx;height:44rpx}.withdraw_mon.data-v-05f70616{padding:20rpx;background:#fff;border-radius:8rpx}.withdraw_mon_tit.data-v-05f70616{font-weight:700;font-size:24rpx;color:#232323}.withdraw_mon_input.data-v-05f70616{display:flex;align-items:center;justify-content:space-between;border-bottom:2rpx solid #cccccc;padding:15rpx 0;margin-bottom:20rpx}.withdraw_mon_input_fu.data-v-05f70616{font-weight:700;font-size:66rpx;color:#232323}.withdraw_mon_input_note.data-v-05f70616{font-weight:700;font-size:24rpx;color:#f77}.withdraw_mon_note.data-v-05f70616{font-weight:400;font-size:24rpx;color:#232323;margin-bottom:10rpx}.withdraw_note.data-v-05f70616{margin-top:30rpx;padding:0 15rpx}.withdraw_note view.data-v-05f70616{margin-bottom:15rpx;font-weight:400;font-size:26rpx;color:#232323;line-height:40rpx}.affirm_btn.data-v-05f70616{width:650rpx;height:78rpx;background:#4874e5;border-radius:12rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:24rpx;color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/topUp.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/topUp.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("up-input")+e.resolveComponent("up-icon")+e.resolveComponent("up-radio")+e.resolveComponent("up-radio-group")+e.resolveComponent("up-modal"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-radio/u-radio.js")+(()=>"../../uni_modules/uview-plus/components/u-radio-group/u-radio-group.js")+(()=>"../../uni_modules/uview-plus/components/u-modal/u-modal.js"))();const n={__name:"topUp",setup(n){let u=e.ref({}),r=e.reactive({plamType:1}),a=e.ref({}),t=e.ref(!1);e.onLoad((async()=>{let e=await o.userInfo();u.value=e;const{configValue:n}=await o.getAppConfig({configKey:"DEPOSIT"});a.value=JSON.parse(n)}));let i=()=>{e.index.navigateBack()},s=async()=>{if(a.value.minMoney>r.money)return e.index.showModal({title:"提示",content:`最低充值${a.value.minMoney}元`,showCancel:!1});let n=await o.userRechargeByLkl({rechargeMoney:r.money});const u=encodeURIComponent(n.data.counter_url);e.wx$1.openEmbeddedMiniProgram({appId:"wx889424d565967811",path:`payment-cashier/pages/checkout/index?source=WECHATMINI&counterUrl=${u}`,envVersion:"release",success(e){t.value=!0},fail:e=>{console.log(e)},complete:o=>{e.index.hideLoading()}})};return(o,n)=>({a:e.t(e.unref(u).points2||"0.00"),b:e.t(e.unref(a).minMoney),c:e.o((o=>e.unref(r).money=o)),d:e.p({customStyle:{backgroundColor:"#ffffff"},type:"number",placeholder:"请输入充值金额",border:"surround",modelValue:e.unref(r).money}),e:e.p({name:"/static/icon/weixin.png",imgMode:"widthFix",size:"50rpx"}),f:e.p({name:1}),g:e.o((o=>e.unref(r).plamType=o)),h:e.p({iconPlacement:"right",borderBottom:!0,placement:"column",modelValue:e.unref(r).plamType}),i:e.o(((...o)=>e.unref(s)&&e.unref(s)(...o))),j:e.o(e.unref(i)),k:e.o((o=>e.isRef(t)?t.value=!1:t=!1)),l:e.o((o=>e.isRef(t)?t.value=!1:t=!1)),m:e.p({show:e.unref(t),content:"未检测到支付结果",showCancelButton:!0,confirmText:"查看余额",cancelText:"取消",closeOnClickOverlay:!0})})}},u=e._export_sfc(n,[["__scopeId","data-v-f3834c57"]]);wx.createPage(u);
|
||||
10
unpackage/dist/build/mp-weixin/pages/mine/topUp.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/mine/topUp.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "增值收益充值",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-radio": "../../uni_modules/uview-plus/components/u-radio/u-radio",
|
||||
"up-radio-group": "../../uni_modules/uview-plus/components/u-radio-group/u-radio-group",
|
||||
"up-modal": "../../uni_modules/uview-plus/components/u-modal/u-modal"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user