yangc 7 years ago
parent
commit
92b1148e17

+ 7 - 1
src/main/webapp/resources/css/common.css

@@ -1066,7 +1066,7 @@ select {
 }
 .oder_xq_list dl span.total-price p em{
 	color: #333;
-	width: 150px;
+	width: 219px;
 	text-align: left;
 }
 .oder_xq_list dl span.total-price strong{
@@ -1131,4 +1131,10 @@ select {
 }
 .oder_xq_list dl span.total-price em{
 	float: left;
+}
+
+.text-ellipse {
+	overflow: hidden;
+	text-overflow: ellipsis;
+	white-space: nowrap;
 }

+ 1 - 0
src/main/webapp/resources/css/common/linkSaler.css

@@ -14,6 +14,7 @@
 .link-saler-box .content p {
     line-height: 20px;
     padding-top: 0;
+    color: #333;
 }
 .link-saler-box .content p i {
     color: #4290f7;

+ 16 - 4
src/main/webapp/resources/view/usercenter/forstore/first_rate.html

@@ -233,10 +233,22 @@
                 <em>{{order.sellername}}</em>
             </a>
         </span>
-        <span style="position: relative; width: 10%; margin-left: 50px;">
+        <span style="position: relative; width: 10%; margin-left: 50px;" ng-controller="ChatContactCtrl as chat">
             <img src="static/img/common/songguo.png"/>
-            <a href="javascript:void(0)" class="contact_btn" ng-click="cont = !cont">联系卖家</a>
-            <div class="seller-contact" ng-if="cont" ng-class="{true : 'seller-contact-info', false : 'display-none'}[cont]">
+            <a  href="javascript:void(0)" class="contact_btn" ng-click="chat.contactWithOther(order.sellPhone, order.sellerenuu)">联系卖家</a>
+            <div class="com-mall-del-box link-saler-box" ng-if="showLinkBox">
+                <div class="title">
+                  <i ng-click="setShowLinkBox(false)"></i>
+                </div>
+                <div class="content">
+                  <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与卖家在线沟通!</p>
+                  <p>卖家联系电话:<span ng-bind="phone"></span></p>
+                  <div>
+                    <a ng-click="setShowLinkBox(false)">我知道了</a>
+                  </div>
+                </div>
+              </div>
+           <!-- <div class="seller-contact" ng-if="cont" ng-class="{true : 'seller-contact-info', false : 'display-none'}[cont]">
                                  <div class="contact-title">
                                      <a ng-click="setContFalse()"><i class="fa fa-close fa-lg" aria-hidden="true"></i></a>
                                  </div>
@@ -252,7 +264,7 @@
                                      <textarea class="send-message" placeholder="给卖家发送站内消息"></textarea>
                                  </div>
                                  <div style="display: none;" class="send-button"><a class="send">发送</a></div>
-                            </div>
+                            </div>-->
         </span>
         <span style="float: right;margin-right: 46px; font-size: 12px;">其他买家需要你的建议喔</span>
     </div>

+ 1 - 1
src/main/webapp/resources/view/usercenter/forstore/order_detail.html

@@ -484,7 +484,7 @@
 						</span>
 					</dd>
 					<dd class="line60">
-						<span class="wd02" style="width: 60%; text-align: left; margin-left: 40px; line-height: 30px;">配送方式:<i ng-bind="deliveryMethod[order.deliverytype]"></i>
+						<span class="wd02" style="width: 45%; text-align: left; margin-left: 40px; line-height: 30px;">配送方式:<i ng-bind="deliveryMethod[order.deliverytype]"></i>
 							<i style="color: #999;" ng-if="rule" ng-bind="'(' + rule.ruleName + ')'">(满1000元包邮,未满足的订单收取运费20元)</i>
 						</span>
 						<span class="total-price" ng-controller="poundageCtrl">

+ 3 - 3
src/main/webapp/resources/view/usercenter/forstore/order_pay.html

@@ -817,7 +817,7 @@
 							</span>
 						</dd>
 						<dd class="line60" ng-class="{'none-border': deliveryList ? deliveryList[details[0].storeid].method==1303 : order.deliverytype=1303}">
-							<span class="style01" style="width: 60%; padding-left: 40px;" ng-class="{'line35': order.status!=501}">配送方式:
+							<span class="style01" style="width: 55%; padding-left: 40px;" ng-class="{'line35': order.status!=501}">配送方式:
 								<select ng-if="order.status == 501 && ruleMap[details[0].storeid].length != 0" class="select" ng-model="deliveryList[details[0].storeid]" style="opacity: 1;"
 										ng-options="rule as deliveryMethod[rule.method] for rule in ruleMap[details[0].storeid]"
 										ng-change="changeFare(details)">
@@ -859,8 +859,8 @@
 										<span class="price-down" ng-mouseenter="showRemindTagActivity = true" ng-mouseleave="showRemindTagActivity = false">减免</span>
 										手续费:
 									</strong>
-									<em ng-if="order.status == 501">{{order.currency == 'RMB' ? '¥ ':'$'}}0.00(<i class="price-down-tag" ng-bind="getMul(getAdd(storePrice[key], fareList[details[0].storeid]), 0.00453) | formateNumber : 2 | currencySysmbol : order.currency.substring(0,3)">$1.11</i>)</em>
-									<em ng-if="order.status != 501">
+									<em ng-if="order.status == 501" class="text-ellipse">{{order.currency == 'RMB' ? '¥ ':'$'}}0.00(<i class="price-down-tag" ng-bind="getMul(getAdd(storePrice[key], fareList[details[0].storeid]), 0.00453) | formateNumber : 2 | currencySysmbol : order.currency.substring(0,3)">$1.11</i>)</em>
+									<em ng-if="order.status != 501" class="text-ellipse">
 										<em ng-if="storeArray.length == 1">{{order.currency == 'RMB' ? '¥ ':'$'}}0.00(<i class="price-down-tag" ng-bind="getMul(order.ensurePrice, 0.00453) | formateNumber : 2 | currencySysmbol : order.currency.substring(0,3)">$1.11</i>)</em>
 										<em ng-if="storeArray.length != 1">{{order.currency == 'RMB' ? '¥ ':'$'}}0.00(<i class="price-down-tag" ng-bind="getMul(getAdd(storePrice[key], deliveryList[details[0].storeid].fare), 0.00453) | formateNumber : 2 | currencySysmbol : order.currency.substring(0,3)">$1.11</i>)</em>
 									</em>

+ 16 - 4
src/main/webapp/resources/view/usercenter/forstore/show_rate.html

@@ -274,10 +274,22 @@
                 <em>{{order.sellername}}</em>
             </a>
         </span>
-        <span style="position: relative; width: 10%; margin-left: 50px;">
+        <span style="position: relative; width: 10%; margin-left: 50px;" ng-controller="ChatContactCtrl as chat">
             <img src="static/img/common/songguo.png"/>
-            <a href="javascript:void(0)" class="contact_btn" ng-click="cont = !cont">联系卖家</a>
-            <div class="seller-contact" ng-if="cont" ng-class="{true : 'seller-contact-info', false : 'display-none'}[cont]">
+            <a href="javascript:void(0)" class="contact_btn" ng-click="chat.contactWithOther(order.sellPhone, order.sellerenuu)">联系卖家</a>
+            <div class="com-mall-del-box link-saler-box" ng-if="showLinkBox">
+                <div class="title">
+                  <i ng-click="setShowLinkBox(false)"></i>
+                </div>
+                <div class="content">
+                  <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与卖家在线沟通!</p>
+                  <p>卖家联系电话:<span ng-bind="phone"></span></p>
+                  <div>
+                    <a ng-click="setShowLinkBox(false)">我知道了</a>
+                  </div>
+                </div>
+              </div>
+            <!--<div class="seller-contact" ng-if="cont" ng-class="{true : 'seller-contact-info', false : 'display-none'}[cont]">
                                  <div class="contact-title">
                                      <a ng-click="setContFalse()"><i class="fa fa-close fa-lg" aria-hidden="true"></i></a>
                                  </div>
@@ -293,7 +305,7 @@
                                      <textarea class="send-message" placeholder="给卖家发送站内消息"></textarea>
                                  </div>
                                  <div style="display: none;" class="send-button"><a class="send">发送</a></div>
-                            </div>
+                            </div>-->
         </span>
         <span style="float: right;margin-right: 46px; font-size: 12px;">其他买家需要你的建议喔</span>
     </div>

+ 1 - 1
src/main/webapp/resources/view/vendor/forstore/purchase_detail.html

@@ -541,7 +541,7 @@
 						</span>
 					</dd>
 					<dd class="line60">
-						<span class="wd02" style="width: 60%; text-align: left; margin-left: 40px; line-height: 30px;">配送方式:<i ng-bind="deliveryMethod[purchase.sendType]"></i>
+						<span class="wd02" style="width: 45%; text-align: left; margin-left: 40px; line-height: 30px;">配送方式:<i ng-bind="deliveryMethod[purchase.sendType]"></i>
 							<i style="color: #999;" ng-if="rule" ng-bind="'(' + rule.ruleName + ')'">(满1000元包邮,未满足的订单收取运费20元)</i>
 						</span>
 						<span class="total-price" ng-controller="poundageCtrl">

+ 16 - 2
src/main/webapp/resources/view/vendor/forstore/showRate.html

@@ -444,9 +444,22 @@
                 <em>{{order.buyername + ' | ' + order.sellername}}</em>
             </a>
         </span>
-        <span style="position: relative; width: 10%; margin-left: 50px;">
+        <span style="position: relative; width: 10%; margin-left: 50px;" ng-controller="ChatContactCtrl as chat">
             <img src="static/img/common/songguo.png"/>
-            <a href="javascript:void(0)" class="contact_btn" ng-click="cont = !cont">联系买家</a>
+            <a href="javascript:void(0)" class="contact_btn" ng-click="chat.contactWithOther(order.buyerTel, order.buyerenuu)">联系买家</a>
+            <div class="com-mall-del-box link-saler-box" ng-if="showLinkBox">
+                <div class="title">
+                  <i ng-click="setShowLinkBox(false)"></i>
+                </div>
+                <div class="content">
+                  <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与买家在线沟通!</p>
+                  <p>买家联系电话:<span ng-bind="phone"></span></p>
+                  <div>
+                    <a ng-click="setShowLinkBox(false)">我知道了</a>
+                  </div>
+                </div>
+              </div>
+<!--
             <div class="buyer-contact" ng-if="cont" ng-class="{true : 'buyer-contact-info', false : 'display-none'}[cont]">
                                  <div class="contact-title">
                                      <a ng-click="setContFalse()"><i class="fa fa-close fa-lg" aria-hidden="true"></i></a>
@@ -463,6 +476,7 @@
                                  </div>
                                  <div style="display: none;" class="send-button"><a class="send">发送</a></div>
                             </div>
+-->
         </span>
         <!--<span style="float: right;margin-right: 46px; font-size: 12px;">其他买家需要你的建议喔</span>-->
     </div>