移动端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

443 líneas
11 KiB

  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="main_content_right_list">
  14. <div class="main_tit">
  15. <i></i>
  16. <p>家家加加加加加加加就爱简爱家合作社</p>
  17. </div>
  18. <p class="main_content">村口需要水牛石头诚招水牛贷款联系电话165822本人人品优良绝不拖欠还款。</p>
  19. <div class="main_money">
  20. <p><span>需求金额</span><span>¥</span>512,000.00</p>
  21. </div>
  22. <van-divider />
  23. <van-field
  24. readonly
  25. label="负责人"
  26. input-align="right"
  27. :border="false"
  28. placeholder="负责人"
  29. />
  30. <van-field
  31. readonly
  32. label="联系方式"
  33. input-align="right"
  34. :border="false"
  35. placeholder="联系方式"
  36. />
  37. <van-field
  38. readonly
  39. label="地址"
  40. input-align="right"
  41. :border="false"
  42. placeholder="地址"
  43. />
  44. </div>
  45. <div class="main_content_right_list2" v-for="(item,index) in 5" :key="index" @click="$router.push({name:'agriculturalTrusteeshipShopNeedsList'})">
  46. <div class="main_tit">
  47. <p>家家加加加加加加加就爱简爱家合作社</p>
  48. <span>(1/10)</span>
  49. </div>
  50. <div class="main_content">
  51. <p>玉米</p>
  52. <p>32022亩</p>
  53. </div>
  54. <div class="main_money">
  55. <p><i></i>丰田村</p>
  56. <p><i></i>2023.03.15-2024.09.15</p>
  57. </div>
  58. </div>
  59. </div>
  60. <!-- 内容结束 -->
  61. </div>
  62. </template>
  63. <script>
  64. import Cookies from "js-cookie";
  65. import {productList, productOut, productIn, serviceGet, treeselect} from "@/api/agriculturalTrusteeship";
  66. export default {
  67. name: "shopOrganizationDetail",
  68. data() {
  69. return {
  70. };
  71. },
  72. created() {
  73. },
  74. methods: {
  75. },
  76. }
  77. </script>
  78. <style scoped lang="scss">
  79. .home_wrapper{
  80. background: #f9f9f9;
  81. height: 100vh;
  82. overflow: hidden;
  83. }
  84. /*头部*/
  85. .header{
  86. display: flex;
  87. align-items: center;
  88. justify-content: space-between;
  89. background-image: linear-gradient(to right , #6E93F3 , #7E89E9 , #54C6E4);
  90. padding: 2vh 4% 2vh;
  91. .header_left{
  92. display: flex;
  93. align-items: center;
  94. p{
  95. font-size: .4rem;
  96. color: #ffffff;
  97. line-height: 1;
  98. margin-left: 10PX;
  99. }
  100. }
  101. .header_right{
  102. font-size: .35rem;
  103. background: #334281;
  104. padding: 2PX 10PX;
  105. border-radius: 50PX;
  106. /deep/ .van-checkbox__icon--checked .van-icon{
  107. color: #334281;
  108. }
  109. /deep/ .van-checkbox__label{
  110. color: #ffffff;
  111. }
  112. /deep/ .van-checkbox__icon .van-icon{
  113. width: .9em;
  114. height: .9em;
  115. line-height: .9em;
  116. }
  117. /deep/ .van-icon-success::before{
  118. width: .9em;
  119. height: .9em;
  120. }
  121. /deep/ .van-checkbox__icon{
  122. height: auto;
  123. }
  124. }
  125. }
  126. .main_btn{
  127. display: flex;
  128. background: #ffffff;
  129. border-top-left-radius: 25PX;
  130. border-top-right-radius: 25PX;
  131. overflow: hidden;
  132. padding: 4vw 4% 0;
  133. justify-content: space-between;
  134. .btn_box_01{
  135. width: 48%;
  136. display: flex;
  137. justify-content: center;
  138. align-items: center;
  139. border: 1Px dashed #4E7FFF;
  140. color: #4E7FFF;
  141. font-size: .35rem;
  142. line-height: 15vw;
  143. border-radius: 10Px;
  144. p:first-child{
  145. font-weight: bold;
  146. margin-right: 5PX;
  147. }
  148. }
  149. .btn_box_02{
  150. width: 48%;
  151. display: flex;
  152. justify-content: center;
  153. align-items: center;
  154. background: rgba(78,127,255,0.17);
  155. color: #1E49BB;
  156. font-size: .35rem;
  157. line-height: 15vw;
  158. border-radius: 10Px;
  159. p{
  160. margin-left: 5PX;
  161. }
  162. }
  163. }
  164. .serviceName{
  165. display: flex;
  166. align-items: center;
  167. justify-content: space-between;
  168. span{
  169. background: #E8E8E8;
  170. padding: 0 8PX;
  171. border-radius: 5PX;
  172. color: #7A7A7A;
  173. margin-right: 5PX;
  174. }
  175. .active{
  176. background-image: linear-gradient(to right , #6E93F3 , #7E89E9 , #54C6E4);
  177. color: #ffffff;
  178. }
  179. }
  180. .nav{
  181. background-image: linear-gradient(to right , #6E93F3 , #7E89E9 , #54C6E4);
  182. padding-bottom: 15PX;
  183. .tt{
  184. font-size: .45rem;
  185. color: #334281;
  186. }
  187. .content{
  188. background: #ffffff;
  189. width: 92%;
  190. margin: 0 auto;
  191. box-shadow: 0px 0px 10PX rgba(0,0,0,0.1);
  192. border-radius: 25PX;
  193. padding: 1.5vh 4%;
  194. }
  195. /deep/ .van-cell{
  196. padding: 0;
  197. margin-bottom: 10PX;
  198. &:last-child{
  199. margin: 0;
  200. }
  201. }
  202. }
  203. /* 内容 */
  204. .main{
  205. background-image: linear-gradient(to right , #6E93F3 , #7E89E9 , #54C6E4);
  206. background-size: 100% 20PX;
  207. background-repeat: no-repeat;
  208. /deep/ .van-tabs__nav{
  209. border-top-left-radius: 25PX;
  210. border-top-right-radius: 25PX;
  211. overflow: hidden;
  212. background: #f9f9f9;
  213. }
  214. /deep/ .van-tabs__line{
  215. background: #334281!important;
  216. }
  217. /deep/ .van-tab--active{
  218. color: #334281;
  219. }
  220. /deep/ .van-tabs__content{
  221. background: #f9f9f9;
  222. padding-top: 2vh;
  223. }
  224. .search{
  225. display: flex;
  226. justify-content: space-between;
  227. align-items: center;
  228. width: 92%;
  229. margin: 0PX auto;
  230. border: 1px solid #6E93F3;
  231. padding: 1PX 1PX 1PX 12PX ;
  232. border-radius: 50PX;
  233. input{
  234. flex: 1;
  235. background: transparent;
  236. margin-left: 10PX;
  237. }
  238. }
  239. .content{
  240. width: 92%;
  241. margin: 0 auto;
  242. margin-top: 2vh;
  243. .content_tt{
  244. font-size: .35rem;
  245. }
  246. .content_con{
  247. display: flex;
  248. justify-content: space-between;
  249. margin-top: 1.5vh;
  250. .content_con_left{
  251. display: flex;
  252. flex-direction:column;
  253. justify-content: space-between;
  254. p{
  255. font-size: .35rem;
  256. padding-left: 18PX;
  257. &:nth-child(1){
  258. background: url("../../../../static/images/agriculturalTrusteeship/insurance/insurance_list_project.png") no-repeat left center;
  259. }
  260. &:nth-child(2){
  261. background: url("../../../../static/images/agriculturalTrusteeship/insurance/insurance_list_name.png") no-repeat left center;
  262. }
  263. &:nth-child(3){
  264. background: url("../../../../static/images/agriculturalTrusteeship/insurance/insurance_list_iphone.png") no-repeat left center;
  265. }
  266. }
  267. }
  268. .content_con_right{
  269. display: flex;
  270. justify-content: end;
  271. align-items: center;
  272. img{
  273. border-radius: 10PX;
  274. width: 40%;
  275. margin-left: 5%;
  276. box-shadow: 0px 5PX 10PX rgba(0,0,0,0.2);
  277. &:last-child{
  278. width: auto;
  279. box-shadow: none;
  280. }
  281. }
  282. }
  283. }
  284. }
  285. .main_content_right_list{
  286. margin: 0 auto;
  287. margin-bottom: 2vh;
  288. width: 92%;
  289. background: #ffffff;
  290. padding: 15PX 3%;
  291. border-radius: 10Px;
  292. box-shadow: 0px 5PX 10PX rgba(0,0,0,0.1);
  293. text-align: center;
  294. /deep/ .van-cell{
  295. padding: 0;
  296. margin-bottom: 10PX;
  297. &:last-child{
  298. margin: 0;
  299. }
  300. }
  301. .main_content{
  302. font-size: .35rem;
  303. line-height: .7rem;
  304. margin-top: 10PX;
  305. text-align: left;
  306. }
  307. .main_tit{
  308. color: #4E7FFF;
  309. font-size: .38rem;
  310. display: flex;
  311. align-items: center;
  312. i{
  313. display: block;
  314. width: 16PX;
  315. height: 16PX;
  316. margin-right: 5PX;
  317. flex-shrink: 0;
  318. background: url("../../../../static/images/agriculturalTrusteeship/insurance/shop_needs_icon01.png");
  319. }
  320. p{
  321. display: -webkit-box;
  322. -webkit-box-orient: vertical;
  323. -webkit-line-clamp: 1;
  324. word-break: break-all;
  325. overflow: hidden;
  326. }
  327. span{
  328. font-size: .3rem;
  329. color: #8B8B8B;
  330. flex-shrink: 0;
  331. }
  332. }
  333. .main_money{
  334. background: rgba(255,94,0,0.15);
  335. display: inline-block;
  336. padding: 5PX 15PX;
  337. border-radius: 8PX;
  338. margin: 10PX auto;
  339. p{
  340. &:nth-child(1){
  341. color: #FF5E00;
  342. font-size: .4rem;
  343. span{
  344. font-size: .3rem;
  345. }
  346. }
  347. &:nth-child(2){
  348. color: #8B8B8B;
  349. font-size: .35rem;
  350. }
  351. }
  352. span:nth-child(1){
  353. margin-right: 5PX;
  354. }
  355. }
  356. }
  357. .main_content_right_list2{
  358. margin: 0 auto;
  359. margin-bottom: 2vh;
  360. width: 92%;
  361. background: #ffffff;
  362. padding: 15PX 3%;
  363. border-radius: 10Px;
  364. box-shadow: 0px 5PX 10PX rgba(0,0,0,0.1);
  365. .main_tit{
  366. font-size: .38rem;
  367. display: flex;
  368. align-items: center;
  369. justify-content: space-between;
  370. p{
  371. display: -webkit-box;
  372. -webkit-box-orient: vertical;
  373. -webkit-line-clamp: 1;
  374. word-break: break-all;
  375. overflow: hidden;
  376. }
  377. span{
  378. font-size: .3rem;
  379. color: #8B8B8B;
  380. flex-shrink: 0;
  381. }
  382. }
  383. .main_money{
  384. display: flex;
  385. justify-content: space-between;
  386. margin-top: 10PX;
  387. p{
  388. font-size: .35rem;
  389. color: #8B8B8B;
  390. display: flex;
  391. align-items: center;
  392. &:nth-child(1){
  393. i{
  394. display: inline-block;
  395. width: 11PX;
  396. height: 13Px;
  397. margin-right: 2PX;
  398. background: url("../../../../static/images/agriculturalTrusteeship/insurance/shop_needs_icon02.png");
  399. }
  400. }
  401. &:nth-child(2){
  402. i{
  403. display: inline-block;
  404. width: 13PX;
  405. height: 13Px;
  406. margin-right: 2PX;
  407. background: url("../../../../static/images/agriculturalTrusteeship/insurance/shop_needs_icon03.png");
  408. }
  409. }
  410. }
  411. }
  412. .main_content{
  413. font-size: .35rem;
  414. line-height: .6rem;
  415. margin-top: 10PX;
  416. display: flex;
  417. justify-content: space-between;
  418. p{
  419. color: #4E7FFF;
  420. &:nth-child(1){
  421. background: rgba(78,127,255,0.13);
  422. padding: 0 15PX;
  423. border-radius: 5PX;
  424. }
  425. }
  426. }
  427. }
  428. }
  429. </style>