123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <{include file="../admin/header.html"}>
- <{include file="../admin/get_kindeditor.html"}>
- <style>
- <!--
- .container, .container5 {
- width:720px;
- margin: 0 auto;
- padding-top: 20px;
- padding-left:20px;
- padding-right:20px;
- }
- .containerBox {
- border-radius: 5px;
- box-shadow: 0 2px 2px rgba(0,0,0,0.1);
- moz-border-radius: 5px;
- moz-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
- padding: 14px 22px 20px 20px;
- webkit-border-radius: 5px;
- webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
- background-color: #f8f8f8;
- border: 1px solid #b8b8b8;
- padding:15px 20px 20px 20px;
- margin-top:10px;
- }
- input[type="text"] {
- background-color: #fff;
- border: 1px solid #d3d3d3;
- color: #666;
- max-width: 480px;
- padding: 2px 8px;
- width: 480px;
- display: inline-block;
- }
- .fileUpload {
- display:none!important;
- }
- .container .block, .container5 .block {
- cursor: default;
- padding-bottom: 4px;
- padding-top: 10px;
- display: block;
- font-size: 14px;
- }
- .upload-tip {
- color: #666;
- font-size: 12px;
- margin-top: 2px;
- float: right;
- cursor: default;
- line-height: 1.5;
- }
- .desctextarea{
- width: 480px;
- height: 50px;
- outline: 0;
- overflow: auto;
- vertical-align: top;
- padding: 2px 8px;
- background-color: #fff;
- border: 1px solid #d3d3d3;
- }
- .sub-add-btn {
- line-height: 30px;
- color: red;
- border: 2px dotted #b8b8b8;
- border-radius: 3px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- display: block;
- margin-top: 10px;
- text-align: center;
- background-color: #f8f8f8;
- }
- a:visited, a:link {
- text-decoration: none;
- }
- a:hover {
- text-decoration: underline;
- }
- .msg-btn {
- padding: 12px 0 20px;
- text-align: center;
- font-size: 14px;
- }
- a.btnGreen:link {
- text-decoration: none;
- margin: 0 20px;
- text-align: center;
- overflow: visible;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border: 1px solid #3d810c;
- padding: 5px 20px;
- cursor: pointer;
- display: inline-block;
- text-align: center;
- overflow: visible;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- color: #fff;
- border: 1px solid #3d810c;
- background-color: #5aaa4b;
- background-image: -moz-linear-gradient(top,#60b452 0,#56a447 100%);
- background-image: -webkit-gradient(linear,0 0,0 100%,from(#60b452),to(#56a447));
- background-image: -webkit-linear-gradient(top,#60b452 0,#56a447 100%);
- background-image: -o-linear-gradient(top,#60b452 0,#56a447 100%);
- background-image: linear-gradient(to bottom,#60b452 0,#56a447 100%);
- }
- a.btnGreen:hover {
- background-color: #53a046;
- background-image: -moz-linear-gradient(top,#5aab4d 0,#4f9841 100%);
- background-image: -webkit-gradient(linear,0 0,0 100%,from(#5aab4d),to(#4f9841));
- background-image: -webkit-linear-gradient(top,#5aab4d 0,#4f9841 100%);
- background-image: -o-linear-gradient(top,#5aab4d 0,#4f9841 100%);
- background-image: linear-gradient(to bottom,#5aab4d 0,#4f9841 100%);
- color: #fff;
- color: #fff;
- box-shadow: 0 1px 1px #aaa;
- -moz-box-shadow: 0 1px 1px #aaa;
- -webkit-box-shadow: 0 1px 1px #aaa;
- }
- .imgPreview {
- display:none;
- }
- .b {width:320px; height:160px;}
- .s {width:100px; height:100px;}
- .ke-container {
- width:100%!important;
- }
- textarea[name="content"] {
- height:320px;
- }
- -->
- </style>
- <script type="text/javascript">
- TMJF(function ($) {
- $('#preview').click(function(){
- $("form").target = '';
- $("form").action = '';
- $("form").submit();
- });
-
- $('#save').click(function(){
- $("form").target = '';
- $("form").action = '';
- $("form").submit();
- });
-
- $("#start_time").live("click", function(){
- $("#start_time").val('');
- showCalendar('start_time', 'y-mm-dd');
- });
- $("#end_time").live("click", function(){
- $("#end_time").val('');
- showCalendar('end_time', 'y-mm-dd');
- });
-
- var ROOT_DOMAIN = '<{$smarty.const.ROOT_DOMAIN}>';
- KindEditor.ready(function(K) {
- var editor = K.create('textarea[name=content]', {
- allowFileManager : true,
- uploadJson : ROOT_DOMAIN + '/kindeditor/upload_json.php',
- fileManagerJson : ROOT_DOMAIN + '/kindeditor/file_manager_json.php',
- themesPath : ROOT_DOMAIN + '/statics/c/themes/'
- });
- });
-
- $('#type_activity').click(function(){
- if($(this).attr('checked')){
- $('#type_activity_msg').show();
- }else{
- $(this).val(0);
- $('#type_leak_ship').attr('checked', false).val(0);
- $('#type_activity_msg').hide();
- }
- });
-
- });
- </script>
- <{include file="../admin/nav.html"}>
- <form method="post">
- <div class="container">
- <div class="containerBox">
- <label class="block">标题</label>
- <input type="text" name="title" id="title" value="<{$article.title}>"/>
-
- <label class="block"><span class="upload-tip"></span>根路径 如:<{$smarty.const.ROOT_DOMAIN}>/weixin/product/<font color="red"><{if $baseUrl}><{$baseUrl}><{else}><{$article.base_url}><{/if}></font></label>
- <input type="text" name="base_url" value="<{if $baseUrl}><{$baseUrl}><{else}><{$article.base_url}><{/if}>"/>
-
- <label class="block">页面类型</label>
- <input name="type" type="radio" id="type_try" value="try" checked="checked"/><label for="type_try">试用产品</label>
-
- <div class="ordinary" style="margin-left: 10px;">
- <label class="block">活动时间</label>
- 开始时间:<input name="start_time" id="start_time" type="text" style="width:130px;" value="<{$article.start_time|date_format:'%Y-%m-%d'}>"/>
- <br><br>
- 结束时间:<input name="end_time" id="end_time" type="text" style="width:130px;" value="<{$article.end_time|date_format:'%Y-%m-%d'}>"/>
- </div>
-
- <!-- 活动页面填写提示信息 beg -->
- </br></br>
- <input name="type_activity" type="checkbox" id="type_activity" value="1" <{if $article.type_activity}>checked="checked"<{/if}> /><label for="type_activity">主题活动扩展 <font color="red">[如果填写提示信息,请选中]</font> </label>
- <div class="ordinary" id="type_activity_msg" <{if !$article.type_activity}>style="display:none;"<{/if}> >
- <label style="margin-left:10px;" class="block">提示信息</label>
- <div style="margin-left:30px;">
- <label class="block">提示标题</label>
- <input type="text" name="msg_title" id="msg_title" value="<{$article.msg_title}>"/>
- <br>
- <label class="block">提示详情</label>
- <input type="text" name="msg_detail" id="msg_detail" value="<{$article.msg_detail}>"/>
- </div>
- <br/><br/>
- <input name="type_leak_ship" type="checkbox" id="type_leak_ship" value="1" <{if $article.type_leak_ship}>checked="checked"<{/if}> /><label for="type_leak_ship">是否为漏发货信息 <font color="red">[如果需要规定模板为漏发货信息,请选中]</font> </label>
- </div>
- <!-- 活动页面填写提示信息 end -->
-
-
- <label class="block">内容</label>
- <textarea name="content"><{$article.content}></textarea>
- </div>
- </div>
- <div class="msg-btn">
- <input type="submit" value="提交">
- </div>
- </form>
- </body>
- </html>
|