aboutUs.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <view class="aboutUsBox">
  3. <view class="aboutUsContent">
  4. <!--<view class="aboutUsTitle">
  5. 关于聚联诚集团
  6. </view>-->
  7. <view class="">
  8. <text>{{ configDataList.about_us }}</text>
  9. </view>
  10. </view>
  11. <view class="aboutUsBottom">
  12. <view class="aboutUsNav">
  13. <navigator open-type="navigate" url="/pages/mine/aboutUsService" class="bottomNotice">服务协议</navigator>
  14. <text style="margin: 0 10rpx;">|</text>
  15. <navigator open-type="navigate" url="/pages/mine/aboutUsprivacy" class="bottomNotice">隐私政策</navigator>
  16. </view>
  17. <view class="aboutUsCopy">
  18. <view>Copyright @ 2011-2020 JULIANCHENG CREDIT</view>
  19. <view>ALL Rights Reserved</view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. configDataList: [], // 全局配置文件
  29. };
  30. },
  31. onLoad() {
  32. this.configData()
  33. },
  34. mounted() {
  35. },
  36. methods: {
  37. configData: async function() {
  38. let res = await this.$request.post('/api/SystemConfig/getSysteConfig');
  39. console.log(res);
  40. if (res.code == 200) {
  41. this.configDataList = res.data
  42. } else {
  43. uni.showToast({
  44. title: '错误信息',
  45. content: res.message,
  46. showCancel: false
  47. })
  48. }
  49. },
  50. }
  51. };
  52. </script>
  53. <style>
  54. .aboutUsBox {
  55. padding: 10rpx 30rpx 0 30rpx;
  56. background-color: #f9f9f9;
  57. width: 100vw;
  58. height: 100vh;
  59. color: #AAAAAA;
  60. }
  61. .aboutUsTitle {
  62. text-align: center;
  63. font-size: 30rpx;
  64. border-bottom: 1rpx solid #000;
  65. }
  66. .aboutUsContent {
  67. height: 90vh;
  68. overflow: auto;
  69. }
  70. .aboutUsBottom {
  71. width: 100%;
  72. position: fixed;
  73. bottom: 0;
  74. left: 0;
  75. }
  76. .aboutUsNav {
  77. display: flex;
  78. align-items: center;
  79. justify-content: center;
  80. }
  81. .aboutUsCopy {
  82. margin: 0 auto;
  83. padding-bottom: 30rpx;
  84. width: 500rpx;
  85. font-size: 20rpx;
  86. text-align: center;
  87. }
  88. .bottomNotice {
  89. color: #3180D5;
  90. }
  91. </style>