|
@ -174,8 +174,8 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
/** |
|
|
/** |
|
|
* 微信分享 |
|
|
* 微信分享 |
|
|
*/ |
|
|
*/ |
|
|
setWxProjectShare(wx) { |
|
|
setWxProjectShare(wx) { |
|
|
let {shareImg, shareTitle, shareDesc} = this.userProjectSetting |
|
|
let {shareImg, shareTitle, shareDesc} = this.userProjectSetting |
|
|
wx.updateAppMessageShareData({ |
|
|
wx.updateAppMessageShareData({ |
|
@ -243,8 +243,8 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
/** |
|
|
/** |
|
|
* 仅在微信打开 |
|
|
* 仅在微信打开 |
|
|
*/ |
|
|
*/ |
|
|
onlyWxOpenHandle() { |
|
|
onlyWxOpenHandle() { |
|
|
let wxUa = navigator.userAgent.toLowerCase() |
|
|
let wxUa = navigator.userAgent.toLowerCase() |
|
|
let isWeixin = wxUa.indexOf('micromessenger') != -1 |
|
|
let isWeixin = wxUa.indexOf('micromessenger') != -1 |
|
@ -270,6 +270,12 @@ export default { |
|
|
'processData': data.labelFormModel |
|
|
'processData': data.labelFormModel |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
this.writeStatus = 2 |
|
|
this.writeStatus = 2 |
|
|
|
|
|
if (this.userProjectSetting.submitJumpUrl) { |
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
window.location.replace(this.userProjectSetting.submitJumpUrl) |
|
|
|
|
|
}, 1000) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -278,33 +284,36 @@ export default { |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.write-container { |
|
|
.write-container { |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
padding: 0; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.title-icon-view { |
|
|
.title-icon-view { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
align-content: center; |
|
|
align-content: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.icon-view { |
|
|
.icon-view { |
|
|
width: 59px; |
|
|
width: 59px; |
|
|
height: 59px; |
|
|
height: 59px; |
|
|
border-radius: 100px; |
|
|
border-radius: 100px; |
|
|
background-color: #0076ff; |
|
|
background-color: #0076ff; |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-content: center; |
|
|
align-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.success-icon { |
|
|
.success-icon { |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
color: white; |
|
|
color: white; |
|
|
font-size: 30px; |
|
|
font-size: 30px; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|