小程序样式调整
This commit is contained in:
parent
0cfaf4353d
commit
9cc741e16e
@ -33,8 +33,10 @@ const handleToBooking = (item: Object) => {
|
|||||||
@click="handleToBooking(item)">
|
@click="handleToBooking(item)">
|
||||||
|
|
||||||
<view v-if="item.unReadCount>=0" class="center-msg">
|
<view v-if="item.unReadCount>=0" class="center-msg">
|
||||||
<span class="msg-text">消息通知</span>
|
<!-- <span class="msg-text">消息通知</span> -->
|
||||||
<text class="unread-badge" v-if="item.unReadCount>0">{{ item.unReadCount }}</text>
|
<text class="unread-badge" v-if="item.unReadCount>0">{{ item.unReadCount }}</text>
|
||||||
|
<image class="icon" :src="item.imgUrl" mode="scaleToFill"></image>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view v-else >
|
<view v-else >
|
||||||
<image v-if="item.auth" class="icon" :src="item.imgUrl" mode="scaleToFill"></image>
|
<image v-if="item.auth" class="icon" :src="item.imgUrl" mode="scaleToFill"></image>
|
||||||
|
@ -62,7 +62,7 @@ const categoryList = ref([
|
|||||||
path: "messageNotification",
|
path: "messageNotification",
|
||||||
name: "消息通知",
|
name: "消息通知",
|
||||||
auth: true,
|
auth: true,
|
||||||
imgUrl: "",
|
imgUrl: "/static/images/pic_message.png",
|
||||||
defaultImgUrl: "",
|
defaultImgUrl: "",
|
||||||
unReadCount: 0, // 未读消息数
|
unReadCount: 0, // 未读消息数
|
||||||
},
|
},
|
||||||
|
@ -135,7 +135,7 @@ const onRefresherrefresh = async () => {
|
|||||||
<view class="statusLabel">{{ item.thingname }}</view>
|
<view class="statusLabel">{{ item.thingname }}</view>
|
||||||
<view
|
<view
|
||||||
class="product-item"
|
class="product-item"
|
||||||
style="margin: 0; color: #333; font-size: 24rpx"
|
style="margin-top: 5px; color: #333; font-size: 26rpx"
|
||||||
>{{ item.createTime }}</view
|
>{{ item.createTime }}</view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
@ -156,7 +156,7 @@ const onRefresherrefresh = async () => {
|
|||||||
<view class="product-item"
|
<view class="product-item"
|
||||||
>子项目名称:<span class="item-value">{{ item.attr8 }}</span></view
|
>子项目名称:<span class="item-value">{{ item.attr8 }}</span></view
|
||||||
>
|
>
|
||||||
<view class="product-item"
|
<view class="product-item" style="color: red;"
|
||||||
>备注内容:<span class="item-value">{{ item.attr9 }}</span></view
|
>备注内容:<span class="item-value">{{ item.attr9 }}</span></view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
@ -205,7 +205,7 @@ const onRefresherrefresh = async () => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.statusLabel {
|
.statusLabel {
|
||||||
font-size: 28rpx;
|
font-size: 30rpx;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
.read-btn {
|
.read-btn {
|
||||||
@ -233,7 +233,7 @@ const onRefresherrefresh = async () => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
color: #737d88;
|
color: #737d88;
|
||||||
.item-value {
|
.item-value {
|
||||||
color: #333;
|
// color: #333;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
mes-ui/mini-app/src/static/images/pic_message.png
Normal file
BIN
mes-ui/mini-app/src/static/images/pic_message.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue
Block a user