风险测评小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.5 KiB

  1. <template>
  2. <uv-popup
  3. ref="popup"
  4. :overlayOpacity="0"
  5. mode="center"
  6. bgColor="none"
  7. >
  8. <view class="flex flex-column popup__view">
  9. <text class="title">兑换码输入有误请与客服确认</text>
  10. <text class="desc">联系客服获取抵扣码</text>
  11. <!-- todo: check key -->
  12. <image class="img" src="" :show-menu-by-longpress="true"></image>
  13. <button class="btn" @click="close">好的</button>
  14. </view>
  15. </uv-popup>
  16. </template>
  17. <script>
  18. import { mapState } from 'vuex'
  19. export default {
  20. props: {
  21. src: {
  22. type: String,
  23. default: null
  24. }
  25. },
  26. data() {
  27. return {
  28. }
  29. },
  30. computed : {
  31. ...mapState(['configList'])
  32. },
  33. methods: {
  34. open() {
  35. this.$refs.popup.open();
  36. },
  37. close() {
  38. this.$refs.popup.close();
  39. },
  40. },
  41. }
  42. </script>
  43. <style scoped lang="scss">
  44. .popup__view {
  45. position: relative;
  46. width: 600rpx;
  47. min-height: 582rpx;
  48. padding: 60rpx 59rpx 40rpx 59rpx;
  49. box-sizing: border-box;
  50. background: #FFFFFF;
  51. border-radius: 16rpx;
  52. }
  53. .title {
  54. font-size: 30rpx;
  55. font-weight: 600;
  56. color: #000000;
  57. }
  58. .desc {
  59. margin-top: 48rpx;
  60. font-size: 28rpx;
  61. font-weight: 500;
  62. color: #000000;
  63. }
  64. .img {
  65. margin: 40rpx 0 75rpx 0;
  66. width: 156rpx;
  67. height: auto;
  68. min-height: 156rpx;
  69. }
  70. .btn {
  71. width: 100%;
  72. padding: 18rpx 0;
  73. box-sizing: border-box;
  74. font-size: 30rpx;
  75. color: #FFFFFF;
  76. background: #014FA2;
  77. border-radius: 40rpx;
  78. }
  79. </style>