systemSet.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <view>
  3. <view class="systemSet" @tap="showUser">
  4. <image class="image1" src="../../static/系统设置/系统设置@2x.png"></image>
  5. <text style="margin-top: 40rpx;margin-left: 30rpx; width: 500rpx;">用户管理</text>
  6. <image class="image2" src="../../static/运营商管理/ico2@3x.png"></image>
  7. </view>
  8. <view class="rolePower" @tap="showRole">
  9. <image class="image1" src="../../static/系统设置/系统设置@2x.png"></image>
  10. <text style="margin-top: 40rpx;margin-left: 30rpx; width: 500rpx;">角色管理</text>
  11. <image class="image2" src="../../static/运营商管理/ico2@3x.png"></image>
  12. </view>
  13. <view class="rolePower" @tap="showPower">
  14. <image class="image1" src="../../static/系统设置/系统设置@2x.png"></image>
  15. <text style="margin-top: 40rpx;margin-left: 30rpx; width: 500rpx;">权限管理</text>
  16. <image class="image2" src="../../static/运营商管理/ico2@3x.png"></image>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. }
  25. },
  26. methods: {
  27. showUser() {
  28. uni.navigateTo({
  29. url: '/pages/user/user',
  30. });
  31. },
  32. showRole() {
  33. uni.navigateTo({
  34. url: '/pages/rolePower/rolePower',
  35. });
  36. },
  37. showPower() {
  38. uni.navigateTo({
  39. url: '/pages/power/power',
  40. });
  41. }
  42. }
  43. }
  44. </script>
  45. <style>
  46. .systemSet {
  47. display: flex;
  48. flex-direction: row;
  49. height: 125rpx;
  50. background-color: white;
  51. margin-top: 30rpx;
  52. width: 704rpx;
  53. margin-left: 23rpx;
  54. border-radius: 10rpx;
  55. }
  56. .rolePower {
  57. display: flex;
  58. flex-direction: row;
  59. height: 125rpx;
  60. background-color: white;
  61. margin-top: 30rpx;
  62. width: 704rpx;
  63. margin-left: 23rpx;
  64. border-radius: 10rpx;
  65. }
  66. .image1 {
  67. width: 90rpx;
  68. height: 90rpx;
  69. margin-top: 20rpx;
  70. margin-left: 20rpx;
  71. }
  72. .image2 {
  73. width: 10px;
  74. height: 10px;
  75. margin-top: 50rpx;
  76. // margin-left: 400rpx;
  77. }
  78. </style>