|
@@ -35,7 +35,7 @@ const rightAction = ref({
|
|
|
})
|
|
|
|
|
|
const canShowDoBackHome = ref(true)
|
|
|
-function doBackHome () {
|
|
|
+function doBackHome() {
|
|
|
trickClick(`退出页面-首页`)
|
|
|
return openAppOrWxPage(LINKS.首页, {
|
|
|
query: {
|
|
@@ -47,7 +47,7 @@ function doBackHome () {
|
|
|
|
|
|
function doBack() {
|
|
|
trickClick(`退出页面`)
|
|
|
- if (history.length === 1) {
|
|
|
+ if (history.length === 1 && that.$env.platform === 'wx') {
|
|
|
if (needBindPhone.value) {
|
|
|
checkBindPhone(true)
|
|
|
} else {
|
|
@@ -597,7 +597,7 @@ function doSelectQuestionType(item) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-function fixSwipeResize () {
|
|
|
+function fixSwipeResize() {
|
|
|
that.$nextTick(() => {
|
|
|
if (promptEle.value) {
|
|
|
promptEle.value.resize()
|
|
@@ -891,7 +891,7 @@ function echoPageState() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-function triggerFocus () {
|
|
|
+function triggerFocus() {
|
|
|
questionInputEl.value.focus()
|
|
|
that.$nextTick(() => {
|
|
|
questionInputEl.value.focus()
|
|
@@ -947,7 +947,12 @@ init()
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <span v-if='canShowDoBackHome' class="back-icon" style='margin-right: 2px;padding-right: 6px;' @click='doBackHome'>
|
|
|
+ <span
|
|
|
+ v-if="canShowDoBackHome"
|
|
|
+ class="back-icon"
|
|
|
+ style="margin-right: 2px; padding-right: 6px"
|
|
|
+ @click="doBackHome"
|
|
|
+ >
|
|
|
<i class="iconfont icon-nav_un_home" />
|
|
|
</span>
|
|
|
<Popover
|
|
@@ -959,14 +964,17 @@ init()
|
|
|
@select="onSelectRightAction"
|
|
|
>
|
|
|
<template #reference>
|
|
|
- <span class="right-icon">
|
|
|
- <i class="iconfont icon-gengduo-shuxiang" />
|
|
|
- </span>
|
|
|
+ <span class="right-icon">
|
|
|
+ <i class="iconfont icon-gengduo-shuxiang" />
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</Popover>
|
|
|
- <div class='bind-phone-popup' v-if="needBindPhone" @click="checkBindPhone"></div>
|
|
|
+ <div
|
|
|
+ class="bind-phone-popup"
|
|
|
+ v-if="needBindPhone"
|
|
|
+ @click="checkBindPhone"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
<div class="ai-search--content j-main" ref="contentEl">
|