stayInfo.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <view class="pages">
  3. <view class="content">
  4. <view class="card">
  5. <view class="card1">
  6. <text>位置定位</text>
  7. <text>></text>
  8. </view>
  9. </view>
  10. <view class="card">
  11. <view class="card1">
  12. <text>联系电话</text>
  13. <text>
  14. <u--input placeholder="请输入内容" border="surround" v-model="value" @change="change"></u--input>
  15. </text>
  16. </view>
  17. </view>
  18. <view class="card">
  19. <view class="card1">
  20. <text>酒店简介</text>
  21. <span style="margin-top: 20rpx;">
  22. <u--textarea :maxlength='300' count v-model="value1" placeholder="请输入酒店简介"
  23. height='250'></u--textarea>
  24. </span>
  25. </view>
  26. </view>
  27. <view class="card">
  28. <view class="card1">
  29. <u-collapse @change="change" @close="close" @open="open">
  30. <u-collapse-item title="内饰照片" name="Docs guide">
  31. <text class="u-collapse-content">涵盖uniapp各个方面,给开发者方向指导和设计理念,让您茅塞顿开,一马平川</text>
  32. </u-collapse-item>
  33. </u-collapse>
  34. </view>
  35. </view>
  36. <view class="card">
  37. <view class="card1">
  38. <u-collapse @change="change" @close="close" @open="open">
  39. <u-collapse-item title="环境照片" name="Docs guide">
  40. <text class="u-collapse-content">涵盖uniapp各个方面,给开发者方向指导和设计理念,让您茅塞顿开,一马平川</text>
  41. </u-collapse-item>
  42. </u-collapse>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="bottom">
  47. <view class="btn">
  48. 确定
  49. </view>
  50. </view>
  51. </view>
  52. </template>
  53. <script>
  54. export default {
  55. data() {
  56. return {
  57. value: '',
  58. value1: ''
  59. }
  60. },
  61. methods: {
  62. change() {
  63. },
  64. close() {
  65. },
  66. open() {
  67. }
  68. }
  69. }
  70. </script>
  71. <style lang="scss" scoped>
  72. .pages {
  73. height: 100vh;
  74. background: #F9FAFC;
  75. .content {
  76. padding: 20rpx;
  77. .card {
  78. background: #fff;
  79. border-radius: 16rpx;
  80. padding: 30rpx 20rpx;
  81. margin-bottom: 20rpx;
  82. .card1 {
  83. display: flex;
  84. flex-direction: row;
  85. justify-content: space-between;
  86. }
  87. }
  88. }
  89. .bottom {
  90. position: absolute;
  91. bottom: 0;
  92. height: 9%;
  93. background: #fff;
  94. width: 100%;
  95. display: flex;
  96. justify-content: center;
  97. align-items: center;
  98. padding: 0 30rpx;
  99. box-sizing: border-box;
  100. flex-direction: column;
  101. .btn {
  102. background: #33AFFC;
  103. color: white;
  104. text-align: center;
  105. height: 73rpx;
  106. line-height: 73rpx;
  107. align-self: center;
  108. border-radius: 35rpx;
  109. width: 80%;
  110. }
  111. }
  112. }
  113. </style>