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

billDetail.vue 9.5 KiB

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