mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-26 10:45:43 +08:00
71 lines
2.9 KiB
HTML
71 lines
2.9 KiB
HTML
<!--
|
|
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<{capture name="header"}>
|
|
<{css src="style.css" app="ome"}>
|
|
<{script src="coms/dropmenu.js" app='desktop'}>
|
|
<{script src="coms/datapicker.js" app='desktop'}>
|
|
<{script src="coms/colorpicker.js" app='desktop'}>
|
|
<{script src="omegoodseditor.js" app='ome'}>
|
|
<{script src="coms/editor.js" app='desktop' }>
|
|
<{script src="coms/editor_style_1.js" app='desktop' }>
|
|
<{script src="coms/pager.js" app='desktop' }>
|
|
<{/capture}>
|
|
<{capture name="sidebar"}><{/capture}>
|
|
<div class="side-bx spage-side" style="display:none;">
|
|
<div class="spage-side-nav">
|
|
<ul>
|
|
<li class="l-handle all" ><span><{t}>商品总览<{/t}></span></li>
|
|
<{foreach from=$sections item=section name="sec"}>
|
|
<{if $env.foreach.sec.iteration neq 1}>
|
|
<li class="l-handle" ><span><{$section.label}></span></li>
|
|
<{/if}>
|
|
<{/foreach}>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="side-bx spage-side" style="display:none;">
|
|
<div class="side-bx-title"><h3>商品标签</h3></div>
|
|
<div class="side-bx-bd">
|
|
<div style="overflow: hidden;" class="tag-editor" id="finder-tag">
|
|
<ul class="tag-editor-group" style="overflow: hidden;">
|
|
<{foreach from=$tagList item=aTag}>
|
|
<li><input type='checkbox' name='goods[tag][<{$aTag.tag_id}>][tag][tag_id]' value='<{$aTag.tag_id}>' <{if $goods.tag[$aTag.tag_id]}>checked<{/if}> /><img style="width: 9px; height: 9px; background-position: 0pt -2252px;" class="imgbundle" src="images/transparent.gif"><{$aTag.tag_name}></li>
|
|
<{/foreach}>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<{foreach from=$sections item=section}>
|
|
<div class="spage-main-box">
|
|
<{include file=$section.file}>
|
|
</div>
|
|
<{/foreach}>
|
|
<{capture name='footbar'}>
|
|
<table cellspacing="0" cellpadding="0" style="margin:0 auto; width:100%" class="table-action">
|
|
<tbody><tr valign="middle">
|
|
<td>
|
|
<{button label="保存并关闭窗口" class="btn-primary" onclick="subGoodsForm(event,2)"}>
|
|
<!-- <{button label="保存并添加相似商品" class="btn-primary" onclick="subGoodsForm(event,1)"}> -->
|
|
<{button label="保存当前" class="btn-primary" onclick="subGoodsForm(event,3)"}>
|
|
<{button label="关 闭" class="btn-secondary" onclick="if(confirm('确定退出?'))window.close()"}>
|
|
</td>
|
|
</tr>
|
|
</tbody></table>
|
|
<{/capture}>
|