|
|
@@ -319,36 +319,36 @@
|
|
|
<div class="rule-content">
|
|
|
<!--暂时注释,在以后的开发中在释放出来-->
|
|
|
<!--<div class="row check-1">-->
|
|
|
- <!--<span><strong>*</strong>适用类型</span>-->
|
|
|
- <!--<label class="check-act">-->
|
|
|
- <!--<input type="checkbox" id="1" ng-model="orderType.normal"/>-->
|
|
|
- <!--<label for="1"></label>-->
|
|
|
- <!--普通订单-->
|
|
|
- <!--</label>-->
|
|
|
- <!--<label class="check-act">-->
|
|
|
- <!--<input type="checkbox" id="2" ng-model="orderType.preSale"/>-->
|
|
|
- <!--<label for="2"></label>-->
|
|
|
- <!--预售订单-->
|
|
|
- <!--</label>-->
|
|
|
- <!--<label class="check-act">-->
|
|
|
- <!--<input type="checkbox" id="3" ng-modle="orderType.bill"/>-->
|
|
|
- <!--<label for="3"></label>-->
|
|
|
- <!--发票-->
|
|
|
- <!--</label>-->
|
|
|
- <!--<span>适用用户</span>-->
|
|
|
- <!--<select class="select-adder form-control for-people" ng-model="modifyRule.userType">-->
|
|
|
- <!--<option value="1301">所有用户</option>-->
|
|
|
- <!--</select>-->
|
|
|
+ <!--<span><strong>*</strong>适用类型</span>-->
|
|
|
+ <!--<label class="check-act">-->
|
|
|
+ <!--<input type="checkbox" id="1" ng-model="orderType.normal"/>-->
|
|
|
+ <!--<label for="1"></label>-->
|
|
|
+ <!--普通订单-->
|
|
|
+ <!--</label>-->
|
|
|
+ <!--<label class="check-act">-->
|
|
|
+ <!--<input type="checkbox" id="2" ng-model="orderType.preSale"/>-->
|
|
|
+ <!--<label for="2"></label>-->
|
|
|
+ <!--预售订单-->
|
|
|
+ <!--</label>-->
|
|
|
+ <!--<label class="check-act">-->
|
|
|
+ <!--<input type="checkbox" id="3" ng-modle="orderType.bill"/>-->
|
|
|
+ <!--<label for="3"></label>-->
|
|
|
+ <!--发票-->
|
|
|
+ <!--</label>-->
|
|
|
+ <!--<span>适用用户</span>-->
|
|
|
+ <!--<select class="select-adder form-control for-people" ng-model="modifyRule.userType">-->
|
|
|
+ <!--<option value="1301">所有用户</option>-->
|
|
|
+ <!--</select>-->
|
|
|
<!--</div>-->
|
|
|
<div class="row" style="position: relative;">
|
|
|
<span><strong>*</strong>适用地区</span>
|
|
|
<div class="area-content" ng-if="mapArray.length >0">
|
|
|
- <span ng-repeat="data in mapArray" ng-click="deleteMapItem($index)">
|
|
|
+ <span ng-repeat="data in mapArray">
|
|
|
<em ng-if="!data.province">{{data.mainland}}</em>
|
|
|
<em ng-if="data.province">{{data.province}}</em>
|
|
|
<em ng-if="data.city">/{{data.city}}</em>
|
|
|
<em ng-if="data.area">/{{data.area}}</em>
|
|
|
- <i class="fa fa-minus-circle"></i>
|
|
|
+ <i class="fa fa-minus-circle" ng-click="deleteMapItem($index)"></i>
|
|
|
</span>
|
|
|
</div>
|
|
|
<button ng-click="chooseAddress()">选择地区</button>
|
|
|
@@ -439,7 +439,7 @@
|
|
|
</div>
|
|
|
<!--统一规定运费-->
|
|
|
<div class="style-regulations common-style" ng-if="modifyRule.fareType==1">
|
|
|
- <div class="row dot">
|
|
|
+ <div class="row dot" style="padding-bottom: 10px;">
|
|
|
<span>统一运费</span>
|
|
|
<div class="price-input">
|
|
|
<i class="currency" ng-bind="currencySymbol"></i>
|
|
|
@@ -450,8 +450,8 @@
|
|
|
<span class="f14" style="margin-right: 10px;">计算说明</span>
|
|
|
<!--<!–可编辑–>-->
|
|
|
<!--<div class="edit" style="margin-top: 6px;">-->
|
|
|
- <!--<textarea class="form-control" placeholder="全国统一运费 $20"></textarea>-->
|
|
|
- <!--<div class="prompt"><strong>*</strong>公式说明内容将会在购物车中显示,可自行修改</div>-->
|
|
|
+ <!--<textarea class="form-control" placeholder="全国统一运费 $20"></textarea>-->
|
|
|
+ <!--<div class="prompt"><strong>*</strong>公式说明内容将会在购物车中显示,可自行修改</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--不可以编辑的状态-->
|
|
|
<div class="no-edit" style="margin-top: 6px;">全国统一运费
|
|
|
@@ -460,31 +460,52 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <style>
|
|
|
+ .rule-main .rule-content .common-style .hr01{
|
|
|
+ float: left;
|
|
|
+ width: 14px;
|
|
|
+ text-align: center;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+ .rule-main .rule-content .common-style .price-input input.none{
|
|
|
+ background: #dad8d8;
|
|
|
+ }
|
|
|
+ .rule-main .rule-content .common-style .price-input input.none:hover{
|
|
|
+ cursor: not-allowed;
|
|
|
+ }
|
|
|
+ .add-box{
|
|
|
+ margin-right: 412px;
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
<!--按总金额计算-->
|
|
|
<div class="style-price common-style" ng-if="modifyRule.fareType==2">
|
|
|
- <div class="row" ng-repeat="data in fareArray" ng-class="{'dot' : $index==0}">
|
|
|
- <span>总金额在</span>
|
|
|
+ <div class="row" ng-repeat="data in fareArray" ng-class="{'dot' : $index==0,'active': $index == fareArray.length - 1}">
|
|
|
+ <span style="margin-right: 7px;">总金额在</span>
|
|
|
<div class="price-input" ng-if="$index == 0">
|
|
|
<i class="currency" ng-bind="currencySymbol"></i>
|
|
|
- <input type="text" class="form-control" placeholder="请输入金额" ng-blur="inputQtyFare(data, $index)" ng-model="data.end" />
|
|
|
- 以下,
|
|
|
+ <span ng-bind="data.start"></span>
|
|
|
+ <!--<input type="text" class="form-control none" ng-model="data.start" disabled/>-->
|
|
|
</div>
|
|
|
<div class="price-input" ng-if="$index != 0 && $index != fareArray.length - 1">
|
|
|
- <em>
|
|
|
- <i ng-bind="currencySymbol"></i><i ng-if="fareArray[$index-1].end">{{fareArray[$index-1].end}}</i>以上,
|
|
|
- </em>
|
|
|
- <i class="currency" ng-if="currencySymbol">¥</i>
|
|
|
+ <i class="currency" ng-bind="currencySymbol"></i>
|
|
|
+ <span ng-bind="fareArray[$index-1].end"></span>
|
|
|
+ <!--<input type="text" class="form-control none" ng-model="data.start" disabled/>-->
|
|
|
+ </div>
|
|
|
+ <div class="hr01" ng-if="$index != fareArray.length - 1">–</div>
|
|
|
+ <div class="price-input" ng-if="$index != fareArray.length - 1">
|
|
|
+ <i class="currency" ng-bind="currencySymbol"></i>
|
|
|
<input type="text" class="form-control" placeholder="请输入金额" ng-blur="inputQtyFare(data, $index)" ng-model="data.end" />
|
|
|
- <em>以下,</em>
|
|
|
</div>
|
|
|
<div class="price-input" ng-if="$index == fareArray.length - 1">
|
|
|
- <em>
|
|
|
- <i ng-bind="currencySymbol"></i><i ng-if="fareArray[$index-1].end">{{fareArray[$index-1].end}}</i>以上,
|
|
|
- </em>
|
|
|
+ <i class="currency" ng-bind="currencySymbol"></i>
|
|
|
+ <span ng-bind="fareArray[$index-1].end"></span>
|
|
|
+ <!--<input type="text" class="form-control none" ng-model="fareArray[$index-1].end" disabled/>-->
|
|
|
+ 以上
|
|
|
</div>
|
|
|
<div class="price-input">
|
|
|
- <em>运费为</em>
|
|
|
- <i class="currency" ng-if="currencySymbol">¥</i>
|
|
|
+ <em>,运费为</em>
|
|
|
+ <i class="currency" ng-bind="currencySymbol"></i>
|
|
|
<input type="text" class="form-control" placeholder="请输入运费" ng-blur="inputFare(data)" ng-model="data.fare" />
|
|
|
</div>
|
|
|
<div class="add-box">
|
|
|
@@ -510,27 +531,27 @@
|
|
|
<div class="no-edit" style="margin-top: 6px;">
|
|
|
<div ng-repeat="data in fareArray">
|
|
|
<p ng-if="$index == 0">
|
|
|
- 总价在
|
|
|
- <i class="currency" ng-bind="currencySymbol">¥</i><i class="input-text" ng-bind="data.end"></i>以下,
|
|
|
+ 总金额在
|
|
|
+ <i class="currency" ng-bind="currencySymbol">¥</i><i class="input-text" ng-bind="data.start"></i>
|
|
|
+ - <i class="input-text" ng-bind="data.end"></i> ,
|
|
|
运费为
|
|
|
<i class="currency" ng-bind="currencySymbol">¥</i>{{data.fare}}
|
|
|
</p>
|
|
|
<p ng-if="$index != 0 && $index != fareArray.length - 1">
|
|
|
- 总价在
|
|
|
+ 总金额在
|
|
|
<i class="currency" ng-bind="currencySymbol">¥</i>
|
|
|
- <i class="input-text">{{data.start}}</i>以上(含
|
|
|
+ <i class="input-text" ng-bind="data.start"></i>
|
|
|
+ - <i class="input-text" ng-bind="data.end"></i>(含
|
|
|
<i class="currency" ng-bind="currencySymbol">¥</i>{{data.start}}),
|
|
|
- <i class="currency" ng-bind="currencySymbol">¥</i>
|
|
|
- <i class="input-text">{{data.end}}</i>以下,
|
|
|
运费为
|
|
|
- <i class="currency" ng-bind="currencySymbol">¥</i>{{data.fare}}
|
|
|
+ <i class="currencys" ng-bind="currencySymbol">¥</i>{{data.fare}}
|
|
|
</p>
|
|
|
<p ng-if="$index == fareArray.length-1">
|
|
|
- 总价在
|
|
|
+ 总金额在
|
|
|
<i class="currency" ng-bind="currencySymbol">¥</i>
|
|
|
- <i class="input-text">{{data.start}}</i>以上(含
|
|
|
+ <i class="input-text">{{data.start}}</i>(含
|
|
|
<i class="currency" ng-bind="currencySymbol">¥</i>
|
|
|
- {{data.start}}),运费为
|
|
|
+ {{data.start}})以上,运费为
|
|
|
<i class="currency" ng-bind="currencySymbol">¥</i>{{data.fare}}
|
|
|
</p>
|
|
|
</div>
|
|
|
@@ -729,11 +750,15 @@
|
|
|
margin-right: 0 auto;
|
|
|
}
|
|
|
.rule-main .rule-content .common-style .row{
|
|
|
- padding: 8px;
|
|
|
+ padding: 0 8px;
|
|
|
+ padding-top: 10px;
|
|
|
background: #e8e7e7;
|
|
|
- min-height: 40px;
|
|
|
+ /*min-height: 40px;*/
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
+ .rule-main .rule-content .common-style .row.active{
|
|
|
+ padding-bottom: 10px;
|
|
|
+ }
|
|
|
.rule-main .rule-content .common-style .row span{
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
@@ -743,9 +768,21 @@
|
|
|
position: relative;
|
|
|
z-index: 10;
|
|
|
}
|
|
|
+ .rule-main .rule-content .common-style .price-input span{
|
|
|
+ border-radius: 0;
|
|
|
+ height: 26px;
|
|
|
+ line-height: 26px;
|
|
|
+ border: #d4d4d4 1px solid;
|
|
|
+ background: #dad8d8;
|
|
|
+ display: inline-block;
|
|
|
+ width: 80px;
|
|
|
+ text-align: center;
|
|
|
+ overflow: hidden;
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
.rule-main .rule-content .common-style .price-input em{
|
|
|
float: left;
|
|
|
- margin: 0 5px;
|
|
|
+ margin: 0 7px 0 0;
|
|
|
}
|
|
|
.rule-main .rule-content .common-style .price-input em i{
|
|
|
margin-right: 20px;
|
|
|
@@ -757,9 +794,10 @@
|
|
|
.rule-main .rule-content .common-style.style-price .row .no-edit p i.input-text{
|
|
|
display: inline-block;
|
|
|
max-width: 60px;
|
|
|
+ height: 15px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
- top: 8px;
|
|
|
+ top: 1px;
|
|
|
margin-right: 5px;
|
|
|
}
|
|
|
.rule-main .rule-content .common-style .price-input i.currency{
|
|
|
@@ -770,13 +808,14 @@
|
|
|
background: #b0b0b0;
|
|
|
color: #fff;
|
|
|
float: left;
|
|
|
- border-bottom-left-radius: 3px;
|
|
|
- border-top-left-radius: 3px;
|
|
|
+ margin-right: -1px;
|
|
|
+ /*border-bottom-left-radius: 3px;*/
|
|
|
+ /*border-top-left-radius: 3px;*/
|
|
|
}
|
|
|
.rule-main .rule-content .common-style .price-input input{
|
|
|
max-width: 80px;
|
|
|
padding: 0;
|
|
|
- margin-right: 3px !important;
|
|
|
+ margin-right: 0 !important;
|
|
|
position: relative;
|
|
|
/*left: -1px;*/
|
|
|
font-size: 12px;
|
|
|
@@ -904,7 +943,8 @@
|
|
|
padding: 8px 10px;
|
|
|
}
|
|
|
.rule-main .rule-content .common-style.style-price .row .no-edit p{
|
|
|
- line-height: 25px;
|
|
|
+ line-height: 20px;
|
|
|
+ height: 20px;
|
|
|
}
|
|
|
.rule-main .rule-content .common-style .row{
|
|
|
position: relative;
|