no message
This commit is contained in:
@@ -194,7 +194,7 @@ const client_manifest = {
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"css": [],
|
||||
"file": "error-404.3c11d8b8.js",
|
||||
"file": "error-404.bd63a09a.js",
|
||||
"imports": [
|
||||
"node_modules/nuxt/dist/app/entry.js"
|
||||
],
|
||||
@@ -220,7 +220,7 @@ const client_manifest = {
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"css": [],
|
||||
"file": "error-500.fefb5447.js",
|
||||
"file": "error-500.cf933b8f.js",
|
||||
"imports": [
|
||||
"node_modules/nuxt/dist/app/entry.js"
|
||||
],
|
||||
@@ -280,7 +280,7 @@ const client_manifest = {
|
||||
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
|
||||
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
|
||||
],
|
||||
"file": "entry.745e49d6.js",
|
||||
"file": "entry.5df83aca.js",
|
||||
"isEntry": true,
|
||||
"src": "node_modules/nuxt/dist/app/entry.js",
|
||||
"_globalCSS": true
|
||||
|
@@ -2752,14 +2752,21 @@ const _sfc_main$2 = {
|
||||
}
|
||||
answerList.value[index]["randomEmojis"] = random;
|
||||
};
|
||||
let riposteSubmitState = false;
|
||||
const selectEomji = (code, index, ispop = false, islist = false) => {
|
||||
console.log("riposteSubmitState", riposteSubmitState);
|
||||
if (riposteSubmitState)
|
||||
return;
|
||||
riposteSubmitState = true;
|
||||
let target = answerList.value[index];
|
||||
let ispitch = false;
|
||||
let isindex = target.ripostelist.findIndex((element) => element.item === code);
|
||||
if (isindex >= 0)
|
||||
ispitch = target.ripostelist[isindex].selected;
|
||||
if (ispitch && ispop)
|
||||
if (ispitch && ispop) {
|
||||
riposteSubmitState = false;
|
||||
return;
|
||||
}
|
||||
riposteSubmit(code, target.token).then((res) => {
|
||||
const data = res.data;
|
||||
target.ripostecount = data.count;
|
||||
@@ -2781,6 +2788,7 @@ const _sfc_main$2 = {
|
||||
if (islist)
|
||||
handleRiposteListData(code, data);
|
||||
}).finally(() => {
|
||||
riposteSubmitState = false;
|
||||
});
|
||||
};
|
||||
const handleRiposteListData = (code, data) => {
|
||||
@@ -2874,10 +2882,11 @@ const _sfc_main$2 = {
|
||||
const coinSelectAmountDispose = (amount) => {
|
||||
coinAmount.value = amount;
|
||||
};
|
||||
let postCoinSbmitState = false;
|
||||
const postCoinSbmit = () => {
|
||||
if (postCoinSbmit)
|
||||
if (postCoinSbmitState)
|
||||
return;
|
||||
postCoinSbmit = true;
|
||||
postCoinSbmitState = true;
|
||||
let targetInsert = insert.value;
|
||||
$ajax("/api/operate/coinsubmit", {
|
||||
token: targetInsert.token,
|
||||
@@ -2902,7 +2911,7 @@ const _sfc_main$2 = {
|
||||
closeInsert();
|
||||
handleMsg("success", (res == null ? void 0 : res.message) || "操作成功");
|
||||
}).finally(() => {
|
||||
postCoinSbmit = false;
|
||||
postCoinSbmitState = false;
|
||||
});
|
||||
};
|
||||
const getCoinranking = (token) => {
|
||||
@@ -3153,7 +3162,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
|
||||
}
|
||||
_push(`</div></div></div></div><div class="answer-total-amount">共 ${ssrInterpolate($setup.detailsInfo["answers"])} 个回答</div><!--[-->`);
|
||||
ssrRenderList($setup.answerList, (item, index) => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
var _a, _b, _c, _d, _e, _f, _g;
|
||||
_push(`<div class="answer-box-item"><img class="aa"${ssrRenderAttr("src", _imports_24)}>`);
|
||||
if (item["ismyself"] == 1) {
|
||||
_push(`<div class="edit-btn flexcenter"><img class="edit-icon"${ssrRenderAttr("src", _imports_17)}></div>`);
|
||||
@@ -3204,7 +3213,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
|
||||
_push(`</div></div></div>`);
|
||||
if (item.tab == "coin") {
|
||||
_push(`<div class="answer-coins"><div class="coins-show flexacenter"><img class="coins-icon"${ssrRenderAttr("src", _imports_26)}><div class="coins-text flexacenter flex1"> 该回答已获 <span class="quantity">${ssrInterpolate(item.coinnum)}</span> 个寄托币 </div><div class="coins-btn flexcenter">给TA投币</div></div>`);
|
||||
if (item.coinnum > 0) {
|
||||
if (((_c = item.ranklist) == null ? void 0 : _c.length) > 0) {
|
||||
_push(`<div class="answer-coins-list"><!--[-->`);
|
||||
ssrRenderList(item.ranklist, (item2, index2) => {
|
||||
_push(`<div class="answer-coins-item flexacenter"><div class="ranking">${ssrInterpolate(index2 + 1)}</div><div class="coins-user flexacenter flex1"><img class="coins-user-img"${ssrRenderAttr("src", item2.avatar)}><div class="coins-user-name flex1">${ssrInterpolate(item2.nickname)}</div></div><div class="bi flexacenter"><div class="bi-amount">${ssrInterpolate(item2.coinnum)}</div> 币 </div></div>`);
|
||||
@@ -3223,9 +3232,9 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
|
||||
_push(`<div class="${ssrRenderClass([{ "pitch": it.selected }, "respond-already-item flexacenter"])}"><div class="code flexacenter">${$setup.jointriposte(it.item)}</div> ${ssrInterpolate(it.num)}</div>`);
|
||||
});
|
||||
_push(`<!--]-->`);
|
||||
if (((_c = item.ripostelist) == null ? void 0 : _c.length) <= 3) {
|
||||
if (((_d = item.ripostelist) == null ? void 0 : _d.length) <= 3) {
|
||||
_push(`<div class="respond-select flexacenter"><!--[-->`);
|
||||
ssrRenderList(item.randomEmojis.slice(0, ((_d = item.ripostelist) == null ? void 0 : _d.length) == 0 ? 8 : 5), (it, i) => {
|
||||
ssrRenderList(item.randomEmojis.slice(0, ((_e = item.ripostelist) == null ? void 0 : _e.length) == 0 ? 8 : 5), (it, i) => {
|
||||
_push(`<div class="respond-select-item">${$setup.jointriposte(it)}</div>`);
|
||||
});
|
||||
_push(`<!--]-->`);
|
||||
@@ -3243,8 +3252,8 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
|
||||
}, null, _parent));
|
||||
}
|
||||
_push(`</div>`);
|
||||
if (((_e = item.ripostecount) == null ? void 0 : _e.user) > 0) {
|
||||
_push(`<div class="respond-list-btn"> 共 <span class="respond-list-btn-amount">${ssrInterpolate((_f = item.ripostecount) == null ? void 0 : _f.user)}</span> 人回应 <img class="respond-list-btn-icon"${ssrRenderAttr("src", _imports_27)}></div>`);
|
||||
if (((_f = item.ripostecount) == null ? void 0 : _f.user) > 0) {
|
||||
_push(`<div class="respond-list-btn"> 共 <span class="respond-list-btn-amount">${ssrInterpolate((_g = item.ripostecount) == null ? void 0 : _g.user)}</span> 人回应 <img class="respond-list-btn-icon"${ssrRenderAttr("src", _imports_27)}></div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user