风险测评小程序前端代码仓库
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.

84 lines
1.6 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. <image class="img" :src="configList.customer_service_qrcode" :show-menu-by-longpress="true" mode="widthFix"></image>
  12. <button class="btn" @click="close">好的</button>
  13. </view>
  14. </uv-popup>
  15. </template>
  16. <script>
  17. import { mapState } from 'vuex'
  18. export default {
  19. props: {
  20. src: {
  21. type: String,
  22. default: null
  23. }
  24. },
  25. data() {
  26. return {
  27. }
  28. },
  29. computed : {
  30. ...mapState(['configList'])
  31. },
  32. methods: {
  33. open() {
  34. this.$refs.popup.open();
  35. },
  36. close() {
  37. this.$refs.popup.close();
  38. },
  39. },
  40. }
  41. </script>
  42. <style scoped lang="scss">
  43. .popup__view {
  44. position: relative;
  45. width: 600rpx;
  46. min-height: 582rpx;
  47. padding: 60rpx 59rpx 40rpx 59rpx;
  48. box-sizing: border-box;
  49. background: #FFFFFF;
  50. border-radius: 16rpx;
  51. }
  52. .title {
  53. font-size: 30rpx;
  54. font-weight: 600;
  55. color: #000000;
  56. }
  57. .desc {
  58. margin-top: 48rpx;
  59. font-size: 28rpx;
  60. font-weight: 500;
  61. color: #000000;
  62. }
  63. .img {
  64. margin: 40rpx 0 75rpx 0;
  65. width: 156rpx;
  66. height: auto;
  67. min-height: 156rpx;
  68. }
  69. .btn {
  70. width: 100%;
  71. padding: 18rpx 0;
  72. box-sizing: border-box;
  73. font-size: 30rpx;
  74. color: #FFFFFF;
  75. background: #014FA2;
  76. border-radius: 40rpx;
  77. }
  78. </style>