{{ $t('chat_fun_menu_jin') }}
-
@@ -106,6 +105,10 @@
{ hour: "numeric", minute: "numeric" })
.format(new Date(item.sender_time * 1000)) }} {{ $t('chat_send') }}
+
{{ $t('chat_fun_menu_jin_sender',
+ { time: Intl.DateTimeFormat(trueLang,
+ { hour: "numeric", minute: "numeric" })
+ .format(new Date(item.add_digest_time * 1000)),name: item.add_digest_nick }) }}
-
{{ $t('chat_fun_menu_jin_sender',
- { time: Intl.DateTimeFormat(trueLang,
- { hour: "numeric", minute: "numeric" })
- .format(new Date(item.add_digest_time * 1000)),name: item.add_digest_nick }) }}
@@ -1605,13 +1604,13 @@ export default defineComponent({
*/
showJin () {
this.details[2].open = !this.details[2].open
- if (runtimeData.chatInfo.info.jin_info.data.msg_list.length == 0) {
- const url = `https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=${runtimeData.loginInfo.bkn}&group_code=${this.chat.show.id}&page_start=0&page_limit=40`
- Connector.send(
- 'http_proxy',
- { 'url': url },
- 'getJin'
- )
+ if (runtimeData.chatInfo.info.jin_info.list.length == 0) {
+ // `https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=${runtimeData.loginInfo.bkn}&group_code=${this.chat.show.id}&page_start=0&page_limit=40`
+ const name = runtimeData.jsonMap.group_essence.name ?? 'get_essence_msg_list'
+ Connector.send(name, {
+ group_id: this.chat.show.id,
+ pages: 0
+ }, 'getJin' )
}
this.tags.showMoreDetail = !this.tags.showMoreDetail
},
@@ -1623,14 +1622,13 @@ export default defineComponent({
const body = event.target as HTMLDivElement
// 滚动到底部,加载更多
if (body.scrollTop + body.clientHeight === body.scrollHeight && !this.tags.isJinLoading) {
- if (this.chat.info.jin_info.retcode == 0 && this.chat.info.jin_info.data.is_end == false) {
+ if (this.chat.info.jin_info.is_end == false) {
this.tags.isJinLoading = true
- const url = `https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=${runtimeData.loginInfo.bkn}&group_code=${this.chat.show.id}&page_start=${(this.chat.info.jin_info.data.msg_list.length) / 40 + 1}&page_limit=40`
- Connector.send(
- 'http_proxy',
- { 'url': url },
- 'getJin'
- )
+ const name = runtimeData.jsonMap.group_essence.name ?? 'get_essence_msg_list'
+ Connector.send(name, {
+ group_id: this.chat.show.id,
+ pages: this.chat.info.jin_info.pages + 1
+ }, 'getJin' )
}
}
},
@@ -1672,7 +1670,7 @@ export default defineComponent({
// PS:由于监听 list 本身返回的新旧值是一样,于是监听 length(反正也只要知道长度)
this.$watch(() => this.list.length, this.updateList)
//精华消息列表刷新
- this.$watch(() => this.chat.info.jin_info.data.msg_list.length, () => {
+ this.$watch(() => this.chat.info.jin_info.list.length, () => {
this.tags.isJinLoading = false
})
}
diff --git a/src/pages/Info.vue b/src/pages/Info.vue
index 1969a7d..7a79944 100644
--- a/src/pages/Info.vue
+++ b/src/pages/Info.vue
@@ -118,7 +118,7 @@
-
diff --git a/src/pages/options/OptAccount.vue b/src/pages/options/OptAccount.vue
index ae94c5f..18f8fd6 100644
--- a/src/pages/options/OptAccount.vue
+++ b/src/pages/options/OptAccount.vue
@@ -9,38 +9,47 @@
-
-
-
+
+
+
-
{{ runtimeData.loginInfo.nickname }}
-
{{ runtimeData.loginInfo.uin }}
+
+ {{ runtimeData.loginInfo.nickname }}
+ {{ runtimeData.loginInfo.uin }}
+
+
{{ runtimeData.loginInfo.info && Object.keys(runtimeData.loginInfo.info).length > 0 ?
+ runtimeData.loginInfo.info.lnick : ''
+ }}
-
{{ runtimeData.loginInfo.info && Object.keys(runtimeData.loginInfo.info).length > 0 ?
- runtimeData.loginInfo.info.lnick : ''
- }}
+
-
-
-
-
{{ $t('option_account_config') }}
-
-
-
-
{{ $t('option_account_nick') }}
-
{{ $t('option_account_nick_tip') }}
+
+
{{ $t('option_account_config') }}
+
+
+
+ {{ $t('option_account_nick') }}
+ {{ $t('option_account_nick_tip') }}
+
+
-
-
-
-
-
-
{{ $t('option_account_lnick') }}
-
{{ $t('option_account_lnick_tip') }}
+
+
+
+ {{ $t('option_account_lnick') }}
+ {{ $t('option_account_lnick_tip') }}
+
+
-
-
+
+
+
+
+ {{ $t('option_account_notlogin') }}
+
+
+
{{ $t('option_account_bot') }}
@@ -116,6 +125,10 @@ export default {
Connector.close()
},
+ goLogin() {
+ document.getElementById('bar-home')?.click()
+ },
+
/**
* 设置昵称
* @param event 事件
diff --git a/src/pages/options/OptView.vue b/src/pages/options/OptView.vue
index 0c2730c..12dd07f 100644
--- a/src/pages/options/OptView.vue
+++ b/src/pages/options/OptView.vue
@@ -155,6 +155,19 @@
{{ fsAdaptationShow }} px
+
+
+
+ {{ $t('option_view_dont_touch') }}
+ {{ $t('option_view_dont_touch_tip') }}
+
+
+
@@ -209,6 +222,19 @@ export default defineComponent({
isMobile() {
return getDeviceType() === 'Android' || getDeviceType() === 'iOS'
+ },
+
+ modifyTouch(event: Event) {
+ const sender = event.target as HTMLInputElement
+ const baseApp = document.getElementById('base-app')
+ if(baseApp && sender.checked == true) {
+ if(baseApp.classList.contains('no-touch')) {
+ baseApp.classList.remove('no-touch')
+ sender.checked = false
+ } else {
+ baseApp.classList.add('no-touch')
+ }
+ }
}
},
mounted() {