You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
11 KiB
157 lines
11 KiB
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>深圳文化产权交易所文化资产管理中心</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<meta name="description" content="深圳文化产权交易所文化资产管理中心">
|
|
<style>
|
|
body{font-size:13px;}
|
|
.text-center{text-align:center;}
|
|
*{margin:0px;padding:0px;}
|
|
#activityMsg{font-size:14px;background:#fff !important;border-radius:10px;padding:0px;top:20% !important;}
|
|
#activityMsg .bg{float:right;width:47%;}
|
|
#activityMsg .wraper{position:absolute;z-index:99;left:0px;top:2%;width:100%;text-align:center;}
|
|
#activityMsg .close-reveal-modal{font-size:1.8rem;font-weight:normal;top:6px !important;right:6px;color:#545454;}
|
|
#activityMsg .btn img{width:30%;}
|
|
#activityMsg .msg{margin:8% 0px;color:#3f3f3f;font-size:1.2rem;line-height:2.4rem;}
|
|
|
|
.activitywraper p{margin:0px;}
|
|
.activitywraper .check-box-wrapper,.activitywraper .radio-button-wrapper{position:relative;float:left;display:inline-block;padding:0;width:16px;height:16px;line-height:16px;text-align:center;vertical-align:middle;margin:2px 1px 0 0}.entry-container-inner form .check-box-wrapper input[type="radio"],.entry-container-inner form .check-box-wrapper input[type="checkbox"],.entry-container-inner form .radio-button-wrapper input[type="radio"],.entry-container-inner form .radio-button-wrapper input[type="checkbox"]{position:absolute;left:-9999px;visibility:hidden}
|
|
.activitywraper .choice-description{margin-top:2px;margin-left:20px;}
|
|
.activitywraper .radio.inline,.activitywraper .checkbox.inline{display:inline-block;vertical-align:top;margin-top:0;margin-right:11px;white-space:nowrap}
|
|
#activityPage{background:#fff;font-size:14px;border-radius:10px;padding:0px 25px 20px 25px;width:900px;margin-left:-450px;}
|
|
.activitywraper{width:850px;background:#fff;margin:0px auto;}
|
|
.activitywraper .head{text-align:center;}
|
|
.activitywraper .head img.title{width:28%;margin-top:-1px;}
|
|
.activitywraper .close-reveal-modal{font-size:1.8rem;font-weight:normal;top:6px !important;right:6px;color:#545454;text-decoration:none;}
|
|
.activitywraper .head .back{position:absolute;z-index:99;left:25px;top:8px;width:9%;text-align:left;}
|
|
.currentlist .show{margin-top:15px;position:relative;}
|
|
.passlist .title{color:#a8a8a8;text-align:center;margin:15px 0px;background:url(../../static/img/activity/line.jpg) center repeat-x;position:relative;}
|
|
.passlist .title span{background:#fff;padding:0px 10px;font-size:1.2rem;}
|
|
.passlist .title a{background:#fff;width:9%;padding-left:5px;position:absolute;z-index:99;right:0px;top:-1px;}
|
|
.passlist .title a img{}
|
|
.passlist .show{display:inline-block;vertical-align:top;width:32%;}
|
|
.passlist .show:nth-child(2){margin:0px 1.2%;}
|
|
|
|
.activitywraper .pagecontent{margin-top:25px;}
|
|
.activitywraper .leftside,.activitywraper .rightside{display:inline-block;vertical-align:top;}
|
|
.activitywraper .leftside{width:35%;margin-right:2%;}
|
|
.activitywraper .rightside{width:62%;color:#828282;line-height:1.2rem;}
|
|
.activitywraper .rightside .title{color:#252e4b;font-size:1.12rem;font-weight:bold;margin-bottom:5px;}
|
|
.activitywraper .formwraper{background:#f0f0f0;padding:8px 10px;margin-top:10px;}
|
|
.activitywraper .formwraper .form{margin:10px 0px 20px 0px;text-align:center;}
|
|
.activitywraper .form form{margin:0px auto;width:80%;text-align:left;}
|
|
.activitywraper .form a img{width:31%;}
|
|
.activitywraper .form .row{margin-bottom:10px;}
|
|
.activitywraper .form input{width:100%;color:#3e3e3e;margin-top:3px;display:inline-block;vertical-align:top;text-indent:4px;border:1px solid #dedede;border-radius:4px;line-height:1.6rem;}
|
|
.activitywraper .form .col3{width:32%;display:inline-block;vertical-align:top;}
|
|
.activitywraper .form .col3:nth-child(2){margin:0px 0.8%;}
|
|
.activitywraper .form .col2{width:48%;display:inline-block;vertical-align:top;}
|
|
.activitywraper .form .col2:nth-child(2){margin-left:2.6%;}
|
|
|
|
.activitywraper .remark{background:#f8f8f8;padding:10px 15px;font-size:0.8rem;}
|
|
.activitywraper .remark .label,.activitywraper .remark .txt{display:inline-block;vertical-align:top;}
|
|
.activitywraper .remark .label{width:10%;font-weight:bold;}
|
|
.activitywraper .remark .txt{width:88%;}
|
|
</style>
|
|
</head>
|
|
<body style="background:#fff">
|
|
<div class="activitywraper">
|
|
<div class="pagecontent" style="margin-top:0px;">
|
|
{if condition="$activity['pic']"}<div class="leftside"><img src="{:SITE_PATH}{$activity.pic}" width="100%"/></div>{/if}
|
|
<div class="rightside">
|
|
<div class="title">活动介绍:</div>
|
|
<div class="infor">
|
|
{$activity.infor|htmlspecialchars_decode}
|
|
</div>
|
|
{if condition="$activity['state'] eq 1"}
|
|
<div class="formwraper">
|
|
<div class="form">
|
|
<form class="center with-shadow indent-on-large-phone" id="postForm" action="{:url('activity',['id'=>$id])}" method="post">
|
|
{:token()}
|
|
<div class="row">
|
|
{volist name="apply" id="vo" key="aey"}
|
|
{switch $vo['ftype']}
|
|
{case value="input"}
|
|
<input type="text" name="{$vo.ftag}" id="{$vo.ftag}" placeholder="{$vo.fname}" class="col2">
|
|
{/case}
|
|
{case value="radio"}
|
|
<div class="choices col2" data-random-choices="false">{$vo.fname}:
|
|
{volist name="vo['foptions']" id="jo" key="jey"}
|
|
<label class="radio inline">
|
|
<div class="radio-button-wrapper"><input class="needsclick field-transformed" {if condition="$jey eq 1"}checked{/if} type="radio" value="{$jey}" id="company{$jey}" name="{$vo.ftag}"><i class="selected-icon"></i></div>
|
|
<div class="choice-description">{$jo}<span class="quota"></span></div>
|
|
</label>
|
|
{/volist}
|
|
</div>
|
|
{/case}
|
|
{case value="checkbox"}
|
|
<div class="choices col2" data-random-choices="false">{$vo.fname}:
|
|
{volist name="vo['foptions']" id="jo" key="jey"}
|
|
<label class="radio inline">
|
|
<div class="radio-button-wrapper"><input class="needsclick field-transformed" {if condition="$jey eq 1"}checked{/if} type="checkbox" value="{$jey}" id="company{$jey}" name="{$vo.ftag}"><i class="selected-icon"></i></div>
|
|
<div class="choice-description">{$jo}<span class="quota"></span></div>
|
|
</label>
|
|
{/volist}
|
|
</div>
|
|
{/case}
|
|
{case value="textarea"}
|
|
<textarea rows="3" name="{$vo.ftag}" placeholder="{$vo.fname}" id="{$vo.ftag}" style="overflow: hidden; overflow-wrap: break-word; height: 66px;" placeholder="{$vo.fnotice}"></textarea>
|
|
{/case}
|
|
{case value="select"}
|
|
<select name="{$vo.ftag}" id="ptype1" class="col2">
|
|
<option value="">选择{$vo.fname}</option>
|
|
{volist name="vo['foptions']" id="jo" key="jey"}
|
|
<option value="{$jey}">{$jo}</option>
|
|
{/volist}
|
|
</select>
|
|
{/case}
|
|
{/switch}
|
|
{if condition="$aey%2 eq 0"}</div><div class="row">{/if}
|
|
{/volist}
|
|
</div>
|
|
<div class="row text-center">
|
|
<a href="javascript:void(0);" onclick="$('#postForm').submit()"><img src="{$yf_theme_path}static/img/activity/submit.png" /></a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{if condition="$activity['notice'] "}
|
|
<div class="remark">
|
|
<div class="label">备注:</div>
|
|
<div class="txt">{$activity.notice|htmlspecialchars_decode}</div>
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="{$yf_theme_path}public/js/jquery.js"></script>
|
|
<script src="{$yf_theme_path}index/Public/Js/jquery.form.js"></script>
|
|
<script src="{$yf_theme_path}index/Public/Js/jquery.validate.min.js"></script>
|
|
<script src="{$yf_theme_path}index/Public/Js/layer/layer.js"></script>
|
|
<script src="{$yf_theme_path}index/Public/Js/base.js"></script>
|
|
<script>
|
|
var rules={{volist name="apply" id="vo"}{if condition="$vo['frequire'] eq 1"}"{$vo.ftag}":"required",{/if}{/volist}};
|
|
{if condition="$activity['state'] neq 1"}
|
|
$("#activityPage .head .title",parent.document).css('opacity',0);
|
|
{else}
|
|
$("#activityPage .head .title",parent.document).css('opacity',1);
|
|
{/if}
|
|
var messages={{volist name="apply" id="vo"}{if condition="$vo['frequire'] eq 1"}"{$vo.ftag}":"{$vo.fname}{switch $vo['ftype']}{case value='raido|checkbox'}必选{/case}{case value='file'}必上传{/case}{default/}必填{/switch}",{/if}{/volist}};
|
|
tool.commonForm("#postForm",rules,messages,tool.tipError,'',function(data){
|
|
if(data.code==0){
|
|
$("input[name='__token__']").val(data.data.token);
|
|
}
|
|
if(data.code==1){
|
|
$('#activityPage',parent.document).hide();
|
|
$('#activityMsg',parent.document).css({"visibility":"visible"});
|
|
$('#activityMsg',parent.document).animate({"opacity":1});
|
|
}else{
|
|
tool.msg(data.msg);
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|