|
|
@@ -38,6 +38,9 @@
|
|
|
.first-rate table thead tr td .describe-option {
|
|
|
margin-right: 55px;
|
|
|
}
|
|
|
+ .first-rate table thead tr td .describe-option img {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
.first-rate table tbody tr {
|
|
|
border-bottom: 1px dashed rgb( 232, 235, 252 );
|
|
|
}
|
|
|
@@ -118,6 +121,7 @@
|
|
|
padding: 4px 17px;
|
|
|
background: #5078cb;
|
|
|
color: #fff;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -144,27 +148,27 @@
|
|
|
<span class="describe-title describe-option">店铺评价:</span>
|
|
|
<span>描述相符:</span>
|
|
|
<span class="rate-level describe-option">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.a - 0 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('a',1)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.a - 1 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('a',2)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.a - 2 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('a',3)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.a - 3 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('a',4)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.a - 4 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('a',5)" alt="">
|
|
|
</span>
|
|
|
<span>卖家服务:</span>
|
|
|
<span class="rate-level describe-option">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.b - 0 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('b',1)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.b - 1 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('b',2)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.b - 2 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('b',3)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.b - 3 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('b',4)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.b - 4 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('b',5)" alt="">
|
|
|
</span>
|
|
|
<span>物流服务:</span>
|
|
|
<span class="rate-level describe-option">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
- <img src="static/img/user/images/rateGood.png" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.c - 0 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('c',1)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.c - 1 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('c',2)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.c - 2 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('c',3)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.c - 3 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('c',4)" alt="">
|
|
|
+ <img ng-src="static/img/user/images/{{descObj.c - 4 > 0? 'rateGood':'rateBad'}}.png" ng-click="setLevel('c',5)" alt="">
|
|
|
</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
@@ -184,24 +188,24 @@
|
|
|
<label class="check-act">
|
|
|
<img src="static/img/user/images/rate1.png" alt="">
|
|
|
<span>好评</span>
|
|
|
- <input type="radio" id="{{1*($index)+1}}" name="radio{{$index}}" checked="checked"/>
|
|
|
+ <input type="radio" id="{{1*($index)+1}}" name="radio{{$index}}" value="1" ng-model="goodsRate[$index].level" />
|
|
|
<label for="{{1*($index)+1}}"></label>
|
|
|
</label>
|
|
|
<label class="check-act">
|
|
|
<img src="static/img/user/images/rate2.png" alt="">
|
|
|
<span>中评</span>
|
|
|
- <input type="radio" id="{{1*($index)+2}}" name="radio{{$index}}"/>
|
|
|
+ <input type="radio" id="{{1*($index)+2}}" name="radio{{$index}}" value="2" ng-model="goodsRate[$index].level" />
|
|
|
<label for="{{1*($index)+2}}"></label>
|
|
|
</label>
|
|
|
<label class="check-act">
|
|
|
<img src="static/img/user/images/rate3.png" alt="">
|
|
|
<span>差评</span>
|
|
|
- <input type="radio" id="{{1*($index)+3}}" name="radio{{$index}}"/>
|
|
|
+ <input type="radio" id="{{1*($index)+3}}" name="radio{{$index}}" value="3" ng-model="goodsRate[$index].level" />
|
|
|
<label for="{{1*($index)+3}}"></label>
|
|
|
</label>
|
|
|
</div>
|
|
|
<div class="first-rate-item-textBox">
|
|
|
- <textarea placeholder="请输入您对产品的评价" name="" id="" cols="30" rows="10"></textarea>
|
|
|
+ <textarea placeholder="请输入您对产品的评价" name="" id="" cols="30" rows="10" ng-model="goodsRate[$index].buyerRate"></textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
@@ -216,10 +220,10 @@
|
|
|
</table>
|
|
|
<div class="submitBox">
|
|
|
<label class="check-active">
|
|
|
- <input ng-model="isSetTop" type="checkbox" id="check-act" class="ng-pristine ng-untouched ng-valid" checked="checked">
|
|
|
+ <input ng-model="isSetTop" type="checkbox" id="check-act" class="ng-pristine ng-untouched ng-valid" ng-checked="isAnony" ng-click="isAnony = 1-isAnony">
|
|
|
<label for="check-act"></label>
|
|
|
<span style="font-size: 14px; color: black">匿名评价</span>
|
|
|
</label>
|
|
|
- <span class="submit-btn">提交</span>
|
|
|
+ <span class="submit-btn" ng-click="submit()">提交</span>
|
|
|
</div>
|
|
|
</div>
|