加油站付款小程序,打印小票
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.

46 lines
749 B

  1. <template>
  2. <view class="configPopup">
  3. <uv-popup ref="popup" :round="30" :customStyle="{height: '50vh'}">
  4. <view class="content">
  5. <uv-parse :content="content"></uv-parse>
  6. </view>
  7. </uv-popup>
  8. </view>
  9. </template>
  10. <script>
  11. import { mapGetters } from 'vuex'
  12. export default {
  13. name: 'configPoup',
  14. data() {
  15. return {
  16. content : ''
  17. }
  18. },
  19. onShow(){
  20. console.log(this.getConfig);
  21. },
  22. methods: {
  23. //打开配置信息菜单
  24. open(key){
  25. console.log(key);
  26. this.content = this.getConfig[key]
  27. this.$refs.popup.open('bottom');
  28. }
  29. },
  30. computed : {
  31. ...mapGetters(['getConfig'])
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. .configPopup {
  37. .content{
  38. padding: 30rpx 20rpx;
  39. }
  40. }
  41. </style>