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.

116 lines
2.1 KiB

4 years ago
  1. <template>
  2. <view class="content">
  3. <view class="logo-wrapper">
  4. <image class="logo" src="/static/logo.png"></image>
  5. <text class="version">版本 v{{ version }}</text>
  6. </view>
  7. <view class="list-cell b-b" @click="navToAgreementDetail(1)">
  8. <text class="cell-tit">用户服务协议</text>
  9. <text class="mix-icon icon-you"></text>
  10. </view>
  11. <view class="list-cell" @click="navToAgreementDetail(2)">
  12. <text class="cell-tit">隐私权政策</text>
  13. <text class="mix-icon icon-you"></text>
  14. </view>
  15. <view class="bus center fix-bot">
  16. <image class="icon" src="/static/logo-b-w.png"></image>
  17. <text>国云网络提供技术支持</text>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. export default {
  23. data() {
  24. return {
  25. version: ''
  26. }
  27. },
  28. onLoad() {
  29. this.version = this.$config.version;
  30. },
  31. methods: {
  32. navToAgreementDetail(type){
  33. this.navTo('/pages/public/article?param=' + JSON.stringify({
  34. module: 'article',
  35. operation: 'getAgreement',
  36. data: {
  37. type
  38. }
  39. }))
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss">
  45. page{
  46. background: #f8f8f8;
  47. }
  48. </style>
  49. <style scoped lang='scss'>
  50. .logo-wrapper{
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. flex-direction: column;
  55. height: 320rpx;
  56. .logo{
  57. width: 140rpx;
  58. height: 140rpx;
  59. background-color: #fff;
  60. border-radius: 16rpx;
  61. }
  62. .version{
  63. font-size: 24rpx;
  64. color: #888;
  65. margin-top: 26rpx;
  66. }
  67. }
  68. .list-cell{
  69. display: flex;
  70. align-items: center;
  71. padding: 0 40rpx;
  72. width: 100%;
  73. height: 94rpx;
  74. position:relative;
  75. background: #fff;
  76. justify-content: center;
  77. &.b-b:after{
  78. left: 40rpx;
  79. }
  80. .icon-you{
  81. font-size: 24rpx;
  82. color: #999;
  83. margin-left: 10rpx;
  84. }
  85. .cell-tit{
  86. flex: 1;
  87. font-size: 30rpx;
  88. color: #333;
  89. margin-right:10rpx;
  90. }
  91. }
  92. .bus{
  93. display: flex;
  94. justify-content: center;
  95. font-size: 26rpx;
  96. color: #999;
  97. position: absolute;
  98. left: 0;
  99. bottom: 60rpx;
  100. width: 100%;
  101. .icon{
  102. width: 40rpx;
  103. height: 40rpx;
  104. margin-right: 10rpx;
  105. }
  106. }
  107. </style>