disagree.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template>
  2. <view class="disagree-page">
  3. <scroll-view class="scroll-y" scroll-y="true">
  4. <view class="textarea-box">
  5. <view class="label-view">
  6. <text>原因</text>
  7. </view>
  8. <textarea class="textarea"
  9. placeholder="请输入"
  10. placeholder-style="color: #B8BECC"
  11. :maxlength="-1"
  12. auto-height
  13. />
  14. </view>
  15. </scroll-view>
  16. <view class="fixed-buttom-btn">
  17. <text class="btn-text">确定</text>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. // 不认可原因
  23. export default {
  24. created() {
  25. uni.setNavigationBarTitle({
  26. title: '原因'
  27. });
  28. }
  29. }
  30. </script>
  31. <style lang="less">
  32. .disagree-page {
  33. height: 100%;
  34. .scroll-y {
  35. height: calc(100% - 87.5rpx);
  36. padding-top: 15rpx;
  37. .textarea-box {
  38. display: flex;
  39. width: 100%;
  40. background-color: #fff;
  41. padding: 25rpx 0;
  42. padding-left: 25rpx;
  43. .label-view {
  44. width: 175rpx;
  45. line-height: 37.5rpx;
  46. >text {
  47. font-size: 22.5rpx;
  48. color: #666F80;
  49. }
  50. }
  51. .textarea {
  52. flex: 1;
  53. min-height: 768.75rpx;
  54. padding: 0 25rpx;
  55. line-height: 37.5rpx;
  56. font-size: 22.5rpx;
  57. color: #525866;
  58. box-sizing: border-box;
  59. }
  60. }
  61. }
  62. }
  63. </style>