setting.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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/login/password')" hover-class="cell-hover" :hover-stay-time="50">
  6. <text class="cell-tit">修改密码</text>
  7. <text class="cell-more iconfont icon-xiayibu"></text>
  8. </view>
  9. </view>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. import authorize from '@/common/config/authorize.js'
  15. export default {
  16. data() {
  17. return {
  18. }
  19. },
  20. onLoad() {
  21. },
  22. methods:{
  23. navigator(url){
  24. this.$api.navigateTo(url)
  25. }
  26. }
  27. }
  28. </script>
  29. <style lang='scss'>
  30. page {
  31. height: auto;
  32. }
  33. page,.container{
  34. /* padding-bottom: 120upx; */
  35. background: #F7F7F7;
  36. border-top: 1px solid #EBEBEB;
  37. }
  38. .foot-list{
  39. width: 100%;
  40. margin-top: 30rpx;
  41. }
  42. .list-cell-item{
  43. width: 702rpx;
  44. height: auto;
  45. margin-bottom: 24rpx;
  46. padding:0 24rpx;
  47. background: $bg-color;
  48. }
  49. .list-cell{
  50. display:flex;
  51. width: 100%;
  52. align-items:baseline;
  53. line-height:100rpx;
  54. position:relative;
  55. background: $bg-color;
  56. justify-content: center;
  57. // border-bottom: 1px solid #EBEBEB;
  58. &.cell-hover{
  59. background:#fafafa;
  60. }
  61. .cell-more{
  62. align-self: baseline;
  63. font-size:$font-size-28;
  64. color:$text-color;
  65. margin-left:10rpx;
  66. }
  67. .cell-tit{
  68. flex: 1;
  69. font-size: $font-size-28;
  70. color: $text-color;
  71. margin-right:10rpx;
  72. }
  73. .cell-tip{
  74. font-size: $font-size-28;
  75. color: $text-color;
  76. }
  77. }
  78. .list-cell.last{
  79. border-bottom: none;
  80. }
  81. </style>