Browse Source

店铺搜索页关注模态框样式

yangc 8 years ago
parent
commit
2f41584d33
2 changed files with 9 additions and 5 deletions
  1. 1 4
      components/searchStore/StoreContent.vue
  2. 8 1
      pages/searchStore/_keyword.vue

+ 1 - 4
components/searchStore/StoreContent.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-  <div>
+  <div id="search-store-content">
   <ul class="store-list" v-if="storeData.content && storeData.content.length > 0">
   <ul class="store-list" v-if="storeData.content && storeData.content.length > 0">
     <li v-for="(store, index) in storeData.content">
     <li v-for="(store, index) in storeData.content">
       <div class="store-content-left">
       <div class="store-content-left">
@@ -308,9 +308,6 @@
     color: #008B00;
     color: #008B00;
     margin-top: 0;
     margin-top: 0;
   }
   }
-  .el-dialog__body{
-    padding: 20px !important;
-  }
   .focus button.focus-btn a{
   .focus button.focus-btn a{
     color: #fff;
     color: #fff;
   }
   }

+ 8 - 1
pages/searchStore/_keyword.vue

@@ -37,4 +37,11 @@
     }
     }
   }
   }
 </script>
 </script>
-
+<style>
+  #search-store-content .el-dialog--tiny{
+    width: 320px !important;
+  }
+  #search-store-content .el-dialog__body{
+    padding: 12px !important;
+  }
+</style>