description.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="page">
  3. <view class="title">
  4. 项目描述
  5. </view>
  6. <view class="" style="margin-top: 32rpx;">
  7. <textarea v-model="concant" style="width: 100%;" class="txt_word" placeholderClass='concant' placeholder="描述此项目,展示你的项目经验立刻打动招聘方~\n\n\n例如\n1.项目背景 \n2.项目目标 \n3.项目概述"></textarea>
  8. </view>
  9. <view class="button" @click="toteach">
  10. 保存
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. import {
  16. } from "@/units/inquire.js"
  17. export default {
  18. data() {
  19. return {
  20. concant: '',
  21. }
  22. },
  23. onLoad() {
  24. },
  25. methods: {
  26. toteach(){
  27. const eventChannel = this.getOpenerEventChannel();
  28. eventChannel.emit('todcp', this.concant);
  29. uni.navigateBack()
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss">
  35. .page {
  36. padding: 28rpx 32rpx 0;
  37. .title {
  38. font-size: 36rpx;
  39. font-family: PingFangSC-Medium, PingFang SC;
  40. font-weight: 500;
  41. color: #222222;
  42. line-height: 50rpx;
  43. }
  44. .concant{
  45. font-size: 32rpx;
  46. font-family: PingFangSC-Regular, PingFang SC;
  47. font-weight: 400;
  48. color: #888888
  49. }
  50. }
  51. .button {
  52. width: 686rpx;
  53. height: 88rpx !important;
  54. background: #0C66C2;
  55. border-radius: 12rpx;
  56. font-size: 32rpx;
  57. font-family: PingFangSC-Medium, PingFang SC;
  58. font-weight: 500;
  59. color: #FFFFFF;
  60. line-height: 88rpx;
  61. margin: 10rpx 0 0rpx 0;
  62. display: flex;
  63. justify-content: center;
  64. position: fixed;
  65. bottom: 60rpx;
  66. }
  67. .setExample::after {
  68. content: '\A 1. \A 2. \A 3.';
  69. line-height: 50rpx;
  70. }
  71. .txt_word {
  72. word-wrap: break-word;
  73. white-space: pre-line
  74. }
  75. ::v-deep .u-textarea {
  76. padding-left: 0 !important;
  77. }
  78. </style>