upReport.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <template>
  2. <view class="upReport">
  3. <!-- 导航栏 -->
  4. <navigationBar title="一键上报">
  5. <template #operate>
  6. <view class="location">
  7. <u-icon name="map-fill" color="#000" size="32"></u-icon>
  8. {{location}}
  9. </view>
  10. </template>
  11. </navigationBar>
  12. <view class="main">
  13. <view class="scroll-view-item">
  14. <view class="list">
  15. <text class="name">公路名称:</text>
  16. <text class="content">机场路南延、机场路</text>
  17. </view>
  18. <view class="list">
  19. <text class="name">详细地点:</text>
  20. <text class="content">0.224</text>
  21. </view>
  22. <view class="topDown">
  23. <text class="name">上传图片:</text>
  24. <view class="uploadingImg">
  25. <u-upload :fileList="fileList1" name="1" multiple :maxCount="1" width="181.05rpx"
  26. height="181.05rpx"></u-upload>
  27. </view>
  28. </view>
  29. <view class="topDown">
  30. <text class="name">问题描述:</text>
  31. <u--textarea v-model="value1" placeholder="请输入内容"></u--textarea>
  32. </view>
  33. <view class="list noBorder">
  34. <text class="name">是否需要反馈:</text>
  35. <u-radio-group v-model="value1" placement="row">
  36. <u-radio activeColor="#000" label="是" size="28" iconSize="28" labelSize="28"></u-radio>
  37. <u-radio activeColor="#000" label="否" size="28" iconSize="28" labelSize="28"></u-radio>
  38. </u-radio-group>
  39. </view>
  40. <u--textarea v-model="value1" placeholder="请输入内容"></u--textarea>
  41. </view>
  42. <view class="btn">
  43. 提交
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. // 定位
  53. location: "海曙区",
  54. // 上传图片
  55. fileList1: [],
  56. //
  57. value1: ''
  58. };
  59. }
  60. }
  61. </script>
  62. <style lang="scss" scoped>
  63. .upReport {
  64. height: 100%;
  65. .location {
  66. flex: none;
  67. font-size: 25.26rpx;
  68. font-weight: 600;
  69. display: flex;
  70. align-items: center;
  71. }
  72. .main {
  73. display: flex;
  74. flex-direction: column;
  75. justify-content: space-between;
  76. }
  77. .list {
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. padding: 10.53rpx 0;
  82. border-bottom: 2.11rpx solid #E8E8E8;
  83. margin-bottom: 21.05rpx;
  84. .name {
  85. font-weight: 600;
  86. }
  87. .u-radio-group {
  88. justify-content: flex-end;
  89. }
  90. }
  91. .noBorder {
  92. border: 0;
  93. }
  94. .topDown {
  95. margin-bottom: 21.05rpx;
  96. .name {
  97. font-weight: 600;
  98. }
  99. .uploadingImg {
  100. font-size: 101.05rpx;
  101. ::v-deep .u-upload {
  102. .u-upload__wrap {
  103. .u-upload__button {
  104. .u-icon {
  105. .u-icon__icon {
  106. font-size: 101.05rpx;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. }
  113. }
  114. .btn {
  115. width: 202.11rpx;
  116. height: 75.79rpx;
  117. line-height: 75.79rpx;
  118. margin: 0 auto;
  119. border-radius: 105.26rpx;
  120. background-color: #D7ECFF;
  121. color: #000;
  122. font-size: 33.68rpx;
  123. text-align: center;
  124. font-weight: 600;
  125. }
  126. }
  127. </style>