expericeStyle.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <template>
  2. <div id="native_level_wrap">
  3. <div class="native_level_box">
  4. <div class="native_level_title_box clearfix" :class="{change_right:styleData.changeRight}">
  5. <div class="native_level_title_left">
  6. <div class="native_level_titleC">
  7. <h2 v-for="(list,index) in styleData.styleTitle" :key="index">{{list}}</h2>
  8. </div>
  9. <div class="native_level_title_desc">
  10. <p v-for="(list,index) in styleData.styleDesc" :key="index">{{list}}</p>
  11. </div>
  12. </div>
  13. <div class="native_level_title_line"></div>
  14. <div class="native_level_title_right">
  15. <p class="native_level_titleE">{{styleData.styleDescEn}}</p>
  16. </div>
  17. </div>
  18. <div class="native_level_show" :class="{change_right:styleData.changeRight}">
  19. <ul>
  20. <li class="native_level_list" v-for="(list,index) in styleData.styleImg" :key="index">
  21. <img :src="list" alt="">
  22. </li>
  23. </ul>
  24. </div>
  25. <div class="natural_style_more" v-if="styleData.styleMore">
  26. <p>更多系列,到店尊享</p>
  27. </div>
  28. </div>
  29. </div>
  30. </template>
  31. <script>
  32. export default {
  33. name: 'expericeStyle',
  34. props: {
  35. styleData: Object
  36. }
  37. }
  38. </script>
  39. <style scoped>
  40. /*Native Level start*/
  41. div#native_level_wrap {
  42. width: 100%;
  43. }
  44. .native_level_box {
  45. overflow: hidden;
  46. width: 1200px;
  47. height: auto;
  48. margin: 0 auto;
  49. padding-top: 150px;
  50. }
  51. .native_level_title_box {
  52. overflow: hidden;
  53. width: 100%;
  54. padding-bottom: 60px;
  55. }
  56. .native_level_title_left {
  57. float: left;
  58. width: 370px;
  59. }
  60. .native_level_title_line {
  61. float: left;
  62. width: 540px;
  63. height: 2px;
  64. margin: 44px 50px 0;
  65. background: #d5d5d8;
  66. }
  67. .native_level_title_right {
  68. float: right;
  69. margin-top: 30px;
  70. color: #858585;
  71. font-size: 14px;
  72. line-height: 20px;
  73. text-align: right;
  74. }
  75. .native_level_title_box.change_right .native_level_title_left {
  76. float: right;
  77. }
  78. .native_level_title_box.change_right .native_level_title_line {
  79. float: right;
  80. }
  81. .native_level_title_box.change_right .native_level_title_right {
  82. float: left;
  83. text-align: left;
  84. }
  85. .native_level_title_box.change_right .native_level_title_desc {
  86. text-align: right;
  87. }
  88. .native_level_titleC {
  89. overflow: hidden;
  90. width: 100%;
  91. }
  92. .native_level_titleC h2 {
  93. font-size: 40px;
  94. font-family: 'Noto Serif CJK SC', 'Source Han Serif SC', 'Source Han Serif', 'source-han-serif-sc','STZhongsong','宋体', 'serif';
  95. font-weight: 900;
  96. color: #22202b;
  97. line-height: 42px;
  98. }
  99. .change_right .native_level_titleC h2 {
  100. text-align: right;
  101. }
  102. .native_level_title_desc {
  103. width: 100%;
  104. height: auto;
  105. padding-top: 18px;
  106. color: #858585;
  107. font-size: 14px;
  108. line-height: 20px;
  109. text-align: left;
  110. }
  111. .native_level_show {
  112. width: 100%;
  113. }
  114. .native_level_show ul {
  115. overflow: hidden;
  116. }
  117. li.native_level_list {
  118. float: left;
  119. overflow: hidden;
  120. width: 445px;
  121. height: 244px;
  122. margin-top: 12px;
  123. margin-left: 12px;
  124. }
  125. .native_level_show.change_right .native_level_list {
  126. float: right;
  127. margin-left: 0;
  128. margin-right: 12px;
  129. }
  130. .native_level_show ul li:first-child {
  131. width: 743px;
  132. height: 756px;
  133. margin-left: 0;
  134. }
  135. .native_level_show.change_right ul li:first-child {
  136. width: 743px;
  137. height: 756px;
  138. margin-right: 0;
  139. }
  140. .natural_style_more {
  141. overflow: hidden;
  142. width: 100%;
  143. height: 150px;
  144. color: #22202b;
  145. font-size: 24px;
  146. font-weight: 700;
  147. line-height: 120px;
  148. text-align: center;
  149. }
  150. /*Native Level end*/
  151. </style>