...
|
...
|
@@ -142,8 +142,26 @@ |
|
|
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">文章内容:</label>
|
|
|
<div class="col-sm-8">
|
|
|
<select class="form-control"></select>
|
|
|
<div class="col-sm-6">
|
|
|
<div id="base-form">
|
|
|
<div class="source-content" id="source-m">
|
|
|
<!-- left -->
|
|
|
<div class="content-left" id="contentLeft">
|
|
|
<h4 class="title" data-type="title" style="text-align: center">文章内容</h4>
|
|
|
<ul class="add-box showContain ui-sortable" id="add-content">
|
|
|
</ul>
|
|
|
<nav>
|
|
|
<em><i></i></em>
|
|
|
<ul class="contents" id="content_btns">
|
|
|
|
|
|
</ul>
|
|
|
</nav>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="col-sm-1">
|
|
|
<button class="btn btn-info" type="button" id="ContentBtn">保存</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
@@ -223,7 +241,6 @@ |
|
|
</script>
|
|
|
|
|
|
<script type="text/template" id="template3">
|
|
|
|
|
|
[[each Brands as brand index]]
|
|
|
<li class="cover-image-item image-list" data-index="2">
|
|
|
<div class="goods-img">
|
...
|
...
|
@@ -234,7 +251,6 @@ |
|
|
</div>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<script type="text/template" id="template4">
|
...
|
...
|
@@ -266,5 +282,37 @@ |
|
|
</div>
|
|
|
<input type="hidden" id="brandCheckBox" for="checkbox" value="[[Brdata]]" />
|
|
|
</div>
|
|
|
</script>
|
|
|
|
|
|
<script type="text/template" id="template_content_btns">
|
|
|
[[each btns as btn index]]
|
|
|
<li><a href="javascript:void(0)" name="text" class="add_btn" data-index="[[index]]">[[btn.text]]</a></li>
|
|
|
[[/each]]
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<script type="text/template" id="template_content">
|
|
|
|
|
|
<!-- 文本内容 -->
|
|
|
[[each modules as module index]]
|
|
|
[[if module.template_name=='text']]
|
|
|
<li class="custom-group text" data-index="20">
|
|
|
<div class="con">[[module.data.text]]</div>
|
|
|
<div class="actions-box">
|
|
|
<div class="actions-wrap">
|
|
|
<span class="edit" data-value="text" data-index="20">编辑</span>
|
|
|
<span class="del" data-value="text" data-id="" data-index="20">删除</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
[[/if]]
|
|
|
[[/each]]
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<!-- 文本弹层 -->
|
|
|
<script type="text/template" id="template_dialog_text">
|
|
|
<div class="rows">
|
|
|
<textarea rows="2" class="form-control observe" placeholder="文章摘要" data-index='[[data.i]]' data-field="text" >[[data.text]]</textarea>
|
|
|
</div>
|
|
|
</script> |
|
|
\ No newline at end of file |
...
|
...
|
|