diff --git a/app.vue b/app.vue index 671ef67..d105f41 100644 --- a/app.vue +++ b/app.vue @@ -363,11 +363,9 @@
- -
{{ item.ripostecount?.user }} @@ -863,7 +861,7 @@ import axios from "axios" export default { name: "#answer-app", async setup() { - const author = "6fc0129715734f1450064bba4c1f74d3" + const author = "785a26e691ea92444fd4babc712f75e1" const $ajax = (url, data) => { url = url.indexOf("//") > -1 ? url : baseURL + url return new Promise(function (resolve, reject) { @@ -3060,7 +3058,11 @@ export default { uin: data.uin, }) } - target[code].selected = !target[code].selected + // console.log(target[code].selected); + if (target.hasOwnProperty(code)) { + target[code].selected = !target[code].selected + } + // target[code].selected = !target[code].selected } const riposteSubmit = (item, token) => { @@ -3207,7 +3209,7 @@ export default { const getCoinranking = token => { return new Promise((resolve, reject) => { $ajax("/api/operate/coinranking", { token }).then(res => { - console.log(res) + // console.log(res) if (res.code != 200) { handleMsg("error", res?.message || "请求失败") return @@ -3217,7 +3219,6 @@ export default { }) } - // 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 } diff --git a/index.css b/index.css index d8014e5..720a90d 100644 --- a/index.css +++ b/index.css @@ -43,6 +43,9 @@ a { *::-webkit-scrollbar-thumb:hover { background-color: #666; } +*::-webkit-scrollbar-button { + display: none; +} /* Firefox浏览器 */ /* 注意:Firefox浏览器不支持修改滚动条的宽度 */ /* 若要修改滚动条的宽度,可以使用一些特殊的插件或者自定义滚动条的替代方案 */ diff --git a/index.less b/index.less index 09bb5fb..5bf6dc9 100644 --- a/index.less +++ b/index.less @@ -56,6 +56,10 @@ a { background-color: #666; } +*::-webkit-scrollbar-button { + display: none; +} + /* Firefox浏览器 */ /* 注意:Firefox浏览器不支持修改滚动条的宽度 */ /* 若要修改滚动条的宽度,可以使用一些特殊的插件或者自定义滚动条的替代方案 */