chengkun
2025-04-18 1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{yun:}include file="$userstyle/header.htm"{/yun}
<div class="yun_w1200">
    {yun:}include file="$userstyle/left.htm"{/yun}
    <div class="yun_m_rightbox fltR mt20 re">
 
        <div class="yun_m_tit fltL">
            <span class="member_right_h1_span fltL">上传我的作品</span>
            <i class="member_right_h1_icon user_bg"></i>
        </div>
 
        <div class='resume_box_list'>
            <div class="resume_Prompt">
                <i class="resume_Prompt_icon"></i>为了您的个人信息安全,请不要公开您的电话号码、身份证号、证件号等个人证件信息;建议上传清晰自然生活照,或者您的专业代表作品。
            </div>
 
            <input class="resume_box_list_zp" type="button" value="+ 作品上传" onclick="location.href='index.php?c=show&act=addshow&eid={yun:}$smarty.get.eid{/yun}'"/>
            <input class="resume_box_list_zp" style="background:#999;width:90px;" type="button" value="返回" onclick="location.href='index.php?c=expect&e={yun:}$smarty.get.eid{/yun}'"/>
            <div class="clear"></div>
            <sapn style="float: left; color: #999; line-height: 38px; padding: 20px 0 0 0;">支持{yun:}$config.pic_type{/yun}格式,最大{yun:}$config.file_maxsize{/yun}M;</sapn>
 
            <div class="show_pic fltL">
                <div id="trlisttwo">
                    <div class="show_pic_list">
                        {yun:}foreach item=show from=$rows{/yun}
                        <dl>
                            <dt>
                                <div class="show_pic_img"><img src="{yun:}$show.picurl{/yun}"
                                                               style="width:150px;height:150px;"/></div>
                                <div style="width:100%; line-height:23px;white-space: normal; text-align:center; word-break: break-all;height:23px; overflow:hidden">
                                    {yun:}$show.title{/yun}
                                </div>
                                <div class="compl_list_bg"></div>
                            </dt>
                            <dd style="text-align:center;">
                                <a href="javascript:void(0)" onclick="showpic(this)"
                                   data_url="{yun:}$show.picurl{/yun}">查看</a><span class="compl_list_line">|</span><a
                                    href="index.php?c=show&act=showpic&eid={yun:}$smarty.get.eid{/yun}&id={yun:}$show.id{/yun}">修改</a><span
                                    class="compl_list_line">|</span><a href="javascript:void(0)"
                                                                       onclick="layer_del('确定要删除该数据?', 'index.php?c=show&act=del&id={yun:}$show.id{/yun}'); ">删除</a>
                            </dd>
                        </dl>
                        {yun:}foreachelse{/yun}
                        <div class="msg_no">您还没有上传作品。</div>
                        {yun:}/foreach{/yun}
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="diggg">{yun:}$pagenav{/yun}</div>
    </div>
</div>
<script>
    layui.use(['form', 'layer'], function () {
        var $ = layui.$,
            form = layui.form,
            layer = layui.layer;
        layer.photos({
            photos: '#trlisttwo',
            anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
        });
    });
 
    function showpic(obj) {
        var url = $(obj).attr('data_url');
        var picjson = {
            "data": [{
                "src": url, //原图地址
                "thumb": url //缩略图地址
            }]
        }
        layer.photos({
            photos: picjson
            , anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
        });
    }
</script>
{yun:}include file="$userstyle/footer.htm"{/yun}