no message

This commit is contained in:
A1300399510 2024-07-30 19:00:24 +08:00
parent 3bcb51ebc7
commit f09afe9600
3 changed files with 14 additions and 6 deletions

11
app.vue
View File

@ -363,11 +363,9 @@
<div class="respond-select-item" v-html="jointriposte(it)" @click="selectEomji(it, index)"></div> <div class="respond-select-item" v-html="jointriposte(it)" @click="selectEomji(it, index)"></div>
</template> </template>
<RespondAdd :riposteoptions="item.riposteoptions" @selectEomji="selectEomji" :index="index"></RespondAdd> <RespondAdd :riposteoptions="item.riposteoptions" @selectEomji="selectEomji" :index="index"></RespondAdd>
</div> </div>
<RespondAdd v-else :riposteoptions="item.riposteoptions" :index="index" @selectEomji="selectEomji"></RespondAdd> <RespondAdd v-else :riposteoptions="item.riposteoptions" :index="index" @selectEomji="selectEomji"></RespondAdd>
<div class="respond-list-btn" v-if="item.ripostecount?.user > 0" @click="openRespondDetails(index)"> <div class="respond-list-btn" v-if="item.ripostecount?.user > 0" @click="openRespondDetails(index)">
<span class="respond-list-btn-amount">{{ item.ripostecount?.user }}</span> <span class="respond-list-btn-amount">{{ item.ripostecount?.user }}</span>
@ -863,7 +861,7 @@ import axios from "axios"
export default { export default {
name: "#answer-app", name: "#answer-app",
async setup() { async setup() {
const author = "6fc0129715734f1450064bba4c1f74d3" const author = "785a26e691ea92444fd4babc712f75e1"
const $ajax = (url, data) => { const $ajax = (url, data) => {
url = url.indexOf("//") > -1 ? url : baseURL + url url = url.indexOf("//") > -1 ? url : baseURL + url
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
@ -3060,8 +3058,12 @@ export default {
uin: data.uin, uin: data.uin,
}) })
} }
// console.log(target[code].selected);
if (target.hasOwnProperty(code)) {
target[code].selected = !target[code].selected target[code].selected = !target[code].selected
} }
// target[code].selected = !target[code].selected
}
const riposteSubmit = (item, token) => { const riposteSubmit = (item, token) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
@ -3207,7 +3209,7 @@ export default {
const getCoinranking = token => { const getCoinranking = token => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
$ajax("/api/operate/coinranking", { token }).then(res => { $ajax("/api/operate/coinranking", { token }).then(res => {
console.log(res) // console.log(res)
if (res.code != 200) { if (res.code != 200) {
handleMsg("error", res?.message || "请求失败") handleMsg("error", res?.message || "请求失败")
return return
@ -3217,7 +3219,6 @@ export default {
}) })
} }
// const selectEomji = key => {} // const selectEomji = key => {}
return { handleLookOnly, zeroreply, replaceNumberObj, closeMyModel, myModelList, myModelState, listHeight, bottomTpsStyle, TAHomePage, sendMessage, avatarState, openUserInfo, isNeedLogin, handleInputYou, openListIAnswer, isListEmptyState, cutYourAnswerAnonymous, handleYourAnswer, yourAnswer, handleLogo, inTheEndState, setItemUrl, seo, originUrl, handleMenuState, reasonList, checkList, alertShow, alertText, selectRadio, alertSubmit, cutType, dialogSrc, answerPage, handleDetailsScroll, replaceState, copyText, boxClass, questionPlaceholderState, yourAnswerPlaceholderState, handleInput, handlePaste, itemStyle, listStyle, listBoxStyle, myType, type, pitchIndex, cut, list, keyword, keywordText, getList, total, typeList, typePitch, getDetails, detailsInfo, detailsIsanswered, detailsIscollection, detailsIsmyself, detailShare, detailLoading, answerList, operateLike, operateCollect, IAnswerState, IAnswerEditState, IAnswerInfo, amendIAnswer, openIAnswer, closeIAnswer, submitAnswer, openCommentState, submitAnswerComments, operateAnswerCommentsLike, openAnswerCommentsChild, closeAnswerCommentsChild, alsoCommentsData, handleAllComment, myCollectionList, myCollectionCount, myQuestionsList, myQuestionsCount, myAnswerList, myAnswerCount, cutAnswerPopupState, handleDate, handleCollectionScroll, handleAnswersScroll, handleQuestionsScroll, cancelCollection, getMyCollection, questionsSetp, questionsObj, cutAnonymous, cutQuestionsSetp, cutQuestionsPopupState, questionsTypeList, postingIssue, choosingTheme, handleMy, changeAnonymous, changeAnonymousQuestions, pageHeaderHeight, pageListHeight, questionsTransmitState, questionsTransmitMaskState, closeAllTransmitState, closeTransmitState, handleAnswerTransmitList, closeDetailMode, tabListFixeState, handleListScroll, historicalSearchState, historicalSearchList, searchFocus, searchBlur, searchClick, handleClickHistoricalItem, handleClickClear, isSearchMode, questionsInit, myCount, msg, myOpenDetails, handleAnswerText, getCurrentUrl, loading, showComments, jointriposte, randomEmojis, selectEomji, openRespondDetails, respondPopState, respondDetail, respondPopObj, closePopList, coinAmount, openInsert, insertcoinsState, insert, coinMessage, coinSelectAmountDispose, closeInsert, postCoinSbmit, cutOperate, insertcoinsNoState } return { handleLookOnly, zeroreply, replaceNumberObj, closeMyModel, myModelList, myModelState, listHeight, bottomTpsStyle, TAHomePage, sendMessage, avatarState, openUserInfo, isNeedLogin, handleInputYou, openListIAnswer, isListEmptyState, cutYourAnswerAnonymous, handleYourAnswer, yourAnswer, handleLogo, inTheEndState, setItemUrl, seo, originUrl, handleMenuState, reasonList, checkList, alertShow, alertText, selectRadio, alertSubmit, cutType, dialogSrc, answerPage, handleDetailsScroll, replaceState, copyText, boxClass, questionPlaceholderState, yourAnswerPlaceholderState, handleInput, handlePaste, itemStyle, listStyle, listBoxStyle, myType, type, pitchIndex, cut, list, keyword, keywordText, getList, total, typeList, typePitch, getDetails, detailsInfo, detailsIsanswered, detailsIscollection, detailsIsmyself, detailShare, detailLoading, answerList, operateLike, operateCollect, IAnswerState, IAnswerEditState, IAnswerInfo, amendIAnswer, openIAnswer, closeIAnswer, submitAnswer, openCommentState, submitAnswerComments, operateAnswerCommentsLike, openAnswerCommentsChild, closeAnswerCommentsChild, alsoCommentsData, handleAllComment, myCollectionList, myCollectionCount, myQuestionsList, myQuestionsCount, myAnswerList, myAnswerCount, cutAnswerPopupState, handleDate, handleCollectionScroll, handleAnswersScroll, handleQuestionsScroll, cancelCollection, getMyCollection, questionsSetp, questionsObj, cutAnonymous, cutQuestionsSetp, cutQuestionsPopupState, questionsTypeList, postingIssue, choosingTheme, handleMy, changeAnonymous, changeAnonymousQuestions, pageHeaderHeight, pageListHeight, questionsTransmitState, questionsTransmitMaskState, closeAllTransmitState, closeTransmitState, handleAnswerTransmitList, closeDetailMode, tabListFixeState, handleListScroll, historicalSearchState, historicalSearchList, searchFocus, searchBlur, searchClick, handleClickHistoricalItem, handleClickClear, isSearchMode, questionsInit, myCount, msg, myOpenDetails, handleAnswerText, getCurrentUrl, loading, showComments, jointriposte, randomEmojis, selectEomji, openRespondDetails, respondPopState, respondDetail, respondPopObj, closePopList, coinAmount, openInsert, insertcoinsState, insert, coinMessage, coinSelectAmountDispose, closeInsert, postCoinSbmit, cutOperate, insertcoinsNoState }

View File

@ -43,6 +43,9 @@ a {
*::-webkit-scrollbar-thumb:hover { *::-webkit-scrollbar-thumb:hover {
background-color: #666; background-color: #666;
} }
*::-webkit-scrollbar-button {
display: none;
}
/* Firefox浏览器 */ /* Firefox浏览器 */
/* 注意Firefox浏览器不支持修改滚动条的宽度 */ /* 注意Firefox浏览器不支持修改滚动条的宽度 */
/* 若要修改滚动条的宽度,可以使用一些特殊的插件或者自定义滚动条的替代方案 */ /* 若要修改滚动条的宽度,可以使用一些特殊的插件或者自定义滚动条的替代方案 */

View File

@ -56,6 +56,10 @@ a {
background-color: #666; background-color: #666;
} }
*::-webkit-scrollbar-button {
display: none;
}
/* Firefox浏览器 */ /* Firefox浏览器 */
/* 注意Firefox浏览器不支持修改滚动条的宽度 */ /* 注意Firefox浏览器不支持修改滚动条的宽度 */
/* 若要修改滚动条的宽度,可以使用一些特殊的插件或者自定义滚动条的替代方案 */ /* 若要修改滚动条的宽度,可以使用一些特殊的插件或者自定义滚动条的替代方案 */