移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

insuranceProjectList.vue 4.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <template>
  2. <div class="home_wrapper">
  3. <!-- 头部开始 -->
  4. <div class="header">
  5. <div class="header_left" @click="onClickLeft">
  6. <img src="../../../../static/images/agriculturalTrusteeship/return.png">
  7. <p>张三服务合作社</p>
  8. </div>
  9. </div>
  10. <!-- 头部结束 -->
  11. <!-- 内容开始 -->
  12. <div class="main">
  13. <div class="search">
  14. <img src="../../../../static/images/agriculturalTrusteeship/index/search_icon_01.png" />
  15. <input type="text" placeholder="输入需求进行搜索" />
  16. <img src="../../../../static/images/agriculturalTrusteeship/index/search_icon_02.png" />
  17. </div>
  18. <van-list
  19. v-model="loading"
  20. :finished="finished"
  21. finished-text="没有更多了"
  22. >
  23. <!-- @load="onLoad"-->
  24. <div class="main_content_right_list" v-for="item in 10" :key="item" @click="$router.push({name:'agriculturalTrusteeshipInsuranceProjectDetail'})">
  25. <img src="../../../../static/images/agriculturalTrusteeship/index/test.png">
  26. <div class="main_content_right_list_content">
  27. <p class="tt">如果只有一行就空着啊啊啊啊啊啊啊啊啊啊啊啊</p>
  28. <!-- <div class="tab">-->
  29. <!-- <p>¥<span>66</span>.00/亩</p>-->
  30. <!-- <p><span>销 600</span><span>分 4.7</span></p>-->
  31. <!-- </div>-->
  32. <p class="name">健康保险</p>
  33. </div>
  34. </div>
  35. </van-list>
  36. </div>
  37. <!-- 内容结束 -->
  38. </div>
  39. </template>
  40. <script>
  41. import Cookies from "js-cookie";
  42. export default {
  43. name: "agriculturalTrusteeshipInsuranceList",
  44. data() {
  45. return {
  46. activeKey: 0,
  47. active: 0,
  48. loading: false,
  49. finished: false,
  50. };
  51. },
  52. created() {
  53. },
  54. methods: {
  55. },
  56. }
  57. </script>
  58. <style scoped lang="scss">
  59. .home_wrapper{
  60. background: url("../../../../static/images/agriculturalTrusteeship/insurance/insurance_list_head.png") no-repeat;
  61. }
  62. /*头部*/
  63. .header{
  64. display: flex;
  65. align-items: center;
  66. justify-content: space-between;
  67. padding: 2vh 4% 2vh;
  68. .header_left{
  69. display: flex;
  70. align-items: center;
  71. p{
  72. font-size: .4rem;
  73. color: #ffffff;
  74. line-height: 1;
  75. margin-left: 10PX;
  76. }
  77. }
  78. .header_right{
  79. font-size: .35rem;
  80. background: #ffffff url("../../../../static/images/agriculturalTrusteeship/address.png") no-repeat 10PX center;
  81. padding: 2PX 15PX 2PX 25PX;
  82. border-radius: 50PX;
  83. }
  84. }
  85. /* 内容 */
  86. .main{
  87. background: #ffffff;
  88. padding-top: 2vh;
  89. border-top-left-radius: 25PX;
  90. border-top-right-radius: 25PX;
  91. /deep/ .van-tabs__nav{
  92. border-top-left-radius: 25PX;
  93. border-top-right-radius: 25PX;
  94. overflow: hidden;
  95. }
  96. /deep/ .van-tabs__line{
  97. background: #334281!important;
  98. }
  99. /deep/ .van-tab--active{
  100. color: #334281;
  101. }
  102. /deep/ .van-tabs__content{
  103. background: #ffffff;
  104. padding-top: 2vh;
  105. }
  106. .search{
  107. display: flex;
  108. justify-content: space-between;
  109. align-items: center;
  110. width: 92%;
  111. margin: 0PX auto;
  112. border: 1px solid #6E93F3;
  113. padding: 1PX 1PX 1PX 12PX ;
  114. border-radius: 50PX;
  115. input{
  116. flex: 1;
  117. background: transparent;
  118. margin-left: 10PX;
  119. }
  120. }
  121. .main_content_right_list{
  122. display: flex;
  123. margin: 0 auto;
  124. margin-top: 2vh;
  125. width: 92%;
  126. img{
  127. border-radius: 15PX;
  128. margin-right: 4%;
  129. width: 20%;
  130. }
  131. .main_content_right_list_content{
  132. display: flex;
  133. flex-direction:column;
  134. justify-content: space-between;
  135. align-items: start;
  136. .tt{
  137. color: #333333;
  138. font-size: .35rem;
  139. }
  140. .tab{
  141. display: flex;
  142. justify-content: space-between;
  143. p{
  144. &:nth-child(1){
  145. flex: 1;
  146. color: #FF5E00;
  147. span{
  148. font-size: .4rem;
  149. }
  150. }
  151. &:nth-child(2){
  152. flex: 1;
  153. span{
  154. width: 50%;
  155. display: inline-block;
  156. text-align: center;
  157. padding: 2PX 2PX;
  158. &:nth-child(1){
  159. color: #497CE8;
  160. background: #E2E9FD;
  161. border-top-left-radius: 10PX;
  162. }
  163. &:nth-child(2){
  164. color: #ffffff;
  165. background-image: linear-gradient(to right , #5D87FA , #5FD5F5);
  166. border-bottom-right-radius: 10PX;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. .name{
  173. color: #497CE8;
  174. background: #E2E9FD;
  175. padding:2PX 5PX;
  176. border-radius: 5PX;
  177. }
  178. }
  179. }
  180. }
  181. </style>