Browse Source

删除页面所有的el-button组件

hangb 8 years ago
parent
commit
3968fd421a

+ 57 - 4
components/default/RightBar.vue

@@ -9,12 +9,10 @@
           <div class="sidebar-menu"><a @click="goCart" title="我的购物车" target="_blank">我的购物车<em><span>(<span v-text="cartCount.count || 0"></span>)</span></em></a></div>
         </li>
         <li class="right-bar-item">
-          <el-button type="text" @click="dialogVisible = true">
-          <a @click="onLeaveMessageClick()" class="title">
+          <a @click="dialogVisible = true" class="title">
             <i class="iconfont icon-liuyan icon-xlg"></i>
+            <div class="sidebar-menu"><a title="留言板" target="_blank">留言板</a></div>
           </a>
-          <div class="sidebar-menu"><a title="留言板" target="_blank">留言板</a></div>
-          </el-button>
         </li>
         <li class="right-bar-item contact-menu">
           <a href="http://wpa.qq.com/msgrd?v=3&uin=3432892085&site=www.ubtoc.com&menu=yes" target="_blank" class="title">
@@ -211,6 +209,61 @@
   }
 </script>
 <style lang="scss" scoped>
+  /*查看*/
+  #image-box .x-floating-wrap {
+    position: fixed;
+    z-index: 99998;
+    background: #000;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
+    opacity: 0.5;
+  }
+  #image-box .x-floating {
+    position: fixed;
+    z-index: 99999;
+    top: 60px;
+    left: 0;
+    width: 100%;
+    height: 100%;
+    text-align: center;
+    vertical-align: middle;
+  }
+  #image-box .x-floating img {
+    margin: auto auto;
+    max-width: 100%;
+    max-height: 80%;
+    -webkit-user-select: none;
+    -moz-user-select: none;
+    -ms-user-select: none;
+    user-select: none
+  }
+
+  #image-box .x-close-wrap {
+    position: fixed;
+    top: 0;
+    right: 0;
+    z-index: 100000;
+    width: 120px;
+    height: 120px;
+    margin: -60px -60px 0 0;
+    border-radius: 100%;
+    background: #000;
+    opacity: .3
+  }
+
+  #image-box .x-close-wrap a {
+    position: absolute;
+    left: 25px;
+    bottom: 25px;
+    font-size: 42px;
+    color: #fff
+  }
+  #image-box .x-close-wrap:hover {
+    opacity: .7
+  }
+
   a[disabled] {
     cursor: not-allowed;
   }

+ 1 - 2
components/product/component/ComponentDetail.vue

@@ -40,8 +40,7 @@
               <div class="message-body"><a :href="list.attach" v-if="list.attach">规格书</a><span v-if="!list.attach">暂无规格书</span></div>
             </div>
             <div class="form-group">
-             <!-- <button class="btn btn-default btn-stroe">加入收藏</button>-->
-              <el-button type="text" v-if="!isShow && collectList" @click="collect(list.id)" class="btn btn-default btn-stroe" style="line-height: 26px;">加入收藏</el-button>
+               <button type="text" v-if="!isShow && collectList" @click="collect(list.id)" class="btn btn-default btn-stroe" style="line-height: 26px;">加入收藏</button>
                <button class="btn btn-default btn-stroe" v-if="isShow && collectList" disabled="disabled">已收藏</button>
             </div>
           </div>

+ 1 - 1
components/store/common/StoreHeader.vue

@@ -15,7 +15,7 @@
                 </div>
                 <div class="icon-style">
                   <!--<button class="btn btn-xs btn-danger btn-nav" v-if="!isFocus"><span class="watch">关注</span></button>-->
-                  <span v-if="!isFocus"><el-button type="text" @click="focus(storeInfo.id, storeInfo.storeName)" class="btn btn-xs btn-danger btn-nav"><span class="watch">关注</span></el-button></span>
+                  <span v-if="!isFocus"><button type="text" @click="focus(storeInfo.id, storeInfo.storeName)" class="btn btn-xs btn-danger btn-nav"><span class="watch">关注</span></button></span>
                   <span v-if="isFocus" ><button class="btn btn-xs btn-default btn-nav" style="width:50px"><span>已关注</span></button></span>
                   <span v-if="storeInfo.type == 'ORIGINAL_FACTORY'">&nbsp;<img src="/images/store/icon/icon-factory.png"/></span>
                   <span v-else-if="storeInfo.type == 'AGENCY'">&nbsp;<img src="/images/store/icon/icon-agent.png"/></span>