Browse Source

公共通知模态框 行间距

yangc 8 years ago
parent
commit
2464405f00
3 changed files with 10 additions and 5 deletions
  1. 7 0
      assets/scss/mobileCommon.scss
  2. 3 3
      components/mobile/MobileHeader.vue
  3. 0 2
      pages/auth/logout.vue

+ 7 - 0
assets/scss/mobileCommon.scss

@@ -22,6 +22,13 @@
       background: #fff;
       color: #333;
       padding: .27rem .54rem;
+      div {
+        height: .71rem;
+        text-align: center;
+        &.content-line {
+          line-height: .71rem;
+        }
+      }
     }
   }
   .mobile-share-box {

+ 3 - 3
components/mobile/MobileHeader.vue

@@ -4,9 +4,9 @@
       <div class="mobile-modal-box">
         <div class="mobile-modal-header">联系方式</div>
         <div class="mobile-modal-content">
-          <p>商家地址:啊沙发沙发发撒发沙发沙发发沙发沙发</p>
-          <div class="link-url">在线咨询</div>
-          <div>致电:<span class="link-url">0791-21312322</span></div>
+          <div>商家地址:啊沙发沙发发撒发沙发沙发发沙发沙发</div>
+          <div class="content-line link-url">在线咨询</div>
+          <div>致电:<span class="content-line link-url">0791-21312322</span></div>
         </div>
       </div>
       <div class="mobile-share-box">

+ 0 - 2
pages/auth/logout.vue

@@ -24,8 +24,6 @@ export default {
     proxyLogout (askUrl, returnUrl) {
       this.$jsonp(`${askUrl}`, function (err, data) {
         if (err) throw err
-        console.log(data)
-
         window.location.href = returnUrl && returnUrl !== 'null' ? returnUrl : '/'
       })
     }