移动端
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

214 satır
5.2 KiB

  1. <template>
  2. <div>
  3. <div class="box">
  4. <div class="top">
  5. <div class="topone">
  6. <van-icon name="arrow-left" @click="backHistory" class="arrowl" />
  7. <div class="weather">
  8. <span class="sun"></span>
  9. <span class="cleard">晴天</span>
  10. <span class="temperature">20~32℃</span>
  11. </div>
  12. <div class="province">
  13. <span>山东省</span>
  14. <span>烟台市</span>
  15. <span>莱州市</span>
  16. <van-icon name="arrow" class="arrowr" />
  17. </div>
  18. </div>
  19. <div class="search">
  20. <input type="text" class="serch" />
  21. <img
  22. src="../../assets/images/Newbusinessentity/0_03.png"
  23. alt=""
  24. class="serchimgs"
  25. />
  26. </div>
  27. </div>
  28. <div class="footer">
  29. <van-cell @click="showPopup">
  30. <van-tabs v-model="active">
  31. <van-tab title="农户"></van-tab>
  32. <van-tab title="新型经营主体"></van-tab>
  33. <van-tab title="经济人"></van-tab>
  34. <van-tab title="采购商"></van-tab>
  35. </van-tabs>
  36. </van-cell>
  37. <!-- //弹窗内容 -->
  38. <van-popup
  39. v-model="show"
  40. round
  41. position="bottom"
  42. :style="{ height: '80%' }"
  43. >
  44. <div>
  45. <!-- tab -->
  46. <van-tabs v-model="active" id="cc">
  47. <van-tab title="农户"></van-tab>
  48. <van-tab title="新型经营主体"></van-tab>
  49. <van-tab title="经济人"></van-tab>
  50. <van-tab title="采购商"></van-tab>
  51. </van-tabs>
  52. <!-- //搜索栏 -->
  53. <div class="searchtow">
  54. <input type="text" class="serchtow" />
  55. <img
  56. src="../../assets/images/Newbusinessentity/0_03.png"
  57. alt=""
  58. class="serchimgstow"
  59. />
  60. </div>
  61. </div>
  62. <div class="suoyin">
  63. <van-index-bar>
  64. <van-index-anchor index="A" />
  65. <van-cell title="安心超人有限公司" />
  66. <van-cell title="安心超人有限公司" />
  67. <van-cell title="安心超人有限公司" />
  68. <van-index-anchor index="B" />
  69. <van-cell title="百度心超人有限公司" />
  70. <van-cell title="百度心超人有限公司" />
  71. <van-cell title="百度心超人有限公司" />
  72. ...
  73. </van-index-bar>
  74. </div>
  75. </van-popup>
  76. </div>
  77. </div>
  78. </div>
  79. </template>
  80. <script>
  81. export default {
  82. data() {
  83. return {
  84. active: 2,
  85. show: false,
  86. };
  87. },
  88. methods: {
  89. showPopup() {
  90. this.show = true;
  91. },
  92. backHistory() {
  93. this.$router.go(-1);
  94. },
  95. },
  96. };
  97. </script>
  98. <style scoped lang="scss">
  99. span {
  100. display: block;
  101. }
  102. .top {
  103. overflow: hidden;
  104. width: 100%;
  105. height: 19.5rem;
  106. background: url("../../assets/images/Newbusinessentity/56_01.jpg");
  107. .topone {
  108. display: flex;
  109. justify-content: space-around;
  110. margin-top: 0.2rem;
  111. margin-top: 0.9rem;
  112. .weather {
  113. display: flex;
  114. }
  115. .sun {
  116. color: #696969;
  117. width: 0.3rem;
  118. height: 0.3rem;
  119. background: url("../../assets/images/Newbusinessentity/weather_forecast.png");
  120. margin: 0.25rem 0.2rem 0.2rem 0rem;
  121. }
  122. .temperature {
  123. margin: 0.2rem 0.2rem 0.2rem 0rem;
  124. }
  125. .cleard {
  126. margin: 0.2rem 0.2rem 0.2rem 0rem;
  127. }
  128. .province {
  129. display: flex;
  130. width: 3.9rem;
  131. height: 0.8rem;
  132. background: #45c182;
  133. color: #ffffff;
  134. border-radius: 0.3rem;
  135. font-size: 0.34rem;
  136. text-align: center;
  137. line-height: 0.8rem;
  138. .arrowr {
  139. font-size: 0.4rem;
  140. margin: 0.2rem 0 0 0.1rem;
  141. }
  142. span {
  143. height: 0.3rem;
  144. margin-left: 0.1rem;
  145. }
  146. }
  147. .arrowl {
  148. font-size: 0.5rem;
  149. font-weight: bold;
  150. }
  151. }
  152. .search {
  153. position: relative;
  154. height: 0.9rem;
  155. top: 0.5rem;
  156. left: 0.54rem;
  157. }
  158. .serch {
  159. background: white;
  160. width: 9rem;
  161. height: 0.8rem;
  162. border-radius: 5rem;
  163. text-indent: 1rem;
  164. // margin: 0.5rem 0.2rem 0.2rem 0.5rem;
  165. }
  166. .serchimgs {
  167. position: absolute;
  168. left: 0.5rem;
  169. top: 0.2rem;
  170. }
  171. }
  172. .footer {
  173. width: 100%;
  174. height: 2rem;
  175. background: url("../../assets/images/Newbusinessentity/1_02.jpg") no-repeat;
  176. overflow: hidden;
  177. .searchtow {
  178. position: relative;
  179. height: 0.9rem;
  180. left: 0.54rem;
  181. bottom: 1.1rem;
  182. }
  183. .serchtow {
  184. background: white;
  185. width: 9rem;
  186. height: 0.8rem;
  187. border-radius: 5rem;
  188. text-indent: 1rem;
  189. // margin: 0.5rem 0.2rem 0.2rem 0.5rem;
  190. }
  191. .serchimgstow {
  192. position: absolute;
  193. left: 0.5rem;
  194. top: 0.2rem;
  195. z-index: 20003;
  196. }
  197. }
  198. /deep/ .van-cell {
  199. background-color: rgba(110, 190, 125, 0.1) !important;
  200. padding: 0rem 0rem;
  201. }
  202. /deep/ .van-tabs__nav {
  203. background-color: rgba(110, 190, 125, 0.2) !important;
  204. margin-top: 0.3rem;
  205. }
  206. #cc {
  207. background-color: rgba(110, 190, 125, 0.7) !important;
  208. background: url("../../assets/images/Newbusinessentity/1_04_02.jpg") no-repeat;
  209. height: 2.7rem;
  210. }
  211. </style>