assayForm.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <!-- @format -->
  2. <template>
  3. <view class="container">
  4. <view style="margin: 15rpx 0">
  5. <view class="contentItems">
  6. <u-form labelPosition="left" labelWidth="160rpx">
  7. <view class="content">
  8. <u-form-item label="选择器具:">
  9. <u-input
  10. border="none"
  11. placeholder="请输入申请单位"
  12. value="血氧仪器"
  13. ></u-input>
  14. </u-form-item>
  15. </view>
  16. <view class="content">
  17. <u-form-item label="申请单位:">
  18. <u-input border="none" placeholder="请输入申请单位"></u-input>
  19. </u-form-item>
  20. </view>
  21. <view class="content">
  22. <u-form-item label="申请日期:">
  23. <u-input border="none" placeholder="请输入申请日期"></u-input>
  24. </u-form-item>
  25. </view>
  26. <view class="content">
  27. <u-form-item label="申请人:">
  28. <u-input border="none" placeholder="请输入申请人"></u-input>
  29. </u-form-item>
  30. </view>
  31. <view class="content">
  32. <u-form-item label="联系电话:">
  33. <u-input border="none" placeholder="请输入联系电话"> </u-input>
  34. </u-form-item>
  35. </view>
  36. </u-form>
  37. <u-checkbox-group
  38. style="margin-top: 20rpx"
  39. v-model="checkboxValue1"
  40. placement="column"
  41. @change="checkboxChange"
  42. >
  43. <u-checkbox
  44. style="color: red"
  45. v-for="item in checkBoxList"
  46. :key="item"
  47. :label="item.name"
  48. :name="item.label"
  49. >
  50. </u-checkbox>
  51. </u-checkbox-group>
  52. </view>
  53. </view>
  54. <view style="width: 95%; margin: 20rpx auto 0">
  55. <u-button type="primary"> 提交 </u-button>
  56. </view>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. data() {
  62. return {
  63. checked: null,
  64. checkBoxList: [
  65. {
  66. name: "我单位承诺,本次提交备案的计量器具的相关信息均真实准确,经过自我严格审核,均符合《市场监管总局关于调整实施强制管理的计量器具目录的公告》(国家市场监督管理总局公告2020年第42号)中《实施强制管理的计量器具目录》的规定。",
  67. label: false,
  68. },
  69. ],
  70. checkboxValue1: [],
  71. };
  72. },
  73. methods: {
  74. checkboxChange(value) {
  75. console.log("Checkbox changed:", value);
  76. },
  77. },
  78. };
  79. </script>
  80. <style lang="scss" scoped>
  81. ::v-deep .u-checkbox {
  82. display: flex;
  83. flex-direction: row;
  84. /* overflow: hidden; */
  85. flex-direction: row;
  86. align-items: flex-start;
  87. }
  88. ::v-deep uni-text[data-v-c4a74aee] span {
  89. font-size: 26rpx;
  90. color: red;
  91. line-height: 40rpx;
  92. }
  93. .createFixed {
  94. background: #2979ff;
  95. display: flex;
  96. justify-content: center;
  97. align-items: center;
  98. width: 90rpx;
  99. height: 90rpx;
  100. border-radius: 50%;
  101. position: fixed;
  102. right: 30rpx;
  103. bottom: 200rpx;
  104. }
  105. .createNew {
  106. font-size: 30rpx;
  107. margin: 20rpx 0 20rpx 20rpx;
  108. color: #3c9ff3;
  109. }
  110. .container {
  111. height: 100vh;
  112. background: rgb(243, 244, 249);
  113. .contentItems {
  114. width: 93%;
  115. border-radius: 6px;
  116. background: #fff;
  117. margin: 0rpx auto 20rpx;
  118. padding: 20rpx 30rpx 20rpx;
  119. .content {
  120. border-bottom: 1px solid rgb(242, 242, 242);
  121. display: flex;
  122. justify-content: space-between;
  123. }
  124. // .content:last-child {
  125. // border-bottom: none;
  126. // }
  127. .title {
  128. font-size: 26rpx;
  129. color: black;
  130. letter-spacing: 3rpx;
  131. }
  132. .message {
  133. font-size: 26rpx;
  134. color: rgb(146, 146, 146);
  135. }
  136. }
  137. }
  138. </style>