accessory.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <view class="content">
  3. <fxyk-navbar :isSearch="false" title="附件" />
  4. <view class="d-flex a-center flex-wrap content__box">
  5. <view class="content__box__item">
  6. <fxyk-button style="font-size: 21rpx;
  7. line-height: 27rpx;
  8. color: #848484;
  9. margin:0;"
  10. width="104"
  11. height="104"
  12. bgColor="#E5E9ED"
  13. content="添加附件" />
  14. </view>
  15. <view class="content__box__item">
  16. <fxyk-button style="font-size: 21rpx;
  17. line-height: 27rpx;
  18. color: #848484;
  19. margin:0;"
  20. width="104"
  21. height="104"
  22. bgColor="#E5E9ED"
  23. content="添加附件" />
  24. </view>
  25. <view class="content__box__item">
  26. <fxyk-button style="font-size: 21rpx;
  27. line-height: 27rpx;
  28. color: #848484;
  29. margin:0;"
  30. width="104"
  31. height="104"
  32. bgColor="#E5E9ED"
  33. content="添加附件" />
  34. </view>
  35. </view>
  36. <fxyk-button content="确认" width="238"/>
  37. </view>
  38. </template>
  39. <script>
  40. </script>
  41. <style lang="scss" scoped>
  42. page {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. .content {
  47. width: 100%;
  48. height: 100%;
  49. min-height: 100vh;
  50. background-color: $yk-bg-color;
  51. &__box {
  52. margin-top:77rpx;
  53. padding: 0 35rpx;
  54. &__item {
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. width:313rpx;
  59. height: 229rpx;
  60. border: 1rpx solid #D6D3D6;
  61. background-color: #fff;
  62. box-sizing: border-box;
  63. margin-bottom: 25rpx;
  64. }
  65. :nth-child(odd){
  66. margin-right: 50rpx;
  67. }
  68. }
  69. }
  70. </style>