|
@@ -131,7 +131,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="input-section">
|
|
<div class="input-section">
|
|
<div class="input-title input-slider">
|
|
<div class="input-title input-slider">
|
|
- <span>设置为置顶</span>
|
|
|
|
|
|
+ <span>设为置顶</span>
|
|
|
|
|
|
<Slider :open="topFlag" @change="onTopFlag" />
|
|
<Slider :open="topFlag" @change="onTopFlag" />
|
|
</div>
|
|
</div>
|
|
@@ -251,13 +251,22 @@ const ManageNotification = defineComponent({
|
|
});
|
|
});
|
|
data.page = 1;
|
|
data.page = 1;
|
|
data.groupList = [];
|
|
data.groupList = [];
|
|
- getNotification();
|
|
|
|
|
|
+ TUIMessage({
|
|
|
|
+ message: item.topFlag ? '取消置顶成功' : '设为置顶成功',
|
|
|
|
+ isH5: false,
|
|
|
|
+ type: "success",
|
|
|
|
+ });
|
|
} else if (type === "delete") {
|
|
} else if (type === "delete") {
|
|
await imGroupNoticeRemove({
|
|
await imGroupNoticeRemove({
|
|
id: item.id,
|
|
id: item.id,
|
|
});
|
|
});
|
|
data.page = 1;
|
|
data.page = 1;
|
|
data.groupList = [];
|
|
data.groupList = [];
|
|
|
|
+ TUIMessage({
|
|
|
|
+ message: '删除成功',
|
|
|
|
+ isH5: false,
|
|
|
|
+ type: "success",
|
|
|
|
+ });
|
|
getNotification();
|
|
getNotification();
|
|
} else if (type === "add") {
|
|
} else if (type === "add") {
|
|
data.isEdit = true;
|
|
data.isEdit = true;
|
|
@@ -292,6 +301,7 @@ const ManageNotification = defineComponent({
|
|
content: data.input,
|
|
content: data.input,
|
|
id: data.id,
|
|
id: data.id,
|
|
});
|
|
});
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
await imGroupNoticeSave({
|
|
await imGroupNoticeSave({
|
|
groupId: data.groupProfile.groupID,
|
|
groupId: data.groupProfile.groupID,
|
|
@@ -301,6 +311,12 @@ const ManageNotification = defineComponent({
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ TUIMessage({
|
|
|
|
+ message: '发布成功',
|
|
|
|
+ isH5: false,
|
|
|
|
+ type: "success",
|
|
|
|
+ });
|
|
|
|
+
|
|
data.isEdit = false;
|
|
data.isEdit = false;
|
|
ctx.emit("changeStatus", "submit");
|
|
ctx.emit("changeStatus", "submit");
|
|
data.page = 1;
|
|
data.page = 1;
|
|
@@ -529,18 +545,18 @@ export default ManageNotification;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
color: #333333;
|
|
color: #333333;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
- line-height: 22px;
|
|
|
|
|
|
+ line-height: 20px;
|
|
padding-bottom: 10px;
|
|
padding-bottom: 10px;
|
|
.iconNotifit1,
|
|
.iconNotifit1,
|
|
.iconNotifit2 {
|
|
.iconNotifit2 {
|
|
- width: 22px;
|
|
|
|
- height: 22px;
|
|
|
|
|
|
+ width: 20px;
|
|
|
|
+ height: 20px;
|
|
margin-right: 6px;
|
|
margin-right: 6px;
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
span {
|
|
span {
|
|
line-height: 1;
|
|
line-height: 1;
|
|
- padding-bottom: 5px;
|
|
|
|
|
|
+ padding-bottom: 2px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|