特易招,招聘小程序
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.

51 lines
938 B

9 months ago
9 months ago
9 months ago
7 months ago
9 months ago
  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 { mapState } from 'vuex'
  12. export default {
  13. name: 'configPoup',
  14. data() {
  15. return {
  16. content : ''
  17. }
  18. },
  19. onShow(){
  20. },
  21. methods: {
  22. //打开配置信息菜单
  23. open(key){
  24. this.$api('queryConfig', {
  25. paramCode : 'config_vip_service',
  26. })
  27. .then(res => {
  28. // this.content = this.configList[key]
  29. this.content = res.result.paramValueText
  30. this.$refs.popup.open('bottom');
  31. })
  32. this.$store.commit('initConfig')
  33. }
  34. },
  35. computed : {
  36. ...mapState(['configList'])
  37. }
  38. }
  39. </script>
  40. <style lang="scss" scoped>
  41. .configPopup {
  42. .content{
  43. padding: 30rpx 20rpx;
  44. overflow: scroll;
  45. height: 100%;
  46. box-sizing: border-box;
  47. }
  48. }
  49. </style>