textMessage.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <template>
  2. <view class="pages">
  3. <view class="phoneNum">
  4. 接收手机号 <span style="color: #245BED;margin-left: 20rpx; font-weight: 700;">18160883036</span>
  5. </view>
  6. <view class="cotent">
  7. <view class="card">
  8. <view class="card1">
  9. <span>短信模板</span>
  10. <span style="color:#777777;" @click="()=>{
  11. selectShow=true
  12. }">请选择(非必选) ></span>
  13. </view>
  14. </view>
  15. <view class="card">
  16. <span style="margin: 20rpx 0;">
  17. 短信内容
  18. </span>
  19. <span style="margin-top: 20rpx;">
  20. <u--textarea :maxlength='300' count v-model="value" placeholder="请输入短信内容"
  21. height='250'></u--textarea>
  22. </span>
  23. </view>
  24. </view>
  25. <view class="bottom">
  26. <u-radio-group size='34'>
  27. <u-radio value='readed' size='34' shape="circle" label="已阅读并同意<短信内容规则>和<短信协议>"></u-radio>
  28. </u-radio-group>
  29. <view class="btn">
  30. 发送
  31. </view>
  32. </view>
  33. <u-popup :show="selectShow" @close="close" @open="open">
  34. <view class="selectShow">
  35. <view class="selectShow1">
  36. <text>下单提醒</text>
  37. </view>
  38. <view class="selectShow1">
  39. <text>支付提醒</text>
  40. </view>
  41. <view class="selectShow1">
  42. <text>退房提醒</text>
  43. </view>
  44. <view class="cancel selectShow1" @click="()=>{this.selectShow = false}">
  45. <text>取消</text>
  46. </view>
  47. </view>
  48. </u-popup>
  49. </view>
  50. </template>
  51. <script>
  52. export default {
  53. data() {
  54. return {
  55. value: '',
  56. readed: '',
  57. selectShow: ''
  58. }
  59. },
  60. methods: {
  61. close() {
  62. this.selectShow = false
  63. },
  64. open() {
  65. }
  66. }
  67. }
  68. </script>
  69. <style lang="scss" scoped>
  70. .pages {
  71. height: 100vh;
  72. background: #F9FAFC;
  73. .selectShow1 {
  74. text-align: center;
  75. height: 100rpx;
  76. line-height: 100rpx;
  77. font-weight: 700;
  78. font-size: 28rpx;
  79. background: #fff;
  80. }
  81. .selectShow {
  82. background: #fbfbfb;
  83. }
  84. .cancel {
  85. margin-top: 20rpx;
  86. }
  87. .phoneNum {
  88. padding: 20rpx;
  89. }
  90. .cotent {
  91. padding: 20rpx;
  92. .card {
  93. background: #fff;
  94. border-radius: 16rpx;
  95. padding: 30rpx 20rpx;
  96. margin-bottom: 20rpx;
  97. .card1 {
  98. display: flex;
  99. flex-direction: row;
  100. justify-content: space-between;
  101. }
  102. }
  103. }
  104. .bottom {
  105. position: absolute;
  106. bottom: 0;
  107. height: 9%;
  108. background: #fff;
  109. width: 100%;
  110. display: flex;
  111. justify-content: center;
  112. align-items: center;
  113. padding: 0 30rpx;
  114. box-sizing: border-box;
  115. flex-direction: column;
  116. .btn {
  117. background: #33AFFC;
  118. color: white;
  119. text-align: center;
  120. height: 73rpx;
  121. line-height: 73rpx;
  122. align-self: center;
  123. border-radius: 35rpx;
  124. width: 80%;
  125. }
  126. }
  127. }
  128. </style>