Browse Source

1

undefined
娄梦宁 3 years ago
parent
commit
bd17e8c8b8
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      application/admin/view/unishop/product/add.html
  2. +1
    -1
      application/admin/view/unishop/product/edit.html
  3. +1
    -1
      public/assets/js/backend/unishop/product.js

+ 1
- 1
application/admin/view/unishop/product/add.html View File

@@ -111,7 +111,7 @@
</div>

<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('评论平均分')}:</label>
<label class="control-label col-xs-12 col-sm-2">{:__('好评率')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-evaluate_avg" data-rule="required" class="form-control" name="row[evaluate_avg]" type="number" value="0">
</div>


+ 1
- 1
application/admin/view/unishop/product/edit.html View File

@@ -115,7 +115,7 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('评论平均分')}:</label>
<label class="control-label col-xs-12 col-sm-2">{:__('好评率')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-evaluate_avg" data-rule="required" class="form-control" name="row[evaluate_avg]" type="number" value="{$row.evaluate_avg}">
</div>


+ 1
- 1
public/assets/js/backend/unishop/product.js View File

@@ -593,7 +593,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'upload', 'plupload',
formatter: Table.api.formatter.datetime
},
{field: 'weigh', title: __('Weigh')},
{field: 'evaluate_avg', title: __('评论平均分')},
{field: 'evaluate_avg', title: __('好评率')},
{field: 'evaluate_count', title: __('评论总数')},
{field: 'switch', title: __('Switch'), formatter: Table.api.formatter.toggle},
{


Loading…
Cancel
Save