百富门答题小程序
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.

39 lines
529 B

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="page">
  3. <uv-parse :content="content"></uv-parse>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. content : '',
  11. id : 0,
  12. }
  13. },
  14. onLoad({id}) {
  15. this.id = id
  16. this.getBrand()
  17. },
  18. methods: {
  19. getBrand(){
  20. this.$api('getBrand', res => {
  21. if(res.code == 200){
  22. res.result.forEach(n => {
  23. if(this.id == n.id){
  24. this.content = n.details
  25. }
  26. })
  27. }
  28. })
  29. },
  30. }
  31. }
  32. </script>
  33. <style scoped lang="scss">
  34. .page{
  35. }
  36. </style>