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.
65 lines
1.6 KiB
65 lines
1.6 KiB
<template>
|
|
<view class="line-tab">
|
|
<image class="lt-icon" mode="aspectFit" :src="'/subpackage/menu/static/images/mine_tab/' + iconNum + '.png'"></image>
|
|
<view class="lt-right">
|
|
<view class="lr-left">
|
|
<view class="lr-name">
|
|
<slot name="default">账号管理</slot>
|
|
</view>
|
|
</view>
|
|
<view class="lr-right">
|
|
<slot name="right">
|
|
<image class="lr-arrow" mode="aspectFit" src="/subpackage/menu/static/images/arrow_b2.png"></image>
|
|
</slot>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
iconNum: {
|
|
type: Number,
|
|
default: 0
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.line-tab{
|
|
padding-left: 22upx;
|
|
padding-right: 44upx;
|
|
height: 108upx;
|
|
background: #fff;
|
|
@include ctf;
|
|
.lt-icon{
|
|
flex-shrink: 0;
|
|
margin-right: 22upx;
|
|
width: 48upx;
|
|
height: 48upx;
|
|
}
|
|
.lt-right{
|
|
flex-grow: 1;
|
|
@include ctf(space-between);
|
|
flex-grow: 1;
|
|
.lr-left{
|
|
.lr-name{
|
|
@include flcw(32upx, 48upx, #9A9A9D);
|
|
@include tHide;
|
|
}
|
|
}
|
|
|
|
.lr-right{
|
|
flex-shrink: 0;
|
|
max-width: 40%;
|
|
font-size: 0;
|
|
.lr-arrow{
|
|
width: 30upx;
|
|
height: 30upx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|