添加:文创豆转赠和提现功能

This commit is contained in:
wuhui_zzw 2023-11-23 10:22:44 +08:00
parent fd3314929f
commit c465f9c059
7 changed files with 1081 additions and 13 deletions

View File

@ -332,15 +332,20 @@
</div>
<div class="user-info">
<div class="user-name">
<div class="name-a nickname" style="max-width: 9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" @click="toEditAvatar">{{ datas.data&&datas.data.nickname }} <span @click.stop="TapEdit" class="TapEditClass" v-if="datas.data&&datas.data.member_team">{{datas.data&&datas.data.member_team.team_name}}</span></div>
<div class="name-b" v-if="datas.show_grade" @click="gotoMemberGrade">
<div class="name-b0">
<div class="name-b-a">
<i class="iconfont icon-member-enter"></i>
</div>
</div>
<div class="name-b-b" style="font-size: 12px; max-width: 7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">{{datas.data&&datas.data.level_name}}</div>
<div class="name-a nickname" style="max-width: 9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" @click="toEditAvatar">
{{ datas.data&&datas.data.nickname }}
<span @click.stop="TapEdit" class="TapEditClass" v-if="datas.data&&datas.data.member_team">
{{datas.data&&datas.data.member_team.team_name}}
</span>
</div>
<!--<div class="name-b" v-if="datas.show_grade" @click="gotoMemberGrade">-->
<!-- <div class="name-b0">-->
<!-- <div class="name-b-a">-->
<!-- <i class="iconfont icon-member-enter"></i>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="name-b-b" style="font-size: 12px; max-width: 7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">{{datas.data&&datas.data.level_name}}</div>-->
<!--</div>-->
<div class="notice-content" @click="goToMessage">
<div class="notice-img">
<img src="../../assets/images/member/message-icon.png" />

View File

@ -10358,7 +10358,7 @@ const routes = [
notKeepAliveKey:true
}
},
// 权重值相关
// 权重值相关 && 文创中心
{
path: "/member/weight_value_home",
name: "weight_value_home",
@ -10404,6 +10404,35 @@ const routes = [
foot: true
}
},
{
path: "/member/legumes/center_home",
name: "legumes_center_home",
component:()=>import("../views/member/weight_value/legumes/center_home"),
meta: {
title: "文创豆中心",
foot: true
}
},
{
path: "/member/legumes/transfer",
name: "legumes_center_transfer",
component:()=>import("../views/member/weight_value/legumes/transfer"),
meta: {
title: "文创豆转赠",
foot: true
}
},
{
path: "/member/legumes/withdrawal",
name: "legumes_center_withdrawal",
component:()=>import("../views/member/weight_value/legumes/withdrawal"),
meta: {
title: "文创豆提现",
foot: true
}
},
// 典藏室
{
path: "/member/collection_room",

View File

@ -144,7 +144,7 @@
</div>
</div>
</template>
<!-- 加权收益明细 -->
<!-- 文创豆变更记录 -->
<template v-if="page_params.key_name === 'legumes'">
<div class="list-block" v-for="(item,index) in list" :key="index">
<div class="left">

View File

@ -166,9 +166,7 @@ export default {
this.goToPage('use_upgrade_quota',{},{ team_level_id: _this.page_params.team_level_id });
}
else if(info.key_name === 'legumes_income'){
this.goToPage('legumes_center_home');
}
else{
let query = {

View File

@ -0,0 +1,409 @@
<template>
<div id="member_balance_v2">
<c-title :hide="false" text="文创豆中心" tolink="detailed"></c-title>
<div class="background_box"></div>
<div class="contenbox">
<template>
<div class="detail">
<div class="txt">我的文创豆</div>
<div class="balance">{{ hold_number }}</div>
<div class="detailBox">
<div class="detailBox_btn transfer" @click="goToPage('legumes_center_transfer')">转赠</div>
<div class="detailBox_btn transfer" @click="goToPage('legumes_center_withdrawal')">提现</div>
</div>
</div>
<div class="balanceDetail">
<div class="title">
<div :class="['title-tab',{'title-active': (selected_tab === 'transfer')}]" @click="changeTab('transfer')">转赠记录</div>
<div :class="['title-tab',{'title-active': (selected_tab === 'withdrawal')}]" @click="changeTab('withdrawal')">提现记录</div>
</div>
<div class="balanceDetail_lis" v-for="(item, index) in list" :key="index">
<div class="balanceDetail_lis_top">
<div class="balanceDetail_lis_top_left">{{ item.good_name }}</div>
<div class="price">{{ item.change_type == 1 ? "-" : "+" }}{{ item.voucher_number }}</div>
</div>
<div class="balanceDetail_lis_bottom">
<div class="time">{{ item.created_at }}</div>
</div>
</div>
</div>
</template>
</div>
</div>
</template>
<script>
export default {
data() {
return {
page_params: {},
hold_number: 0.000000,
//
selected_tab: 'transfer',
list: [],
page: 1,
total_page: 0,
isLoadMore: true,
};
},
activated() {
let _this = this;
_this.page_params = Object.assign(_this.$route.params, _this.$route.query);
this.getData();
this.getChangeRecord();
},
methods: {
//
getData() {
let _this = this;
$http.get("plugin.cultural-space.api.index.legumes-hold", {}, "加载中...").then(
(response) => {
if (response.result == 1) _this.hold_number = response.data.voucher_number;
else _this.$dialog.alert({ message: response.msg });
},
function(response) {
_this.$dialog.alert({ message: response.msg });
}
);
},
//
getChangeRecord() {
let _this = this;
$http.get("plugin.cultural-space.api.index.legumesChangeRecord", {change_source: _this.selected_tab}, "加载中...")
.then((response) => {
if (response.result === 1) {
_this.isLoadMore = true;
let data = response.data;
if(parseInt(data.current_page) === 1){
_this.total_page = data.last_page;
_this.list = data.data;
}else{
if(Object.values(data.data).length > 0) _this.list = Object.values(_this.list).concat(Object.values(data.data));
}
} else {
_this.isLoadMore = false; //
_this.list = [];
}
})
.catch(error => {
console.log(error);
});
},
//
getMoreData() {
let _this = this;
if (!_this.isLoadMore) return;
_this.isLoadMore = false; //
if (_this.page >= _this.total_page) {
return;
} else {
_this.page += 1;
_this.getList();
}
},
// tab
changeTab(type){
this.selected_tab = type;
this.list = [];
this.page = 1;
this.total_page = 0;
this.getChangeRecord();
},
//
goToPage(key, json = {}) {
let _this = this;
_this.$router.push(_this.fun.getUrl(key, json));
},
}
};
</script>
<style lang="scss" scoped>
.van-dialog__message{
padding: 0 !important;
}
.icon-balance_p {
color: #f15353;
}
.icon-balance_a {
color: #6cbf6a;
}
.icon-balance_b {
color: #fac337;
}
.icon-balance_c {
color: #069ce7;
}
.background_box {
color: #382c0a;
background-color: #fff;
background-image: -webkit-gradient(linear, left top, left bottom, from(var(--themeBaseColor)), to(#f5f5f5));
background-image: -webkit-linear-gradient(var(--themeBaseColor), #f5f5f5);
background-image: linear-gradient(var(--themeBaseColor), #f5f5f5);
min-height: 12.125rem;
padding: 1.5938rem 1.0938rem 0 1.0938rem;
}
.contenbox {
padding: 0 0.625rem;
.dataStatistics {
padding: 0.75rem;
background: #fff;
margin-top: 0.5rem;
.title {
font-weight: bold;
font-size: 1rem;
text-align: left;
margin-bottom: 1.4375rem;
}
.navDateList {
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 0.5rem;
.lis {
font-size: 0.75rem;
line-height: 1.03rem;
margin-right: 2rem;
padding: 0.25rem 0.75rem;
}
.lis:last-child {
margin-right: 0;
}
.isDay {
border-radius: 0.78rem;
background: var(--themeBaseColor);
color: #fff;
}
}
.list {
height: 3rem;
border-bottom: 1px solid #e7e7e7;
display: flex;
align-items: center;
justify-content: space-between;
.left {
width: 50%;
font-size: 0.81rem;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.right {
width: 50%;
font-size: 0.81rem;
font-weight: bold;
color: #f20606;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: right;
}
}
.list:last-child {
border-bottom: none;
}
}
.rests {
min-height: 6.875rem;
background: #fff;
border-radius: 0.625rem;
margin-top: 0.625rem;
padding: 0.9688rem 0.9063rem;
.title {
font-weight: bold;
font-size: 1rem;
text-align: left;
margin-bottom: 1.4375rem;
}
.lis {
display: flex;
flex-wrap: wrap;
.restslis {
width: 25%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.image_name {
width: 2.75rem;
height: 2.75rem;
margin-bottom: 0.7188rem;
img {
width: 100%;
height: 100%;
}
}
.image {
width: 1.5938rem;
height: 1.4688rem;
margin-bottom: 0.7188rem;
img {
width: 100%;
height: 100%;
}
}
.txt {
width: 100%;
}
}
}
}
.balanceDetail {
margin-top: 0.625rem;
border-radius: 0.625rem;
background: #fff;
padding: 0.9375rem 0.875rem;
.balanceDetail_lis {
border-top: 1px solid #f6f6f6;
padding: 0.9375rem 0;
.balanceDetail_lis_top,
.balanceDetail_lis_bottom {
display: flex;
justify-content: space-between;
}
.balanceDetail_lis_bottom {
margin-top: 0.625rem;
}
.balanceTxt {
font-weight: 400;
color: #666;
font-size: 0.6875rem;
}
.time {
color: #999;
font-size: 0.6875rem;
}
.balanceDetail_lis_top_left {
font-size: 0.8125rem;
font-weight: 500;
}
.price {
font-weight: 500;
color: #f20606;
font-size: 0.8125rem;
}
}
.title {
width: 100%;
height: 35px;
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-around;
align-items: center;
.title-tab{
font-size: 15px;
font-weight: 600;
width: 40%;
height: 35px;
line-height: 35px;
position: relative;
}
.title-active{
color: #1c24c8;
}
.title-active:after{
content: "";
position: absolute;
bottom: 0;
left: 25%;
width: 50%;
height: 2px;
background: #1c24c8;
}
}
}
.detail {
margin-top: -8rem;
background: #fff;
border-radius: 0.625rem;
// min-height: 11.25rem;
display: flex;
flex-direction: column;
align-items: center;
padding: 1.25rem 1.4063rem 0.625rem 1.4063rem;
.txt {
font-size: 0.8125rem;
color: #666;
}
.balance {
font-size: 1.375rem;
font-weight: bold;
color: #333;
}
.activityTxt {
width: 100%;
text-align: left;
font-weight: 400;
color: #f20606;
font-size: 0.625rem;
margin-top: 0.9063rem;
display: flex;
flex-wrap: wrap;
}
.detailBox {
display: flex;
width: 100%;
margin-top: 2.4rem;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-around;
.detailBox_btn {
padding: 0.625rem 1.9375rem;
border-radius: 0.3125rem;
font-size: 0.75rem;
font-weight: 400;
}
.recharge {
border: 1px solid var(--themeBaseColor);
color: var(--themeBaseColor);
margin-right: 1.5rem;
}
.transfer {
border: 1px solid #b3b3b3;
color: #262626;
}
.withdraw {
background: var(--themeBaseColor);
color: #fff;
}
}
}
}
</style>

View File

@ -0,0 +1,342 @@
<template>
<div id="balance_recharge">
<c-title :hide="false" :text="'文创豆转赠'" tolink="detailed"></c-title>
<div class="transfer-content">
<div class="main-content">
<div class="hold-num">持有数量{{ info.voucher_number }}</div>
<div class="operate">
<div class="transfer-id">
<div class="title">受让人ID</div>
<input type="text" v-model="transfer_id" placeholder="请输入受让人用户ID" />
</div>
<div class="transfer-info" v-if="Object.values(memberInfo).length > 0">
<div class="user-avatar">
<img class="avatar-image" :src="memberInfo.avatar_image" />
</div>
<div class="user-info">
<div class="user-nickname">昵称{{memberInfo.nickname || ''}}</div>
<div class="user-status">姓名{{memberInfo.realname || ''}}</div>
</div>
</div>
<div class="transfer-num">
<div class="title">转赠文创豆</div>
<div class="transfer-input">
<input type="text" v-model="transfer_money" placeholder="0.00" />
</div>
</div>
<div class="submit-btn" @click="beforeConfirm">确认转账</div>
</div>
</div>
</div>
<pay-keyboard :payKeyboardShow.sync="payKeyboardShow" @complete="payComplete"></pay-keyboard>
<van-dialog v-model="showConfirm" title="" show-cancel-button @confirm="confirm">
<div class="confirm-transfer-popup">
<div class="confirm-transfer-popup-li">受让人ID{{ transfer_id }}</div>
<div class="confirm-transfer-popup-li">受让人昵称{{ memberInfo.nickname }}</div>
<div class="confirm-transfer-popup-li">受让人姓名{{ memberInfo.realname }}</div>
<div class="confirm-transfer-popup-li">转账文创豆{{ transfer_money }}</div>
<div class="confirm-transfer-popup-li" v-if="getCommission > 0">手续费{{ getCommission }}</div>
<div class="confirm-transfer-popup-warn">您是否确定转账</div>
</div>
</van-dialog>
</div>
</template>
<script>
import payKeyboard from "components/payKeyboard";
import {payKeyboardAsync} from "utils/payKeyboard";
export default {
data() {
return {
page_params: {},
//
info: {
is_open_commission: 0,//
commission: 0,//
has_password: false,//
need_password: 0,//
voucher_number: 0//
},
//
transfer_id: 0,
transfer_money: 0,//
memberInfo: {},
timeout_id: null,
payKeyboardShow: false, //
showConfirm: false, //
};
},
watch: {
transfer_id: function() {
let _this = this;
clearTimeout(_this.timeout_id);
_this.timeout_id = setTimeout(() => {
_this.getTransferUser();
}, 1000);
}
},
computed:{
getCommission(){
if(this.info.is_open_commission != 1 || this.info.commission <= 0) return 0;
//
let commission = Number(this.transfer_money) * Number(this.info.commission) / 100;
return Number(commission).toFixed(2);
}
},
activated() {
let _this = this;
_this.page_params = Object.assign(_this.$route.params, _this.$route.query);
_this.getData();
},
methods: {
//
getData() {
let _this = this;
$http.get("plugin.cultural-space.api.index.transfer-info", {}, "加载中...")
.then(response => {
if (response.result === 1) {
_this.info = response.data;
} else {
_this.$dialog.alert({message: response.msg}).then(() => {
_this.$router.push(_this.fun.getUrl('legumes_center_home', {}, params));
});
}
})
.catch(error => {
console.log(error);
});
},
//
getTransferUser(){
let _this = this;
if(parseInt(_this.transfer_id) <= 0 || isNaN(parseInt(_this.transfer_id))) {
_this.memberInfo = {};
return;
}
$http.get("member.member.memberInfo", { uid: _this.transfer_id }, "加载中...")
.then(response => {
if (response.result === 1) {
_this.memberInfo = response.data;
} else {
_this.$dialog.alert({message: response.msg});
}
})
.catch(error => {
console.log(error);
});
},
//
beforeConfirm() {
let _this = this;
//
if (parseFloat(_this.transfer_money) > parseFloat(_this.info.voucher_number)) {
_this.$dialog.alert({message: '转让数量不可大于您的持有数量!'});
return;
}
if (parseFloat(_this.transfer_id) <= 0 || isNaN(parseFloat(_this.transfer_id))) {
_this.$dialog.alert({message: '请输入正确的受让人id'});
return;
}
if (parseFloat(_this.transfer_money) <= 0) {
_this.$dialog.alert({message: '请输入转赠数量!'});
return;
}
if (_this.info.need_password && !_this.info.has_password) {
this.$dialog.confirm({ message: "请先设置支付密码" }).then(() => {
this.$router.push(this.fun.getUrl("set_balance_password", {}));
});
return;
}
this.showConfirm = true;
},
//
async confirm() {
let _this = this;
let json = {
transfer_id: _this.transfer_id,
transfer_money: _this.transfer_money,
team_level_id: _this.page_params.team_level_id
};
if (_this.info.need_password) json.password = await _this.getPayKeyboardPassword();//
$http.get("plugin.cultural-space.api.index.transfer", json, "处理中...")
.then(response => {
if (response.result === 1) {
_this.$dialog.alert({message: response.msg}).then(() => {
_this.$router.go(-1);
});
} else {
_this.$dialog.alert({message: response.msg});
}
})
.catch(error => {
console.log(error);
});
},
payComplete(text) {
console.log(text, "页面");
payKeyboardAsync.complete(text);
},
getPayKeyboardPassword() {
this.payKeyboardShow = true;
return new Promise((resove, reject) => {
payKeyboardAsync.addCompleteFn(pass => {
resove(pass);
});
});
// let pass = await this.getPayKeyboardPassword();
// console.log(pass);
},
},
components: { payKeyboard }
};
</script>
<style lang="scss" scoped>
.transfer-content {
width: 100vw;
min-height: 50vh;
background-image: linear-gradient(#fe9a51, #f5f5f5);
background-size: 100% 390px;
background-repeat: no-repeat;
display: inline-flex;
justify-content: center;
.main-content {
width: calc(100vw - 30px);
padding-top: 110px;
.hold-num {
width: 100%;
text-align: left;
height: 25px;
line-height: 25px;
}
.operate {
margin-top: 5px;
background: #fff;
-webkit-box-shadow: 0 0.0625rem 0.25rem 0 rgba(7, 11, 33, .11);
box-shadow: 0 0.0625rem 0.25rem 0 rgba(7, 11, 33, .11);
border-radius: 0.3125rem;
padding: 1.25rem 1.3438rem;
padding-top: 0;
.transfer-id {
height: 2.9063rem;
display: flex;
align-items: center;
.title {
flex-shrink: 0;
font-size: 0.8125rem;
color: #333;
}
input {
height: 100%;
flex: 1;
border: none;
width: 15.625rem;
margin-left: 1rem;
border-bottom: #f5f6f8 1px solid;
}
}
.transfer-info {
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
overflow: hidden;
height: 80px;
width: 100%;
.user-avatar {
height: 50px;
width: 50px;
margin-right: 5px;
border-radius: 50%;
overflow: hidden;
.avatar-image {
width: 100% !important;
height: 100% !important;
}
}
.user-info {
height: 50px;
text-align: left;
.user-nickname {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-status {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
.transfer-num {
margin-top: 1rem;
.title {
font-size: 0.8125rem;
color: #333;
text-align: left;
}
.transfer-input {
border-bottom: 1px solid #f5f6f8;
padding-top: 1.5625rem;
display: flex;
input {
height: 100%;
flex: 1;
border: none;
width: 15.625rem;
margin-left: 1rem;
font-size: 1.5625rem;
}
}
}
.submit-btn {
width: 17.4688rem;
height: 2.4375rem;
background: #f15353;
border-radius: 0.375rem;
font-size: 0.9688rem;
text-align: center;
line-height: 2.4375rem;
color: #fff;
margin: 0 auto;
margin-top: 2.4063rem;
}
}
}
}
.confirm-transfer-popup{
padding: 1rem;
.confirm-transfer-popup-li{
font-size: 12px;
text-align: left;
margin-bottom: 10px;
}
.confirm-transfer-popup-warn{
text-align: center;
color: #f15353;
font-size: 16px;
}
}
</style>

View File

@ -0,0 +1,285 @@
<template>
<div id="balance_recharge">
<c-title :hide="false" :text="'文创豆提现'" tolink="detailed"></c-title>
<div class="transfer-content">
<div class="main-content">
<div class="hold-num">持有数量{{ hold_number }}</div>
<div class="operate">
<div class="transfer-num">
<div class="title">提现数量</div>
<div class="transfer-input">
<input type="number" v-model.number="withdrawal_number" step="0.01" placeholder="0.00" @input="isExceed"/>
</div>
</div>
<div class="submit-btn" @click="beforeConfirm">确认提现</div>
</div>
</div>
</div>
<van-dialog v-model="showConfirm" title="" show-cancel-button @confirm="confirm">
<div class="confirm-transfer-popup">
<div class="confirm-transfer-popup-li">提现数量{{ withdrawal_number }}</div>
<div class="confirm-transfer-popup-li" v-if="commissionRate > 0">手续费{{ getCommission }}</div>
<div class="confirm-transfer-popup-li">实际到账{{ withdrawal_number - getCommission }}</div>
<div class="confirm-transfer-popup-warn">您是否确定提现</div>
</div>
</van-dialog>
</div>
</template>
<script>
export default {
data() {
return {
hold_number: 0,
withdrawal_number: 0,
showConfirm: false, //
commissionRate: 0,//
isShare: false,// 0=1=
};
},
watch: {},
computed:{
getCommission(){
if(this.commissionRate <= 0) return 0;
//
let commission = Number(this.withdrawal_number) * Number(this.commissionRate) / 100;
return Number(commission).toFixed(2);
}
},
activated() {
this.getData();
},
methods: {
//
getData() {
let _this = this;
$http.get("plugin.cultural-space.api.index.legumes-hold", {}, "加载中...")
.then(response => {
if (response.result === 1) {
_this.hold_number = response.data.voucher_number;
_this.commissionRate = response.data.commission_rate || 0;
} else {
_this.$dialog.alert({message: response.msg}).then(() => {
_this.$router.push(_this.fun.getUrl('legumes_center_home', {}, params));
});
}
})
.catch(error => {
console.log(error);
});
},
//
beforeConfirm() {
let _this = this;
//
if(_this.shareWeixin()) return false;
//
if (parseFloat(_this.withdrawal_number) <= 0) {
_this.$dialog.alert({message: '请输入提现数量!'});
return;
}
this.showConfirm = true;
},
//
shareWeixin() {
let _this = this;
console.log("当前浏览器",_this.fun.getTyep());
//
if(_this.fun.getTyep() != 1) return false;
//
if(!_this.isShare) {
// this.$dialog.alert({message: ""});
_this.fun.wxShare("", {mid: _this.fun.getKeyByMid()}, {},
data => {},
success => {
console.log("分享成功");
_this.$dialog.alert({message: "分享成功"});
_this.isShare = true;
});
}
return !_this.isShare;
},
//
async confirm() {
let _this = this;
let json = {
withdrawal_number: _this.withdrawal_number,
};
$http.get("plugin.cultural-space.api.index.withdrawal", json, "处理中...")
.then(response => {
if (response.result === 1) {
_this.$dialog.alert({message: response.msg}).then(() => {
_this.$router.go(-1);
});
} else {
_this.$dialog.alert({message: response.msg});
}
})
.catch(error => {
console.log(error);
});
},
//
isExceed(){
if(this.withdrawal_number > this.hold_number) this.withdrawal_number = Number(this.hold_number).toFixed(2);
},
},
components: { }
};
</script>
<style lang="scss" scoped>
.transfer-content {
width: 100vw;
min-height: 50vh;
background-image: linear-gradient(#fe9a51, #f5f5f5);
background-size: 100% 390px;
background-repeat: no-repeat;
display: inline-flex;
justify-content: center;
.main-content {
width: calc(100vw - 30px);
padding-top: 110px;
.hold-num {
width: 100%;
text-align: left;
height: 25px;
line-height: 25px;
}
.operate {
margin-top: 5px;
background: #fff;
-webkit-box-shadow: 0 0.0625rem 0.25rem 0 rgba(7, 11, 33, .11);
box-shadow: 0 0.0625rem 0.25rem 0 rgba(7, 11, 33, .11);
border-radius: 0.3125rem;
padding: 1.25rem 1.3438rem;
padding-top: 0;
.transfer-id {
height: 2.9063rem;
display: flex;
align-items: center;
.title {
flex-shrink: 0;
font-size: 0.8125rem;
color: #333;
}
input {
height: 100%;
flex: 1;
border: none;
width: 15.625rem;
margin-left: 1rem;
border-bottom: #f5f6f8 1px solid;
}
}
.transfer-info {
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
overflow: hidden;
height: 80px;
width: 100%;
.user-avatar {
height: 50px;
width: 50px;
margin-right: 5px;
border-radius: 50%;
overflow: hidden;
.avatar-image {
width: 100% !important;
height: 100% !important;
}
}
.user-info {
height: 50px;
text-align: left;
.user-nickname {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-status {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
.transfer-num {
margin-top: 1rem;
padding-top: 20px;
.title {
font-size: 0.8125rem;
color: #333;
text-align: left;
}
.transfer-input {
border-bottom: 1px solid #f5f6f8;
padding-top: 1.5625rem;
display: flex;
input {
height: 100%;
flex: 1;
border: none;
width: 15.625rem;
margin-left: 1rem;
font-size: 1.5625rem;
}
}
}
.submit-btn {
width: 17.4688rem;
height: 2.4375rem;
background: #f15353;
border-radius: 0.375rem;
font-size: 0.9688rem;
text-align: center;
line-height: 2.4375rem;
color: #fff;
margin: 0 auto;
margin-top: 2.4063rem;
}
}
}
}
.confirm-transfer-popup{
padding: 1rem;
.confirm-transfer-popup-li{
font-size: 12px;
text-align: left;
margin-bottom: 10px;
}
.confirm-transfer-popup-warn{
text-align: center;
color: #f15353;
font-size: 16px;
}
}
</style>