1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 05:09:29 +08:00

新增:新增恋爱日记功能

This commit is contained in:
小莫唐尼
2022-12-11 16:52:32 +08:00
parent 0da5feb2ee
commit b7e2025ebb
12 changed files with 1342 additions and 26 deletions
+3 -2
View File
@@ -157,7 +157,7 @@ export default {
}
&.tb_image_text {
flex-direction: column;
padding: 0;
padding: 24rpx;
.left {
width: 100%;
height: 340rpx;
@@ -169,7 +169,8 @@ export default {
}
.right {
padding-left: 0;
padding: 24rpx;
padding: 24rpx 0;
padding-bottom: 0;
width: 100%;
.foot {
justify-content: flex-start;
+2 -2
View File
@@ -1,5 +1,5 @@
<template>
<view class="cache-image">
<view class="cache-image-wrap">
<view v-if="loadStatus == 'loading'" class="img-loading" :style="[imgStyle, loadStyle]">
<!-- <text class="img-load-icon iconfont icon-loading"></text>
<text class="img-load-text">{{ loadText }}</text> -->
@@ -145,7 +145,7 @@ export default {
</script>
<style scoped lang="scss">
.cache-image {
.cache-image-wrap {
width: 100%;
height: 100%;
}
@@ -1,6 +1,5 @@
<template>
<view class="category-mini-card">
<!-- <image class="img" lazy-load :src="$utils.checkThumbnailUrl(category.thumbnail)" mode="aspectFill"></image> -->
<cache-image
class="img"
height="120rpx"
@@ -35,12 +34,13 @@ export default {
border-radius: 12rpx;
background-color: #fff;
overflow: hidden;
// border: 2rpx solid #f7f7f7;
box-shadow: 0rpx 2rpx 24rpx rgba(0, 0, 0, 0.03);
position: relative;
.img {
width: 100%;
height: 120rpx;
border: 6rpx 6rpx 0 0;
overflow: hidden;
}
.label {
position: absolute;
@@ -55,9 +55,13 @@ export default {
padding-right: 24rpx;
}
.name {
position: absolute;
bottom: 16rpx;
left: 0;
right: 0;
font-size: 24rpx;
text-align: center;
color: var(--main-text-color);
color: #333;
}
}
</style>