feat:签名

This commit is contained in:
2025-08-13 22:01:39 +08:00
parent 6a27d7b04f
commit 4a76ba7213
+7 -3
View File
@@ -10,6 +10,7 @@
{{ item.title }} {{ item.title }}
</view> </view>
</view> </view>
<scroll-view scroll-y="true" @scrolltolower="loadMore" style="height: calc(100vh - 300rpx);"> <scroll-view scroll-y="true" @scrolltolower="loadMore" style="height: calc(100vh - 300rpx);">
<view v-if="orderList && orderList.length !== 0" class="order_list_warp"> <view v-if="orderList && orderList.length !== 0" class="order_list_warp">
<view class="order_item" v-for="item in orderList" :key="item.id"> <view class="order_item" v-for="item in orderList" :key="item.id">
@@ -189,7 +190,8 @@
<!-- 腾讯电子签H5 → 集成到UniApp --> <!-- 腾讯电子签H5 → 集成到UniApp -->
<web-view v-if="signUrl" :src="signUrl" @message="handleMessage"></web-view> <web-view v-if="signUrl" :src="signUrl" @message="handleMessage"></web-view>
<down-popup :show="downShow" @ok="onSignContract" @click="downShow = false" />
<!-- <down-popup :show="downShow" @ok="onSignContract" @click="downShow = false" /> -->
</view> </view>
</template> </template>
@@ -412,9 +414,10 @@ export default {
*/ */
confirmReceiptOk(item) { confirmReceiptOk(item) {
const then = this; const then = this;
if (!isCheckSigne.value) { if (!this.isCheckSigne) {
this.selectItem = item; this.selectItem = item;
this.downShow = true; // this.downShow = true;
this.onSignContract();
return; return;
} }
uni.showModal({ uni.showModal({
@@ -538,6 +541,7 @@ export default {
background-color: $app-bj; background-color: $app-bj;
padding: 100rpx 30rpx 30rpx; padding: 100rpx 30rpx 30rpx;
overflow-y: hidden; overflow-y: hidden;
position: relative;
} }
.order_header { .order_header {