changyong-list.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <view class="changyong-list">
  3. <view class="changyong-item u-flex u-col-top" v-for="(item,index) in 5" :key="index">
  4. <view class="item-text u-flex-1">
  5. 我目前正在看机会,对这个职位很感兴趣,希望可以详聊~
  6. </view>
  7. <image src="static/edit.png" mode=""></image>
  8. <image src="static/del.png" mode=""></image>
  9. </view>
  10. <view class="changyong-down">
  11. <view class="u-flex u-row-center changyong-btn">
  12. <text @click="toadd">添加常用语</text>
  13. </view>
  14. <view class="safe-area-inset-bottom"></view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. }
  23. },
  24. onLoad() {
  25. },
  26. methods: {
  27. toadd() {
  28. uni.navigateTo({
  29. url: "/pagesC/changyong-add"
  30. })
  31. }
  32. }
  33. }
  34. </script>
  35. <style lang="scss">
  36. .changyong-list {
  37. padding: 0 32rpx;
  38. .changyong-down {
  39. position: fixed;
  40. bottom: 0;
  41. left: 0;
  42. z-index: 99;
  43. background-color: #fff;
  44. box-shadow: 0rpx -1rpx 0rpx 0rpx rgba(0, 0, 0, 0.1);
  45. width: 750rpx;
  46. .changyong-btn {
  47. padding: 16rpx 0;
  48. text {
  49. width: 686rpx;
  50. line-height: 88rpx;
  51. background: #0C66C2;
  52. border-radius: 12rpx;
  53. text-align: center;
  54. font-size: 32rpx;
  55. font-family: PingFangSC-Regular, PingFang SC;
  56. font-weight: 400;
  57. color: #FFFFFF;
  58. }
  59. }
  60. }
  61. .changyong-item {
  62. padding: 32rpx 0;
  63. border-bottom: 2rpx solid #F0F0F0;
  64. .item-text {
  65. margin-right: 16rpx;
  66. font-size: 30rpx;
  67. font-family: PingFangSC-Regular, PingFang SC;
  68. font-weight: 400;
  69. color: #222222;
  70. }
  71. image {
  72. width: 40rpx;
  73. height: 40rpx;
  74. margin-left: 32rpx;
  75. }
  76. }
  77. }
  78. </style>