protocol.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <template>
  2. <view class="container clearfix">
  3. <view class="foot-list">
  4. <view class="list-cell-item">
  5. <view class="list-cell" @click="navigator('/pages/service/service?id=1045&title=用户协议')" hover-class="cell-hover" :hover-stay-time="50">
  6. <text class="cell-tit">用户协议</text>
  7. <text class="cell-more iconfont icon-xiangyou"></text>
  8. </view>
  9. <view class="list-cell" @click="navigator('/pages/service/service?id=1046&title=隐私权政策')" hover-class="cell-hover" :hover-stay-time="50">
  10. <text class="cell-tit">隐私权政策</text>
  11. <text class="cell-more iconfont icon-xiangyou"></text>
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. }
  22. },
  23. onLoad(option) {
  24. },
  25. methods:{
  26. navigator(url){
  27. this.$api.navigateTo(url)
  28. }
  29. },
  30. onShow() {}
  31. }
  32. </script>
  33. <style lang='scss'>
  34. page {
  35. height: auto;
  36. }
  37. page,.container{
  38. /* padding-bottom: 120upx; */
  39. background: #fff;
  40. /* border-top: 1px solid #EBEBEB; */
  41. }
  42. .foot-list{
  43. width: 100%;
  44. margin-top: 30rpx;
  45. }
  46. .list-cell-item{
  47. width: 702rpx;
  48. height: auto;
  49. margin-bottom: 24rpx;
  50. padding:0 24rpx;
  51. background: $bg-color;
  52. }
  53. .list-cell{
  54. display:flex;
  55. width: 100%;
  56. align-items:baseline;
  57. line-height:100rpx;
  58. position:relative;
  59. background: $bg-color;
  60. justify-content: center;
  61. border-bottom: 1px solid #EBEBEB;
  62. &.cell-hover{
  63. background:#fafafa;
  64. }
  65. .cell-more{
  66. align-self: baseline;
  67. font-size:$font-size-28;
  68. color:#b2b2b2;
  69. margin-left:10rpx;
  70. .txt{
  71. color: #999999;
  72. padding-right: 10rpx;
  73. }
  74. }
  75. .cell-tit{
  76. flex: 1;
  77. font-size: $font-size-28;
  78. color: #666666;
  79. margin-right:10rpx;
  80. }
  81. .cell-tip{
  82. font-size: $font-size-28;
  83. color: $text-color;
  84. }
  85. }
  86. .list-cell.last{
  87. border-bottom: none;
  88. }
  89. </style>