style: 购物车、我的页面ui

This commit is contained in:
2026-06-02 14:00:17 +08:00
parent 1fe0a6351c
commit f83068a3fc
12 changed files with 274 additions and 82 deletions
+10 -1
View File
@@ -10,7 +10,9 @@
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{
props.title
}}</view>
<view> </view>
<view class="cardRight" :style="{ color: textColor }">
<slot name="right" />
</view>
</view>
</view>
</template>
@@ -102,4 +104,11 @@
left: 20rpx;
transform: translateY(50%);
}
.cardRight {
position: absolute;
bottom: 44rpx;
right: 20rpx;
transform: translateY(50%);
}
</style>
+10
View File
@@ -8,6 +8,9 @@
</view>
</view>
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{ props.title }}</view>
<view class="cardRight" :style="{ color: textColor }">
<slot name="right" />
</view>
</view>
</view>
</template>
@@ -111,4 +114,11 @@
left: 20rpx;
transform: translateY(50%);
}
.cardRight {
position: absolute;
bottom: 44rpx;
right: 20rpx;
transform: translateY(50%);
}
</style>
+11 -1
View File
@@ -8,6 +8,9 @@
</view>
</view>
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{ props.title }}</view>
<view class="cardRight" :style="{ color: textColor }">
<slot name="right" />
</view>
</view>
</view>
</template>
@@ -123,4 +126,11 @@
left: 20rpx;
transform: translateY(50%);
}
</style>
.cardRight {
position: absolute;
bottom: 44rpx;
right: 20rpx;
transform: translateY(50%);
}
</style>