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.

54 lines
1014 B

  1. <template>
  2. <view class="configPopup">
  3. <uv-popup :show="showConfirmOrder" mode="bottom" @close="close" :round="10" :closeable="true"
  4. >
  5. <view class="content">
  6. <up-parse :content="content"></up-parse>
  7. </view>
  8. </uv-popup>
  9. </view>
  10. </template>
  11. <script>
  12. import { mapState, mapGetters } from 'vuex'
  13. export default {
  14. name: 'configPoup',
  15. data() {
  16. return {
  17. content : '',
  18. showConfirmOrder : false,
  19. }
  20. },
  21. onShow(){
  22. },
  23. methods: {
  24. //打开配置信息菜单
  25. open(key){
  26. this.content = this.configList[key].paramValueArea
  27. this.showConfirmOrder = true
  28. },
  29. openText(content){
  30. this.content = content
  31. this.showConfirmOrder = true
  32. },
  33. close(){
  34. this.showConfirmOrder = false
  35. },
  36. },
  37. computed : {
  38. ...mapGetters(['configList'])
  39. }
  40. }
  41. </script>
  42. <style lang="scss" scoped>
  43. .configPopup {
  44. .content{
  45. min-height: 50vh;
  46. max-height: 70vh;
  47. padding: 30rpx 20rpx;
  48. overflow: scroll;
  49. height: 100%;
  50. box-sizing: border-box;
  51. }
  52. }
  53. </style>