Authored by 李奇

fixed:评价客服代码恢复

@@ -269,7 +269,10 @@ const getBrandData = (params, extra, channel) => { @@ -269,7 +269,10 @@ const getBrandData = (params, extra, channel) => {
269 269
270 if (params.shopId) { 270 if (params.shopId) {
271 // 店铺以店铺ID查询商品 271 // 店铺以店铺ID查询商品
272 - queryBase.shop_id = params.shopId; 272 + Object.assign(queryBase, {
  273 + shop_id: params.shopId,
  274 + shop: params.shopId
  275 + });
273 } else { 276 } else {
274 // 品牌以品牌ID查询商品 277 // 品牌以品牌ID查询商品
275 queryBase.brand = extra.brandId; 278 queryBase.brand = extra.brandId;
@@ -10,12 +10,14 @@ @@ -10,12 +10,14 @@
10 <span class="star positive"></span> 10 <span class="star positive"></span>
11 <span class="star positive"></span> 11 <span class="star positive"></span>
12 <span class="star positive"></span> 12 <span class="star positive"></span>
13 - <span class="star"></span>  
14 - <span class="star"></span> 13 + <span class="star positive"></span>
  14 + <span class="star positive"></span>
15 <p class="star-text">一般</p> 15 <p class="star-text">一般</p>
16 </div> 16 </div>
17 - <div class="discontent"></div>  
18 - <textarea class="other-reason" maxlength="50" placeholder="请您输入不满意的其他原因" spellcheck="false"></textarea> 17 + <div class="detail-reason">
  18 + <div class="discontent"></div>
  19 + <textarea class="other-reason" maxlength="50" placeholder="请您输入不满意的其他原因" spellcheck="false"></textarea>
  20 + </div>
19 </div> 21 </div>
20 <div class="cus-footer"> 22 <div class="cus-footer">
21 <button class="btn dark submit">提交</button> 23 <button class="btn dark submit">提交</button>
@@ -1044,53 +1044,57 @@ $color-3a3a3a: #3a3a3a; @@ -1044,53 +1044,57 @@ $color-3a3a3a: #3a3a3a;
1044 } 1044 }
1045 } 1045 }
1046 1046
1047 - .discontent {  
1048 - margin-bottom: 30px; 1047 + .detail-reason {
  1048 + display: none;
1049 1049
1050 - .dis-row {  
1051 - font-size: 0; 1050 + .discontent {
  1051 + margin-bottom: 30px;
1052 1052
1053 - &:first-child {  
1054 - margin-bottom: 13px;  
1055 - } 1053 + .dis-row {
  1054 + font-size: 0;
1056 1055
1057 - .type {  
1058 - position: relative;  
1059 - display: inline-block;  
1060 - width: 166px;  
1061 - height: 40px;  
1062 - padding: 0 18px;  
1063 - font-size: 16px;  
1064 - text-align: center;  
1065 - line-height: 40px;  
1066 - border: 1px #999999 solid;  
1067 - border-radius: 5px;  
1068 - cursor: pointer; 1056 + &:first-child {
  1057 + margin-bottom: 13px;
  1058 + }
1069 1059
1070 - &.chosen {  
1071 - &:after {  
1072 - position: absolute;  
1073 - top: 13px;  
1074 - right: -2px;  
1075 - content: '';  
1076 - display: inline-block;  
1077 - height: 27px;  
1078 - width: 27px;  
1079 - background-image: url('../img/service/btn-chosen.png'); 1060 + .type {
  1061 + position: relative;
  1062 + display: inline-block;
  1063 + width: 166px;
  1064 + height: 40px;
  1065 + padding: 0 18px;
  1066 + font-size: 16px;
  1067 + text-align: center;
  1068 + line-height: 40px;
  1069 + border: 1px #999999 solid;
  1070 + border-radius: 5px;
  1071 + cursor: pointer;
  1072 +
  1073 + &.chosen {
  1074 + &:after {
  1075 + position: absolute;
  1076 + top: 13px;
  1077 + right: -2px;
  1078 + content: '';
  1079 + display: inline-block;
  1080 + height: 27px;
  1081 + width: 27px;
  1082 + background-image: url('../img/service/btn-chosen.png');
1080 1083
  1084 + }
1081 } 1085 }
1082 - }  
1083 1086
1084 - &:first-child {  
1085 - margin-right: 15px; 1087 + &:first-child {
  1088 + margin-right: 15px;
  1089 + }
1086 } 1090 }
1087 } 1091 }
1088 } 1092 }
1089 - }  
1090 1093
1091 - textarea {  
1092 - height: 120px;  
1093 - resize: none; 1094 + textarea {
  1095 + height: 120px;
  1096 + resize: none;
  1097 + }
1094 } 1098 }
1095 } 1099 }
1096 1100