提现
This commit is contained in:
parent
0f8c205a2d
commit
1b6c3f250c
|
@ -9,11 +9,11 @@ const install = (Vue, vm) => {
|
||||||
// 测试环境
|
// 测试环境
|
||||||
// baseUrl: 'https://dianche.chuantewulian.cn/prod-api',
|
// baseUrl: 'https://dianche.chuantewulian.cn/prod-api',
|
||||||
// 俞山岛
|
// 俞山岛
|
||||||
baseUrl: 'https://zc.chuangtewl.com/prod-api',
|
// baseUrl: 'https://zc.chuangtewl.com/prod-api',
|
||||||
// baseUrl: 'https://testzc.chuangtewl.com/prod-api',
|
// baseUrl: 'https://testzc.chuangtewl.com/prod-api',
|
||||||
baseUrl: 'https://zc.chuangtewl.com/prod-api',
|
// baseUrl: 'https://zc.chuangtewl.com/prod-api',
|
||||||
// baseUrl: 'http://47.120.68.19:8090',
|
// baseUrl: 'http://47.120.68.19:8090',
|
||||||
// baseUrl: 'http://192.168.2.20:8090',
|
baseUrl: 'http://192.168.2.21:8090',
|
||||||
// 创特
|
// 创特
|
||||||
loadingText: '努力加载中~',
|
loadingText: '努力加载中~',
|
||||||
loadingTime: 10000,
|
loadingTime: 10000,
|
||||||
|
|
10
pages.json
10
pages.json
|
@ -190,10 +190,20 @@
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "addcode",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ... 分包A的其他页面
|
// ... 分包A的其他页面
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<view class="txt">
|
<view class="txt">
|
||||||
累计提现:{{AccountInfo.totalWithdrawAmount}}
|
累计提现:{{AccountInfo.totalWithdrawAmount}}
|
||||||
</view>
|
</view>
|
||||||
<view class="btn">
|
<view class="btn" @click.stop="toWd()">
|
||||||
立即提现
|
立即提现
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -116,6 +116,11 @@
|
||||||
|
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
toWd(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages_withdraw/withdraw'
|
||||||
|
})
|
||||||
|
},
|
||||||
typeReturn(type){
|
typeReturn(type){
|
||||||
if(type==1){
|
if(type==1){
|
||||||
return '订单收入'
|
return '订单收入'
|
||||||
|
|
228
pages_withdraw/addcode.vue
Normal file
228
pages_withdraw/addcode.vue
Normal file
|
@ -0,0 +1,228 @@
|
||||||
|
<template>
|
||||||
|
<view class="page">
|
||||||
|
<u-navbar title="添加收款码" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' height='45'
|
||||||
|
back-icon-color='#000'></u-navbar>
|
||||||
|
<view class="img">
|
||||||
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/u5PppHgzfFN8r8RN4pg3" mode="" v-if="userImgs==''" @click="btn()"></image>
|
||||||
|
<image :src="userImgs" mode="" v-else style="height: 413rpx;"></image>
|
||||||
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uFp9riSLtpmuq6gyKfdr" mode="" class="close" v-if="userImgs!=''" @click="userImgs=''"></image>
|
||||||
|
</view>
|
||||||
|
<view class="txt">
|
||||||
|
请上传微信收款二维码
|
||||||
|
</view>
|
||||||
|
<view class="tips">
|
||||||
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uNll6TfepDq2dsCsE8wL" mode=""></image>
|
||||||
|
请上传图例中二维码收款中保存收款码的图片而非黄底截图二维码
|
||||||
|
</view>
|
||||||
|
<view class="btn" @click="sub()">
|
||||||
|
确认上传
|
||||||
|
</view>
|
||||||
|
<view class="txt2">
|
||||||
|
上传成功后如需更换,请联系客服
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
bgc: {
|
||||||
|
backgroundColor: "#fff",
|
||||||
|
},
|
||||||
|
imglist:[],
|
||||||
|
token: '',
|
||||||
|
upurl:'',
|
||||||
|
userImgs:'',
|
||||||
|
userWithdrawChannelId:'',
|
||||||
|
userInfo:{}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(e) {
|
||||||
|
this.getQiniuToken()
|
||||||
|
console.log(e);
|
||||||
|
this.userWithdrawChannelId=e.id
|
||||||
|
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
|
||||||
|
sub(){
|
||||||
|
if(this.userImgs==''){
|
||||||
|
uni.showToast({
|
||||||
|
title: '请上传收款码',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 1000
|
||||||
|
});
|
||||||
|
}else{
|
||||||
|
const encodedUserImgs = encodeURIComponent(this.userImgs);
|
||||||
|
this.$u.post(`appAgent/uploadPaymentCode?collectionCode=${encodedUserImgs}&userWithdrawChannelId=${this.userWithdrawChannelId}`)
|
||||||
|
.then((res) => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
uni.redirectTo({
|
||||||
|
url:'/pages_withdraw/withdraw'
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.msg,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
btn(){
|
||||||
|
let _this=this
|
||||||
|
let math='static/'+_this.$u.guid(20)
|
||||||
|
uni.chooseImage({
|
||||||
|
count: 1,
|
||||||
|
type: 'all',
|
||||||
|
success (res) {
|
||||||
|
// tempFilePath可以作为img标签的src属性显示图片
|
||||||
|
const tempFilePaths = res.tempFiles
|
||||||
|
// let tempFilePaths = chooseImageRes.tempFilePaths;
|
||||||
|
// console.log(tempFilePaths)
|
||||||
|
// tempFilePaths.forEach(item=>{
|
||||||
|
// // 上传图片到七牛云
|
||||||
|
|
||||||
|
// })
|
||||||
|
wx.uploadFile({
|
||||||
|
url: 'https://up-z2.qiniup.com',
|
||||||
|
name: 'file',
|
||||||
|
filePath: tempFilePaths[0].path,
|
||||||
|
formData: {
|
||||||
|
token: _this.token, //后端返回的token
|
||||||
|
key:'bike/img/'+math
|
||||||
|
},
|
||||||
|
success: function(res) {
|
||||||
|
|
||||||
|
let str = JSON.parse(res.data)
|
||||||
|
|
||||||
|
_this.userImgs = _this.upurl +'/'+ str.key
|
||||||
|
console.log(_this.userImgs)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// uni.chooseFile({
|
||||||
|
// success: (chooseImageRes) => {
|
||||||
|
// let tempFilePaths = chooseImageRes.tempFilePaths;
|
||||||
|
// console.log(tempFilePaths)
|
||||||
|
// tempFilePaths.forEach(item=>{
|
||||||
|
// // 上传图片到七牛云
|
||||||
|
// wx.uploadFile({
|
||||||
|
// url: 'https://saxn40pko.hn-bkt.clouddn.com',
|
||||||
|
// name: 'file',
|
||||||
|
// filePath: item,
|
||||||
|
// formData: {
|
||||||
|
// token: _this.token, //后端返回的token
|
||||||
|
// key:'yasiimg/web/'+math
|
||||||
|
// },
|
||||||
|
// success: function(res) {
|
||||||
|
|
||||||
|
// let str = JSON.parse(res.data)
|
||||||
|
// // console.log(str.key)
|
||||||
|
// // _this.userImgs = 'https://file.langsi.online/' + str.key+'.pdf'
|
||||||
|
// console.log(_this.userImgs)
|
||||||
|
// _this.imglist.push(_this.userImgs)
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
},
|
||||||
|
// 获取上传七牛云token
|
||||||
|
getQiniuToken() {
|
||||||
|
console.log('diaou');
|
||||||
|
this.$u.get("/common/qiniu/uploadInfo").then((res) => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
this.token=res.token
|
||||||
|
console.log(res,'resres');
|
||||||
|
this.upurl=res.domain
|
||||||
|
}
|
||||||
|
});
|
||||||
|
// this.$u.get('https://v2.ielts.langsi.online/file/getToken').then(res => {
|
||||||
|
// console.log(res.data);
|
||||||
|
// this.token = res.data.token
|
||||||
|
// }).catch(err => {
|
||||||
|
// console.log(err)
|
||||||
|
// })
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.page{
|
||||||
|
.btn{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-top: 50rpx;
|
||||||
|
width: 626rpx;
|
||||||
|
height: 88rpx;
|
||||||
|
background: #64B6A7;
|
||||||
|
border-radius: 30rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.txt2{
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
width: 626rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
.img{
|
||||||
|
position: relative;
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
|
margin-top: 200rpx;
|
||||||
|
width: 300rpx;
|
||||||
|
// height: 300rpx;
|
||||||
|
image{
|
||||||
|
width: 300rpx;
|
||||||
|
height: 300rpx;
|
||||||
|
}
|
||||||
|
.close{
|
||||||
|
background: #FFFFFF;
|
||||||
|
// border-radius: 50%;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.txt{
|
||||||
|
margin-top: 20rpx;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.tips{
|
||||||
|
margin-top: 40rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
align-items: flex-end;
|
||||||
|
image{
|
||||||
|
width: 170rpx;
|
||||||
|
height: 210rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -1,8 +1,76 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="page">
|
<view class="page">
|
||||||
<view class="fixed">
|
<view class="fixed">
|
||||||
<u-navbar :custom-back='back' title=" " :border-bottom="false" :background="background" title-color='#fff' title-size='36'
|
<u-navbar :custom-back='back' title="提现" :border-bottom="false" :background="background" title-color='#fff'
|
||||||
height='45' back-icon-color='#000'></u-navbar>
|
title-size='36' height='45' back-icon-color='#fff'></u-navbar>
|
||||||
|
</view>
|
||||||
|
<view class="backimg">
|
||||||
|
<view class="tit">
|
||||||
|
账户余额
|
||||||
|
</view>
|
||||||
|
<view class="price">
|
||||||
|
{{AccountInfo.balance}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="cont_box">
|
||||||
|
<view class="cont_tit">
|
||||||
|
<view class="tit_line"></view>
|
||||||
|
余额提现
|
||||||
|
</view>
|
||||||
|
<view class="" style="margin: 0 auto;
|
||||||
|
margin-top: 38rpx;
|
||||||
|
width: 676rpx;color: #ccc;" >
|
||||||
|
可提现金额:{{AccountInfo.withdrawableAmount}}元
|
||||||
|
</view>
|
||||||
|
<view class="ipt_box">
|
||||||
|
<view class="yuan">
|
||||||
|
¥
|
||||||
|
</view>
|
||||||
|
<input type="number" v-model="amount" placeholder="请输入自定义金额" class="input"
|
||||||
|
placeholder-style="color:#C7CDD3">
|
||||||
|
<view class="ipt_btn" @click="all()">
|
||||||
|
全部提现
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="cont_tit" style="margin-top: 70rpx;">
|
||||||
|
<view class="tit_line"></view>
|
||||||
|
提现方式
|
||||||
|
</view>
|
||||||
|
<view class="card_box" v-for="(item,index) in list" :key="index">
|
||||||
|
<image :src="item.picture" mode=""></image>
|
||||||
|
<view class="txt">
|
||||||
|
{{item.name}}提现
|
||||||
|
</view>
|
||||||
|
<view class="right1" v-if="item.isNeedCode==1&&item.collectionCode==null" @click.stop="upload(item.userChannelId)">
|
||||||
|
<view class="txt1">
|
||||||
|
未绑定收款码
|
||||||
|
</view>
|
||||||
|
<view class="iconfont icon-xiangyou1"></view>
|
||||||
|
</view>
|
||||||
|
<view class="right2" v-else @click.stop="choose(item)">
|
||||||
|
|
||||||
|
<image class="quen" src="https://lxnapi.ccttiot.com/bike/img/static/utRg4QWBaHX4RO3tgZQW" mode="" v-if="item.userChannelId==checkInfo.userChannelId">
|
||||||
|
</image>
|
||||||
|
<view class="quen" v-else></view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="tips" v-if="checkInfo.userChannelId">
|
||||||
|
<view class="tip_tit">
|
||||||
|
提现说明:
|
||||||
|
</view>
|
||||||
|
<view class="tips_li">
|
||||||
|
-提现额度:单笔提现金额最低{{checkInfo.minAmount}}元,最高{{checkInfo.maxAmount}}元
|
||||||
|
</view>
|
||||||
|
<view class="tips_li">
|
||||||
|
-到账时间:3个工作日内
|
||||||
|
</view>
|
||||||
|
<view class="tips_li">
|
||||||
|
-提现手续费:{{checkInfo.withdrawHandlingCharge*100}}%
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="btn" @click="sub()">
|
||||||
|
确定提现
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
@ -11,15 +79,350 @@
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
list: [],
|
||||||
|
amount: 0,
|
||||||
|
checkInfo: {},
|
||||||
|
AccountInfo:{},
|
||||||
|
isThrottled: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
this.getWcList()
|
||||||
|
this.getAccountInfo()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
all(){
|
||||||
|
this.amount=this.AccountInfo.withdrawableAmount
|
||||||
|
},
|
||||||
|
choose(item){
|
||||||
|
this.checkInfo=item
|
||||||
|
},
|
||||||
|
upload(id){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages_withdraw/addcode?id='+id
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getAccountInfo(){
|
||||||
|
this.$u.get(`appAdmin/myAccountInfo`).then((res) => {
|
||||||
|
if (res.code === 200) {
|
||||||
|
this.AccountInfo=res.data
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.msg,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
sub() {
|
||||||
|
|
||||||
|
if (!this.checkInfo.userChannelId) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请选择支付渠道',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.amount<this.checkInfo.minAmount) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '体现金额小于最低提现金额',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.amount>this.checkInfo.maxAmount) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '体现金额大于最低高提现金额',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(this.checkInfo.collectionCode==null){
|
||||||
|
|
||||||
|
uni.showToast({
|
||||||
|
title: '请上传收款二维码',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 1000
|
||||||
|
});
|
||||||
|
setTimeout(()=>{
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages_withdraw/addcode'
|
||||||
|
})
|
||||||
|
},1100)
|
||||||
|
}else{
|
||||||
|
if (this.isThrottled) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请勿重复点击',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置节流标志位
|
||||||
|
this.isThrottled = true;
|
||||||
|
|
||||||
|
if (parseFloat(this.amount) > parseFloat(this.AccountInfo.withdrawableAmount)) {
|
||||||
|
|
||||||
|
uni.showToast({
|
||||||
|
title: '提现金额不能大于可提现金额',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
let data = {
|
||||||
|
amount: this.amount,
|
||||||
|
userWithdrawChannelId:this.checkInfo.userChannelId
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$u.post('appAdmin/admin/withdraw', data).then((res) => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
this.getAccountInfo()
|
||||||
|
uni.showToast({
|
||||||
|
title: '提现成功',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.msg,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}).catch(error => {
|
||||||
|
console.error("Error fetching area data:", error);
|
||||||
|
}).finally(() => {
|
||||||
|
// 三秒后解除节流
|
||||||
|
setTimeout(() => {
|
||||||
|
this.isThrottled = false;
|
||||||
|
}, 3000);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
getWcList() {
|
||||||
|
this.$u.get(`appAgent/getUserWithdrawChannelList`).then((res) => {
|
||||||
|
if (res.code === 200) {
|
||||||
|
this.list = res.data
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.msg,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
page {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
.page {
|
||||||
|
padding-bottom: 200rpx;
|
||||||
|
.cont_box {
|
||||||
|
padding: 54rpx 56rpx;
|
||||||
|
margin-top: -140rpx;
|
||||||
|
width: 750rpx;
|
||||||
|
// height: 1198rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 40rpx 40rpx 0 0;
|
||||||
|
.btn{
|
||||||
|
position: fixed;
|
||||||
|
left: 80rpx;
|
||||||
|
bottom: 72rpx;
|
||||||
|
// margin-top: 76rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 24rpx;
|
||||||
|
width: 590rpx;
|
||||||
|
height: 84rpx;
|
||||||
|
background: #4297F3;
|
||||||
|
filter: blur(0px);
|
||||||
|
border-radius: 40rpx;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.tips{
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
.tip_tit{
|
||||||
|
margin-top: 40rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #808080;
|
||||||
|
}
|
||||||
|
.tips_li{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16rpx;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #808080;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.card_box {
|
||||||
|
margin-top: 30rpx;
|
||||||
|
width: 642rpx;
|
||||||
|
height: 86rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42, 130, 228, 0.1);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
padding: 18rpx 30rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.txt {
|
||||||
|
margin-left: 30rpx;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #3D3D3D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right1 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
.txt1 {
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #F76D6D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-xiangyou1 {
|
||||||
|
margin-top: 4rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right2 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
.quen {
|
||||||
|
width: 29rpx;
|
||||||
|
height: 29rpx;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 1rpx solid #ccc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.ipt_box {
|
||||||
|
margin-top: 42rpx;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
width: 642rpx;
|
||||||
|
height: 108rpx;
|
||||||
|
background: #F4F4F4;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
|
||||||
|
.yuan {
|
||||||
|
margin-right: 14rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 52rpx;
|
||||||
|
color: #4297F3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ipt_btn {
|
||||||
|
margin-left: auto;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 158rpx;
|
||||||
|
height: 56rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0, 0, 0, 0.2);
|
||||||
|
border-radius: 12rpx 12rpx 12rpx 12rpx;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #4297F3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
height: 100%;
|
||||||
|
width: 400rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cont_tit {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #3D3D3D;
|
||||||
|
|
||||||
|
.tit_line {
|
||||||
|
margin-right: 12rpx;
|
||||||
|
width: 8rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
background: #4297F3;
|
||||||
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.backimg {
|
||||||
|
// position: fixed;
|
||||||
|
position: relative;
|
||||||
|
width: 750rpx;
|
||||||
|
height: 696rpx;
|
||||||
|
|
||||||
|
z-index: -10;
|
||||||
|
background-image: url('https://lxnapi.ccttiot.com/bike/img/static/u7b1VqZuiMFIG7twTRaS');
|
||||||
|
background-size: cover;
|
||||||
|
/* 背景图片等比缩放以覆盖整个容器 */
|
||||||
|
background-position: center;
|
||||||
|
|
||||||
|
.tit {
|
||||||
|
position: absolute;
|
||||||
|
left: 84rpx;
|
||||||
|
bottom: 284rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.price {
|
||||||
|
position: absolute;
|
||||||
|
left: 84rpx;
|
||||||
|
bottom: 172rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 72rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.fixed {
|
||||||
|
z-index: 999;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue
Block a user