dmExportPicker.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <dm-pop-view ref='popView' :isShowTitle="false" :isShowClose="false" :isShowConfirm="false" :maskTapHide='maskTapHide'>
  3. <view class="export-content">
  4. <image class="icon" src="../../static/icons/icon_finsh_yellow@2x.png" mode=""></image>
  5. <view class="content-des">明细文档已生成至导出列表</view>
  6. <view class="goBtn" :style="`background-color: ${themeColor};`" @click="confirmAction">立即前往</view>
  7. <view class="knowBtn" @click="knowAction">知道了</view>
  8. </view>
  9. </dm-pop-view>
  10. </template>
  11. <script>
  12. import dmPopView from './dmPopView.vue'
  13. let app = getApp();
  14. export default {
  15. props: {
  16. maskTapHide: {
  17. type: Boolean,
  18. default: true
  19. }
  20. },
  21. data() {
  22. return {
  23. themeColor: null,
  24. fuzhuColor: null,
  25. themeColor50: null,
  26. themeColor25: null,
  27. fuzhuColor50: null,
  28. }
  29. },
  30. mounted() {
  31. this.themeColor = app.globalData.themeColor
  32. this.themeColor50 = app.globalData.themeColor50
  33. this.themeColor25 = app.globalData.themeColor25
  34. this.fuzhuColor = app.globalData.fuzhuColor
  35. this.fuzhuColor50 = app.globalData.fuzhuColor50
  36. },
  37. methods: {
  38. show() {
  39. this.$refs.popView.show()
  40. },
  41. knowAction(){
  42. this.$refs.popView.hide()
  43. },
  44. confirmAction() {
  45. this.$refs.popView.hide()
  46. this.$emit('confirmGoExport')
  47. }
  48. },
  49. components: {
  50. dmPopView
  51. }
  52. }
  53. </script>
  54. <style scoped lang="scss">
  55. .export-content {
  56. width: 100%;
  57. height: 676rpx;
  58. font-family: Verdana;
  59. .icon {
  60. width: 118rpx;
  61. height: 118rpx;
  62. margin-top: 124rpx;
  63. margin-left: calc((100% - 118rpx) / 2);
  64. }
  65. .content-des {
  66. color: #333333;
  67. font-size: 32rpx;
  68. font-weight: bold;
  69. margin-top: 30rpx;
  70. text-align: center;
  71. }
  72. .goBtn {
  73. width: 260rpx;
  74. height: 84rpx;
  75. border-radius: 42rpx;
  76. margin-left: calc((100% - 260rpx) / 2);
  77. margin-top: 100rpx;
  78. font-size: 32rpx;
  79. color: #FFFFFF;
  80. line-height: 84rpx;
  81. text-align: center;
  82. }
  83. .knowBtn {
  84. width: 260rpx;
  85. height: 84rpx;
  86. border-radius: 42rpx;
  87. margin-left: calc((100% - 260rpx) / 2);
  88. margin-top: 20rpx;
  89. color: #666666;
  90. font-size: 32rpx;
  91. line-height: 84rpx;
  92. text-align: center;
  93. }
  94. }
  95. </style>