feat: 签约提示/赠送次数/自动划付提醒,自营支付成功弹窗,隐藏微信登录

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-27 03:28:31 +08:00
parent 85cddfbf8d
commit 683a9411fd
19 changed files with 469 additions and 99 deletions
+41 -15
View File
@@ -116,7 +116,6 @@
<div class="mod-inner2Listcenter clearfix sliper" style="margin-top: 0">
<ul class="clearfix flex justify-start items-start flex-wrap">
<li v-for="(item, index) in enquirySheetData" class="inli-mask" :key="index"
style="height: 200px"
@click="vk.navigateTo('/pages/enquiry/detail?id=' + item._id);">
<a href="javascript:void(0)" style="display: block;" rel="nofollow">
<div class="detail">
@@ -127,7 +126,7 @@
<div class="text-30 py-10 text-black line-1">
<span>{{ item.title.split('-')[0] }}</span>
</div>
<div class="text-30 py-10 text-black line-1">
<div class="text-30 py-10 text-black line-1" v-if="item.title.split('-')[1]">
<span>{{ item.title.split('-')[1] }}</span>
</div>
<div class="text-30 py-10 text-black line-1">
@@ -135,7 +134,7 @@
item.productList.map(product => (product.procureNumber ? product.procureNumber : '') + (product.procureUnit ? product.procureUnit : ''))[0]
}}</span>
</div>
<div class="text-25 mt-25">
<div class="text-25 mt-25 line-1">
<span>{{ item.fullAddress }}</span>
</div>
<div class="detail-num flex flex-col justify-start items-start">
@@ -575,7 +574,7 @@
<div slot="header" class="clearfix pointer">
<span @click="navTo(`/pages/otherArticle/list?id=${item.id}`)">{{ item.title }}</span>
</div>
<div class="news-list" style="height: 140px">
<div class="news-list news-list--zx">
<el-link @click="navTo(`/pages/otherArticle/detail?id=${article._id}`)"
v-for="(article, articleIndex) in item.list" :key="articleIndex"
:underline="false">
@@ -757,21 +756,31 @@ export default {
vk.navigateTo(path);
},
async checkExpiringNotaryPayList() {
if (!vk.getVuex('$user.userInfo._id')) return
const userId = vk.getVuex('$user.userInfo._id')
if (!userId) return
const tipKey = `notaryAutoTransferTipShown_${userId}`
// 同一登录会话只提示一次(退出登录会清除)
try {
if (typeof sessionStorage !== 'undefined' && sessionStorage.getItem(tipKey) === '1') return
} catch (e) {}
try {
const res = await vk.callFunction({
url: 'client/order/kh/getExpiringNotaryPayList',
loading: false,
})
const count = res.data && res.data.count ? res.data.count : 0
if (!count) return
this.$confirm(`您有${count}笔付款申请将在24小时内自动划付,请及时处理。`, '付款申请即将到期', {
confirmButtonText: '立即处理',
cancelButtonText: '稍后处理',
showCancelButton: true,
const content = res.data && res.data.content ? res.data.content : ''
if (!count || !content) return
try {
if (typeof sessionStorage !== 'undefined') sessionStorage.setItem(tipKey, '1')
} catch (e) {}
this.$alert(content, '重要提示', {
confirmButtonText: '悉知同意',
dangerouslyUseHTMLString: false,
type: 'warning',
}).then(() => {
vk.navigateTo({url: '/pages/order/order?menuIndex=1'})
closeOnClickModal: false,
closeOnPressEscape: false,
showClose: false,
}).catch(() => {})
} catch (err) {
console.error('checkExpiringNotaryPayList error:', err)
@@ -1031,9 +1040,20 @@ export default {
margin: 0 auto;
.inli-mask {
padding: 10px;
height: 400rpx;
flex: 0 0 232px
padding: 10px 10px 16px;
min-height: 200px;
height: auto;
box-sizing: border-box;
flex: 0 0 232px;
overflow: visible;
.detail-num {
margin-top: 8px;
}
.time {
margin-top: 4px;
}
}
}
@@ -1269,6 +1289,12 @@ export default {
flex-direction: column;
align-items: self-start;
line-height: 1.8em;
&--zx {
min-height: 140px;
padding-bottom: 16px;
box-sizing: border-box;
}
}
.news-card {
+5
View File
@@ -325,6 +325,11 @@ export default {
vk.redirectTo({
url: '/pages/contract/index?tab=sign',
})
} else if (this.info.type === 1 || this.info.type === 14) {
// 金久信自营:返回订单页后展示提交成功弹窗
vk.redirectTo({
url: '/pages/order/order?menuIndex=1&selfSupportPaySuccess=1',
})
} else {
vk.redirectTo({
url: '/pages/order/order?menuIndex=1',