feat: 合同审查页面优化
This commit is contained in:
+19
-23
@@ -478,7 +478,7 @@
|
||||
<view class="quick-btns">
|
||||
<view class="quick-btn" @click="chatQuickSend('注册准备资料事项')">注册准备资料事项</view>
|
||||
<view class="quick-btn" @click="chatQuickSend('关键字无法识别')">关键字无法识别</view>
|
||||
<view class="quick-btn" @click="chatQuickSend('如何下询价单')">金久信签约宝法律效力</view>
|
||||
<view class="quick-btn" @click="chatQuickSend('金久信签约宝法律效力')">金久信签约宝法律效力</view>
|
||||
<view class="quick-btn" @click="chatQuickSend('电子签约不适用场景')">电子签约不适用场景</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -507,7 +507,7 @@
|
||||
<span class="pn-icon">💎</span>
|
||||
<view class="pn-text">
|
||||
<view class="pn-title">合同审查消耗积分</view>
|
||||
<view class="pn-desc">根据文件大小自动计算,每 100KB 约 150 积分。审查后余额需保留至少 200 积分。</view>
|
||||
<view class="pn-desc">根据文件大小自动计算,每 100KB 约 200 积分。审查后余额需保留至少 200 积分。</view>
|
||||
</view>
|
||||
<view class="pn-balance">余额:{{ pointsBalance }} 分</view>
|
||||
</view>
|
||||
@@ -651,7 +651,7 @@
|
||||
<!-- 使用说明 -->
|
||||
<view class="review-title" style="font-size:14px;margin-top:16px;">📖 积分使用说明</view>
|
||||
<view style="font-size:13px;color:#666;line-height:2;margin-bottom:20px;">
|
||||
<p>• <strong>合同审查</strong>:每 100KB 约 150 积分(根据文件大小自动计算)</p>
|
||||
<p>• <strong>合同审查</strong>:每 100KB 约 200 积分(根据文件大小自动计算)</p>
|
||||
<p>• <strong>AI 客服</strong>:免费 — 签约宝专属问答</p>
|
||||
<p>• 新用户注册自动赠送 500 体验积分</p>
|
||||
<p>• 积分长期有效,不过期</p>
|
||||
@@ -889,32 +889,32 @@
|
||||
selectedRecharge: 1,
|
||||
rechargePackages: [{
|
||||
points: 10000,
|
||||
price: '10元',
|
||||
price: '20元',
|
||||
bonus: ''
|
||||
},
|
||||
{
|
||||
points: 50000,
|
||||
price: '50元',
|
||||
bonus: ''
|
||||
},
|
||||
{
|
||||
points: 100000,
|
||||
price: '100元',
|
||||
bonus: ''
|
||||
},
|
||||
{
|
||||
points: 100000,
|
||||
price: '200元',
|
||||
bonus: ''
|
||||
},
|
||||
{
|
||||
points: 450000,
|
||||
price: '450元',
|
||||
price: '900元',
|
||||
bonus: ''
|
||||
},
|
||||
{
|
||||
points: 1000000,
|
||||
price: '1000元',
|
||||
price: '2000元',
|
||||
bonus: ''
|
||||
},
|
||||
{
|
||||
points: 2000000,
|
||||
price: '2000元',
|
||||
price: '4000元',
|
||||
bonus: ''
|
||||
}
|
||||
],
|
||||
@@ -1812,7 +1812,7 @@
|
||||
}
|
||||
this.reviewFile = file;
|
||||
this.reviewFileId = null;
|
||||
this.reviewPoints = Math.max(150, Math.ceil(file.size / (100 * 1024)) * 150);
|
||||
this.reviewPoints = Math.max(200, Math.ceil(file.size / (100 * 1024)) * 200);
|
||||
|
||||
// 立即上传文件到扣子
|
||||
this.reviewUploading = true;
|
||||
@@ -1861,7 +1861,7 @@
|
||||
const balanceRes = await vk.callFunction({
|
||||
url: 'client/points/kh/getBalance'
|
||||
});
|
||||
if (balanceRes.code !== 0 || !balanceRes.data || balanceRes.data.balance < 150) {
|
||||
if (balanceRes.code !== 0 || !balanceRes.data || balanceRes.data.balance < 200) {
|
||||
this.$message.warning('积分不足,请先充值');
|
||||
return;
|
||||
}
|
||||
@@ -1913,15 +1913,11 @@
|
||||
},
|
||||
async doRecharge() {
|
||||
const pkg = this.rechargePackages[this.selectedRecharge];
|
||||
const priceMap = {
|
||||
'10元': 1000,
|
||||
'50元': 5000,
|
||||
'100元': 10000,
|
||||
'450元': 45000,
|
||||
'1000元': 100000,
|
||||
'2000元': 200000
|
||||
};
|
||||
const price = priceMap[pkg.price] || 5000;
|
||||
const priceMap = {
|
||||
'20元': 2000, '100元': 10000, '200元': 20000,
|
||||
'900元': 90000, '2000元': 200000, '4000元': 400000
|
||||
}
|
||||
const price = priceMap[pkg.price] || 2000;
|
||||
const pointsMatch = pkg.points;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user