|
@@ -0,0 +1,76 @@
|
|
|
+<!-- header start -->
|
|
|
+<include file="Public/Header" />
|
|
|
+<!-- header end -->
|
|
|
+
|
|
|
+<!-- right content start -->
|
|
|
+<div class="content-right">
|
|
|
+ <div class="content">
|
|
|
+ <form class="am-form view-list" id="form" action="{{:U('Admin/Theme/Save')}}" method="POST">
|
|
|
+ <div class="am-g">
|
|
|
+ <label>名称</label>
|
|
|
+ <input type="text" required="required" class="am-radius form-keyword" style="width: 20rem;display: inline-block;" placeholder="活动名称" name="name"/>
|
|
|
+ <label>类型</label>
|
|
|
+ <select name="type" id="type" style="display: inline-block;width: 10rem;margin-right: 1rem;">
|
|
|
+ <option value="1" <if condition="isset($type) && $type eq 1">selected</if>>活动</option>
|
|
|
+ <option value="2" <if condition="isset($type) && $type eq 2">selected</if>>专题</option>
|
|
|
+ </select>
|
|
|
+ <button type="submit" class="am-btn am-btn-secondary am-btn-sm am-radius form-submit">增加</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ <table class="am-table am-table-striped am-table-hover am-text-middle m-t-10">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>序号</th>
|
|
|
+ <th class="am-hide-sm-only">ThemeID</th>
|
|
|
+ <th class="am-hide-sm-only">名称</th>
|
|
|
+ <th class="am-hide-sm-only">类型</th>
|
|
|
+ <th class="am-hide-sm-only">pv</th>
|
|
|
+ <th class="am-hide-sm-only">uv</th>
|
|
|
+ <th class="am-hide-sm-only">同步时间</th>
|
|
|
+ <th>{{:L('common_operation_name')}}</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <if condition="!empty($List)">
|
|
|
+ <foreach name="List" item="v">
|
|
|
+ <tr id="data-list-{{$v.id}}">
|
|
|
+ <input type="hidden" value="{{$v.id}}" />
|
|
|
+ <td class="am-hide-sm-only">{{$key+1}}</td>
|
|
|
+ <td class="am-hide-sm-only">{{$v.id}}</td>
|
|
|
+ <td class="am-hide-sm-only">{{$v.name}}</td>
|
|
|
+ <td class="am-hide-sm-only">
|
|
|
+ <?php
|
|
|
+ if($v['type'] == 1){
|
|
|
+ echo "活动";
|
|
|
+ }elseif($v['type'] == 2){
|
|
|
+ echo "专题";
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+ </td>
|
|
|
+ <td class="am-hide-sm-only">{{$v.page_view}}</td>
|
|
|
+ <td class="am-hide-sm-only">{{$v.user_view}}</td>
|
|
|
+ <td class="am-hide-sm-only">{{$v.data_update}}</td>
|
|
|
+ <td class="view-operation">
|
|
|
+ <button class="am-btn am-btn-default am-btn-xs am-radius am-icon-trash-o submit-delete" data-url="{{:U('Admin/SourceOrigin/Delete')}}" data-am-popover="{content: '{{:L('common_operation_delete')}}', trigger: 'hover focus'}" data-id="{{$v.id}}"></button>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </foreach>
|
|
|
+ <else />
|
|
|
+ <tr><td colspan="10" class="table-no">{{:L('common_not_data_tips')}}</td></tr>
|
|
|
+ </if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <!-- list end -->
|
|
|
+
|
|
|
+ <!-- page start -->
|
|
|
+ <if condition="!empty($List)">
|
|
|
+ {{$page_html}}
|
|
|
+ </if>
|
|
|
+ <!-- page end -->
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<!-- right content end -->
|
|
|
+
|
|
|
+<!-- footer start -->
|
|
|
+<include file="Public/Footer" />
|
|
|
+<!-- footer end
|