Commit 9c813614 authored by linxin's avatar linxin

add

parent 4b092abd
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
</div> </div>
</h-header> </h-header>
<div <div
v-if="!isConfirm && con_confirm_status !== 'APPROVED' && auth_credit_flag !=='Y' && credit_status !== 'N'" v-if="!isConfirm && con_confirm_status !== 'APPROVED' && auth_credit_flag !=='Y' && credit_status !== 'N'"y
class="myModal" class="myModal"
> >
<div class="box"> <div class="box">
<img src="@/assets/intoApproval/top.png"> <img src="@/assets/intoApproval/top.png">
<canvas v-for="page in pages" :id="'the-canvas'+page" :key="page" class="canvas"/> <div class="outer"><canvas v-for="page in pages" :id="'the-canvas'+page" :key="page" class="canvas"/></div>
<div class="confirm"> <div class="confirm">
<input type="checkbox" @click="select" > <input type="checkbox" @click="select" >
<span>我本人已阅读本协议,并同意授权xxxx</span> <span>我本人已阅读本协议,并同意授权xxxx</span>
...@@ -477,7 +477,7 @@ export default { ...@@ -477,7 +477,7 @@ export default {
hlsPopup.hideLoading() hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.attachArray = res.attachments vm.attachArray = res.attachments
// vm.getBook() vm.getBook()
} else { } else {
vm.hlsPopup.showLongCenter(res.message) vm.hlsPopup.showLongCenter(res.message)
} }
...@@ -516,8 +516,8 @@ export default { ...@@ -516,8 +516,8 @@ export default {
let viewport = page.getViewport(screen.availWidth / page.getViewport(1).width) let viewport = page.getViewport(screen.availWidth / page.getViewport(1).width)
canvas.width = viewport.width * ratio canvas.width = viewport.width * ratio
canvas.height = viewport.height * ratio canvas.height = viewport.height * ratio
canvas.style.width = viewport.width / 1.24 + 'px' canvas.style.width = viewport.width / 1.1 + 'px'
canvas.style.height = viewport.height / 1.2 + 'px' canvas.style.height = viewport.height / 1.1 + 'px'
ctx.setTransform(ratio, 0, 0, ratio, 0, 0) ctx.setTransform(ratio, 0, 0, ratio, 0, 0)
let renderContext = { let renderContext = {
canvasContext: ctx, canvasContext: ctx,
...@@ -985,10 +985,18 @@ export default { ...@@ -985,10 +985,18 @@ export default {
</script> </script>
<style lang="less" rel="stylesheet"> <style lang="less" rel="stylesheet">
#contract-details { #contract-details {
.canvas{ .outer{
position: relative; width:259px;
z-index: 0; height:370px;
background-color: #fff;
overflow-y: scroll;
overflow-x:hidden;
.canvas{
position: relative;
z-index: 0;
}
} }
.sign-elect { .sign-elect {
width: 100%; width: 100%;
height: 1.1rem; height: 1.1rem;
...@@ -1535,6 +1543,7 @@ export default { ...@@ -1535,6 +1543,7 @@ export default {
.confirm { .confirm {
width: 240px; width: 240px;
height: 20px; height: 20px;
background-color: #fff;
// padding-top: 25px; // padding-top: 25px;
margin: 0 auto; margin: 0 auto;
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
...@@ -1545,7 +1554,7 @@ export default { ...@@ -1545,7 +1554,7 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
position: relative; position: relative;
margin-top: -59px; margin-top: 15px;
input { input {
width: 16px; width: 16px;
height: 16px; height: 16px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment