移动端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

404 行
11 KiB

  1. <template>
  2. <div class="home_wrapper">
  3. <!-- 头部开始 -->
  4. <div class="header">
  5. <div class="search">
  6. <img src="../../../../static/images/agriculturalTrusteeship/index/search_icon_01.png" />
  7. <input type="text" placeholder="输入需求进行搜索" />
  8. <img src="../../../../static/images/agriculturalTrusteeship/index/search_icon_02.png" />
  9. </div>
  10. <!-- <img src="../../../../static/images/agriculturalTrusteeship/socialization/socialization_icon_01.png" alt="" @click="show = true;">-->
  11. </div>
  12. <!-- 头部结束 -->
  13. <!-- 导航开始 -->
  14. <div class="nav">
  15. <div class="date">
  16. <p>2021年11月</p>
  17. <span>-</span>
  18. <p>2021年11月</p>
  19. </div>
  20. <div class="nav_list">
  21. <p class="active">全部</p>
  22. <p>已接单</p>
  23. <p>已接单</p>
  24. <p>已接单</p>
  25. <p>已接单</p>
  26. </div>
  27. </div>
  28. <!-- 导航结束 -->
  29. <!-- 内容开始 -->
  30. <div class="main">
  31. <van-list
  32. v-model="loading"
  33. :finished="finished"
  34. finished-text="没有更多了"
  35. >
  36. <!-- @load="onLoad" v-for="item in 10" :key="item"-->
  37. <div class="main_content_right_list">
  38. <div class="main_content_right_list_header">
  39. <p>灌溉</p>
  40. <p>服务</p>
  41. <p class="on">点击评分</p>
  42. </div>
  43. <div class="main_content_right_list_center" @click="$router.push({name:'agriculturalTrusteeshipBillDetail2'})">
  44. <img src="../../../../static/images/agriculturalTrusteeship/index/test.png">
  45. <div class="main_content_right_list_content">
  46. <p class="tt">如果只有一行就空着啊啊啊啊啊啊啊啊啊啊啊啊</p>
  47. <div class="tab">
  48. <p>¥<span>165,836,365</span>.00</p>
  49. </div>
  50. <p class="name">
  51. <span>数量:300</span>
  52. <span>作物:玉米</span>
  53. </p>
  54. </div>
  55. </div>
  56. <van-cell title="买方名称" :border="false" value="张三李四联合合作社" />
  57. <van-cell title="联系人" :border="false" value="林晓春" />
  58. <van-cell title="联系电话" :border="false" value="165 8874 0311" />
  59. </div>
  60. <div class="main_content_right_list">
  61. <div class="main_content_right_list_header">
  62. <p>灌溉</p>
  63. <p>服务</p>
  64. <p class="on">已评分</p>
  65. </div>
  66. <div class="main_content_right_list_center" @click="$router.push({name:'agriculturalTrusteeshipBillDetail3'})">
  67. <img src="../../../../static/images/agriculturalTrusteeship/index/test.png">
  68. <div class="main_content_right_list_content">
  69. <p class="tt">如果只有一行就空着啊啊啊啊啊啊啊啊啊啊啊啊</p>
  70. <div class="tab">
  71. <p>¥<span>165,836,365</span>.00</p>
  72. </div>
  73. <p class="name">
  74. <span>数量:300</span>
  75. <span>作物:玉米</span>
  76. </p>
  77. </div>
  78. </div>
  79. <van-cell title="买方名称" :border="false" value="张三李四联合合作社" />
  80. <van-cell title="联系人" :border="false" value="林晓春" />
  81. <van-cell title="联系电话" :border="false" value="165 8874 0311" />
  82. </div>
  83. <div class="main_content_right_list">
  84. <div class="main_content_right_list_header">
  85. <p>灌溉</p>
  86. <p>服务</p>
  87. <p class="off">已拒单</p>
  88. </div>
  89. <div class="main_content_right_list_center" @click="$router.push({name:'agriculturalTrusteeshipBillDetail4'})">
  90. <img src="../../../../static/images/agriculturalTrusteeship/index/test.png">
  91. <div class="main_content_right_list_content">
  92. <p class="tt">如果只有一行就空着啊啊啊啊啊啊啊啊啊啊啊啊</p>
  93. <div class="tab">
  94. <p>¥<span>165,836,365</span>.00</p>
  95. </div>
  96. <p class="name">
  97. <span>数量:300</span>
  98. <span>作物:玉米</span>
  99. </p>
  100. </div>
  101. </div>
  102. <van-cell title="买方名称" :border="false" value="张三李四联合合作社" />
  103. <van-cell title="联系人" :border="false" value="林晓春" />
  104. <van-cell title="联系电话" :border="false" value="165 8874 0311" />
  105. </div>
  106. </van-list>
  107. </div>
  108. <!-- 内容结束 -->
  109. <buyer></buyer>
  110. </div>
  111. </template>
  112. <script>
  113. import Cookies from "js-cookie";
  114. import buyer from "@/components/common/buyer_footer";
  115. export default {
  116. name: "agriculturalTrusteeshipIndex",
  117. components: {
  118. buyer,
  119. },
  120. data() {
  121. return {
  122. activeKey: 0,
  123. active: 0,
  124. loading: false,
  125. finished: false,
  126. show:true,
  127. activeNames:[],
  128. showDialog:false
  129. };
  130. },
  131. created() {
  132. },
  133. methods: {
  134. },
  135. }
  136. </script>
  137. <style scoped lang="scss">
  138. .home_wrapper{
  139. background: #F9F9F9;
  140. }
  141. /*头部*/
  142. .header{
  143. display: flex;
  144. align-items: center;
  145. justify-content: space-between;
  146. padding: 2vh 4% 0vh;
  147. }
  148. .search{
  149. display: flex;
  150. justify-content: space-between;
  151. align-items: center;
  152. border: 1px solid #6E93F3;
  153. padding: 1PX 1PX 1PX 12PX ;
  154. border-radius: 50PX;
  155. /*margin-right: 30PX;*/
  156. flex: 1;
  157. input{
  158. flex: 1;
  159. background: transparent;
  160. margin-left: 10PX;
  161. }
  162. }
  163. /*导航栏目*/
  164. .nav{
  165. width: 94%;
  166. margin: 0 auto;
  167. padding: 2vh 0 0;
  168. /*background: #ffffff;*/
  169. /*border-radius: 10PX;*/
  170. /*box-shadow: 0px 3PX 6PX 0px rgba(0,0,0,0.16);*/
  171. .date{
  172. display: flex;
  173. justify-content: space-around;
  174. align-items: center;
  175. p{
  176. border-radius: 1rem;
  177. padding: 5PX 0PX 5PX 5%;
  178. width: 40%;
  179. text-align: center;
  180. color: #334281;
  181. box-shadow: 0px 3PX 6PX 0px rgba(0,0,0,0.16);
  182. background:#D6D9E6 url("../../../../static/images/agriculturalTrusteeship/socialization/socialization_icon_date.png") 20% center no-repeat;
  183. }
  184. }
  185. .nav_list{
  186. display: flex;
  187. justify-content: space-between;
  188. align-items: center;
  189. margin-top: 2vh;
  190. p{
  191. background: #F0F0F0;
  192. padding: 7PX 0;
  193. width: 18%;
  194. text-align: center;
  195. color: #888888;
  196. border-radius: 7PX;
  197. &.active{
  198. background: #E2E9FD;
  199. color: #1B5DEA;
  200. }
  201. }
  202. }
  203. }
  204. /*内容*/
  205. .main{
  206. width: 94%;
  207. margin: 0 auto;
  208. .main_content_right_list{
  209. margin-top: 2vh;
  210. padding: 1.5vh 3%;
  211. background: #ffffff;
  212. border-radius: 10PX;
  213. box-shadow: 0px 3PX 6PX 0px rgba(0,0,0,0.16);
  214. /deep/ .van-cell{
  215. padding: 0;
  216. margin-top: 8PX;
  217. }
  218. .main_content_right_list_header{
  219. display: flex;
  220. margin-bottom: 1vh;
  221. align-items: center;
  222. p{
  223. padding: 3PX 10PX;
  224. border-radius: 8PX;
  225. &:nth-child(1){background: #2B7EEC;color: #ffffff;}
  226. &:nth-child(2){background: #E2E9FD;color: #497CE8;margin-left: 10PX;}
  227. }
  228. .on{
  229. color: #39BD18;
  230. border-radius: initial;
  231. margin-left: auto;
  232. padding:0 0 0 20PX;
  233. background: url("../../../../static/images/agriculturalTrusteeship/socialization/socialization_icon_on.png") no-repeat left center
  234. }
  235. .off{
  236. color: #E60505;
  237. border-radius: initial;
  238. margin-left: auto;
  239. padding:0 0 0 20PX;
  240. background: url("../../../../static/images/agriculturalTrusteeship/socialization/socialization_icon_off.png") no-repeat left center
  241. }
  242. }
  243. .main_content_right_list_center{
  244. display: flex;
  245. img{
  246. border-radius: 15PX;
  247. margin-right: 4%;
  248. }
  249. .main_content_right_list_content{
  250. display: flex;
  251. flex-direction:column;
  252. justify-content: space-between;
  253. .tt{
  254. color: #333333;
  255. font-size: .35rem;
  256. }
  257. .tab{
  258. display: flex;
  259. justify-content: space-between;
  260. p{
  261. &:nth-child(1){
  262. flex: 1;
  263. color: #FF5E00;
  264. span{
  265. font-size: .4rem;
  266. }
  267. }
  268. &:nth-child(2){
  269. span{
  270. display: inline-block;
  271. text-align: center;
  272. padding: 2PX 5PX;
  273. &:nth-child(1){
  274. color: #497CE8;
  275. background: #E2E9FD;
  276. border-top-left-radius: 10PX;
  277. }
  278. &:nth-child(2){
  279. color: #ffffff;
  280. background-image: linear-gradient(to right , #5D87FA , #5FD5F5);
  281. border-bottom-right-radius: 10PX;
  282. }
  283. }
  284. }
  285. }
  286. }
  287. .name{
  288. color: #7A7A7A;
  289. span{
  290. &:nth-child(2){
  291. margin-left: 5PX;
  292. }
  293. }
  294. }
  295. }
  296. }
  297. }
  298. }
  299. /*弹出层*/
  300. .popup_header{
  301. display: flex;
  302. align-items: center;
  303. color: #334281;
  304. font-size: .38rem;
  305. margin-bottom: 15PX;
  306. img{
  307. margin-right: 10PX;
  308. display: block;
  309. }
  310. p{
  311. line-height: 1;
  312. }
  313. }
  314. .popup_content{
  315. .selected{
  316. .on{
  317. font-size: .35rem;
  318. padding: 10PX 20PX;
  319. color: #334281;
  320. background: url("../../../../static/images/agriculturalTrusteeship/socialization/down.png")left center no-repeat;
  321. }
  322. .off{
  323. font-size: .35rem;
  324. padding: 10PX 20PX;
  325. color: #334281;
  326. background: url("../../../../static/images/agriculturalTrusteeship/socialization/right.png")left center no-repeat;
  327. }
  328. .options{
  329. display: flex;
  330. justify-content: space-between;
  331. flex-wrap: wrap;
  332. p{
  333. background: #F5F5F5;
  334. color: #8F8F8F;
  335. width: 30%;
  336. padding: 5PX 0;
  337. border-radius: 5PX;
  338. text-align: center;
  339. &.active{
  340. background: #E2E9FD;
  341. color: #1B5DEA;
  342. }
  343. }
  344. }
  345. }
  346. }
  347. .popup_date{
  348. display: flex;
  349. justify-content: space-around;
  350. align-items: center;
  351. p{
  352. border-radius: 1rem;
  353. padding: 5PX 0PX 5PX 5%;
  354. width: 45%;
  355. text-align: center;
  356. color: #1B5DEA;
  357. background:#E2E9FD url("../../../../static/images/agriculturalTrusteeship/socialization/socialization_icon_date.png") 15% center no-repeat;
  358. }
  359. }
  360. .popup_btn{
  361. position: fixed;
  362. bottom: 5vh;
  363. display: flex;
  364. align-items: center;
  365. justify-content: space-between;
  366. width: 94%;
  367. left: 3%;
  368. p{
  369. width: 30%;
  370. padding: 7PX 0;
  371. border-radius: 5rem;
  372. text-align: center;
  373. font-size: .35rem;
  374. box-shadow: 0px 3PX 6PX 0px rgba(0,0,0,0.16);
  375. &:nth-child(1){
  376. background: #1B5DEA;
  377. color: #ffffff;
  378. }
  379. &:nth-child(2){
  380. border: 1PX solid #1B5DEA;
  381. color: #1B5DEA;
  382. }
  383. &:nth-child(3){
  384. background-image: linear-gradient(to right , #6E93F3 , #54C6E4);
  385. color: #ffffff;
  386. }
  387. }
  388. }
  389. </style>