第一次提交
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
.accountItem_body {
|
||||
background-color: #ffffff;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
padding: 36rpx;
|
||||
padding-bottom: 50rpx;
|
||||
min-height: 618rpx;
|
||||
.accountItem_title {
|
||||
border-bottom: rgba(221, 221, 221, 1) solid 1rpx;
|
||||
padding-bottom: 38rpx;
|
||||
}
|
||||
.accountItem_content {
|
||||
.accountItem_content_item {
|
||||
.accountItem_content_item_tip {
|
||||
margin-top: 15rpx;
|
||||
font-size: 22rpx;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
text {
|
||||
color: rgba(71, 111, 250, 1);
|
||||
}
|
||||
}
|
||||
.accountItem_content_item_name {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border-bottom: rgba(221, 221, 221, 1) solid 1rpx;
|
||||
padding: 20rpx 50rpx;
|
||||
image {
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
margin-right: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<template>
|
||||
<view class="accountItem_body flex column">
|
||||
<view class="accountItem_title flex jc">
|
||||
<view>支付选择</view>
|
||||
</view>
|
||||
<view class="accountItem_content ">
|
||||
<view @click="$emit('update:selectIndex', index)" v-for=" (item,index) in pageData " :key="index"
|
||||
class="accountItem_content_item flex ac">
|
||||
<image src="@/static/account.png"></image>
|
||||
<view class="oneflex">
|
||||
<view class="accountItem_content_item_name">{{item.name}}</view>
|
||||
<view class="accountItem_content_item_tip"> 当前账户余额 <text>{{ tool.getnum(item.balance,3) }}</text>元 </view>
|
||||
</view>
|
||||
<uni-icons type="checkmarkempty"
|
||||
:color=" selectIndex==index? 'rgba(255, 103, 0, 1)' : 'rgba(202, 202, 202, 1)' "
|
||||
size="20"></uni-icons>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import station from '@/api/station.js'
|
||||
import play from '@/api/play.js'
|
||||
export default {
|
||||
props: {
|
||||
selectIndex: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
pageData: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
onLoad(e) {},
|
||||
methods: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import 'index.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user