dl_uniapp/pages/mine/card/my-card.vue

75 lines
1.2 KiB
Vue
Raw Normal View History

2025-04-01 10:18:22 +08:00
<template>
<view class="my-card-box">
<view class="card-dom">
<view class="card-title">
<image src="@/static/platform/xiaohongshu.png" mode="aspectFit"></image>
<text>小红书博主</text>
<view class="edit-text">
<image style="margin-right: 10rpx;" src="@/static/platform/xiaohongshu.png" mode="aspectFit">
</image>
编辑
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
.my-card-box {
border-top: 1rpx solid #F4F4F4;
padding: 30rpx;
width: 100%;
color: #363636;
font-size: 30rpx;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
.card-dom {
width: 100%;
background-color: white;
position: relative;
z-index: 10;
font-size: 26rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.card-title {
display: flex;
align-items: center;
justify-content: center;
image {
width: 80rpx;
height: 80rpx;
}
text {
flex: 1;
}
.edit-text {
width: 100rpx;
}
}
}
}
</style>