task-explain.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <uni-popup ref="popupRef">
  3. <view class="unopen-box">
  4. <view class="unopen-title">
  5. 任务说明
  6. </view>
  7. <view class="unopen-content">
  8. <text class="content-title">任务说明</text>
  9. <view class="content-text">
  10. BiKing合约任务中心,将参与合约交易中所涉及的各项执行步骤.拆分成有趣多样的任务体系。用户可通过完成各项任务的对应要求获得USDT赠金奖励。完成的任务越多,获得的奖励越丰厚。任务中心的任务主要分成三个类别,分别是新人任务,成长任务以及活动任务
  11. </view>
  12. <view class="content-confirm" @click.stop="closePopup">
  13. 确认
  14. </view>
  15. </view>
  16. </view>
  17. </uni-popup>
  18. </template>
  19. <script>
  20. export default {
  21. name: "taskExplain",
  22. data() {
  23. return {
  24. };
  25. },
  26. mounted() {
  27. // this.$refs.popupRef.open()
  28. },
  29. methods: {
  30. open() {
  31. this.$nextTick(() => {
  32. this.$refs.popupRef.open();
  33. })
  34. },
  35. closePopup(){
  36. this.$nextTick(() => {
  37. this.$refs.popupRef.close();
  38. })
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. .unopen-box {
  45. width: 587rpx;
  46. background-color: #fff;
  47. border-radius: 12rpx;
  48. overflow: hidden;
  49. .unopen-title {
  50. height: 90rpx;
  51. font-size: 32rpx;
  52. font-family: PingFang SC, PingFang SC-Bold;
  53. font-weight: 700;
  54. text-align: center;
  55. color: #1a1a1a;
  56. line-height: 90rpx;
  57. letter-spacing: 0.64rpx;
  58. border-bottom: 1rpx solid #e6e6e6;
  59. }
  60. .unopen-content {
  61. padding: 0 34rpx 67rpx;
  62. .content-title{
  63. padding: 33rpx 0 15rpx;
  64. font-size: 28rpx;
  65. font-family: PingFang SC, PingFang SC-Regular;
  66. font-weight: 400;
  67. text-align: left;
  68. color: #1a1a1a;
  69. line-height: 40rpx;
  70. }
  71. .content-text{
  72. font-size: 28rpx;
  73. font-family: PingFang SC, PingFang SC-Regular;
  74. font-weight: 400;
  75. text-align: left;
  76. color: #808080;
  77. line-height: 38rpx;
  78. }
  79. .content-confirm{
  80. margin-top: 36rpx;
  81. width: 100%;
  82. height: 75rpx;
  83. background: #05c175;
  84. border-radius: 8rpx;
  85. line-height: 75rpx;
  86. text-align: center;
  87. font-size: 32rpx;
  88. font-family: PingFang SC, PingFang SC-Regular;
  89. font-weight: 400;
  90. color: #ffffff;
  91. letter-spacing: 0.64rpx;
  92. }
  93. }
  94. }
  95. </style>