flat: 压缩图片,添加消息控制

This commit is contained in:
史典卓
2025-02-17 12:54:18 +08:00
parent 29cb92224b
commit dbefed8524
65 changed files with 4316 additions and 4214 deletions

View File

@@ -78,6 +78,11 @@
投诉建议
<image src="../../static/img/right.svg" mode=""></image>
</view>
<view class="btnList">
<image src="../../static/img/vip.svg" mode=""></image>
消息提醒
<switch class="imgswitch" :checked="user.isEnbleNotice" @change="switch1Change" />
</view>
<template v-if="user.userIsCms">
<view class="btnList" @click="navTo('/pageMy/admin/check')">
<image src="../../static/img/check1.png" mode=""></image>
@@ -160,6 +165,13 @@ export default {
// this.labourUnionInfoInit()
},
methods: {
switch1Change(e) {
if (e.detail.value) {
this.$store.dispatch('setNoticeOpen');
} else {
this.$store.dispatch('setNoticeClose');
}
},
labourUnionInfoInit() {
labourUnionInfo().then((e) => {
this.federationStatus = e.data.data.joined;
@@ -247,6 +259,11 @@ page {
margin-right: 0;
}
.imgswitch {
margin-left: auto;
margin-right: 0;
}
.btnList image {
width: 52rpx;
height: 52rpx;
@@ -353,4 +370,4 @@ page {
font-size: 32rpx;
color: #F46161;
} */
</style>
</style>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff