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.

47 lines
899 B

3 months ago
  1. <template>
  2. <view class="copyRight-box" v-if="copyRightInfo">
  3. <view>
  4. <text @click="toIcp">{{copyRightInfo.copyrightIcpNumber}}</text>
  5. </view>
  6. <view class="bottom mt10" @click="toInternet">
  7. <text>{{copyRightInfo.copyrightInternetRecord}}</text>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. import {getConfigCopyright} from '@/api/api.js'
  13. export default{
  14. data(){
  15. return{
  16. copyRightInfo:null
  17. }
  18. },
  19. mounted() {
  20. this.getCopyright()
  21. },
  22. methods:{
  23. getCopyright(){
  24. getConfigCopyright().then(res=>{
  25. this.copyRightInfo=res.data
  26. })
  27. },
  28. toIcp(){
  29. window.open(this.copyRightInfo.copyrightIcpNumberUrl)
  30. },
  31. toInternet(){
  32. window.open(this.copyRightInfo.copyrightInternetRecordUrl)
  33. },
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .copyRight-box{
  39. padding: 40rpx 0;
  40. text-align: center;
  41. text{
  42. color: #666;
  43. font-size: 24rpx;
  44. }
  45. }
  46. </style>