index.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <template>
  2. <view class="user-info-wrap">
  3. <uni-list>
  4. <uni-list-item class="bordBot" :to="item.to" :title="item.title" showArrow thumb-size="sm"
  5. v-for="(item, index) in list" :key="index" />
  6. </uni-list>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {
  13. list: [
  14. { title: '娇骄儿会员服务须知', to: '/myPages/TermsOfService/index?name=' + '娇骄儿会员服务须知' + '&type=' + 1 },
  15. { title: '娇骄儿会员储值须知', to: '/myPages/TermsOfService/index?name=' + '娇骄儿会员储值须知' + '&type=' + 8 },
  16. { title: '娇骄儿隐私政策', to: '/myPages/TermsOfService/index?name=' + '娇骄儿隐私政策' + '&type=' + 3 },
  17. { title: '娇骄儿预约须知', to: '/myPages/TermsOfService/index?name=' + '娇骄儿预约须知' + '&type=' + 5 },
  18. { title: '娇骄儿服务对象协议', to: '/myPages/TermsOfService/index?name=' + '娇骄儿服务对象协议' + '&type=' + 6 },
  19. // {title:'储值使用说明',to:'/myPages/TermsOfService/index?name='+'储值使用说明'+'&type=' + 9},
  20. { title: '娇骄儿权益服务协议', to: '/myPages/TermsOfService/index?name=' + '娇骄儿权益服务协议' + '&type=' + 4 }
  21. ],
  22. };
  23. },
  24. mounted() {
  25. },
  26. onLoad(e) {
  27. },
  28. methods: {
  29. }
  30. };
  31. </script>
  32. <style lang="scss">
  33. .bordBot {
  34. border-bottom: 1px solid #F7F7F7;
  35. }
  36. .user-info-wrap {
  37. margin-left: 12px;
  38. margin-right: 12px;
  39. /* 导航菜单 */
  40. .nav-bar {
  41. background: #fff;
  42. border-radius: 10px;
  43. margin-top: 12px;
  44. /* 商店信息 */
  45. .nav-content {
  46. padding-top: 10px;
  47. padding-bottom: 6px;
  48. border-bottom: 1px solid #f7f7f7;
  49. .nav-info {
  50. display: flex;
  51. padding-left: 10px;
  52. .logo {
  53. width: 12%;
  54. text-align: center;
  55. image {
  56. width: 24px;
  57. height: 24px;
  58. }
  59. }
  60. .nav-desc {
  61. width: 60%;
  62. display: flex;
  63. line-height: 30px;
  64. .nav-name {
  65. font-size: 16px;
  66. width: 60%;
  67. }
  68. .change-store {
  69. text-align: right;
  70. width: 40%;
  71. font-size: 12px;
  72. color: #666;
  73. }
  74. }
  75. .arrow-right {
  76. width: 40%;
  77. text-align: right;
  78. margin: 0 auto;
  79. cursor: pointer;
  80. padding-top: 3px;
  81. display: flex;
  82. justify-content: flex-end;
  83. align-items: center;
  84. image {
  85. width: 18px;
  86. height: 18px;
  87. }
  88. .head-img {
  89. text-align: center;
  90. image {
  91. width: 24px;
  92. height: 24px;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }
  99. .sure-btn {
  100. margin-top: 20px;
  101. width: 100%;
  102. .btn {
  103. background: #FF6C7B;
  104. text-align: center;
  105. border-radius: 14px;
  106. height: 36px;
  107. line-height: 36px;
  108. color: #fff;
  109. font-size: 16px;
  110. }
  111. }
  112. }
  113. </style>