修改小程序bug

This commit is contained in:
邓洁
2023-02-25 16:32:35 +08:00
parent 8bdb156ec2
commit b439c3dd7a
7 changed files with 36 additions and 31 deletions

View File

@@ -16,7 +16,7 @@
<image :src="item.icon" mode="aspectFit" class="icon"
:style="{border: item.active?'2rpx #14CA65 solid':'0',}" />
</view>
<view class="name" :style="{width: item.active?'156rpx':'126rpx'}">
<view class="name" :style="{width: item.active?'74px':'126rpx'}">
<u-tag v-if="item.active" :text="item.name" bg-color="#14CA65" color="#fff"
borderColor="#14CA65" shape="circle" />
<text v-else class="no-active">{{item.name}}</text>
@@ -87,7 +87,7 @@
<view class="publish-date-box">
<view
style="width: fit-content; display: inline-block;margin-right:6rpx;">
<u-icon size="16" name="clock" color="#A3A3A3" />
<u-icon size="14" name="clock" color="#A3A3A3" />
</view>
<text style="margin-right: 6rpx;">发布日期</text>
<text>{{item1.pub_time_str}}</text>
@@ -444,11 +444,11 @@
}
.name {
width: 126px;
// width: 126px;
text-align: center;
.no-active {
font-size: 28rpx;
font-size: 24rpx;
font-family: PingFang-SC-Medium, PingFang-SC;
font-weight: 500;
color: #616161;
@@ -500,7 +500,7 @@
line-height: 1;
.title {
font-size: 32rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #343434;
@@ -518,7 +518,7 @@
border-radius: 25% 0 0 0;
.title {
font-size: 32rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #14CA65;
@@ -669,6 +669,7 @@
.publish-date-box {
display: flex;
align-items: center;
font-size: 22rpx;
}
}