Setup.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view>
  3. <!-- <titlenav></titlenav> -->
  4. <view class="stores">
  5. <view class="title">设置</view>
  6. <u-cell-group :border="false" class="from">
  7. <u-cell-item title="店铺切换" is-link @click="changeLogo"></u-cell-item>
  8. <u-cell-item title="账号安全" is-link @click="navigateTo('/pages/Security')"></u-cell-item>
  9. <u-cell-item title="是否接受消息提醒" :is-link="false"><u-switch v-model="checked" @change="change()"></u-switch></u-cell-item>
  10. <u-cell-item title="检查更新" is-link></u-cell-item>
  11. <u-cell-item title="当前版本号" is-link>V1.2.20</u-cell-item>
  12. <u-cell-item title="退出登录" is-link></u-cell-item>
  13. </u-cell-group>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. import { mapState } from 'vuex';
  19. import Titlenav from '../components/Titlenav.vue';
  20. export default {
  21. components: {
  22. Titlenav
  23. },
  24. data() {
  25. return {
  26. checked: false
  27. };
  28. },
  29. computed: {},
  30. methods: {
  31. change(status) {
  32. console.log(status);
  33. }
  34. }
  35. };
  36. </script>
  37. <style lang="scss" scoped>
  38. .stores {
  39. .from {
  40. /deep/ .u-cell {
  41. padding: 18.5px 0;
  42. color: #000000;
  43. font-weight: bold;
  44. }
  45. /deep/ .u-switch{
  46. margin-top: 3px;
  47. }
  48. /deep/ .u-iconfont {
  49. font-size: 14px !important;
  50. }
  51. /deep/ .u-cell__value {
  52. color: #000000;
  53. font-weight: 400;
  54. font-size: 14px;
  55. line-height: 32px;
  56. }
  57. /deep/ .u-cell_title {
  58. font-size: 14px;
  59. }
  60. /deep/ .u-field {
  61. padding: 23px 0;
  62. color: #000000;
  63. font-weight: bold;
  64. text-align: right;
  65. }
  66. /deep/ .uni-input-input {
  67. text-align: right;
  68. font-weight: 400;
  69. }
  70. /deep/ .u-label {
  71. span {
  72. width: 90px;
  73. }
  74. }
  75. /deep/ .u-cell__value {
  76. height: 33px;
  77. }
  78. }
  79. margin: 10px 20px 0;
  80. .title {
  81. font-size: 24px;
  82. font-weight: bold;
  83. color: #000000;
  84. line-height: 33px;
  85. margin-bottom: 10px;
  86. }
  87. }
  88. </style>