Authored by shuaiguo

feat(资源管理): 新增tab类型:买家秀

@@ -679,8 +679,8 @@ @@ -679,8 +679,8 @@
679 </select> 679 </select>
680 </div> 680 </div>
681 </div> 681 </div>
682 - <div class="form-group">  
683 - <div class="col-sm-10"> 682 + <div class="form-group" style="display: flex;">
  683 + <div class="col-sm-10" style="display: flex;align-items: center;">
684 <label>tab名称</label> 684 <label>tab名称</label>
685 <input class="form-control observe input-form" value="[[item.tab_name?item.tab_name:'']]" placeholder="tab名称" 685 <input class="form-control observe input-form" value="[[item.tab_name?item.tab_name:'']]" placeholder="tab名称"
686 data-field='[[index]].tab_name'/> 686 data-field='[[index]].tab_name'/>
@@ -689,6 +689,14 @@ @@ -689,6 +689,14 @@
689 689
690 <div class="form-group"> 690 <div class="form-group">
691 <div class="col-sm-10"> 691 <div class="col-sm-10">
  692 + <label>副标题</label>
  693 + <input class="form-control observe input-form" value="[[item.subtitle?item.subtitle:'']]" placeholder="副标题"
  694 + data-field='[[index]].subtitle'/>
  695 + </div>
  696 + </div>
  697 +
  698 + <div class="form-group">
  699 + <div class="col-sm-10">
692 <label>tab名称左边的小图标<span class="red">(80*40)</span></label> 700 <label>tab名称左边的小图标<span class="red">(80*40)</span></label>
693 <input type="file" name="file" value="[[item.src]]" 701 <input type="file" name="file" value="[[item.src]]"
694 data-field="[[index]].src" data-index="[[index]]" /> 702 data-field="[[index]].src" data-index="[[index]]" />
@@ -702,6 +710,7 @@ @@ -702,6 +710,7 @@
702 <select class="form-control input-form observe change-toggle-show" value="[[item.type]]" data-field="[[index]].type" data-toggle="default::dafault-data|rankList::rank-list-data"> 710 <select class="form-control input-form observe change-toggle-show" value="[[item.type]]" data-field="[[index]].type" data-toggle="default::dafault-data|rankList::rank-list-data">
703 <option value="default">默认</option> 711 <option value="default">默认</option>
704 <option value="rankList">排行榜</option> 712 <option value="rankList">排行榜</option>
  713 + <option value="buyersShow">买家秀</option>
705 </select> 714 </select>
706 </div> 715 </div>
707 </div> 716 </div>
@@ -716,7 +725,7 @@ @@ -716,7 +725,7 @@
716 </div> 725 </div>
717 </div> 726 </div>
718 727
719 - <div class="rank-list-data" style="display: [[item.type ? 'block' : 'none']];"> 728 + <div class="rank-list-data" style="display: [[item.type === 'rankList' ? 'block' : 'none']];">
720 <div class="form-group"> 729 <div class="form-group">
721 <div class="col-sm-10"> 730 <div class="col-sm-10">
722 <label>排版</label> 731 <label>排版</label>