修改租赁页面跳转到签订合同
This commit is contained in:
parent
3db05d2007
commit
394b03a994
|
|
@ -2,7 +2,7 @@
|
|||
export const DEV_CONFIG = {
|
||||
// 临时token,用于开发测试
|
||||
TEMP_TOKEN:
|
||||
'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjViMTMzOTU5LWRkOGYtNDUwZS1hNDNmLTQyNTZmNzljNjU4YyJ9.vEal-nq4biYni9F3YhBr6pt6mEepOYFQzlSeERQ-Ft_YejklpzmjhvIF9nO3PkjS7F5ns4unIUt8Ov0JEWnY2Q',
|
||||
'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjAxYzAwNGY4LTY0NWItNGI5OS04NGY1LTVhOTlhMzkyNDc4YyJ9.vT8doYVLUY4faLPTD3QTTURumMeMEPkutA4RHkbDokRGQanM1hMnF01AHhP1fmqD1sfeOb-i_UCMqt0dXeKi_g',
|
||||
|
||||
// 是否使用临时token
|
||||
USE_TEMP_TOKEN: true,
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
{
|
||||
"path": "pages/signature/signature",
|
||||
"style": {
|
||||
"navigationBarTitleText": "签名"
|
||||
"navigationBarTitleText": "请横屏签名"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
</uv-button>
|
||||
<uv-button
|
||||
customStyle="margin-top: 10px"
|
||||
text="确认协议并提交"
|
||||
text="确认协议并去签名"
|
||||
type="primary"
|
||||
@click="submit"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -100,11 +100,11 @@
|
|||
</button>
|
||||
|
||||
<view class="agreement">
|
||||
<view :class="{ checked: hasAgreed }" class="checkbox" @click="hasAgreed = !hasAgreed">
|
||||
<view :class="{ checked: hasAgreed }" class="checkbox">
|
||||
<text v-if="hasAgreed">✓</text>
|
||||
</view>
|
||||
<text class="text">我已阅读并同意</text>
|
||||
<text class="link" @click="$refs.popup.open()">《安装协议》</text>
|
||||
<!-- <text class="text">去签署</text>-->
|
||||
<text class="link" @click="goToInstallationProtocol">去签署《安装协议》</text>
|
||||
</view>
|
||||
|
||||
<view class="payment-details">
|
||||
|
|
@ -140,36 +140,36 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<uv-popup ref="popup" :close-on-click-overlay="false" bg-color="#fff" mode="center" round="16">
|
||||
<view class="protocol-popup">
|
||||
<view class="popup-header">
|
||||
<text class="title">安装协议</text>
|
||||
</view>
|
||||
<!-- <uv-popup ref="popup" :close-on-click-overlay="false" bg-color="#fff" mode="center" round="16">-->
|
||||
<!-- <view class="protocol-popup">-->
|
||||
<!-- <view class="popup-header">-->
|
||||
<!-- <text class="title">安装协议</text>-->
|
||||
<!-- </view>-->
|
||||
|
||||
<scroll-view class="popup-content" scroll-y>
|
||||
<text class="content-text">
|
||||
本协议由出租方与承租方共同订立,双方就灶台设备租赁安装事宜达成如下约定: 第一条
|
||||
设备交付
|
||||
出租方应于约定日期将灶台设备运送至指定安装位置,并负责专业安装调试,确保设备正常运行。
|
||||
第二条 安装标准
|
||||
安装过程需符合安全规范,燃气接口必须密封完好,电路连接符合国家标准,排烟管道畅通无阻。
|
||||
第三条 使用培训
|
||||
出租方需提供设备操作培训,指导承租方正确使用及日常维护方法,确保使用安全。 第四条
|
||||
维护责任
|
||||
租赁期内正常使用出现的故障,由出租方负责免费维修。人为损坏需承租方承担维修费用。
|
||||
第五条 安全承诺
|
||||
承租方应按照操作规程使用设备,定期检查安全隐患。如发现异常应立即停用并通知出租方。
|
||||
第六条 协议终止 租赁期满后,出租方负责设备拆卸回收。如需续租应提前15日重新签订协议。
|
||||
本协议一式两份,双方各执一份,自签字之日起生效。 出租方签字:__________
|
||||
承租方签字:__________ 日期:年月日
|
||||
</text>
|
||||
</scroll-view>
|
||||
<!-- <scroll-view class="popup-content" scroll-y>-->
|
||||
<!-- <text class="content-text">-->
|
||||
<!-- 本协议由出租方与承租方共同订立,双方就灶台设备租赁安装事宜达成如下约定: 第一条-->
|
||||
<!-- 设备交付-->
|
||||
<!-- 出租方应于约定日期将灶台设备运送至指定安装位置,并负责专业安装调试,确保设备正常运行。-->
|
||||
<!-- 第二条 安装标准-->
|
||||
<!-- 安装过程需符合安全规范,燃气接口必须密封完好,电路连接符合国家标准,排烟管道畅通无阻。-->
|
||||
<!-- 第三条 使用培训-->
|
||||
<!-- 出租方需提供设备操作培训,指导承租方正确使用及日常维护方法,确保使用安全。 第四条-->
|
||||
<!-- 维护责任-->
|
||||
<!-- 租赁期内正常使用出现的故障,由出租方负责免费维修。人为损坏需承租方承担维修费用。-->
|
||||
<!-- 第五条 安全承诺-->
|
||||
<!-- 承租方应按照操作规程使用设备,定期检查安全隐患。如发现异常应立即停用并通知出租方。-->
|
||||
<!-- 第六条 协议终止 租赁期满后,出租方负责设备拆卸回收。如需续租应提前15日重新签订协议。-->
|
||||
<!-- 本协议一式两份,双方各执一份,自签字之日起生效。 出租方签字:__________-->
|
||||
<!-- 承租方签字:__________ 日期:年月日-->
|
||||
<!-- </text>-->
|
||||
<!-- </scroll-view>-->
|
||||
|
||||
<view class="popup-footer">
|
||||
<button class="agree-btn" hover-class="btn-hover" @click="close">同意并继续</button>
|
||||
</view>
|
||||
</view>
|
||||
</uv-popup>
|
||||
<!-- <view class="popup-footer">-->
|
||||
<!-- <button class="agree-btn" hover-class="btn-hover" @click="close">同意并继续</button>-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<!-- </uv-popup>-->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -198,11 +198,14 @@ export default {
|
|||
},
|
||||
},
|
||||
onShow() {
|
||||
if (!this.hasAgreed) {
|
||||
;(this.$refs.popup.open(), (this.hasAgreed = true))
|
||||
}
|
||||
// if (!this.hasAgreed) {
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/InstallationAgreement/InstallationAgreement',
|
||||
// })
|
||||
// }
|
||||
},
|
||||
onLoad() {
|
||||
this.goToInstallationProtocol()
|
||||
uni.authorize({
|
||||
scope: 'scope.userLocation',
|
||||
success: function () {
|
||||
|
|
@ -238,6 +241,13 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
goToInstallationProtocol() {
|
||||
if (!this.hasAgreed) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/InstallationAgreement/InstallationAgreement',
|
||||
})
|
||||
}
|
||||
},
|
||||
close() {
|
||||
this.$refs.popup.close()
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user