1.搭+页面新增:我的钱包

2.搭+钱包接口对接:收益明细,提现明细
搭+提现功能总完成度(40%)
This commit is contained in:
王创世 2025-06-05 18:31:54 +08:00
parent eecd854ab3
commit 094e5a693d
9 changed files with 1688 additions and 1366 deletions

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ selenium-debug.log
*.suo *.suo
*.ntvs* *.ntvs*
*.njsproj *.njsproj
*.sln *.sln
*.local *.local

View File

@ -1,6 +1,6 @@
{ {
"name" : "多样青春活动版", "name" : "多样青春活动版",
"appid" : "__UNI__BD0139D", "appid" : "__UNI__F09A3D9",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",

22
packageB/wallet/bank.vue Normal file
View File

@ -0,0 +1,22 @@
<template>
<view>
123
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

261
packageB/wallet/index.vue Normal file
View File

@ -0,0 +1,261 @@
<template>
<view class="page">
<view style="background-color: #FFFFFF;border-radius: 0rpx 0rpx 44rpx 44rpx;padding: 30rpx 30rpx 40rpx 30rpx;">
<view class="section_1">
<view style="color: #FFFFFF;font-size: 26rpx;padding: 30rpx 30rpx 0rpx 30rpx;">当前余额</view>
<view style="display: flex;justify-content: space-between;align-items: center;padding: 30rpx;">
<view style="color: #FFFFFF;font-size: 60rpx;font-weight: 900;">
{{settleInfo.settled_amount?settleInfo.settled_amount:0}}</view>
<view @click="openUrl('/packageB/wallet/bank')">
<view
style="text-align: center;width: 169rpx;height: 70rpx;background: #BBFC5B;line-height: 70rpx;color: #3D3D3D;font-size: 32rpx;border-radius: 70rpx;">
提现</view>
</view>
</view>
<view style="color: #FFFFFF;font-weight: 400;font-size: 26rpx;padding-left: 30rpx;">
<text>预计待入账</text>
<text
style="padding-left: 20rpx;">{{settleInfo.expected_incoming_amount?settleInfo.expected_incoming_amount:0}}</text>
<text style="padding: 0rpx 20rpx;">|</text>
<text>累计收益</text>
<text
style="padding-left: 20rpx;">{{settleInfo.accumulated_incoming_amount?settleInfo.accumulated_incoming_amount:0}}</text>
</view>
</view>
</view>
<view
style="background-color: #FFFFFF;border-radius:44rpx;padding:45rpx 30rpx;margin-top: 30rpx;">
<view style="display: flex;gap: 70rpx;padding-bottom: 40rpx;">
<view @click="openTab(0)">
<view :class="tabIndex==0?'act':'no_act'">收益明细</view>
<view v-if="tabIndex==0"
style="width: 60rpx;height: 10rpx;background-color: #BBFC5B;margin: 0 auto;margin-top: 20rpx;">
</view>
</view>
<view @click="openTab(1)">
<view :class="tabIndex==1?'act':'no_act'">提现明细</view>
<view v-if="tabIndex==1"
style="width: 60rpx;height: 10rpx;background-color: #BBFC5B;margin: 0 auto;margin-top: 20rpx;">
</view>
</view>
</view>
<view v-if="tabIndex==0" v-for="item in list">
<view style="display: flex;justify-content: space-between;align-items: center;">
<view>
<view style="font-size: 30rpx;color: #3D3D3D;font-weight: 600;">{{item.detail.title}}</view>
<view style="font-size: 26rpx;color: #9C9C9C;font-weight: 400;margin: 30rpx 0rpx;">
<text v-if="item.status==3">{{formatTimestamp(item.settletime)}}</text>
<text v-if="item.status==2">{{formatTimestamp(item.createtime)}}</text>
</view>
<view style="font-size: 25rpx;color: #FF4810;font-weight: 400;">[ 活动订单总金额x{{item.fee_scale*100}}%平台费率=待入账金额 ]
</view>
</view>
<view style="text-align: center;">
<view>+{{item.settle_price}}</view>
<view v-if="item.status==2"
style="background: #E6EEFF;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;margin-top: 20rpx;">
<view style="color: #2F78CD;font-size: 22rpx;line-height: 32rpx;">待入账</view>
</view>
<view v-if="item.status==3"
style="background: #EAF8EB;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;margin-top: 20rpx;">
<view style="color: #2BA635;font-size: 22rpx;line-height: 32rpx;">已入账</view>
</view>
</view>
</view>
<view style="background: #F0F0F0;width: 100%;height: 1px;margin: 40rpx 0rpx;"></view>
</view>
<view v-if="tabIndex==1" v-for="item in list">
<view style="display: flex;justify-content: space-between;align-items: center;">
<view>
<view style="font-size: 30rpx;color: #3D3D3D;font-weight: 600;">工商银行0514</view>
<view style="font-size: 26rpx;color: #9C9C9C;font-weight: 400;margin: 30rpx 0rpx;">2025.05.25
14:35:36</view>
</view>
<view style="text-align: center;">
<view>+55.00</view>
<view v-if="item.status==1"
style="background: #E6EEFF;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
<view style="color: #2F78CD;font-size: 22rpx;line-height: 32rpx;">审核中</view>
</view>
<view v-if="item.status==3"
style="background: #F8EAEA;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
<view style="color: #A62B2B;font-size: 22rpx;line-height: 32rpx;">失败</view>
</view>
<view v-if="item.status==2 && item.withdrawal_status==3"
style="background: #EAF8EB;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
<view style="color: #2BA635;font-size: 22rpx;line-height: 32rpx;">已打款</view>
</view>
<view v-if="item.status==2 && item.withdrawal_status==2"
style="background: #FFF3ED;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
<view style="color: #FF783A;font-size: 22rpx;line-height: 32rpx;">打款中</view>
</view>
</view>
</view>
<view style="font-weight: 400;color: #3D3D3D;font-size: 24rpx;background: #EEEEEE;border-radius: 6rpx;padding: 30rpx 20rpx;">
银行卡异常无法打款金额已返还账户
</view>
<view style="background: #F0F0F0;width: 100%;height: 1px;margin: 40rpx 0rpx;"></view>
</view>
<u-loadmore style="margin-bottom: 60rpx;" :status="loadStatus" />
</view>
</view>
</template>
<script>
export default {
data() {
return {
tabIndex: 0,
page: 1,
list: [],
settleInfo: {},
loadStatus: 'loading',
}
},
onLoad() {
this.getSyList();
},
onShow() {
this.token = uni.getStorageSync('token');
if (this.token) {
this.getUserInfo();
}
},
onReachBottom() {
this.page += 1;
if (this.tabIndex == 0) {
this.getSyList();
} else {
this.getTxList();
}
},
methods: {
openTab(index) {
this.loadStatus = 'loading';
this.page = 1;
this.tabIndex = index;
this.list=[];
if (index == 0) {
this.getSyList();
} else {
this.getTxList();
}
},
getSyList() {
uni.$u.http
.get("/api/school.newactivity.settle_log/settle_log", {
params: {
page: this.page,
limit: 10,
status:'2,3'
},
})
.then((res) => {
if (res.code == 1) {
this.list.push(...res.data.list);
if (res.data.list.length < 10) {
this.loadStatus = 'nomore';
}
} else {
uni.showToast({
title: res.msg,
icon: "none",
duration: 2000,
});
}
})
},
getTxList(){
uni.$u.http
.get("/api/school.newactivity.settle_log/withdrawal_log", {
params: {
page: this.page,
limit: 10,
},
})
.then((res) => {
if (res.code == 1) {
this.list.push(...res.data.list);
if (res.data.list.length < 10) {
this.loadStatus = 'nomore';
}
} else {
uni.showToast({
title: res.msg,
icon: "none",
duration: 2000,
});
}
})
},
//
getUserInfo() {
uni.$u.http.get('/api/user/index', {}).then(res => {
if (res.code == 1) {
uni.setStorageSync('userInfo', res.data.user_info)
uni.setStorageSync('settleInfo', res.data.settle_info)
uni.setStorageSync('activityInfo', res.data.activity_info)
this.settleInfo= res.data.settle_info;
} else {
uni.showToast({
title: '登陆失败',
icon: 'error',
duration: 2000
})
}
}).catch(error => {
console.log('error', error);
this.showPopup = false
uni.showToast({
title: '登陆失败',
icon: 'error',
duration: 2000
})
})
},
formatTimestamp(timestamp) {
const date = new Date(timestamp * 1000); // 101000
const year = date.getFullYear();
const month = String(date.getMonth() + 1).padStart(2, "0");
const day = String(date.getDate()).padStart(2, "0");
const hours = String(date.getHours()).padStart(2, "0");
const minutes = String(date.getMinutes()).padStart(2, "0");
const seconds = String(date.getSeconds()).padStart(2, "0");
return `${year}.${month}.${day} ${hours}:${minutes}:${seconds}`;
},
openUrl(url){
uni.navigateTo({
url:url
})
},
}
}
</script>
<style scoped lang="scss">
.page {
font-family: PingFang SC, PingFang SC;
background: #f7f7f7;
min-height: 100vh;
}
.section_1 {
width: 100%;
height: 264rpx;
background: url(@/static/wallet.png);
background-size: 100% 100%;
}
.no_act {
font-size: 30rpx;
font-weight: 600;
color: #9C9C9C;
}
.act {
font-size: 34rpx;
color: #323232;
font-weight: 600;
}
</style>

View File

@ -2,8 +2,7 @@
"easycom": { "easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
}, },
"pages": [ "pages": [{
{
"path": "pages/tail", "path": "pages/tail",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
@ -48,14 +47,14 @@
{ {
"path": "pages/my/index", "path": "pages/my/index",
"style": { "style": {
"navigationBarTitleText": "我的" ,// "navigationBarTitleText": "我的", //
"navigationStyle": "custom" // "navigationStyle": "custom" //
} }
}, },
{ {
"path": "pages/my/classCheck", "path": "pages/my/classCheck",
"style": { "style": {
"navigationBarTitleText": "活动核销" ,// "navigationBarTitleText": "活动核销", //
"navigationStyle": "custom" // "navigationStyle": "custom" //
} }
}, },
@ -70,8 +69,7 @@
], ],
"subPackages": [{ "subPackages": [{
"root": "packageA", "root": "packageA",
"pages": [ "pages": [{
{
"path": "afterSales/index", "path": "afterSales/index",
"style": { "style": {
"navigationBarTitleText": "售后订单" "navigationBarTitleText": "售后订单"
@ -294,6 +292,21 @@
} }
} }
] ]
},
{
"root": "packageB",
"pages": [{
"path": "wallet/index",
"style": {
"navigationBarTitleText": "我的钱包"
}
},{
"path": "wallet/bank",
"style": {
"navigationBarTitleText": "提现"
}
}]
}], }],
"preloadRule": { // "preloadRule": { //
"pages/index/index": { // pages/indexAB "pages/index/index": { // pages/indexAB
@ -311,8 +324,7 @@
"custom": true, "custom": true,
"color": "#888888", "color": "#888888",
"selectedColor": "#181818", "selectedColor": "#181818",
"list": [ "list": [{
{
"pagePath": "pages/index/index", "pagePath": "pages/index/index",
"text": "首页" "text": "首页"
}, },

View File

@ -40,7 +40,8 @@
<span class="line-row"></span> <span class="line-row"></span>
<view class="row flex align-items" style="margin-top: 25rpx; "> <view class="row flex align-items" style="margin-top: 25rpx; ">
<span class="label flex align-items"> <span class="label flex align-items">
<image src="@/static/fabu/jhdd.png" mode="widthFix" style="width: 44rpx;height: 44rpx;padding-right: 8rpx;" /> <image src="@/static/fabu/jhdd.png" mode="widthFix"
style="width: 44rpx;height: 44rpx;padding-right: 8rpx;" />
集合地点 集合地点
</span> </span>
<span class="row-right" @click="choose()"> <span class="row-right" @click="choose()">
@ -59,7 +60,8 @@
<view class="row flex align-items" style="margin: 30rpx 0;"> <view class="row flex align-items" style="margin: 30rpx 0;">
<span class="label flex align-items"> <span class="label flex align-items">
<image src="@/static/fabu/hdsj.png" mode="widthFix" style="width: 44rpx;height: 44rpx;padding-right: 8rpx;" /> <image src="@/static/fabu/hdsj.png" mode="widthFix"
style="width: 44rpx;height: 44rpx;padding-right: 8rpx;" />
活动时间 活动时间
</span> </span>
<span class="row-right" @click="dateShowHidden()"> <span class="row-right" @click="dateShowHidden()">
@ -105,8 +107,7 @@
活动人数 活动人数
</span> </span>
<span class="row-right"> <span class="row-right">
<input type="number" placeholder="请填写活动人数" class="input" v-model="form.stock" <input type="number" placeholder="请填写活动人数" class="input" v-model="form.stock" />
/>
</span> </span>
</view> </view>
<span class="line-row"></span> <span class="line-row"></span>
@ -189,11 +190,14 @@
<!-- 活动分类 --> <!-- 活动分类 -->
<u-popup :show="showPopbq" mode="bottom" round="20" :customStyle="{ 'width': '750rpx', 'height': '1040rpx','zIndex': '20000'}" <u-popup :show="showPopbq" mode="bottom" round="20"
:closeable="false" @close="closebq" :closeOnClickOverlay="false"> :customStyle="{ 'width': '750rpx', 'height': '1040rpx','zIndex': '20000'}" :closeable="false"
<image @click="closebq" src="@/static/center/close.png" mode="" style="width: 44rpx;height: 44rpx;position: absolute;right: 30rpx;top: -160rpx;z-index: 155;" ></image> @close="closebq" :closeOnClickOverlay="false">
<image @click="closebq" src="@/static/center/close.png" mode=""
style="width: 44rpx;height: 44rpx;position: absolute;right: 30rpx;top: -160rpx;z-index: 155;">
</image>
<view class="popup_bq"> <view class="popup_bq">
<view @click="closebq" style="z-index: 200;width: 100%;text-align: right;padding-right: 40rpx;padding-top: 20rpx;">确认</view> <!-- <view @click="closebq" style="z-index: 200;width: 100%;text-align: right;padding-right: 40rpx;padding-top: 20rpx;">确认</view> -->
<img src="https://naweigetetest2.hschool.com.cn/dyqc/hdfenlei.png" alt="" /> <img src="https://naweigetetest2.hschool.com.cn/dyqc/hdfenlei.png" alt="" />
<view class="flex flex-column w-100 bqlist"> <view class="flex flex-column w-100 bqlist">
<scroll-view scroll-y="true" class="flex align-items allbqs"> <scroll-view scroll-y="true" class="flex align-items allbqs">
@ -218,6 +222,9 @@
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<view>
<view @click="closebq" class="btn_1">确定选择</view>
</view>
</view> </view>
</view> </view>
@ -245,21 +252,21 @@
</template> </template>
<script> <script>
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import { import {
dateWeek dateWeek
} from '../../utils/dateFormat' } from '../../utils/dateFormat'
export default { export default {
data() { data() {
return { return {
showPopbq: false,// showPopbq: false, //
bqList: [],// bqList: [], //
cate_id: '',//id cate_id: '', //id
list: [], list: [],
refund_list: [],//退list refund_list: [], //退list
peopleShow: false, // peopleShow: false, //
inputValue: '', // inputValue: '', //
inputType: 'text',// inputType: 'text', //
birthShow: false, // birthShow: false, //
birthShow1: false, // birthShow1: false, //
value: false, value: false,
@ -297,10 +304,10 @@ export default {
latitude: '', latitude: '',
longitude: '', longitude: '',
address_detail: '', // address_detail: '', //
date: dayjs().add(4,'hour').valueOf(), // date: dayjs().add(4, 'hour').valueOf(), //
date1: dayjs().add(8,'hour').valueOf(), // date1: dayjs().add(8, 'hour').valueOf(), //
birth: dayjs().add(4,'hour').valueOf(), // birth: dayjs().add(4, 'hour').valueOf(), //
birth1: dayjs().add(8,'hour').valueOf(), // birth1: dayjs().add(8, 'hour').valueOf(), //
}, },
apply_info: {}, apply_info: {},
@ -620,14 +627,14 @@ export default {
console.log(11111) console.log(11111)
const that = this const that = this
uni.chooseLocation({ uni.chooseLocation({
success: function (res) { success: function(res) {
console.log(res) console.log(res)
that.form.address = res.name that.form.address = res.name
// that.form.address_detail = res.address // that.form.address_detail = res.address
that.form.latitude = res.latitude that.form.latitude = res.latitude
that.form.longitude = res.longitude that.form.longitude = res.longitude
}, },
fail: function (rot) { fail: function(rot) {
console.log(rot) console.log(rot)
} }
}); });
@ -904,8 +911,10 @@ export default {
}); });
return; return;
} }
let hdtime = dayjs(this.form.date).format('YYYY-MM-DD HH:mm:ss') + ' - ' + dayjs(this.form.date1).format('YYYY-MM-DD HH:mm:ss'); let hdtime = dayjs(this.form.date).format('YYYY-MM-DD HH:mm:ss') + ' - ' + dayjs(this.form.date1).format(
let bmtime = dayjs(this.form.birth).format('YYYY-MM-DD HH:mm:ss') + ' - ' + dayjs(this.form.birth1).format('YYYY-MM-DD HH:mm:ss'); 'YYYY-MM-DD HH:mm:ss');
let bmtime = dayjs(this.form.birth).format('YYYY-MM-DD HH:mm:ss') + ' - ' + dayjs(this.form.birth1).format(
'YYYY-MM-DD HH:mm:ss');
params = { params = {
title: this.form.title, title: this.form.title,
cate_ids: this.form.cate_ids, cate_ids: this.form.cate_ids,
@ -928,8 +937,8 @@ export default {
title: '发布中', title: '发布中',
icon: 'none', icon: 'none',
duration: 2000, duration: 2000,
complete: function () { complete: function() {
setTimeout(function () { setTimeout(function() {
uni.switchTab({ uni.switchTab({
url: "/pages/my/index" url: "/pages/my/index"
}) })
@ -980,65 +989,66 @@ export default {
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
// .allbg{ // .allbg{
// } // }
.title_logo { .title_logo {
width: 690rpx; width: 690rpx;
margin-top: 110rpx; margin-top: 110rpx;
display: flex; display: flex;
} }
.backImg { .backImg {
// background: linear-gradient(to bottom, #F1F2F8 0%, #F1F2F8 50%, #FFFFFF 100%); // background: linear-gradient(to bottom, #F1F2F8 0%, #F1F2F8 50%, #FFFFFF 100%);
width: 750rpx; width: 750rpx;
background-color: #f7f7f7; background-color: #f7f7f7;
background-image: url("https://naweigetetest2.hschool.com.cn/dyqc/bgx2.png"); background-image: url("https://naweigetetest2.hschool.com.cn/dyqc/bgx2.png");
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.w-100 { .w-100 {
width: 100%; width: 100%;
} }
.flex { .flex {
display: flex; display: flex;
} }
.justify-center { .justify-center {
justify-content: center; justify-content: center;
} }
.space-between { .space-between {
justify-content: space-between; justify-content: space-between;
} }
.align-items { .align-items {
align-items: center; align-items: center;
} }
.flex-column { .flex-column {
flex-flow: column; flex-flow: column;
} }
.justify-start { .justify-start {
justify-content: start; justify-content: start;
} }
.mar-top-30 { .mar-top-30 {
margin-top: 30rpx; margin-top: 30rpx;
} }
.box { .box {
width: 690rpx; width: 690rpx;
margin-top: 40rpx; margin-top: 40rpx;
height: 1100rpx; height: 1100rpx;
margin-bottom:320rpx ; margin-bottom: 320rpx;
.title { .title {
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-weight: 500; font-weight: 500;
@ -1081,7 +1091,7 @@ export default {
font-size: 26rpx; font-size: 26rpx;
color: #343434; color: #343434;
line-height: 32rpx; line-height: 32rpx;
width: 150rpx; width: 160rpx;
} }
.pic_view { .pic_view {
@ -1158,9 +1168,9 @@ export default {
line-height: 32rpx; line-height: 32rpx;
} }
} }
} }
.textarea_fb { .textarea_fb {
::v-deep .u-textarea { ::v-deep .u-textarea {
height: 100%; height: 100%;
padding: 0; padding: 0;
@ -1173,15 +1183,15 @@ export default {
font-size: 24rpx; font-size: 24rpx;
color: #9C9C9C; color: #9C9C9C;
} }
} }
.shenfen ::v-deep .u-upload .u-upload__wrap__preview__image { .shenfen ::v-deep .u-upload .u-upload__wrap__preview__image {
width: 196rpx !important; width: 196rpx !important;
height: 196rpx !important; height: 196rpx !important;
} }
.bottom { .bottom {
width: 750rpx; width: 750rpx;
height: 162rpx; height: 162rpx;
background: #FFFFFF; background: #FFFFFF;
@ -1202,41 +1212,41 @@ export default {
color: #BBFC5B; color: #BBFC5B;
line-height: 32rpx; line-height: 32rpx;
} }
} }
.inputl { .inputl {
text-align: left; text-align: left;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-size: 28rpx; font-size: 28rpx;
color: #343434; color: #343434;
line-height: 32rpx; line-height: 32rpx;
width: 500rpx; width: 500rpx;
} }
.input { .input {
text-align: right; text-align: right;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-size: 26rpx; font-size: 26rpx;
color: #343434; color: #343434;
line-height: 32rpx; line-height: 32rpx;
width: 450rpx; width: 450rpx;
} }
.shenfen ::v-deep .u-transition.data-v-39e33bf2.vue-ref.u-fade-enter-to.u-fade-enter-active:not(:first-child) { .shenfen ::v-deep .u-transition.data-v-39e33bf2.vue-ref.u-fade-enter-to.u-fade-enter-active:not(:first-child) {
margin-top: 20rpx; margin-top: 20rpx;
} }
.popup { .popup {
// width: 690rpx; // width: 690rpx;
height: 950rpx; height: 950rpx;
margin-top: 40rpx; margin-top: 40rpx;
} }
.popup-footer { .popup-footer {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -1267,37 +1277,37 @@ export default {
font-weight: 400; font-weight: 400;
font-size: 36rpx; font-size: 36rpx;
} }
} }
// //
// ::v-deep ::-webkit-scrollbar { // ::v-deep ::-webkit-scrollbar {
// /**/ // /**/
// width: 4px !important; // width: 4px !important;
// height: 1px !important; // height: 1px !important;
// overflow: auto !important; // overflow: auto !important;
// background: #ccc !important; // background: #ccc !important;
// -webkit-appearance: auto !important; // -webkit-appearance: auto !important;
// display: block; // display: block;
// } // }
// ::v-deep ::-webkit-scrollbar-thumb { // ::v-deep ::-webkit-scrollbar-thumb {
// /**/ // /**/
// border-radius: 10px !important; // border-radius: 10px !important;
// box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
// background: #7b7979 !important; // background: #7b7979 !important;
// } // }
// ::v-deep ::-webkit-scrollbar-track { // ::v-deep ::-webkit-scrollbar-track {
// /**/ // /**/
// // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; // // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
// // border-radius: 10px !important; // // border-radius: 10px !important;
// background: #FFFFFF !important; // background: #FFFFFF !important;
// } // }
.textarea_mph { .textarea_mph {
::v-deep .u-textarea { ::v-deep .u-textarea {
height: 100%; height: 100%;
padding: 20rpx; padding: 20rpx;
@ -1312,13 +1322,13 @@ export default {
font-size: 24rpx; font-size: 24rpx;
color: #9C9C9C; color: #9C9C9C;
} }
} }
.popup_bq { .popup_bq {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
height: 1040rpx; height: 950rpx;
position: relative; position: relative;
img { img {
@ -1346,7 +1356,8 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
height: 760rpx; height: 760rpx;
width: 700rpx; width: 700rpx;
.titles_fl{
.titles_fl {
width: 112rpx; width: 112rpx;
height: 39rpx; height: 39rpx;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
@ -1386,11 +1397,12 @@ export default {
} }
} }
.popup_tkall { .popup_tkall {
// height: 1100rpx; // height: 1100rpx;
z-index: 100; z-index: 100;
.popup_tk { .popup_tk {
font-size: 42rpx; font-size: 42rpx;
font-weight: 800; font-weight: 800;
@ -1460,5 +1472,19 @@ export default {
font-weight: 400; font-weight: 400;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
} }
} }
.btn_1 {
width: 90%;
height: 80rpx;
background: #323232;
border-radius: 198rpx 198rpx 198rpx 198rpx;
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 400;
font-size: 32rpx;
color: #BBFC5B;
line-height: 80rpx;
text-align: center;
margin-top: 40rpx;
}
</style> </style>

View File

@ -112,14 +112,11 @@
</template> </template>
<script> <script>
import MySwiper from "@/components/fuyu-MixSwiper/fuyu-MixSwiper.vue"; // import MySwiper from "@/components/fuyu-MixSwiper/fuyu-MixSwiper.vue";
import { import {
dateWeek dateWeek
} from '../../utils/dateFormat' } from '../../utils/dateFormat'
export default { export default {
components: {
MySwiper,
},
data() { data() {
return { return {
cate_ids: '', //id cate_ids: '', //id

View File

@ -45,12 +45,12 @@
<!-- 提现 --> <!-- 提现 -->
<!-- <view class="first mymoney flex flex-column" @click="callPhone(init.mobile)"> <view class="first mymoney flex flex-column" @click="to('/packageB/wallet/index')">
<view class="flex"> <view class="flex">
<view class="flex flex-column myyue"> <view class="flex flex-column myyue">
<span style="font-size: 26rpx;">当前余额</span> <span style="font-size: 26rpx;">当前余额</span>
<view class="flex align-items" style="margin-top: 20rpx;"> <view class="flex align-items" style="margin-top: 20rpx;">
<span style="font-size: 40rpx;margin-right: 20rpx;">00.00</span> <span style="font-size: 40rpx;margin-right: 20rpx;">{{settleInfo.settled_amount?settleInfo.settled_amount:0}}</span>
<image src="/static/my/qjt.png" mode="" style="width: 28rpx; height: 28rpx;"></image> <image src="/static/my/qjt.png" mode="" style="width: 28rpx; height: 28rpx;"></image>
</view> </view>
</view> </view>
@ -59,12 +59,12 @@
<span class="tixianwz">提现</span> <span class="tixianwz">提现</span>
</view> </view>
</view> </view>
<view class="flex align-items botmoney"> <view class="flex align-items botmoney" >
<span>待入账 6658.00</span> <span>待入账 {{settleInfo.expected_incoming_amount?settleInfo.expected_incoming_amount:0}}</span>
<span class="shu"></span> <span class="shu"></span>
<span>累计收益 6658.00</span> <span>累计收益 {{settleInfo.accumulated_incoming_amount?settleInfo.accumulated_incoming_amount:0}}</span>
</view>
</view> </view>
</view> -->
<!-- 成为主理人 --> <!-- 成为主理人 -->
<view class="first service flex justify-center align-items" @click="iszhuliren()"> <view class="first service flex justify-center align-items" @click="iszhuliren()">
@ -181,6 +181,7 @@ export default {
...mapActions(['number']), ...mapActions(['number']),
data() { data() {
return { return {
settleInfo:{},
tabBarShow:null, tabBarShow:null,
topHeight: '', topHeight: '',
hotList: [], hotList: [],
@ -745,6 +746,8 @@ export default {
this.actives = res.data.activity_info.join_num; this.actives = res.data.activity_info.join_num;
this.pushActives = res.data.activity_info.release_num; this.pushActives = res.data.activity_info.release_num;
this.settleInfo= res.data.settle_info;
uni.setStorageSync("niName", res.data.user_info.nickname) uni.setStorageSync("niName", res.data.user_info.nickname)
this.userinfo = res.data.user_info this.userinfo = res.data.user_info
this.token = res.data.user_info.token this.token = res.data.user_info.token
@ -1137,13 +1140,13 @@ export default {
.mymoney { .mymoney {
margin-top: 30rpx; margin-top: 30rpx;
width: 690rpx; width: 690rpx;
height: 206rpx; height: 200rpx;
background: #323232; background: #323232;
border-radius: 24rpx; border-radius: 24rpx;
position: relative; position: relative;
align-items: flex-start; align-items: flex-start;
.myyue{ .myyue{
margin-top: 40rpx; margin-top: 30rpx;
margin-left: 30rpx; margin-left: 30rpx;
color: #ffffff; color: #ffffff;
} }

BIN
static/wallet.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB