about-us.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <template>
  2. <view class="flex-common-css">
  3. <Nav title="关于我们" titleColor="#333" bgckgroundBox='#fff'></Nav>
  4. <scroll-view :scroll-y="true" class="scroll-view-css content-box box-sizing-border">
  5. <view class="module-box box-sizing-border bgc-f b-rad-20 mb-20">
  6. <view class="item-box align-items-center flex-justify-space" @click="goToUrl(1,1)">
  7. <view class="fs-30 fc-3">
  8. 平台资质
  9. </view>
  10. <uni-icons type="right" color="#999" size="16"></uni-icons>
  11. </view>
  12. <view class="item-box align-items-center flex-justify-space" @click="goToUrl(1,2)">
  13. <view class="fs-30 fc-3">
  14. 增值电信业务经营许可证
  15. </view>
  16. <uni-icons type="right" color="#999" size="16"></uni-icons>
  17. </view>
  18. </view>
  19. <view class="module-box box-sizing-border bgc-f b-rad-20 mb-20">
  20. <view class="item-box align-items-center flex-justify-space b-b-F9F9F9"
  21. v-for="(item,index) in protocolData" :key="index" @click="goToUrl(2,item.id)">
  22. <view class="fs-30 fc-3">
  23. {{item.title}}
  24. </view>
  25. <uni-icons type="right" color="#999" size="16"></uni-icons>
  26. </view>
  27. </view>
  28. <!-- <view class="module-box box-sizing-border bgc-f b-rad-20">
  29. <view class="item-box align-items-center flex-justify-space b-b-F9F9F9">
  30. <view class="fs-30 fc-3">
  31. 当前版本
  32. </view>
  33. <view class="fs-30 fc-3">
  34. v1.19.55
  35. </view>
  36. </view>
  37. </view> -->
  38. </scroll-view>
  39. </view>
  40. </template>
  41. <script>
  42. import {
  43. commonProtocol
  44. } from "@/api/common.js"
  45. export default {
  46. components: {},
  47. data() {
  48. return {
  49. protocolData: []
  50. };
  51. },
  52. onLoad(data) {},
  53. mounted() {
  54. this.commonProtocol()
  55. },
  56. methods: {
  57. commonProtocol() {
  58. commonProtocol().then((res) => {
  59. if (res.code === 1) {
  60. this.protocolData = res.data
  61. }
  62. })
  63. },
  64. goToUrl(type, num) {
  65. uni.navigateTo({
  66. url: `/pages-my/protocol?type=${type}&num=${num}`
  67. })
  68. }
  69. },
  70. }
  71. </script>
  72. <style lang="scss" scoped>
  73. .content-box {
  74. padding: 20rpx 32rpx 0;
  75. }
  76. .module-box {
  77. padding: 0 32rpx;
  78. }
  79. .item-box {
  80. padding: 32rpx 0;
  81. }
  82. </style>