article.js 652 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. export const articleOpar = {
  2. data() {
  3. return {
  4. // 主题色
  5. appThemeColor: this.$appTheme.appThemeColor
  6. }
  7. },
  8. onload(){
  9. },
  10. methods: {
  11. // goAboutUs(){
  12. // // 去关于我们
  13. // // privacy_policy
  14. // this.$u.api.getArticleListAjax({
  15. // 'article_type':'about_us'
  16. // }).then(({data})=>{
  17. // })
  18. // },
  19. goArticleToId(id){
  20. },
  21. goArticleDetail(type,title){
  22. const agreementParam = {
  23. param: {
  24. article_type: type,
  25. },
  26. title: title
  27. }
  28. let url = `/pages-pub/richTextPage?option=${encodeURIComponent(JSON.stringify(agreementParam))}`
  29. uni.navigateTo({
  30. url
  31. })
  32. },
  33. }
  34. }