|
|
@@ -4,21 +4,43 @@
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
.modal-body {
|
|
|
- min-height: 350px;
|
|
|
+ min-height: 250px;
|
|
|
}
|
|
|
.modal {
|
|
|
top: 70px;
|
|
|
}
|
|
|
+.table-default .header{
|
|
|
+ background: #fff;
|
|
|
+ border-top: none;
|
|
|
+}
|
|
|
+.table-default .header th:hover{
|
|
|
+ background: none;
|
|
|
+}
|
|
|
+ .table>tbody>tr>td{
|
|
|
+ background: #fff;
|
|
|
+ }
|
|
|
+.table-default .header{
|
|
|
+ border-bottom: none !important;
|
|
|
+ box-shadow: none;
|
|
|
+}
|
|
|
+.table-bordered>thead>tr>th{
|
|
|
+ border-bottom: none;
|
|
|
+ border-top: none;
|
|
|
+}
|
|
|
+.modal-body .table-bordered{
|
|
|
+ border-top: none !important;
|
|
|
+}
|
|
|
</style>
|
|
|
-<div class="modal-body" style="min-height: 500px;">
|
|
|
- <div class="headerline">
|
|
|
- <span class="content"><i class="fa fa-fw fa-edit text-primary"></i>修改类型-{{updatetype}}</span>
|
|
|
+<div class="modal-body" style="padding-top: 0;">
|
|
|
+ <div class="modal-header ng-scope">
|
|
|
+ <div class="row">
|
|
|
+ <h3 class="modal-title" style=" padding-left: 3px;">修改类型-{{updatetype}}</h3>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<table class="block table table-default table-striped table-bordered">
|
|
|
<thead>
|
|
|
<tr class="header">
|
|
|
<th width="160px">原{{updatetype}}</th>
|
|
|
- <th width="160px">--></th>
|
|
|
<th width="160px">新{{updatetype}}</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
@@ -27,14 +49,13 @@
|
|
|
<!-- <td class="text-center" ng-if="updatetype == '品牌'"><span ng-bind="::product.brand"></span></td>
|
|
|
<td class="text-center" ng-if="updatetype == '名称(类目)'"><span ng-bind="::product.title"></span></td>
|
|
|
<td class="text-center" ng-if="updatetype == '产品型号'"><span ng-bind="::product.spec"></span></td> -->
|
|
|
- <td ng-if="updatetype == '品牌'"><select type="text" ng-model="oldvalue" ng-options="product.brand for product in products">
|
|
|
+ <td ng-if="updatetype == '品牌'"><select type="text" ng-model="oldvalue" ng-options="product.brand for product in products" class="form-control">
|
|
|
<option value="">请选择品牌</option>
|
|
|
</select></td>
|
|
|
<td ng-if="updatetype == '名称(类目)'"><select type="text" ng-model="oldvalue" ng-options="product.title for product in products">
|
|
|
<option value="">请选择名称(类目)</option>
|
|
|
</select></td>
|
|
|
- <td class="text-center">--></td>
|
|
|
- <td class="text-center"><input type="text" ng-model="newvalue"></span></td>
|
|
|
+ <td class="text-center"><input type="text" ng-model="newvalue" class="form-control"></span></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
@@ -44,7 +65,6 @@
|
|
|
</div> -->
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
- <button class="btn btn-default" ng-click="okay()" type="button" ng-if="changed">确定修改</button>
|
|
|
- <button class="btn btn-default" ng-click="returnUpdate()" type="button" ng-if="changed">返回修改</button>
|
|
|
+ <button class="btn btn-primary" ng-click="okay()" type="button">确定</button>
|
|
|
<button class="btn btn-default" ng-click="cancel()" type="button" ng-if="!changed">取消</button>
|
|
|
</div>
|