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.
 
 
 

125 lines
3.0 KiB

<template>
<view class="main">
<!-- nav -->
<navigation>{{ i18n.MinePool }}</navigation>
<view class="poolContent">
<!-- pool选择框 -->
<view class="pool-item" v-for="(item, index) in 4" :key="index">
<u-icon class="icon" :name="'../../static/mine/img_mine01.png'" size="92rpx" width="92rpx"></u-icon>
<view class="right">
<view class="title">0.1 BTC 30 days</view>
<view class="description">every time lock 0.1 BTC,Lock 30 Mine poolLock,to produce 300 ACTA per 1
day</view>
</view>
<u-button class="button" @click="gotoDetails(index)" color="#00E8A2" throttleTime="500">{{ i18n.OpenMine }}</u-button>
</view>
</view>
</view>
</template>
<script>
export default {
name: "mine",
data() {
return {
pageState: 'coinRecharge',
coin: '',
USDTPopupShow: false,
USDTRadioValue: '',
selectNumberValue: 100,
selectMethod: '1',
};
},
computed: {
i18n() {
return this.$t("mine");
},
},
onLoad() {
},
onShow() { },
methods: {
gotoDetails(index) {
console.log(index);
uni.navigateTo({
url: `/pages/mine/mineDetails?id=${index}`
});
},
},
}
</script>
<style lang="scss" scoped>
.main {
.poolContent {
overflow: hidden;
margin-top: 200rpx;
padding: 0 60rpx;
.pool-item {
position: relative;
background: #211F32;
margin-top: 32rpx;
padding: 32rpx 24rpx;
background-image: url(../../static/mine/Line.png);
background-repeat: no-repeat;
background-size: 630rpx 2rpx;
.icon {
display: inline-block;
width: 92rpx;
margin-top: 10rpx;
margin-right: 28rpx;
border-radius: 16rpx;
vertical-align: top;
}
.right {
display: inline-block;
width: 460rpx;
.title {
font-weight: 600;
width: 460rpx;
height: 52rpx;
line-height: 52rpx;
font-size: 32rpx;
}
.description {
width: 460rpx;
font-size: 24rpx;
color: #A1A0A8;
}
}
.button {
height: 64rpx;
line-height:64rpx;
font-size: 28rpx;
color: #15141F !important;
margin-top: 48rpx;
border-radius: 16rpx;
text-align: center;
font-weight: 600;
}
&:last-child{
margin-bottom: 80rpx;
}
}
}
}
</style>