diff --git a/project/qujing/app/AppCertificateManage/components/Add.vue b/project/qujing/app/AppCertificateManage/components/Add.vue index 47e73a63..c6ef4a40 100644 --- a/project/qujing/app/AppCertificateManage/components/Add.vue +++ b/project/qujing/app/AppCertificateManage/components/Add.vue @@ -6,23 +6,42 @@ @@ -47,9 +66,9 @@ info: {}, form: { certificateName: '', - certificateIssueUnit: '', - certificateTitle: '', - certificateContent: '' + certificateIssueUnit: '曲靖市政法委', + certificateTitle: '知法明理人证书', + certificateContent: '恭喜您成为曲靖市第 [#获得证书序号],位知法明理人。特颁此证,以资鼓励!' }, id: '' } @@ -87,7 +106,7 @@ if (valid) { this.instance.post(`/app/appcertificateinfo/addOrUpdate`, { ...this.form, - imageUrl: this.form.imageUrl[0].url + id: this.params.id || '' }).then(res => { if (res.code == 0) { this.$message.success('提交成功') @@ -117,5 +136,89 @@ flex-direction: column; width: 50%; } + + .wrapper { + position: relative; + height: 500px; + + .view-img { + position: absolute; + right: 0; + top: 0px; + z-index: 11; + width: 884px; + height: 1248px; + padding-top: 190px; + background: url(https://cdn.cunwuyun.cn/fengdu/zhengshu-bg.png); + background-size: 100% 100%; + transform: scale(0.4); + transform-origin: top right; + + .view-img__content { + width: 724px; + margin: 0 auto; + font-weight: 500; + font-size: 24px; + color: #222222; + letter-spacing: 0; + text-align: justify; + line-height: 40px; + + p { + margin-top: 40px; + } + } + + .bottom { + position: absolute; + bottom: 80px; + right: 78px; + line-height: 40px; + font-size: 24px; + text-align: right; + color: #3D5C8F; + } + + h1 { + margin-bottom: 70px; + font-weight: 900; + font-size: 72px; + color: #3D5C8F; + letter-spacing: 16px; + text-align: center; + } + + h2 { + position: relative; + margin-bottom: 46px; + font-weight: 700; + font-size: 36px; + color: #3D5C8F; + text-align: center; + + &:after { + position: absolute; + bottom: -10px; + left: 50%; + transform: translateX(-50%); + width: 120px; + height: 2px; + background: #999999; + z-index: 11; + content: ' '; + } + } + + & > img { + position: absolute; + bottom: 340px; + left: 50%; + z-index: 1; + width: 140px; + height: 140px; + transform: translateX(-50%); + } + } + } }