Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
alumni-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
alumni-show-h5
Commits
c50310a6
提交
c50310a6
authored
11月 26, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改优化
上级
fcb282d7
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
63 行增加
和
13 行删除
+63
-13
attestationFormUpload.vue
src/components/attestationFormUpload.vue
+24
-2
form.vue
src/views/attestation/form.vue
+13
-2
printing.vue
src/views/attestation/printing.vue
+26
-9
没有找到文件。
src/components/attestationFormUpload.vue
浏览文件 @
c50310a6
...
...
@@ -6,7 +6,7 @@
<template>
<div
class=
"label"
>
{{
item
.
label
}}
</div>
<div
class=
"up-box"
>
<
div
class=
"btn-go"
v-if=
"item.name == 'apply'"
@
click=
"goEditForm"
>
更改个人资料
</div
>
<
!--
<div
class=
"btn-go"
v-if=
"item.name == 'apply'"
@
click=
"goEditForm"
>
更改个人资料
</div>
--
>
<van-field
class=
"field"
:border=
"false"
...
...
@@ -19,13 +19,16 @@
</
template
>
</van-field>
<img
class=
"img"
:src=
"item.examples"
@
click=
"onChange(item.examples)"
alt=
""
>
<div
class=
"back-edit"
v-if=
"item.name == 'apply'"
@
click=
"goEditForm"
>
<div
class=
"icon"
></div>
<div
class=
"txt"
>
返回修改
</div>
</div>
</div>
</template>
</div>
</template>
<slot></slot>
<van-image-preview
v-model=
"show"
:images=
"images"
>
<!-- <template v-slot:index>第{{ index }}页</template> -->
</van-image-preview>
</van-form>
</template>
...
...
@@ -194,4 +197,23 @@ export default {
margin-left
:
20px
;
}
}
.back-edit
{
width
:
50px
;
-webkit-transform
:
translateX
(
10px
);
.icon
{
margin
:
20px
auto
0
auto
;
width
:
13px
;
height
:
15px
;
background
:
url(https://zws-imgs-pub.ezijing.com/static/public/940a2bd840eb4dc85cb8d1ddab1ddcbe.png)
;
background-size
:
100%
100%
;
}
.txt
{
font-size
:
10px
;
font-weight
:
bold
;
color
:
#AF1B40
;
line-height
:
10px
;
margin-top
:
12px
;
text-align
:
center
;
}
}
</
style
>
src/views/attestation/form.vue
浏览文件 @
c50310a6
...
...
@@ -146,9 +146,9 @@
/>
</div>
<div
class=
"btn-box"
>
<van-button
native-type=
"submit"
class=
"b
"
color=
"linear-gradient(180deg, #FF9B96 0%, #CE3E3A 100%)
"
>
生成预览
</van-button>
<van-button
native-type=
"submit"
class=
"b
btn-style
"
>
生成预览
</van-button>
<!--
<van-button
class=
"b"
@
click=
"revokes"
>
撤销
</van-button>
-->
<div
class=
"
revokes
"
@
click=
"revokes"
>
撤销
</div>
<div
class=
"
b btn-style
"
@
click=
"revokes"
>
撤销
</div>
</div>
</van-form>
<div
class=
"sele"
v-if=
"seleIsShow"
>
...
...
@@ -353,4 +353,15 @@ export default {
width
:
1
.2rem
;
}
}
.btn-style
{
display
:
block
;
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
color
:
#fff
;
background
:
#af1b40
;
border-radius
:
20px
;
cursor
:
pointer
;
border
:
none
;
}
</
style
>
src/views/attestation/printing.vue
浏览文件 @
c50310a6
...
...
@@ -4,7 +4,7 @@
<img
@
click=
"imgShow = true"
:src=
"images[0]"
alt=
""
>
</div>
<van-image-preview
v-model=
"imgShow"
:images=
"images"
></van-image-preview>
<div
class=
"tips"
>
确认资料信息无误后,
可长按图片保存下载
,将信息页打印后,请在个人签名处签名后上传,注意签名不要连笔。
</div>
<div
class=
"tips"
>
确认资料信息无误后,
<span>
请长按图片保存下载
</span>
,将信息页打印后,请在个人签名处签名后上传,注意签名不要连笔。
</div>
<div
class=
"btn-box"
>
<van-button
class=
"b"
@
click=
"backEdit"
color=
"linear-gradient(180deg, #FF9B96 0%, #CE3E3A 100%)"
>
返回修改
</van-button>
<van-button
@
click=
"goUpload"
class=
"b"
color=
"linear-gradient(180deg, #FF9B96 0%, #CE3E3A 100%)"
>
已签名,去上传
</van-button>
...
...
@@ -12,13 +12,14 @@
</div>
</
template
>
<
script
>
import
{
ImagePreview
}
from
'vant'
import
{
ImagePreview
,
Dialog
}
from
'vant'
export
default
{
metaInfo
:
{
title
:
'预览'
},
components
:
{
[
ImagePreview
.
name
]:
ImagePreview
[
ImagePreview
.
name
]:
ImagePreview
,
[
Dialog
.
name
]:
Dialog
},
data
()
{
return
{
...
...
@@ -51,13 +52,25 @@ export default {
// }
},
goUpload
()
{
this
.
$router
.
replace
({
path
:
'/attestation/upload'
,
query
:
{
id
:
this
.
$route
.
query
.
id
,
edit
:
1
}
Dialog
.
confirm
({
title
:
''
,
message
:
'上传前,请长按本页图片将图保存下载至本地相册。'
,
confirmButtonText
:
'已保存'
,
cancelButtonText
:
'未保存'
})
.
then
(()
=>
{
// on confirm
this
.
$router
.
replace
({
path
:
'/attestation/upload'
,
query
:
{
id
:
this
.
$route
.
query
.
id
,
edit
:
1
}
})
})
.
catch
(()
=>
{
// on cancel
})
// if (this.$route.query.edit) {
// } else {
// this.$router.replace({
...
...
@@ -79,6 +92,10 @@ export default {
}
.tips
{
padding
:
.1rem
;
span
{
color
:
red
;
font-weight
:
bold
;
}
}
.btn-box
{
margin-top
:
.8rem
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论