1.搭+页面新增:银行卡页面
2.搭+钱包接口对接:新增,编辑银行卡,提现,提现列表 搭+提现功能完成度(100%) 3.搭+身份认证功能页面制作接口对接 搭+身份认证功能完成度(100%)
@ -57,55 +57,115 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
<view class="third flex flex-column" style="justify-content: flex-start;background: linear-gradient( 180deg, #EFFFD6 0%, #FFFFFF 30%);">
|
||||||
<view class="third flex flex-column" style="justify-content: flex-start;" v-if="priceGem > 0">
|
<view class="flex align-items" style="padding: 30rpx;justify-content: space-between;">
|
||||||
<view class="third-top flex align-items">
|
<view class="third-top flex align-items" style="margin: 0px;">
|
||||||
<span>退款政策
|
<span>报名信息
|
||||||
<image class="icons" src="/static/detail/xiangqing.png"></image>
|
<image class="icons" src="/static/detail/xiangqing.png"></image>
|
||||||
</span>
|
</span>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="third-center">
|
<view style="font-size: 24rpx;color: #999999;margin-left: 30rpx;">请填写真实的报名人认证信息</view>
|
||||||
|
|
||||||
|
<view style="padding: 30rpx;margin-top: 20rpx;">
|
||||||
|
<view style="display: flex;align-items: center;justify-content: space-between;">
|
||||||
|
<view>
|
||||||
|
<view style="font-size: 28rpx;color: #323232;">李明</view>
|
||||||
|
<view style="color: #9C9C9C;font-size: 24rpx;margin-top: 10rpx;">身份证 410305200001012025</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<image src="/static/fabu/nocheck.png" style="width: 40rpx;height: 40rpx"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;background-color: #F0F0F0;width: 100%;margin-top: 20rpx;"></view>
|
||||||
|
</view>
|
||||||
|
<view style="padding: 30rpx;">
|
||||||
|
<view style="padding: 15rpx 0rpx;display: flex;align-items: center;border-radius: 118rpx;width: 323rpx;background: #F7F7F7;margin: 0 auto;justify-content: center;">
|
||||||
|
<view>
|
||||||
|
<image src="/static/order_add.png" style="width: 30rpx;height: 30rpx"></image>
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 28rpx;margin-left: 20rpx;">添加/删除报名人</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="third flex flex-column" style="justify-content: flex-start;" v-if="priceGem > 0">
|
||||||
|
<view @click="tipsShow= true" class="flex align-items" style="padding: 30rpx;justify-content: space-between;">
|
||||||
|
<view class="third-top flex align-items" style="margin: 0px;">
|
||||||
|
<span>退款政策
|
||||||
|
<image class="icons" src="/static/detail/xiangqing.png"></image>
|
||||||
|
</span>
|
||||||
|
</view>
|
||||||
|
<view style="display: flex;align-items: center;">
|
||||||
|
<view style="background: #323232;border-radius: 8rpx;text-align: center;padding: 2rpx 10rpx 10rpx 10rpx;">
|
||||||
|
<text style="font-size: 22rpx;color: #BBFC5B;">{{detail.refund_info.title}}</text>
|
||||||
|
</view>
|
||||||
|
<view style="margin-left: 10rpx;"><u-icon name="arrow-right"></u-icon></view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="third-center">
|
||||||
<uni-table border stripe emptyText="暂无更多数据" >
|
<uni-table border stripe emptyText="暂无更多数据" >
|
||||||
<!-- 表头行 -->
|
|
||||||
<uni-tr>
|
<uni-tr>
|
||||||
<uni-th width="160" align="left">申请退款时间</uni-th>
|
<uni-th width="160" align="left">申请退款时间</uni-th>
|
||||||
<uni-th width="80" align="left">退款比例</uni-th>
|
<uni-th width="80" align="left">退款比例</uni-th>
|
||||||
<uni-th width="80" align="left">退款金额</uni-th>
|
<uni-th width="80" align="left">退款金额</uni-th>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
<!-- 表格数据行 -->
|
|
||||||
<uni-tr v-if="detail.refund_info.status == 1">
|
<uni-tr v-if="detail.refund_info.status == 1">
|
||||||
<uni-td>报名开始后</uni-td>
|
<uni-td>报名开始后</uni-td>
|
||||||
<uni-td>0%</uni-td>
|
<uni-td>0%</uni-td>
|
||||||
<uni-td>0</uni-td>
|
<uni-td>0</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
|
|
||||||
<uni-tr v-if="detail.refund_info.status == 5">
|
<uni-tr v-if="detail.refund_info.status == 5">
|
||||||
<uni-td>报名开始至{{ fomartertime }}</uni-td>
|
<uni-td>报名开始至{{ fomartertime }}</uni-td>
|
||||||
<uni-td>需协商</uni-td>
|
<uni-td>需协商</uni-td>
|
||||||
<uni-td>需协商</uni-td>
|
<uni-td>需协商</uni-td>
|
||||||
</uni-tr>
|
</uni-tr>
|
||||||
|
</uni-table>
|
||||||
</uni-table>
|
</view> -->
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="third flex flex-column" style="justify-content: flex-start;">
|
<u-popup @touchmove.native.stop.prevent :custom-style="{
|
||||||
|
width: '690rpx',
|
||||||
|
height: '450rpx',
|
||||||
|
margin: '0 auto',
|
||||||
|
display: 'flex',
|
||||||
|
justifyContent: 'flex-start',
|
||||||
|
alignItems: 'center'}" :closeable="false" :show="tipsShow" :round="10" mode="center"
|
||||||
|
:closeOnClickOverlay="false">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 400;margin: 12rpx 0 24rpx 0;">退款政策</view>
|
||||||
|
<view class="third-center">
|
||||||
|
<uni-table border stripe emptyText="暂无更多数据" >
|
||||||
|
<uni-tr>
|
||||||
|
<uni-th width="160" align="left">申请退款时间</uni-th>
|
||||||
|
<uni-th width="70" align="left">退款比例</uni-th>
|
||||||
|
<uni-th width="70" align="left">退款金额</uni-th>
|
||||||
|
</uni-tr>
|
||||||
|
<uni-tr v-if="detail.refund_info.status == 1">
|
||||||
|
<uni-td>报名开始后</uni-td>
|
||||||
|
<uni-td>0%</uni-td>
|
||||||
|
<uni-td>0</uni-td>
|
||||||
|
</uni-tr>
|
||||||
|
<uni-tr v-if="detail.refund_info.status == 5">
|
||||||
|
<uni-td>报名开始至{{ fomartertime }}</uni-td>
|
||||||
|
<uni-td>需协商</uni-td>
|
||||||
|
<uni-td>需协商</uni-td>
|
||||||
|
</uni-tr>
|
||||||
|
</uni-table>
|
||||||
|
</view>
|
||||||
|
<view class="popup-footer">
|
||||||
|
<view class="zhixiao shows_zhidao" @click="tipsShow = false">我已知晓</view>
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
|
<view class="third flex flex-column" style="justify-content: flex-start;margin-bottom: 300rpx;">
|
||||||
<view class="third-top flex align-items">
|
<view class="third-top flex align-items">
|
||||||
<span>免责声明
|
<span>免责声明
|
||||||
<image class="icons" src="/static/detail/xiangqing.png"></image>
|
<image class="icons" src="/static/detail/xiangqing.png"></image>
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="third-center mgbot">
|
<view class="third-center">
|
||||||
<span style="color: #9C9C9C; font-size: 24rpx;">
|
<span style="color: #9C9C9C; font-size: 24rpx;">
|
||||||
活动均为主理人自行发布并组织的活动,请您注意,粗门仅为活动提供平台技术支持,活动后续事项有主理人负责组织,费用均为主理人收取。
|
活动均为主理人自行发布并组织的活动,请您注意,粗门仅为活动提供平台技术支持,活动后续事项有主理人负责组织,费用均为主理人收取。
|
||||||
如您因活动发起、组织、撤销、下线、退款等引起的纠纷须由主理人自行解决并承担后果。
|
如您因活动发起、组织、撤销、下线、退款等引起的纠纷须由主理人自行解决并承担后果。
|
||||||
活动均为主理人自行发布并组织的活动,请您注意,粗门仅为活动提供平台技术支持,活动后续事项有主理人负责组织,费用均为主理人收取。
|
|
||||||
如您因活动发起、组织、撤销、下线、退款等引起的纠纷须由主理人自行解决并承担后果。
|
|
||||||
活动均为主理人自行发布并组织的活动,请您注意,粗门仅为活动提供平台技术支持,活动后续事项有主理人负责组织,费用均为主理人收取。
|
|
||||||
如您因活动发起、组织、撤销、下线、退款等引起的纠纷须由主理人自行解决并承担后果。
|
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -231,6 +291,7 @@
|
|||||||
img: 'width: 100%'
|
img: 'width: 100%'
|
||||||
|
|
||||||
},
|
},
|
||||||
|
tipsShow:false,
|
||||||
nummoney:1,
|
nummoney:1,
|
||||||
priceGem:null,
|
priceGem:null,
|
||||||
Negotiate: null, // 入驻协议
|
Negotiate: null, // 入驻协议
|
||||||
@ -758,7 +819,6 @@
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.detail_all{
|
.detail_all{
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
height: 100vh;
|
|
||||||
}
|
}
|
||||||
.w-100 {
|
.w-100 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -1039,7 +1099,7 @@
|
|||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 200rpx;
|
height: 250rpx;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -1053,14 +1113,15 @@
|
|||||||
|
|
||||||
.footer-right {
|
.footer-right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 30rpx;
|
width: 100%;
|
||||||
width: 690rpx;
|
|
||||||
height: 102rpx;
|
height: 102rpx;
|
||||||
background: #C1C1C1;
|
background: #C1C1C1;
|
||||||
border-radius: 200rpx;
|
border-radius: 200rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
span {
|
span {
|
||||||
width: 690rpx;
|
width: 94%;
|
||||||
height: 102rpx;
|
height: 102rpx;
|
||||||
line-height: 102rpx;
|
line-height: 102rpx;
|
||||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
:urls="item.join_info.users"
|
:urls="item.join_info.users"
|
||||||
keyName="avatar"
|
keyName="avatar"
|
||||||
size="30"
|
size="30"
|
||||||
maxCount="5"
|
maxCount="1"
|
||||||
gap="0.4"
|
gap="0.4"
|
||||||
></u-avatar-group>
|
></u-avatar-group>
|
||||||
<image
|
<image
|
||||||
@ -79,9 +79,9 @@
|
|||||||
margin-left: -20rpx;
|
margin-left: -20rpx;
|
||||||
"
|
"
|
||||||
></image>
|
></image>
|
||||||
<view style="margin-left: 20rpx;vertical-align: middle;font-size: 26rpx;">{{ Number(item.join_info.people_number) + "人已上车" }}</view>
|
<view style="margin-left: 20rpx;vertical-align: middle;font-size: 24rpx;">{{ Number(item.join_info.people_number) + "人已上车" }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="font-size: 26rpx; width: 40%;">
|
<view style="font-size: 26rpx; width: 24%;">
|
||||||
<text>核销:</text>
|
<text>核销:</text>
|
||||||
<text style="color: orangered;">{{item.verification_num}}</text>
|
<text style="color: orangered;">{{item.verification_num}}</text>
|
||||||
<text>/{{item.stock}}</text>
|
<text>/{{item.stock}}</text>
|
||||||
@ -246,7 +246,8 @@
|
|||||||
|
|
||||||
// 获取我发布的活动
|
// 获取我发布的活动
|
||||||
getHotList(val) {
|
getHotList(val) {
|
||||||
let auth_status = val == '0' ? this.auth_status : '';
|
console.log(val);
|
||||||
|
let auth_status = val == '0' ? 0 : '1';
|
||||||
let vals = val == '0' ? '' : val;
|
let vals = val == '0' ? '' : val;
|
||||||
uni.$u.http
|
uni.$u.http
|
||||||
.get("/api/school.new_activity/activity_list", {
|
.get("/api/school.new_activity/activity_list", {
|
||||||
|
@ -6,19 +6,42 @@
|
|||||||
<view class="list">
|
<view class="list">
|
||||||
<view class="list-item">
|
<view class="list-item">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<u-avatar :src="avatar" shape="circle" size="59"></u-avatar>
|
头像设置
|
||||||
</view>
|
</view>
|
||||||
<view class="right" @click="upload">
|
<view class="right" @click="upload">
|
||||||
更换头像
|
<u-avatar :src="avatar" shape="circle" size="35"></u-avatar>
|
||||||
<u-icon name="arrow-right" color="#babdc7"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="list-item">
|
<view class="list-item">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
昵称
|
昵称设置
|
||||||
</view>
|
</view>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
<u--input v-model="niName" placeholder="请输入昵称" border="none" inputAlign="right"></u--input>
|
<u--input color="#9C9C9C" v-model="niName" placeholder="请输入昵称" border="none"
|
||||||
|
inputAlign="right"></u--input>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="list-item" @click="openUrl('/packageB/wallet/add_bank')">
|
||||||
|
<view class="left">
|
||||||
|
银行卡
|
||||||
|
</view>
|
||||||
|
<view class="right">
|
||||||
|
<view>
|
||||||
|
<u-icon name="arrow-right"></u-icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="list-item" @click="openSfz()">
|
||||||
|
<view class="left">
|
||||||
|
身份信息
|
||||||
|
</view>
|
||||||
|
<view class="right">
|
||||||
|
<view>
|
||||||
|
<text v-if="sfInfo.status==-1">未认证</text>
|
||||||
|
<text v-if="sfInfo.status==1">已认证</text>
|
||||||
|
</view>
|
||||||
|
<view><u-icon name="arrow-right"></u-icon></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="list-item">
|
<!-- <view class="list-item">
|
||||||
@ -36,7 +59,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<u-button v-if="typeop == 2" :customStyle="style" @click="out">退出账号</u-button>
|
<u-button v-if="typeop == 2" :customStyle="style" @click="out">退出账号</u-button>
|
||||||
<u-button v-else :customStyle="style" @click="submit">保存</u-button>
|
<u-button v-else :customStyle="style" @click="submit">保存</u-button>
|
||||||
</view>
|
</view>
|
||||||
<!-- <u-picker :show="show" :columns="columns" keyName='name' @confirm="confirm" @cancel="cancel"></u-picker>
|
<!-- <u-picker :show="show" :columns="columns" keyName='name' @confirm="confirm" @cancel="cancel"></u-picker>
|
||||||
<u-picker :show="show1" :columns="columns1" keyName='name' @confirm="confirm1" @cancel="cancel"></u-picker>
|
<u-picker :show="show1" :columns="columns1" keyName='name' @confirm="confirm1" @cancel="cancel"></u-picker>
|
||||||
@ -50,13 +73,13 @@
|
|||||||
<view class="avatar_choose">
|
<view class="avatar_choose">
|
||||||
<view class="cards" @click="clickAvatar(0)">
|
<view class="cards" @click="clickAvatar(0)">
|
||||||
<img src="https://naweigetetest2.hschool.com.cn/dyqc/img1.png" alt="" />
|
<img src="https://naweigetetest2.hschool.com.cn/dyqc/img1.png" alt="" />
|
||||||
<view class="choose_btn" >
|
<view class="choose_btn">
|
||||||
更换
|
更换
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cards" @click="clickAvatar(1)">
|
<view class="cards" @click="clickAvatar(1)">
|
||||||
<img src="https://naweigetetest2.hschool.com.cn/dyqc/img2.png" alt="" />
|
<img src="https://naweigetetest2.hschool.com.cn/dyqc/img2.png" alt="" />
|
||||||
<view class="choose_btn" >
|
<view class="choose_btn">
|
||||||
更换
|
更换
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -109,7 +132,7 @@
|
|||||||
loading: false,
|
loading: false,
|
||||||
columns3: [],
|
columns3: [],
|
||||||
avatar: "https://cdn.uviewui.com/uview/album/1.jpg",
|
avatar: "https://cdn.uviewui.com/uview/album/1.jpg",
|
||||||
upAvatar:'',
|
upAvatar: '',
|
||||||
titleStyle: {
|
titleStyle: {
|
||||||
fontSize: '34rpx',
|
fontSize: '34rpx',
|
||||||
fontWeight: 600
|
fontWeight: 600
|
||||||
@ -195,7 +218,8 @@
|
|||||||
}, {
|
}, {
|
||||||
name: '综合管理'
|
name: '综合管理'
|
||||||
}]
|
}]
|
||||||
]
|
],
|
||||||
|
sfInfo: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@ -211,15 +235,36 @@
|
|||||||
// this.handelData()
|
// this.handelData()
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
this.getSfInfo();
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
out(){
|
openSfz(){
|
||||||
|
if(this.sfInfo.status==-1){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/packageB/card/index'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getSfInfo() {
|
||||||
|
uni.$u.http.get('/api/school.real_name/info').then(res => {
|
||||||
|
console.log(res);
|
||||||
|
this.sfInfo = res.data;
|
||||||
|
})
|
||||||
|
},
|
||||||
|
out() {
|
||||||
uni.clearStorageSync()
|
uni.clearStorageSync()
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/my/index'
|
url: '/pages/my/index'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
openUrl(url) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: url
|
||||||
|
})
|
||||||
|
},
|
||||||
submit() {
|
submit() {
|
||||||
console.log(this.avatar,'this.avatar')
|
console.log(this.avatar, 'this.avatar')
|
||||||
uni.$u.http.post('/api/user/profile', {
|
uni.$u.http.post('/api/user/profile', {
|
||||||
avatar: this.avatar,
|
avatar: this.avatar,
|
||||||
nickname: this.niName,
|
nickname: this.niName,
|
||||||
@ -227,14 +272,14 @@
|
|||||||
// birthday: this.birthday,
|
// birthday: this.birthday,
|
||||||
// realname: this.realname,
|
// realname: this.realname,
|
||||||
// gender: this.gender == '男' ? '1' : '0',
|
// gender: this.gender == '男' ? '1' : '0',
|
||||||
update_fields: ['nickname', 'birthday', 'realname', 'gender', 'work','avatar']
|
update_fields: ['nickname', 'birthday', 'realname', 'gender', 'work', 'avatar']
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 1) {
|
if (res.code == 1) {
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '保存成功',
|
message: '保存成功',
|
||||||
duration:'1000',
|
duration: '1000',
|
||||||
complete: function() {
|
complete: function() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
uni.navigateBack(1)
|
uni.navigateBack(1)
|
||||||
@ -254,8 +299,8 @@
|
|||||||
uni.$u.http.post('/api/user/index').then(res => {
|
uni.$u.http.post('/api/user/index').then(res => {
|
||||||
if (res.code == 1) {
|
if (res.code == 1) {
|
||||||
const userinfo = res.data.user_info
|
const userinfo = res.data.user_info
|
||||||
uni.setStorageSync('userInfo',res.data.user_info)
|
uni.setStorageSync('userInfo', res.data.user_info)
|
||||||
uni.setStorageSync("niName",res.data.user_info.nickname)
|
uni.setStorageSync("niName", res.data.user_info.nickname)
|
||||||
if (userinfo.birthday !== null) {
|
if (userinfo.birthday !== null) {
|
||||||
this.birthday = userinfo.birthday
|
this.birthday = userinfo.birthday
|
||||||
}
|
}
|
||||||
@ -271,7 +316,7 @@
|
|||||||
}
|
}
|
||||||
if (userinfo.nickname !== null) {
|
if (userinfo.nickname !== null) {
|
||||||
this.nickname = userinfo.nickname
|
this.nickname = userinfo.nickname
|
||||||
uni.setStorageSync('niName',this.nickname)
|
uni.setStorageSync('niName', this.nickname)
|
||||||
}
|
}
|
||||||
if (userinfo.gender !== null) {
|
if (userinfo.gender !== null) {
|
||||||
this.gender = userinfo.gender == '1' ? '男' : '女'
|
this.gender = userinfo.gender == '1' ? '男' : '女'
|
||||||
@ -360,16 +405,16 @@
|
|||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img1.png'
|
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img1.png'
|
||||||
} else if (index == 1) {
|
} else if (index == 1) {
|
||||||
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img2.png'
|
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img2.png'
|
||||||
} else if (index == 2) {
|
} else if (index == 2) {
|
||||||
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img3.png'
|
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img3.png'
|
||||||
} else if (index == 3) {
|
} else if (index == 3) {
|
||||||
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img4.png'
|
avatar = 'https://naweigetetest2.hschool.com.cn/dyqc/img4.png'
|
||||||
}
|
}
|
||||||
this.avatar = avatar
|
this.avatar = avatar
|
||||||
console.log(this.avatar,'this.avatar')
|
console.log(this.avatar, 'this.avatar')
|
||||||
uni.$u.http.post('/api/user/profile', {
|
uni.$u.http.post('/api/user/profile', {
|
||||||
update_fields:['avatar'],
|
update_fields: ['avatar'],
|
||||||
avatar: avatar
|
avatar: avatar
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
@ -378,7 +423,10 @@
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: '修改成功'
|
message: '修改成功'
|
||||||
})
|
})
|
||||||
uni.setStorageSync('userInfo', { ...uni.getStorageSync('userInfo'), avatar: avatar });
|
uni.setStorageSync('userInfo', {
|
||||||
|
...uni.getStorageSync('userInfo'),
|
||||||
|
avatar: avatar
|
||||||
|
});
|
||||||
this.show5 = false
|
this.show5 = false
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
}
|
}
|
||||||
@ -487,11 +535,11 @@
|
|||||||
min-height: calc(100vh - 166rpx - 88rpx - 44rpx);
|
min-height: calc(100vh - 166rpx - 88rpx - 44rpx);
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
width: 690rpx;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 40rpx 30rpx;
|
padding: 0rpx 30rpx 30rpx 30rpx;
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
.list-item {
|
.list-item {
|
||||||
@ -500,52 +548,15 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color: #181818;
|
color: #181818;
|
||||||
height: 91rpx;
|
height: 105rpx;
|
||||||
line-height: 91rpx;
|
line-height: 105rpx;
|
||||||
border-bottom: 1rpx solid #f5f6fa;
|
border-bottom: 1rpx solid #f5f6fa;
|
||||||
|
|
||||||
&:nth-child(1) {
|
.right {
|
||||||
height: 148rpx;
|
display: flex;
|
||||||
line-height: 148rpx;
|
align-items: center;
|
||||||
|
font-size: 30rpx;
|
||||||
.right {
|
color: #202020;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 30rpx;
|
|
||||||
color: #babdc7;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(4) {
|
|
||||||
.right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(5) {
|
|
||||||
.right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(6) {
|
|
||||||
.right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(7) {
|
|
||||||
.right {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -567,7 +578,7 @@
|
|||||||
height: 166rpx;
|
height: 166rpx;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
box-shadow: 0rpx -2rpx 4rpx 0rpx rgba(186, 189, 199, 0.2);
|
box-shadow: 0rpx -2rpx 4rpx 0rpx rgba(186, 189, 199, 0.2);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar_choose {
|
.avatar_choose {
|
||||||
@ -583,6 +594,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0 10rpx;
|
margin: 0 10rpx;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 150rpx;
|
width: 150rpx;
|
||||||
height: 150rpx;
|
height: 150rpx;
|
||||||
|
173
packageB/card/index.vue
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
<template>
|
||||||
|
<view style="page">
|
||||||
|
<view style="padding: 30rpx;">
|
||||||
|
<view>
|
||||||
|
<text style="color: #FF4810;font-size: 28rpx;">*</text>
|
||||||
|
<text>上传身份证</text>
|
||||||
|
</view>
|
||||||
|
<view
|
||||||
|
style="display: flex;justify-content: space-between;align-items: center;gap: 30rpx;margin-top: 30rpx;">
|
||||||
|
<view style="width: 50%;text-align: center;">
|
||||||
|
<u-upload @afterRead="afterRead($event,0)" :previewFullImage="true"
|
||||||
|
@delete="deletePic" @oversize="oversize" :maxSize="1 * 1024 * 1024"
|
||||||
|
:maxCount="1">
|
||||||
|
<view style="width: 330rpx;height: 100px;">
|
||||||
|
<image v-if="form.positive_img==''" src="/static/index/zheng.png" style="width: 100%;" mode="widthFix"></image>
|
||||||
|
<image v-else :src="imgUrl+form.positive_img" style="width: 330rpx;height: 100px;" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</u-upload>
|
||||||
|
<view style="font-size: 24rpx;margin-top: 30rpx;">点击上传身份证正面</view>
|
||||||
|
</view>
|
||||||
|
<view style="width: 50%;text-align: center;">
|
||||||
|
<u-upload @afterRead="afterRead($event,1)" :previewFullImage="true"
|
||||||
|
@delete="deletePic" @oversize="oversize" :maxSize="1 * 1024 * 1024"
|
||||||
|
:maxCount="1">
|
||||||
|
<view style="width: 330rpx;height: 100px;">
|
||||||
|
<image v-if="form.back_img==''" src="/static/index/bei.png" style="width: 100%;" mode="widthFix"></image>
|
||||||
|
<image v-else :src="imgUrl+form.back_img" style="width: 330rpx;height: 100px;" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</u-upload>
|
||||||
|
<view style="font-size: 24rpx;margin-top: 30rpx;">点击上传身份证反面</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 10rpx;width: 100%;background: #F8F8F8;margin-top: 20rpx;"></view>
|
||||||
|
<view style="padding: 30rpx;">
|
||||||
|
<view>
|
||||||
|
<text style="color: #FF4810;font-size: 28rpx;">*</text>
|
||||||
|
<text>身份证信息</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<view style="display: flex;justify-content: space-between;align-items: center;padding: 40rpx 0px;">
|
||||||
|
<view>
|
||||||
|
姓名
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<input type="number" placeholder="请填写真实姓名" class="input" v-model="form.name" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;width: 100%;background-color: #F0F0F0;"></view>
|
||||||
|
<view style="display: flex;justify-content: space-between;align-items: center;padding: 40rpx 0px 0px 0px;">
|
||||||
|
<view>
|
||||||
|
身份证号
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<input type="number" placeholder="请填写身份证号" class="input" v-model="form.idnum" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 10rpx;width: 100%;background: #F8F8F8;"></view>
|
||||||
|
<view class="btn_1" @click="save()">提交信息</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
imgUrl:uni.$u.http.config.baseURL,
|
||||||
|
form:{
|
||||||
|
name:'',
|
||||||
|
idnum:'',
|
||||||
|
positive_img:'',
|
||||||
|
back_img:'',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
this.getInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getInfo(){
|
||||||
|
uni.$u.http.get('/api/school.real_name/info').then(res=>{
|
||||||
|
console.log(res);
|
||||||
|
if(res.data.card_info!='' && res.data.card_info!=null){
|
||||||
|
this.form.name = res.data.card_info.name;
|
||||||
|
this.form.idnum = res.data.card_info.idnum;
|
||||||
|
this.form.positive_img = res.data.card_info.positive_img;
|
||||||
|
this.form.back_img = res.data.card_info.back_img;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
save(){
|
||||||
|
if(this.form.positive_img=='' || this.form.back_img==''){
|
||||||
|
uni.$u.toast('请上传身份证照片');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(this.form.name=='' || this.form.idnum==''){
|
||||||
|
uni.$u.toast('请填写身份证信息');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
uni.$u.http.post('/api/school.real_name/save',this.form).then(res=>{
|
||||||
|
console.log(res);
|
||||||
|
if(res.code==1){
|
||||||
|
uni.$u.toast('提交成功');
|
||||||
|
}else{
|
||||||
|
uni.$u.toast(res.data.msg);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
async afterRead(item,index){
|
||||||
|
console.log(item);
|
||||||
|
const result = await this.uploadFilePromise(item.file.url, 'user');
|
||||||
|
if(index == 0){
|
||||||
|
this.form.positive_img = result;
|
||||||
|
}else{
|
||||||
|
this.form.back_img = result;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
uploadFilePromise(url, category,index) {
|
||||||
|
console.log('category', category)
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
let a = uni.uploadFile({
|
||||||
|
url: 'https://naweigetetest2.hschool.com.cn/api/common/upload', // 仅为示例,非真实的接口地址
|
||||||
|
filePath: url,
|
||||||
|
name: 'file',
|
||||||
|
formData: {
|
||||||
|
user: 'test',
|
||||||
|
category: category
|
||||||
|
},
|
||||||
|
header: {
|
||||||
|
"token": uni.getStorageSync("token")
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
resolve(JSON.parse(res.data).data.url);
|
||||||
|
},
|
||||||
|
fail: (err) => {
|
||||||
|
reject(err);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.page {
|
||||||
|
font-family: PingFang SC, PingFang SC;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
text-align: right;
|
||||||
|
font-size: 26rpx;
|
||||||
|
color: #343434;
|
||||||
|
line-height: 32rpx;
|
||||||
|
width: 450rpx;
|
||||||
|
}
|
||||||
|
.btn_1 {
|
||||||
|
width: 95%;
|
||||||
|
height: 90rpx;
|
||||||
|
background: #323232;
|
||||||
|
border-radius: 198rpx 198rpx 198rpx 198rpx;
|
||||||
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #BBFC5B;
|
||||||
|
line-height: 90rpx;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-top: 50rpx;
|
||||||
|
}
|
||||||
|
</style>
|
174
packageB/wallet/add_bank.vue
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
<template>
|
||||||
|
<view class="page">
|
||||||
|
<view style="margin-top: 20rpx;padding: 0 30rpx;">
|
||||||
|
<view style="display: flex;align-items: center;justify-content: space-between;padding: 20rpx 0;">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 600;">
|
||||||
|
开户名
|
||||||
|
</view>
|
||||||
|
<view style="width: 80%;">
|
||||||
|
<input placeholder-class="plasty" placeholder="请输入您的姓名" class="input" v-model="form.name" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;background-color: #F0F0F0;margin: 20rpx 0;"></view>
|
||||||
|
<view style="display: flex;align-items: center;justify-content: space-between;padding: 20rpx 0;">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 600;">
|
||||||
|
身份证
|
||||||
|
</view>
|
||||||
|
<view style="width: 80%;">
|
||||||
|
<input placeholder-class="plasty" placeholder="请输入您的身份证号" class="input" v-model="form.id_number" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;background-color: #F0F0F0;margin: 20rpx 0;"></view>
|
||||||
|
<view style="display: flex;align-items: center;justify-content: space-between;padding: 20rpx 0;">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 600;">
|
||||||
|
开户行
|
||||||
|
</view>
|
||||||
|
<view style="width: 80%;">
|
||||||
|
<input placeholder-class="plasty" placeholder="请输入开户行例:(工商银行南昌路支行)" class="input"
|
||||||
|
v-model="form.bank_name" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;background-color: #F0F0F0;margin: 20rpx 0;"></view>
|
||||||
|
<view style="display: flex;align-items: center;justify-content: space-between;padding: 20rpx 0;">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 600;">
|
||||||
|
卡号
|
||||||
|
</view>
|
||||||
|
<view style="width: 80%;">
|
||||||
|
<input placeholder-class="plasty" placeholder="银行卡号" class="input" v-model="form.bank_user_name" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;background-color: #F0F0F0;margin: 20rpx 0;"></view>
|
||||||
|
</view>
|
||||||
|
<view class="btn_1" @click="save()">保存</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form: {
|
||||||
|
name: '',
|
||||||
|
bank_name: '',
|
||||||
|
bank_user_name: '',
|
||||||
|
id_number: '',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.getBankList();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getBankList() {
|
||||||
|
uni.$u.http
|
||||||
|
.get("/api/school.newactivity.settle_log/detail")
|
||||||
|
.then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
if(res.data.withdrawal!=''&&res.data.withdrawal!=null){
|
||||||
|
this.form.name = res.data.withdrawal.name;
|
||||||
|
this.form.id_number = res.data.withdrawal.id_number;
|
||||||
|
this.form.bank_name = res.data.withdrawal.bank_name;
|
||||||
|
this.form.bank_user_name = res.data.withdrawal.bank_user_name;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
save() {
|
||||||
|
if (this.form.name == '') {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入开户名',
|
||||||
|
icon: "none",
|
||||||
|
duration: 1500,
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.form.bank_name == '') {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入开户行',
|
||||||
|
icon: "none",
|
||||||
|
duration: 1500,
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.form.bank_user_name == '') {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入银行卡号',
|
||||||
|
icon: "none",
|
||||||
|
duration: 1500,
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.form.id_number == '') {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入身份证号',
|
||||||
|
icon: "none",
|
||||||
|
duration: 1500,
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
uni.$u.http
|
||||||
|
.post("/api/school.newactivity.settle_log/save", {
|
||||||
|
name: this.form.name,
|
||||||
|
bank_name: this.form.bank_name,
|
||||||
|
bank_user_name: this.form.bank_user_name,
|
||||||
|
id_number: this.form.id_number,
|
||||||
|
})
|
||||||
|
.then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
if (res.code == 1) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '保存成功',
|
||||||
|
icon: "none",
|
||||||
|
duration: 1500,
|
||||||
|
complete: function () {
|
||||||
|
setTimeout(function () {
|
||||||
|
uni.navigateBack();
|
||||||
|
}, 1500);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.msg,
|
||||||
|
icon: "none",
|
||||||
|
duration: 2000,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.page {
|
||||||
|
font-family: PingFang SC Bold, PingFang SC Bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
text-align: right;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.plasty {
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #9C9C9C;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_1 {
|
||||||
|
width: 95%;
|
||||||
|
height: 90rpx;
|
||||||
|
background: #323232;
|
||||||
|
border-radius: 198rpx 198rpx 198rpx 198rpx;
|
||||||
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #BBFC5B;
|
||||||
|
line-height: 90rpx;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 5%;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
</style>
|
@ -1,22 +1,175 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="bank-container">
|
||||||
123
|
<view style="background-color: #ffffff;border-radius: 0rpx 0rpx 44rpx 44rpx;padding:40rpx 30rpx;">
|
||||||
|
<view @click="addBank()"
|
||||||
|
style="display: flex;justify-content: space-between;align-items: center;background: #323232;height: 220rpx;width: 100%;border-radius: 18rpx;">
|
||||||
|
<view v-if="bankInfo == ''" style="display: flex;align-items: center;padding-left: 30rpx;">
|
||||||
|
<image src="/static/add.png" style="width: 40rpx;height: 40rpx;"></image>
|
||||||
|
<view style="color: #ffffff;font-size: 32rpx;margin-left: 20rpx;">添加银行卡</view>
|
||||||
|
</view>
|
||||||
|
<view v-if="bankInfo != ''" style="padding-left: 30rpx;">
|
||||||
|
<view style="color: #ffffff;font-size: 32rpx;">{{ bankInfo.bank_name }}</view>
|
||||||
|
<view
|
||||||
|
style="color: #ffffff;font-size: 32rpx;margin-top: 20rpx;font-family: PingFang SC, PingFang SC;">
|
||||||
|
{{ formatBankCard(bankInfo.bank_user_name) }}</view>
|
||||||
|
</view>
|
||||||
|
<view style="padding-right: 20rpx;">
|
||||||
|
<u-icon color="#BBFC5B" name="arrow-right"></u-icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="background-color: #ffffff;border-radius:44rpx;padding:40rpx 30rpx;margin-top: 20rpx;">
|
||||||
|
<view style="font-size: 28rpx;color: #3D3D3D;font-weight: 400;">
|
||||||
|
提现金额
|
||||||
|
</view>
|
||||||
|
<view style="margin-top: 20rpx;font-family: D-DIN-PRO, D-DIN-PRO;">
|
||||||
|
<text style="font-size: 28rpx;color: #3D3D3D;font-weight: 700;">¥</text>
|
||||||
|
<text style="font-size: 70rpx;color: #3D3D3D;font-weight: 700;margin-left: 20rpx;">{{
|
||||||
|
settleInfo.settled_amount }}</text>
|
||||||
|
</view>
|
||||||
|
<view style="background-color: #F0F0F0;height: 1px;width: 100%;margin-top: 20rpx;"></view>
|
||||||
|
<view style="font-size: 24rpx;color: #9C9C9C;font-weight: 400;margin-top: 30rpx;">
|
||||||
|
默认全部提现,具体到账时间以银行为准
|
||||||
|
</view>
|
||||||
|
<view style="color: #FF4810;font-size: 24rpx;font-weight: 400;margin-top: 30rpx;">
|
||||||
|
若您的提现账户为跨行或跨区域的对公账户,银行会收取额外 手续费,具体金额以实际到账为准
|
||||||
|
</view>
|
||||||
|
<view class="btn_1" @click="withdraw()">确认提现</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
bankInfo: '',
|
||||||
}
|
settleInfo: {},
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
this.getBankList();
|
||||||
|
this.getUserInfo();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getBankList() {
|
||||||
|
uni.$u.http
|
||||||
|
.get("/api/school.newactivity.settle_log/detail")
|
||||||
|
.then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
this.bankInfo = res.data.withdrawal==''||res.data.withdrawal==null?'':res.data.withdrawal;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//格式化银行卡,格式为:4252 **** **** **** 2563
|
||||||
|
formatBankCard(cardNumber) {
|
||||||
|
// 转换为字符串并移除非数字字符
|
||||||
|
const cleaned = cardNumber.toString().replace(/\D/g, '');
|
||||||
|
// 验证长度(至少8位才能保留首尾各4位)
|
||||||
|
if (cleaned.length < 8) return cardNumber;
|
||||||
|
// 提取前4位和后4位
|
||||||
|
const firstPart = cleaned.substring(0, 4);
|
||||||
|
const lastPart = cleaned.substring(cleaned.length - 4);
|
||||||
|
// 组合成目标格式
|
||||||
|
return `${firstPart}${'*'.repeat(12)}${lastPart}`;
|
||||||
|
},
|
||||||
|
withdraw() {
|
||||||
|
if(this.bankInfo==''||this.bankInfo==null){
|
||||||
|
uni.showToast({
|
||||||
|
title: '请先添加银行卡',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
})
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
//确认是否提现
|
||||||
|
uni.showModal({
|
||||||
|
title: '提示',
|
||||||
|
content: '确认提现?',
|
||||||
|
success: (res) => {
|
||||||
|
if (res.confirm) {
|
||||||
|
this.withdrawDo();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
withdrawDo() {
|
||||||
|
//提现
|
||||||
|
uni.$u.http
|
||||||
|
.post("/api/school.newactivity.settle_log/withdrawal")
|
||||||
|
.then((res) => {
|
||||||
|
console.log(res);
|
||||||
|
if(res.code==1){
|
||||||
|
uni.showToast({
|
||||||
|
title: '提现成功',
|
||||||
|
icon: 'success',
|
||||||
|
duration: 2000,
|
||||||
|
complete: function () {
|
||||||
|
setTimeout(function () {
|
||||||
|
uni.navigateBack();
|
||||||
|
}, 1500);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}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
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
addBank(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/packageB/wallet/add_bank'
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style scoped lang="scss">
|
||||||
|
.bank-container {
|
||||||
|
font-family: PingFang SC, PingFang SC;
|
||||||
|
background: #F7F7F7;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn_1 {
|
||||||
|
width: 100%;
|
||||||
|
height: 90rpx;
|
||||||
|
background: #323232;
|
||||||
|
border-radius: 198rpx 198rpx 198rpx 198rpx;
|
||||||
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #BBFC5B;
|
||||||
|
line-height: 90rpx;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 70rpx;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -5,17 +5,19 @@
|
|||||||
<view style="color: #FFFFFF;font-size: 26rpx;padding: 30rpx 30rpx 0rpx 30rpx;">当前余额</view>
|
<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="display: flex;justify-content: space-between;align-items: center;padding: 30rpx;">
|
||||||
<view style="color: #FFFFFF;font-size: 60rpx;font-weight: 900;">
|
<view style="color: #FFFFFF;font-size: 60rpx;font-weight: 900;">
|
||||||
{{settleInfo.settled_amount?settleInfo.settled_amount:0}}</view>
|
{{settleInfo.settled_amount?settleInfo.settled_amount:0}}
|
||||||
|
</view>
|
||||||
<view @click="openUrl('/packageB/wallet/bank')">
|
<view @click="openUrl('/packageB/wallet/bank')">
|
||||||
<view
|
<view
|
||||||
style="text-align: center;width: 169rpx;height: 70rpx;background: #BBFC5B;line-height: 70rpx;color: #3D3D3D;font-size: 32rpx;border-radius: 70rpx;">
|
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>
|
||||||
</view>
|
</view>
|
||||||
<view style="color: #FFFFFF;font-weight: 400;font-size: 26rpx;padding-left: 30rpx;">
|
<view style="display: flex;align-items: center;color: #FFFFFF;font-weight: 400;font-size: 26rpx;padding-left: 30rpx;">
|
||||||
<text>预计待入账</text>
|
<text>预计待入账</text>
|
||||||
<text
|
<text
|
||||||
style="padding-left: 20rpx;">¥{{settleInfo.expected_incoming_amount?settleInfo.expected_incoming_amount:0}}</text>
|
style="padding-left: 20rpx;">¥{{settleInfo.expected_incoming_amount?settleInfo.expected_incoming_amount:0}}</text>
|
||||||
|
<image @click="tipsShow = true" src="/static/tips.png" style="width: 25rpx;height: 25rpx;margin-left: 10rpx;"></image>
|
||||||
<text style="padding: 0rpx 20rpx;">|</text>
|
<text style="padding: 0rpx 20rpx;">|</text>
|
||||||
<text>累计收益</text>
|
<text>累计收益</text>
|
||||||
<text
|
<text
|
||||||
@ -23,8 +25,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view style="background-color: #FFFFFF;border-radius:44rpx;padding:45rpx 30rpx;margin-top: 30rpx;">
|
||||||
style="background-color: #FFFFFF;border-radius:44rpx;padding:45rpx 30rpx;margin-top: 30rpx;">
|
|
||||||
<view style="display: flex;gap: 70rpx;padding-bottom: 40rpx;">
|
<view style="display: flex;gap: 70rpx;padding-bottom: 40rpx;">
|
||||||
<view @click="openTab(0)">
|
<view @click="openTab(0)">
|
||||||
<view :class="tabIndex==0?'act':'no_act'">收益明细</view>
|
<view :class="tabIndex==0?'act':'no_act'">收益明细</view>
|
||||||
@ -47,7 +48,8 @@
|
|||||||
<text v-if="item.status==3">{{formatTimestamp(item.settletime)}}</text>
|
<text v-if="item.status==3">{{formatTimestamp(item.settletime)}}</text>
|
||||||
<text v-if="item.status==2">{{formatTimestamp(item.createtime)}}</text>
|
<text v-if="item.status==2">{{formatTimestamp(item.createtime)}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="font-size: 25rpx;color: #FF4810;font-weight: 400;">[ 活动订单总金额x{{item.fee_scale*100}}%(平台费率)=待入账金额 ]
|
<view style="font-size: 25rpx;color: #FF4810;font-weight: 400;">[
|
||||||
|
活动订单总金额x{{item.fee_scale*100}}%(平台费率)=待入账金额 ]
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="text-align: center;">
|
<view style="text-align: center;">
|
||||||
@ -67,12 +69,17 @@
|
|||||||
<view v-if="tabIndex==1" v-for="item in list">
|
<view v-if="tabIndex==1" v-for="item in list">
|
||||||
<view style="display: flex;justify-content: space-between;align-items: center;">
|
<view style="display: flex;justify-content: space-between;align-items: center;">
|
||||||
<view>
|
<view>
|
||||||
<view style="font-size: 30rpx;color: #3D3D3D;font-weight: 600;">工商银行(0514)</view>
|
<view style="font-size: 30rpx;color: #3D3D3D;font-weight: 600;">
|
||||||
<view style="font-size: 26rpx;color: #9C9C9C;font-weight: 400;margin: 30rpx 0rpx;">2025.05.25
|
{{item.bank_name}}({{cardSlice(item.bank_user_name)}})</view>
|
||||||
14:35:36</view>
|
<view style="font-size: 26rpx;color: #9C9C9C;font-weight: 400;margin: 30rpx 0rpx;">
|
||||||
|
<text v-if="item.status==1">{{formatTimestamp(item.createtime)}}</text>
|
||||||
|
<text
|
||||||
|
v-if="item.status==3 || item.withdrawal_status==2">{{formatTimestamp(item.examinetime)}}</text>
|
||||||
|
<text v-if="item.withdrawal_status==3">{{formatTimestamp(item.paytime)}}</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="text-align: center;">
|
<view style="text-align: center;">
|
||||||
<view>+55.00</view>
|
<view style="margin-bottom: 20rpx;">+{{item.real_price}}</view>
|
||||||
<view v-if="item.status==1"
|
<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;">
|
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 style="color: #2F78CD;font-size: 22rpx;line-height: 32rpx;">审核中</view>
|
||||||
@ -81,23 +88,47 @@
|
|||||||
style="background: #F8EAEA;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
|
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 style="color: #A62B2B;font-size: 22rpx;line-height: 32rpx;">失败</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="item.status==2 && item.withdrawal_status==3"
|
<view v-if="item.withdrawal_status==3"
|
||||||
style="background: #EAF8EB;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
|
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 style="color: #2BA635;font-size: 22rpx;line-height: 32rpx;">已打款</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="item.status==2 && item.withdrawal_status==2"
|
<view v-if="item.withdrawal_status==2"
|
||||||
style="background: #FFF3ED;width: 90rpx;height: 32rpx;border-radius: 4rpx 4rpx 4rpx 4rpx;text-align: center;margin: 0 auto;">
|
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 style="color: #FF783A;font-size: 22rpx;line-height: 32rpx;">打款中</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="font-weight: 400;color: #3D3D3D;font-size: 24rpx;background: #EEEEEE;border-radius: 6rpx;padding: 30rpx 20rpx;">
|
<view v-if="item.status==3"
|
||||||
银行卡异常无法打款,金额已返还账户
|
style="font-weight: 400;color: #3D3D3D;font-size: 24rpx;background: #EEEEEE;border-radius: 6rpx;padding: 30rpx 20rpx;">
|
||||||
|
{{ item.reason }}
|
||||||
</view>
|
</view>
|
||||||
<view style="background: #F0F0F0;width: 100%;height: 1px;margin: 40rpx 0rpx;"></view>
|
<view style="background: #F0F0F0;width: 100%;height: 1px;margin: 40rpx 0rpx;"></view>
|
||||||
</view>
|
</view>
|
||||||
<u-loadmore style="margin-bottom: 60rpx;" :status="loadStatus" />
|
<u-loadmore style="margin-bottom: 60rpx;" :status="loadStatus" />
|
||||||
</view>
|
</view>
|
||||||
|
<u-popup @touchmove.native.stop.prevent :custom-style="popupStyle" :closeable="false" :show="tipsShow" :round="10" mode="center"
|
||||||
|
:closeOnClickOverlay="false">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 400;margin: 12rpx 0 24rpx 0;">预计待入账金额说明</view>
|
||||||
|
<view style="font-size: 26rpx;color: #3D3D3D;padding-bottom: 20px;line-height: 20px;">
|
||||||
|
<text style="font-weight: 600;">1. 活动结束时:</text>
|
||||||
|
<text>您的可入账金额会显示为"预计待入账金额。</text>
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 26rpx;color: #3D3D3D;padding-bottom: 20px;line-height: 20px;">
|
||||||
|
<text style="font-weight: 600;">2. 7天售后期:</text>
|
||||||
|
<text>活动结束后7天内,若发生售后问题(如退款),对应金额将从“预计待入账"中扣除您的可入账金额会显示为"预计待入账金额。</text>
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 26rpx;color: #3D3D3D;padding-bottom: 20px;line-height: 20px;">
|
||||||
|
<text style="font-weight: 600;">3. 查看售后进度:</text>
|
||||||
|
<text>您可在【我发布的-已售后】中查询具体售后单详情</text>
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 26rpx;color: #3D3D3D;padding-bottom: 20px;line-height: 20px;">
|
||||||
|
<text style="font-weight: 600;">4. 最终可提现金额</text>
|
||||||
|
<text>7天售后期结束后,剩余未扣除的金额即可全额提现</text>
|
||||||
|
</view>
|
||||||
|
<view class="popup-footer">
|
||||||
|
<view class="zhixiao shows_zhidao" @click="tipsShow = false">我已知晓</view>
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -110,16 +141,25 @@
|
|||||||
list: [],
|
list: [],
|
||||||
settleInfo: {},
|
settleInfo: {},
|
||||||
loadStatus: 'loading',
|
loadStatus: 'loading',
|
||||||
|
tipsShow:false,
|
||||||
|
popupStyle: {
|
||||||
|
width: '600rpx',
|
||||||
|
padding: '24rpx 24rpx 42rpx 24rpx',
|
||||||
|
height: '660rpx',
|
||||||
|
margin: '0 auto', // 水平居中
|
||||||
|
display: 'flex',
|
||||||
|
justifyContent: 'start',
|
||||||
|
alignItems: 'center',
|
||||||
|
flexColumn: 'column'
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
|
||||||
this.getSyList();
|
|
||||||
},
|
|
||||||
onShow() {
|
onShow() {
|
||||||
this.token = uni.getStorageSync('token');
|
this.token = uni.getStorageSync('token');
|
||||||
if (this.token) {
|
if (this.token) {
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
}
|
}
|
||||||
|
this.openTab(0);
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
this.page += 1;
|
this.page += 1;
|
||||||
@ -134,7 +174,7 @@
|
|||||||
this.loadStatus = 'loading';
|
this.loadStatus = 'loading';
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
this.tabIndex = index;
|
this.tabIndex = index;
|
||||||
this.list=[];
|
this.list = [];
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
this.getSyList();
|
this.getSyList();
|
||||||
} else {
|
} else {
|
||||||
@ -147,7 +187,7 @@
|
|||||||
params: {
|
params: {
|
||||||
page: this.page,
|
page: this.page,
|
||||||
limit: 10,
|
limit: 10,
|
||||||
status:'2,3'
|
status: '2,3'
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
@ -165,7 +205,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getTxList(){
|
getTxList() {
|
||||||
uni.$u.http
|
uni.$u.http
|
||||||
.get("/api/school.newactivity.settle_log/withdrawal_log", {
|
.get("/api/school.newactivity.settle_log/withdrawal_log", {
|
||||||
params: {
|
params: {
|
||||||
@ -195,7 +235,7 @@
|
|||||||
uni.setStorageSync('userInfo', res.data.user_info)
|
uni.setStorageSync('userInfo', res.data.user_info)
|
||||||
uni.setStorageSync('settleInfo', res.data.settle_info)
|
uni.setStorageSync('settleInfo', res.data.settle_info)
|
||||||
uni.setStorageSync('activityInfo', res.data.activity_info)
|
uni.setStorageSync('activityInfo', res.data.activity_info)
|
||||||
this.settleInfo= res.data.settle_info;
|
this.settleInfo = res.data.settle_info;
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '登陆失败',
|
title: '登陆失败',
|
||||||
@ -203,7 +243,7 @@
|
|||||||
duration: 2000
|
duration: 2000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.log('error', error);
|
console.log('error', error);
|
||||||
this.showPopup = false
|
this.showPopup = false
|
||||||
@ -224,9 +264,12 @@
|
|||||||
const seconds = String(date.getSeconds()).padStart(2, "0");
|
const seconds = String(date.getSeconds()).padStart(2, "0");
|
||||||
return `${year}.${month}.${day} ${hours}:${minutes}:${seconds}`;
|
return `${year}.${month}.${day} ${hours}:${minutes}:${seconds}`;
|
||||||
},
|
},
|
||||||
openUrl(url){
|
cardSlice(str) {
|
||||||
|
return str.slice(-4); // 从倒数第4位开始截取到末尾
|
||||||
|
},
|
||||||
|
openUrl(url) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:url
|
url: url
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -258,4 +301,36 @@
|
|||||||
color: #323232;
|
color: #323232;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
.popup-footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
// margin: 30rpx 0;
|
||||||
|
height: 146rpx;
|
||||||
|
|
||||||
|
.zhixiao {
|
||||||
|
height: 100rpx;
|
||||||
|
background: #E8E8E8;
|
||||||
|
//border-radius: 401rpx 401rpx 401rpx 401rpx;
|
||||||
|
font-family: YouSheBiaoTiHei;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #9C9C9C;
|
||||||
|
line-height: 32rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
bottom: 0;
|
||||||
|
border-radius: 0rpx 0rpx 20rpx 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shows_zhidao {
|
||||||
|
background-color: #323232;
|
||||||
|
color: #BBFC5B;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
467
pages.json
@ -68,246 +68,257 @@
|
|||||||
|
|
||||||
],
|
],
|
||||||
"subPackages": [{
|
"subPackages": [{
|
||||||
"root": "packageA",
|
"root": "packageA",
|
||||||
"pages": [{
|
"pages": [{
|
||||||
"path": "afterSales/index",
|
"path": "afterSales/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "售后订单"
|
"navigationBarTitleText": "售后订单"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "afterSales/list",
|
"path": "afterSales/list",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "售后订单"
|
"navigationBarTitleText": "售后订单"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "afterSales/info",
|
"path": "afterSales/info",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "售后订单"
|
"navigationBarTitleText": "售后订单"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "Negotiate/agreement",
|
"path": "Negotiate/agreement",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "用户协议"
|
"navigationBarTitleText": "用户协议"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "Negotiate/privacy",
|
"path": "Negotiate/privacy",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "隐私政策"
|
"navigationBarTitleText": "隐私政策"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/person-detail",
|
"path": "my/person-detail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "个人中心"
|
"navigationBarTitleText": "个人中心"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "my/makeList",
|
"path": "my/makeList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的预约"
|
"navigationBarTitleText": "我的预约"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/station",
|
"path": "my/station",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "站内信"
|
"navigationBarTitleText": "站内信"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/orderList",
|
"path": "my/orderList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我发布的活动"
|
"navigationBarTitleText": "我发布的活动"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/exercise",
|
"path": "my/exercise",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我参与的活动"
|
"navigationBarTitleText": "我参与的活动"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/pendinPay",
|
"path": "my/pendinPay",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "待支付订单"
|
"navigationBarTitleText": "待支付订单"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/pendinPayDetail",
|
"path": "my/pendinPayDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "待核销订单"
|
"navigationBarTitleText": "待核销订单"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/pendinPayStatus",
|
"path": "my/pendinPayStatus",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "已完成订单",
|
"navigationBarTitleText": "已完成订单",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "my/cancel",
|
"path": "my/cancel",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "课程核销"
|
"navigationBarTitleText": "课程核销"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/cancelActivity",
|
"path": "my/cancelActivity",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "活动核销"
|
"navigationBarTitleText": "活动核销"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/success",
|
"path": "my/success",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "报名成功"
|
"navigationBarTitleText": "报名成功"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/classCheck",
|
"path": "my/classCheck",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "报名审核"
|
"navigationBarTitleText": "报名审核"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/stationDetail",
|
"path": "my/stationDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "消息详情"
|
"navigationBarTitleText": "消息详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
||||||
"path": "my/Feedback",
|
"path": "my/Feedback",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "课程反馈"
|
"navigationBarTitleText": "课程反馈"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
||||||
"path": "my/timetable",
|
"path": "my/timetable",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "课程表"
|
"navigationBarTitleText": "课程表"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
||||||
"path": "my/Judge",
|
"path": "my/Judge",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "课程评价"
|
"navigationBarTitleText": "课程评价"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/settleIn",
|
"path": "my/settleIn",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "邀请入驻"
|
"navigationBarTitleText": "邀请入驻"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/management",
|
"path": "my/management",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "课程管理"
|
"navigationBarTitleText": "课程管理"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/ac-management",
|
"path": "my/ac-management",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "活动管理"
|
"navigationBarTitleText": "活动管理"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/help",
|
"path": "my/help",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "帮助"
|
"navigationBarTitleText": "帮助"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/helpDetail",
|
"path": "my/helpDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "帮助中心"
|
"navigationBarTitleText": "帮助中心"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "my/addManagement",
|
"path": "my/addManagement",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "新增课程"
|
"navigationBarTitleText": "新增课程"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "my/mentList",
|
"path": "my/mentList",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单管理"
|
"navigationBarTitleText": "订单管理"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "my/refund",
|
"path": "my/refund",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "发起退款"
|
"navigationBarTitleText": "发起退款"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "center/detail",
|
"path": "center/detail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom" //单个页面设置
|
"navigationStyle": "custom" //单个页面设置
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "center/detailSys",
|
"path": "center/detailSys",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "", // 发布活动详情
|
"navigationBarTitleText": "", // 发布活动详情
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "center/signDetail",
|
"path": "center/signDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "报名信息"
|
"navigationBarTitleText": "报名信息"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "center/MechanismDetail",
|
"path": "center/MechanismDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "机构详情"
|
"navigationBarTitleText": "机构详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "center/orderDetail",
|
"path": "center/orderDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单详情"
|
"navigationBarTitleText": "订单详情"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "center/applyDetail",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "支付参加"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
{
|
|
||||||
"path": "center/applyDetail",
|
},
|
||||||
|
{
|
||||||
|
"root": "packageB",
|
||||||
|
"pages": [{
|
||||||
|
"path": "wallet/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "支付参加"
|
"navigationBarTitleText": "我的钱包"
|
||||||
}
|
}
|
||||||
}
|
}, {
|
||||||
]
|
"path": "wallet/bank",
|
||||||
|
"style": {
|
||||||
},
|
"navigationBarTitleText": "提现"
|
||||||
{
|
}
|
||||||
"root": "packageB",
|
}, {
|
||||||
"pages": [{
|
"path": "wallet/add_bank",
|
||||||
"path": "wallet/index",
|
"style": {
|
||||||
"style": {
|
"navigationBarTitleText": "银行卡信息"
|
||||||
"navigationBarTitleText": "我的钱包"
|
}
|
||||||
}
|
}, {
|
||||||
},{
|
"path": "card/index",
|
||||||
"path": "wallet/bank",
|
"style": {
|
||||||
"style": {
|
"navigationBarTitleText": "身份信息"
|
||||||
"navigationBarTitleText": "提现"
|
}
|
||||||
}
|
}]
|
||||||
}]
|
}
|
||||||
}],
|
],
|
||||||
"preloadRule": { // 分包预载配置
|
"preloadRule": { // 分包预载配置
|
||||||
"pages/index/index": { // 在进入小程序pages/index页面时,由框架自动预下载分包A、分包B
|
"pages/index/index": { // 在进入小程序pages/index页面时,由框架自动预下载分包A、分包B
|
||||||
"network": "all",
|
"network": "all",
|
||||||
|
BIN
static/add.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 5.0 KiB |
BIN
static/order_add.png
Normal file
After Width: | Height: | Size: 184 B |
BIN
static/tips.png
Normal file
After Width: | Height: | Size: 737 B |
@ -6,7 +6,7 @@
|
|||||||
<view v-for="(item, index) in protocolArr" :key="index">
|
<view v-for="(item, index) in protocolArr" :key="index">
|
||||||
|
|
||||||
<!-- <text @click="protocolClick(index)">{{protocolArr[index]}}</text> -->
|
<!-- <text @click="protocolClick(index)">{{protocolArr[index]}}</text> -->
|
||||||
<text>免责声明</text>
|
<text style="color: #0CA013;"> 《免责声明》 </text>
|
||||||
|
|
||||||
<span v-if="index < (protocolArr.length - 1)">{{" 、"}}</span>
|
<span v-if="index < (protocolArr.length - 1)">{{" 、"}}</span>
|
||||||
|
|
||||||
@ -57,19 +57,18 @@
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
//主题色 #008CFF
|
//主题色 #008CFF
|
||||||
$themeColor: #0CA013;
|
$themeColor: #323232;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.protocol_box {
|
.protocol_box {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap:nowrap;
|
flex-wrap:nowrap;
|
||||||
justify-content: flex-start;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
margin-top: 20rpx;
|
//margin-top: 20rpx;
|
||||||
// margin-left: 40rpx;
|
// margin-left: 40rpx;
|
||||||
width: 90%;
|
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: $themeColor;
|
color: $themeColor;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|