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

  1. <template>
  2. <uv-popup
  3. ref="popup"
  4. :overlayOpacity="0"
  5. mode="center"
  6. bgColor="none"
  7. >
  8. <view class="popup__view">
  9. <image class="bg" src="@/pages_order/static/service/bg-popup-qr.png" mode="widthFix"></image>
  10. <view class="flex flex-column content">
  11. <text class="title">扫码添加微信</text>
  12. <image class="img" :src="configList.customer_service_qrcode" :show-menu-by-longpress="true"></image>
  13. <button class="btn" @click="close">已截图</button>
  14. </view>
  15. </view>
  16. </uv-popup>
  17. </template>
  18. <script>
  19. import { mapState } from 'vuex'
  20. export default {
  21. data() {
  22. return {
  23. }
  24. },
  25. computed : {
  26. ...mapState(['configList'])
  27. },
  28. methods: {
  29. open() {
  30. this.$refs.popup.open();
  31. },
  32. close() {
  33. this.$refs.popup.close();
  34. },
  35. },
  36. }
  37. </script>
  38. <style scoped lang="scss">
  39. .popup__view {
  40. position: relative;
  41. width: 684rpx;
  42. min-height: 826rpx;
  43. background: #FFFFFF;
  44. border-radius: 16rpx;
  45. }
  46. .bg {
  47. width: 100%;
  48. height: auto;
  49. }
  50. .content {
  51. position: absolute;
  52. top: 0;
  53. left: 0;
  54. width: 100%;
  55. height: 100%;
  56. padding: 71rpx 0 23rpx 0;
  57. box-sizing: border-box;
  58. justify-content: space-between;
  59. }
  60. .title {
  61. font-size: 32rpx;
  62. font-weight: 600;
  63. color: #000000;
  64. }
  65. .img {
  66. margin: 156rpx 0 73rpx 0;
  67. width: 360rpx;
  68. height: auto;
  69. min-height: 360rpx;
  70. }
  71. .btn {
  72. padding: 29rpx 202rpx;
  73. font-size: 30rpx;
  74. color: #FFFFFF;
  75. background: #014FA2;
  76. border-radius: 50rpx;
  77. }
  78. </style>