no message
This commit is contained in:
@@ -12,7 +12,7 @@ export const hotSearch = defineComponent({
|
||||
});
|
||||
|
||||
const init = () => {
|
||||
ajaxget("/v2/api/forum/getHotSearchWords?limit=20").then((res) => {
|
||||
ajaxGet("/v2/api/forum/getHotSearchWords?limit=20").then((res) => {
|
||||
const data = res.data;
|
||||
list.value = data || [];
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ export const hotTag = defineComponent({
|
||||
});
|
||||
|
||||
const init = () => {
|
||||
ajaxget("/v2/api/forum/getHotTags?limit=20").then((res) => {
|
||||
ajaxGet("/v2/api/forum/getHotTags?limit=20").then((res) => {
|
||||
const data = res.data;
|
||||
list.value = data || [];
|
||||
});
|
||||
|
||||
@@ -100,12 +100,13 @@ export const itemBottom = defineComponent({
|
||||
};
|
||||
|
||||
const copyLinkClick = () => {
|
||||
copyForumUid(`http://14.22.79.19:9551/?tpl=forum/details&uniqid=${item.value.uniqid}`);
|
||||
copyForumUid(`${location.origin}/details/${item.value.uniqid}`);
|
||||
};
|
||||
|
||||
let QRcode = ref("");
|
||||
const showQRcode = () => {
|
||||
if (QRcode.value) return
|
||||
ajaxget(`/v2/api/forum/getQrcode?token=${item.value.token}`).then((res) => {
|
||||
ajaxGet(`/v2/api/forum/getQrcode?token=${item.value.token}`).then((res) => {
|
||||
if (res.code != 200) return;
|
||||
const data = res.data || {};
|
||||
QRcode.value = data.url || "";
|
||||
|
||||
@@ -90,7 +90,7 @@ export const itemHead = defineComponent({
|
||||
});
|
||||
};
|
||||
|
||||
let cancelOperate = inject("cancelOperate");
|
||||
// let cancelOperate = inject("cancelOperate");
|
||||
|
||||
// 删除
|
||||
const deleteItem = () => {
|
||||
|
||||
@@ -41,7 +41,7 @@ export const latestList = defineComponent({
|
||||
|
||||
let latestList = ref([]);
|
||||
const getTopicLatest = () => {
|
||||
ajaxget(`/v2/api/forum/getTopicLatest?type=thread`).then((res) => {
|
||||
ajaxGet(`/v2/api/forum/getTopicLatest?type=thread`).then((res) => {
|
||||
const data = res.data;
|
||||
const list = data.thread || [];
|
||||
latestList.value = list;
|
||||
@@ -58,7 +58,7 @@ export const latestList = defineComponent({
|
||||
|
||||
let topList = ref([]);
|
||||
const topicHandpicked = () => {
|
||||
ajaxget(`/v2/api/forum/topicLists?simple=1&best=1`).then((res) => {
|
||||
ajaxGet(`/v2/api/forum/topicLists?simple=1&best=1`).then((res) => {
|
||||
const data = res.data;
|
||||
topList.value = data.data;
|
||||
nextTick(() => {
|
||||
|
||||
@@ -21,7 +21,7 @@ export const slideshowBox = defineComponent({
|
||||
|
||||
let latestList = ref({});
|
||||
const getTopicLatest = () => {
|
||||
ajaxget(`/v2/api/forum/getTopicLatest?limit=4`).then((res) => {
|
||||
ajaxGet(`/v2/api/forum/getTopicLatest?limit=4`).then((res) => {
|
||||
const data = res.data || [];
|
||||
(data.vote || []).forEach((item) => {
|
||||
if (!item.title) {
|
||||
|
||||
12
css/edit.css
12
css/edit.css
@@ -50,7 +50,10 @@
|
||||
border-radius: 10px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
#edit .edit-container .title-input {
|
||||
#edit .edit-container .title-box {
|
||||
position: relative;
|
||||
}
|
||||
#edit .edit-container .title-box .title-input {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
border: none;
|
||||
@@ -63,6 +66,13 @@
|
||||
padding: 0 36px;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
}
|
||||
#edit .edit-container .title-box .sum {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
}
|
||||
#edit .edit-container .editor-toolbar {
|
||||
height: 36px;
|
||||
background-color: #fbfbfb;
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,18 +57,29 @@
|
||||
border-radius: 10px;
|
||||
margin: 0 auto;
|
||||
|
||||
.title-input {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 10px 10px 0 0;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
padding: 0 36px;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
.title-box {
|
||||
position: relative;
|
||||
.title-input {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 10px 10px 0 0;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
padding: 0 36px;
|
||||
border-bottom: 1px solid #ebebeb;
|
||||
}
|
||||
|
||||
.sum {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.editor-toolbar {
|
||||
|
||||
Reference in New Issue
Block a user