You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.3 KiB
108 lines
2.3 KiB
<template>
|
|
<view class="recharge">
|
|
<view class="task-navbar">
|
|
<u-navbar title="充值金币" back-icon-color="#333333" title-color="#333333" :background="background"></u-navbar>
|
|
</view>
|
|
<view class="recharge-hd">
|
|
<text>58.00</text>金币余额
|
|
</view>
|
|
<view class="recharge-bd">
|
|
<view class="item" v-for="(item,index) in 10" :key="index">
|
|
<image src="@/static/coins.png"></image>
|
|
<view class="info"><view class="num"><text>60</text>金币</view>限时多送0金币</view>
|
|
<view class="btn">¥6</view>
|
|
</view>
|
|
</view>
|
|
<view class="tips">提示:请勿相信非官方渠道的充值信息,禁止未成年人充值!请理性消费谨防诈骗行为,参考《平台公约》及《防诈骗指南》点击充值即表示您已同意《充值协议》</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
background: {
|
|
// 导航栏背景图
|
|
background: 'url(@/static/task-bg.png) center top no-repeat',
|
|
// 还可以设置背景图size属性
|
|
backgroundSize: '100 auto',
|
|
},
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.recharge{
|
|
background: url(@/static/task-bg.png) center top no-repeat;
|
|
background-size: 100% auto;
|
|
overflow: hidden;
|
|
min-height: 100vh;
|
|
padding: 0 25rpx 0;
|
|
overflow: hidden;
|
|
.tips{
|
|
padding: 45rpx 0;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
line-height: 40rpx;
|
|
}
|
|
&-hd{
|
|
width: 100%;
|
|
height: 200rpx;
|
|
background: linear-gradient(90deg, #17150E, #373632);
|
|
border-radius: 20rpx;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #E7D4B8;
|
|
padding-top: 55rpx;
|
|
box-sizing: border-box;
|
|
margin-top: 30rpx;
|
|
text{
|
|
font-size: 44rpx;
|
|
display: block;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
}
|
|
&-bd{
|
|
overflow: hidden;
|
|
.item{
|
|
width: 100%;
|
|
height: 126rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 20rpx;
|
|
image{
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
.info{
|
|
flex: 1;
|
|
font-weight: 500;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
.num{
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
color: #222222;
|
|
text{
|
|
|
|
font-size: 36rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|