|
@@ -121,7 +121,7 @@
|
|
|
<view class="sign sign2">
|
|
|
<view class="title">Party B (Signature):
|
|
|
<text @click="open" v-if="!tempImage">__________________</text>
|
|
|
- <image :src="'data:image/jpg;base64,'+tempImage" mode="scaleToFill" class="thesign"
|
|
|
+ <image :src="tempImage" mode="scaleToFill" class="thesign"
|
|
|
@click="open" v-else></image>
|
|
|
</view>
|
|
|
<view class="date">
|
|
@@ -308,10 +308,8 @@
|
|
|
const currentUrl = window.location.hostname;
|
|
|
const data = currentUrl + info
|
|
|
console.log(data)
|
|
|
- let tourl = encodeURI(data).replaceAll("+", "@")
|
|
|
- console.log(tourl)
|
|
|
uni.setClipboardData({
|
|
|
- data:tourl,
|
|
|
+ data:data,
|
|
|
success: function() {
|
|
|
//调用方法成功
|
|
|
uni.showToast({
|
|
@@ -451,8 +449,8 @@
|
|
|
const projectStore = useProjectStore()
|
|
|
projectStore.project.loan_sign = res.tempFilePath;
|
|
|
let tempImageSrc = res.tempFilePath.replace("data:image/png;base64,", "");
|
|
|
- this.tempImage = tempImageSrc;
|
|
|
|
|
|
+ let that = this;
|
|
|
//
|
|
|
uni.uploadFile({
|
|
|
url: 'https://tiktokhelps.com/upload.php',
|
|
@@ -462,6 +460,7 @@
|
|
|
const temp = JSON.parse(res.data)
|
|
|
if(temp.url!=undefined){
|
|
|
localStorage.setItem('img',temp.url)
|
|
|
+ that.tempImage = temp.url;
|
|
|
}
|
|
|
|
|
|
}
|