homepage.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <template>
  2. <view class="content">
  3. <view class="headbgbox">
  4. <view class="statues_bar"></view>
  5. <view class="msgtitle"><text>主页</text></view>
  6. <view class="topmsgbox">
  7. <view class="topmsgzuo">
  8. <view class="myheadbox">
  9. <image src="../../static/img/foricon.png" mode="aspectFill"></image>
  10. </view>
  11. <view class="flex3 userbox">
  12. <text class="call">上午好,</text>
  13. <text class="callname">王亚楠</text>
  14. </view>
  15. </view>
  16. <view class="topmsgyou">
  17. <u-icon name="arrow-right" bold="true"></u-icon>
  18. </view>
  19. </view>
  20. <view class="searchbox">
  21. <u-icon name="search" bold="true" size="25" color="rgb(246,185,78)"></u-icon>
  22. <input type="text" v-model="keywords" placeholder="请输入关键字搜索" placeholder-style="color:#BBBCBE"/>
  23. </view>
  24. </view>
  25. <view class="cardlist">
  26. <view class="card">
  27. <view class="passreview">
  28. <image src="../../static/img/reviewed.png" mode="aspectFill"></image>
  29. </view>
  30. <view class="timebox"><text>2022.06.25 08:10</text></view>
  31. <view class="innerbox">
  32. <view class="listicon">
  33. <image src="/static/img/listticon.png" mode="aspectFill"></image>
  34. </view>
  35. <text class="cardtitle">财享金融互联网公司</text>
  36. </view>
  37. <view class="contractmsg flex5">
  38. <text>合同编号:HTABC2022020450775A72</text>
  39. <text style="padding-top: 10rpx;">汇票状态:已上传</text>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="upcontract">
  44. 上传合同
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. keywords:''
  53. }
  54. },
  55. onLoad() {
  56. },
  57. methods: {
  58. }
  59. }
  60. </script>
  61. <style lang="scss">
  62. page{
  63. background-color: #F6F6F6 !important;
  64. }
  65. .headbgbox{
  66. background: url("https://t39.9026.com/web/uploads/thumbs/mall10000/20220629/35560a89a9d9da3e6843204476f7a8f8.png") no-repeat;
  67. background-size: 100%;
  68. .msgtitle{
  69. text-align: center;
  70. padding-top: 50rpx;
  71. }
  72. .topmsgbox{
  73. padding: 25rpx 32rpx;
  74. padding-bottom: 50rpx;
  75. display: flex;
  76. align-items: center;
  77. justify-content: space-between;
  78. .call{
  79. font-size: 28rpx;
  80. color: #68625B;
  81. }
  82. .callname{
  83. color: #1F242A;
  84. font-size: 36rpx;
  85. font-weight: 600;
  86. }
  87. .topmsgzuo{
  88. display: flex;
  89. align-items: center;
  90. .userbox{
  91. padding-left: 15rpx;
  92. }
  93. .myheadbox{
  94. width: 130rpx;
  95. height: 130rpx;
  96. border-radius: 50%;
  97. overflow: hidden;
  98. border: 6rpx solid #fff;
  99. image{
  100. width: 100%;
  101. height: 100%;
  102. }
  103. }
  104. }
  105. }
  106. }
  107. .searchbox{
  108. padding-left: 85rpx;
  109. box-sizing: border-box;
  110. background-color: #ECECEC;
  111. border-radius: 38rpx;
  112. width: 688rpx;
  113. height: 75rpx;
  114. margin: 0 auto;
  115. display: flex;
  116. align-items: center;
  117. justify-content: center;
  118. margin-top: -10rpx;
  119. }
  120. .cardlist{
  121. display: flex;
  122. justify-content: center;
  123. // align-items: center;
  124. flex-direction: column;
  125. margin-top: 20rpx;
  126. // height: 255rpx;
  127. }
  128. .card{
  129. margin: 0 auto;
  130. overflow: hidden;
  131. margin-top: 20rpx;
  132. width: 690rpx;
  133. height: 315rpx;
  134. border-radius: 20rpx;
  135. background-color: #fff;
  136. position: relative;
  137. box-shadow: 0px 8rpx 20rpx 1rpx rgba(31, 36, 42, 0.08);
  138. .passreview{
  139. position: absolute;
  140. right: 30rpx;
  141. top:30rpx;
  142. width: 141rpx;
  143. height: 123.5rpx;
  144. image{
  145. width: 100%;
  146. height: 100%;
  147. }
  148. }
  149. .innerbox{
  150. padding: 49rpx 0rpx;
  151. padding-bottom: 30rpx;
  152. margin:0 30rpx;
  153. display: flex;
  154. align-items: center;
  155. border-bottom: 1rpx solid #E8E8E8;
  156. .listicon{
  157. width: 32rpx;
  158. height: 36rpx;
  159. image{
  160. width: 100%;
  161. height: 100%;
  162. }
  163. }
  164. }
  165. .cardtitle{
  166. font-size: 32rpx;
  167. font-weight: 600;
  168. padding-left: 10rpx;
  169. }
  170. .timebox{
  171. background-color: #FFF8E5;
  172. width: 100%;
  173. padding: 0 30rpx;
  174. box-sizing: border-box;
  175. color: #D8AB5A;
  176. font-size: 28rpx;
  177. height: 60rpx;
  178. line-height: 60rpx;
  179. }
  180. .contractmsg{
  181. padding: 30rpx;
  182. box-sizing: border-box;
  183. color: #68625B;
  184. font-size: 26rpx;
  185. }
  186. }
  187. .upcontract{
  188. position: fixed;
  189. left:0;
  190. right: 0;
  191. margin: 0 auto;
  192. bottom: 60rpx;
  193. width: 314rpx;
  194. height: 84rpx;
  195. line-height: 84rpx;
  196. color: #412900;
  197. text-align: center;
  198. border-radius: 43rpx;
  199. font-size: 30rpx;
  200. background: linear-gradient(to right,#FFE1AD,#D8AB5A);
  201. }
  202. </style>