Przeglądaj źródła

联系卖家弹框2

yangc 7 lat temu
rodzic
commit
0f88fc477d

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

@@ -0,0 +1,32 @@
+
+.link-saler-box {
+    width: 289px;
+    height: auto;
+    min-height: auto;
+    border-radius: 2px;
+}
+.link-saler-box .title {
+    background-color: #4290f7;
+    height: 22px;
+    line-height: 22px;
+    margin-bottom: 20px;
+}
+.link-saler-box .content p {
+    line-height: 20px;
+    padding-top: 0;
+}
+.link-saler-box .content p i {
+    color: #4290f7;
+    margin-right: 4px;
+}
+.link-saler-box .content p span {
+    color: #f62d37;
+    width: auto !important;
+    float: none;
+}
+.link-saler-box .content a {
+    width: 78px !important;
+    background: #4290f7 !important;
+    margin: 18px 0 13px 0;
+    border-radius: 2px;
+}

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

@@ -1067,7 +1067,7 @@
         </div>
         </div>
         <div class="content">
         <div class="content">
             <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与卖家在线沟通!</p>
             <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与卖家在线沟通!</p>
-            <p>卖家联系电话:<span ng-bind="currentSeek.qutations[linkBoxIndex].userTel || currentSeek.qutations[linkBoxIndex].user.userTel || '-'"></span></p>
+            <p>卖家联系电话:<span ng-bind="currentSeek.qutations[linkBoxIndex].userTel || '-'"></span></p>
             <div>
             <div>
                 <a ng-click="setLinkBoxIndex(-1)">我知道了</a>
                 <a ng-click="setLinkBoxIndex(-1)">我知道了</a>
             </div>
             </div>

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

@@ -725,7 +725,7 @@
         </div>
         </div>
         <div class="content">
         <div class="content">
             <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与买家在线沟通!</p>
             <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与买家在线沟通!</p>
-            <p>买家联系电话:<span ng-bind="(seekListData.content)[linkBoxIndex].userTel"></span></p>
+            <p>买家联系电话:<span ng-bind="seekListData.content[linkBoxIndex].userTel || '-'"></span></p>
             <div>
             <div>
                 <a ng-click="setLinkBoxIndex(-1)">我知道了</a>
                 <a ng-click="setLinkBoxIndex(-1)">我知道了</a>
             </div>
             </div>

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

@@ -471,7 +471,21 @@
 								<!--<a ng-if="purchase.pu_buyentername" name="{{purchase.id}}" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">|{{purchase.pu_buyentername}}</a>-->
 								<!--<a ng-if="purchase.pu_buyentername" name="{{purchase.id}}" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">|{{purchase.pu_buyentername}}</a>-->
 							</i>
 							</i>
 							<img src="static/img/common/songguo.png" style="margin-right:0; ">
 							<img src="static/img/common/songguo.png" style="margin-right:0; ">
-							<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">联系买家</a>
+							<div style="display: inline-block" ng-controller="ChatContactCtrl as chat">
+								<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">联系买家</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>
 							<!--<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-click="contactSeller()">联系买家</a>-->
 							<!--<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-click="contactSeller()">联系买家</a>-->
 							<div class="contact-box" ng-if="contactBNox">
 							<div class="contact-box" ng-if="contactBNox">
 								<div class="title"><i class="fa fa-close fa-lg" ng-click="closeBox()"></i></div>
 								<div class="title"><i class="fa fa-close fa-lg" ng-click="closeBox()"></i></div>

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

@@ -1259,7 +1259,21 @@
                         </span>
                         </span>
 						<span style="position: relative;">
 						<span style="position: relative;">
                             <img src="static/img/common/songguo.png">
                             <img src="static/img/common/songguo.png">
-                            <a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-controller="ChatContactCtrl as chat" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">联系买家</a>
+							<div style="display: inline-block" ng-controller="ChatContactCtrl as chat">
+                            	<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-click="chat.contactWithOther(purchase.buyPhone, purchase.buyerenuu, chat.UserType.ENTERPRISE)">联系买家</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>
 							<!--<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-click="contactBuyer(purchase)">联系买家</a>
 							<!--<a name="{{purchase.id}}" href="javascript:void(0)" class="contact_btn" ng-click="contactBuyer(purchase)">联系买家</a>
                              <div name="{{purchase.id}}" class="buyer-contact" ng-if="purchase.active" ng-class="{true : 'buyer-contact-info', false : 'display-none'}[purchase.active]">
                              <div name="{{purchase.id}}" class="buyer-contact" ng-if="purchase.active" ng-class="{true : 'buyer-contact-info', false : 'display-none'}[purchase.active]">
                                  <div class="contact-title">
                                  <div class="contact-title">