544782275@qq.com 3 роки тому
батько
коміт
ec325ea5b2

+ 1 - 1
application/admin/view/index/main.html

@@ -53,7 +53,7 @@
         </div>
         <div class="layui-col-sm6 layui-col-md3">
             <div class="store-total-item nowrap" style="background:linear-gradient(-113deg,#c543d8,#925cc3)">
-                <div>咨询总量</div>
+                <div>资讯总量</div>
                 <div>{$data.consult_count}</div>
                 <div>后台和用户发布资讯的总数量</div>
             </div>

+ 9 - 9
application/store/view/consult/form.html

@@ -11,14 +11,14 @@
         <div class="layui-form-item layui-row layui-col-space15">
 
             <label class="layui-col-xs9 relative">
-                <span class="color-green">咨询标题</span>
-                <input name="title" required class="layui-input" placeholder="请输入咨询标题" value="{$vo.title|default=''}">
+                <span class="color-green">资讯标题</span>
+                <input name="title" required class="layui-input" placeholder="请输入资讯标题" value="{$vo.title|default=''}">
             </label>
         </div>
 
         <div class="layui-form-item layui-row layui-col-space15">
             <label class="layui-col-xs3 relative">
-                <span class="color-green">咨询分类</span>
+                <span class="color-green">资讯分类</span>
                 <select class="layui-select" required name="cate_id" lay-search>
                     {foreach $cate_arr as $cate}
                     {if isset($vo.cate_id) and $vo.cate_id eq $cate.id}
@@ -47,13 +47,13 @@
         <div class="layui-form-item layui-row layui-col-space15">
             {if isset($vo.type) && $vo.type == 2}
             <label class="layui-col-xs9 relative" style="width: 408px">
-                <span class="color-green">咨询来源</span>
+                <span class="color-green">资讯来源</span>
                 <input name="user_name" class="layui-input" placeholder="" readonly="readonly" value="{$vo.user_name|default=''}">
                 <input type="hidden" name="media_id" value="{$vo.user_id}">
             </label>
             {else}
             <label class="layui-col-xs3 relative">
-                <span class="color-green">咨询来源</span>
+                <span class="color-green">资讯来源</span>
                 <select class="layui-select" required name="media_id" lay-search>
                     {foreach $media_arr as $media}
                     {if isset($vo.media_id) and $vo.media_id eq $media.id}
@@ -66,13 +66,13 @@
             </label>
             {/if}
             <label class="layui-col-xs9 relative" style="width: 408px">
-                <span class="color-green">咨询作者</span>
-                <input name="author" class="layui-input" placeholder="请输入咨询作者" value="{$vo.author|default=''}">
+                <span class="color-green">资讯作者</span>
+                <input name="author" class="layui-input" placeholder="请输入资讯作者" value="{$vo.author|default=''}">
             </label>
         </div>
 
         <div class="layui-form-item">
-            <span class="color-green label-required-prev">咨询视频及图片(如果不是视频可以不添加,图片用于咨询列表的展示,可以添加多张,注意图片尺寸)</span>
+            <span class="color-green label-required-prev">资讯视频及图片(如果不是视频可以不添加,图片用于资讯列表的展示,可以添加多张,注意图片尺寸)</span>
             <table class="layui-table">
                 <thead>
                 <tr>
@@ -89,7 +89,7 @@
         </div>
 
         <div class="layui-form-item block">
-            <span class="label-required-prev color-green">咨询详细内容</span>
+            <span class="label-required-prev color-green">资讯详细内容</span>
             <textarea name="content" style="width:100%;height: 500px;">{$vo.content|default=''|raw}</textarea>
         </div>
         <div class="layui-form-item text-center">

+ 5 - 5
application/store/view/consult/index.html

@@ -2,10 +2,10 @@
 
 {block name="button"}
 <!--{if auth("store/consult/add")}-->
-<button data-open='{:url("add")}' data-title="添加咨询" class='layui-btn layui-btn-sm layui-btn-primary'>添加咨询</button>
+<button data-open='{:url("add")}' data-title="添加资讯" class='layui-btn layui-btn-sm layui-btn-primary'>添加资讯</button>
 <!--{/if}-->
 <!--{if auth("store/consult/remove")}-->
-<button data-action='{:url("remove")}' data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除咨询</button>
+<button data-action='{:url("remove")}' data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除资讯</button>
 <!--{/if}-->
 {/block}
 
@@ -22,10 +22,10 @@
             <th class='list-table-sort-td'>
                 <button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
             </th>
-            <th class='text-left nowrap' width="22%">咨询标题</th>
-            <th class='text-left nowrap' width="15%">咨询分类</th>
+            <th class='text-left nowrap' width="22%">资讯标题</th>
+            <th class='text-left nowrap' width="15%">资讯分类</th>
             <th class='text-left nowrap' width="12%">来源媒体/用户</th>
-            <th class='text-left nowrap' width="8%">咨询作者</th>
+            <th class='text-left nowrap' width="8%">资讯作者</th>
             <th class='text-left nowrap' width="12%">新发布状态</th>
             <th class='text-left nowrap' width="15%">发布时间</th>
             <th class='text-center nowrap' width="15%">操作</th>

+ 4 - 4
application/store/view/consult/index_search.html

@@ -2,16 +2,16 @@
     <legend>条件搜索</legend>
     <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
         <div class="layui-form-item layui-inline">
-            <label class="layui-form-label">咨询标题</label>
+            <label class="layui-form-label">资讯标题</label>
             <div class="layui-input-inline">
-                <input name="title" value="{$Think.get.title|default=''}" placeholder="请输入咨询标题" class="layui-input">
+                <input name="title" value="{$Think.get.title|default=''}" placeholder="请输入资讯标题" class="layui-input">
             </div>
         </div>
         <div class="layui-form-item layui-inline">
-            <label class="layui-form-label">咨询分类</label>
+            <label class="layui-form-label">资讯分类</label>
             <div class="layui-input-inline">
                 <select class="layui-select" name="cate_id" lay-search>
-                    <option value="">-- 全部咨询 --</option>
+                    <option value="">-- 全部资讯 --</option>
                     {foreach $cate_arr as $v}
                     <!--{eq name='Think.get.cate_id' value='$v.id.""'}-->
                     <option selected value="{$v.id}">{$v.title}</option>

+ 2 - 2
application/store/view/consult_cate/form.html

@@ -3,9 +3,9 @@
     <div class="layui-card-body">
 
         <div class="layui-row margin-bottom-15">
-            <label class="layui-col-xs2 think-form-label">咨询分类名称</label>
+            <label class="layui-col-xs2 think-form-label">资讯分类名称</label>
             <label class="layui-col-xs10">
-                <input name="title" required value='{$vo.title|default=""}' placeholder="请输入咨询分类名称" class="layui-input">
+                <input name="title" required value='{$vo.title|default=""}' placeholder="请输入资讯分类名称" class="layui-input">
             </label>
         </div>
 

+ 3 - 3
application/store/view/consult_cate/index.html

@@ -2,10 +2,10 @@
 
 {block name="button"}
 {if auth("store/consult_cate/add")}
-<button data-modal='{:url("add")}' data-title="添加咨询分类" class='layui-btn layui-btn-sm layui-btn-primary'>添加咨询分类</button>
+<button data-modal='{:url("add")}' data-title="添加资讯分类" class='layui-btn layui-btn-sm layui-btn-primary'>添加资讯分类</button>
 {/if}
 {if auth("store/consult_cate/remove")}
-<button data-action='{:url("remove")}' data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除咨询分类</button>
+<button data-action='{:url("remove")}' data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除资讯分类</button>
 {/if}
 {/block}
 
@@ -48,7 +48,7 @@
             <td class='text-center nowrap'>
 
                 {if auth("store/consult_cate/edit")}
-                <a data-title="编辑咨询分类" class="layui-btn layui-btn-sm" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
+                <a data-title="编辑资讯分类" class="layui-btn layui-btn-sm" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
                 {/if}
 
                 {if $vo.status eq 1 and auth("store/consult_cate/forbid")}