feat: 签约宝按钮比例、报价附件必填提示,隐藏微信登录并更新favicon

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-27 03:28:28 +08:00
parent c9240dc206
commit fe1d4411a0
9 changed files with 33 additions and 29 deletions
+1
View File
@@ -10,6 +10,7 @@
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<link rel="icon" type="image/png" href="./static/favicon.png"/>
<!--preload-links-->
<!--app-context-->
</head>
+1 -1
View File
@@ -5,7 +5,7 @@
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
"sassImplementationName": "node-sass",
"sassImplementationName" : "node-sass",
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
+3 -3
View File
@@ -34,10 +34,9 @@
</view>
<view class="card-title m-top-30">附件信息</view>
<view class="group m-top-20">
<view class="lb m-right-20">附件内容:</view>
<view class="lb need m-right-20">附件内容:</view>
<view class="flex justify-between align-center m-top-20">
<view class="lbx flex-1">仅支持PDF</view>
<!-- <view class="download">报价单样板下载</view>-->
<view class="lbx flex-1">仅支持纵向PDF文档,报价附件将生成标准合同附件,请认真审阅。</view>
</view>
<view class="m-top-30">
<u-upload
@@ -107,6 +106,7 @@ export default {
},
addCoop() {
if (!this.formData.totalPrice) return this.$message.error('请填写金额')
if (!this.formData.files || this.formData.files.length === 0) return this.$message.error('请上传报价附件')
if (this.formData.files.length > 0) this.formData.files = this.formData.files.map(item => item.url)
vk.callFunction({
url: 'client/old/kh/addQuote',
+8 -8
View File
@@ -63,14 +63,14 @@
<view class="fg" @click="registerLink">免费注册新账号</view>
<view class="fg" @click="forgetLink">找回密码</view>
</view>
<!-- <view class="m-top-30 p-top-20">-->
<!-- <u-divider text="第三方登录"></u-divider>-->
<!-- </view>-->
<!-- <view class="flex justify-center align-center">-->
<!-- <u-icon name="weixin-circle-fill" color="#05BC04" size="38" @click="wechatLogin"></u-icon>-->
<!-- &lt;!&ndash; <view style="width: 50rpx;"></view>&ndash;&gt;-->
<!-- &lt;!&ndash; <u-icon name="qq-circle-fill" color="#2286EA" size="38"></u-icon>&ndash;&gt;-->
<!-- </view>-->
<!-- 暂时隐藏微信登录
<view class="m-top-30 p-top-20">
<u-divider text="第三方登录"></u-divider>
</view>
<view class="flex justify-center align-center">
<u-icon name="weixin-circle-fill" color="#05BC04" size="38" @click="wechatLogin"></u-icon>
</view>
-->
</view>
</view>
</view>
+5 -5
View File
@@ -47,11 +47,10 @@
<view class="card-title m-top-30">附件信息</view>
<view class="group m-top-20">
<!-- <view class="lb m-right-20">附件内容:</view>-->
<!-- <view class="flex justify-between align-center m-top-20">-->
<!-- <view class="lbx flex-1">上传自有报价单图片或文档,支持jpg/png/word/excel。</view>-->
<!-- <view class="download">报价单样板下载</view>-->
<!-- </view>-->
<view class="lb need m-right-20">附件内容:</view>
<view class="flex justify-between align-center m-top-20">
<view class="lbx flex-1">仅支持纵向PDF文档,报价附件将生成标准合同附件,请认真审阅。</view>
</view>
<view class="m-top-30">
<u-upload
:fileList="formData.files"
@@ -138,6 +137,7 @@ export default {
},
async submit() {
if (!this.formData.totalPrice) return this.$message.error('请填写金额')
if (!this.formData.files || this.formData.files.length === 0) return this.$message.error('请上传报价附件')
// if (this.formData.files.length > 0) this.formData.files = this.formData.files.map(item => item.url)
vk.callFunction({
url: 'client/enquiry/quote/kh/addQuote',
+5 -3
View File
@@ -18,9 +18,9 @@
<u-button size="max" type="primary" @click.native="dialogVisible = true"
:custom-style="{padding: 0, width: '100%'}">立即购买</u-button>
</view>
<view class="qyb-log-action ml-25">
<view class="qyb-log-action">
<u-button size="max" type="success" @click.native="openLog"
:custom-style="{padding: 0, width: '100%'}">明细</u-button>
:custom-style="{padding: 0, width: '100%'}">明细查询</u-button>
</view>
</view>
</view>
@@ -871,14 +871,16 @@ page {
.qyb-action-row {
width: 100%;
gap: 16rpx;
}
.qyb-buy-action {
flex: 0 0 28%;
flex: 0 0 72%;
}
.qyb-log-action {
flex: 1;
min-width: 0;
}
.ai-float-btn {
+6 -6
View File
@@ -39,11 +39,10 @@
</view>
<view class="card-title m-top-30">附件信息</view>
<view class="group m-top-20">
<!-- <view class="lb m-right-20">附件内容:</view>-->
<!-- <view class="flex justify-between align-center m-top-20">-->
<!-- <view class="lbx flex-1">上传自有报价单图片或文档,支持jpg/png/word/excel。</view>-->
<!-- <view class="download">报价单样板下载</view>-->
<!-- </view>-->
<view class="lb need m-right-20">附件内容:</view>
<view class="flex justify-between align-center m-top-20">
<view class="lbx flex-1">仅支持纵向PDF文档,报价附件将生成标准合同附件,请认真审阅。</view>
</view>
<view class="m-top-30">
<u-upload
:fileList="formData.files"
@@ -131,7 +130,8 @@ export default {
this.formData.files.splice(index, 1)
},
async submit() {
if (!this.formData.totalPrice) return this.$message.error('请填写金额')
if (!this.formData.amount && !this.formData.totalPrice) return this.$message.error('请填写金额')
if (!this.formData.files || this.formData.files.length === 0) return this.$message.error('请上传报价附件')
// if (this.formData.files.length > 0) this.formData.files = this.formData.files.map(item => item.url)
vk.callFunction({
url: 'client/selfSupport/kh/addQuote',
+4 -3
View File
@@ -47,8 +47,7 @@
<view class="group m-top-20">
<view class="lb need m-right-20">附件内容:</view>
<view class="flex justify-between align-center m-top-20">
<!-- <view class="lbx flex-1">上传自有申请单图片或文档,支持jpg/png/word/excel。</view>-->
<!-- <view class="download">申请单样板下载</view>-->
<view class="lbx flex-1">仅支持纵向PDF文档,报价附件将生成标准合同附件,请认真审阅。</view>
</view>
<view class="m-top-30">
<u-upload
@@ -116,7 +115,9 @@
this.formData.files.splice(index, 1)
},
async submit() {
if (!this.formData.files || this.formData.files.length === 0) {
return this.$message.error('请上传报价附件')
}
const data = await vk.userCenter.getCurrentUserInfo();
const {userInfo} = data
if (userInfo.quoteTimes > 3) {
Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB