rzType.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <view v-if="XCXIsSelect != '否'">
  3. <view class="title flex justify-center">
  4. <view class="title-box">
  5. <view class="title-box-t">
  6. 请选择填写的认证类型
  7. </view>
  8. <view class="title-box-b">
  9. 请选择您要填写编辑的认证类型
  10. </view>
  11. </view>
  12. </view>
  13. <!-- 类型选择 -->
  14. <view v-for="(item,index) in typeList">
  15. <view class="list-item flex justify-center" style="margin-top: 20rpx;">
  16. <view class="list-item-box flex justify-center">
  17. <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?id=' + item.id)">
  18. <text>{{item.value}}</text>
  19. <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- <view class="list-item flex justify-center" style="margin-top: 20rpx;">
  25. <view class="list-item-box flex justify-center">
  26. <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?authentication=2')">
  27. <text>教练认证</text>
  28. <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="list-item flex justify-center" style="margin-top: 20rpx;">
  33. <view class="list-item-box flex justify-center">
  34. <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?authentication=2')">
  35. <text>美业认证</text>
  36. <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="list-item flex justify-center" style="margin-top: 20rpx;">
  41. <view class="list-item-box flex justify-center">
  42. <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?authentication=2')">
  43. <text>家政技师认证</text>
  44. <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
  45. </view>
  46. </view>
  47. </view> -->
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. data() {
  53. return {
  54. typeList:[],
  55. XCXIsSelect: '否'
  56. }
  57. },
  58. onLoad() {
  59. this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
  60. if(this.XCXIsSelect != '否' ){
  61. uni.setNavigationBarTitle({
  62. title:'认证类型'
  63. })
  64. }else{
  65. uni.setNavigationBarTitle({
  66. title:'关于我们'
  67. })
  68. }
  69. this.$Request.get("/app/dict/list", {
  70. type: '服务类型'
  71. }).then(res => {
  72. if (res.code == 0) {
  73. if (res.data) {
  74. this.typeList = res.data
  75. }
  76. }
  77. });
  78. },
  79. methods: {
  80. goNav(url){
  81. uni.navigateTo({
  82. url:url
  83. })
  84. },
  85. }
  86. }
  87. </script>
  88. <style lang="scss">
  89. .title{
  90. width: 100%;
  91. margin-top: 30rpx;
  92. .title-box{
  93. width: 686rpx;
  94. .title-box-t{
  95. color: #333333;
  96. font-size: 48rpx;
  97. font-weight: bold;
  98. }
  99. .title-box-b{
  100. color: #999999;
  101. margin-top: 20rpx;
  102. }
  103. }
  104. }
  105. .list-item{
  106. width: 100%;
  107. height: 120rpx;
  108. margin-top: 120rpx;
  109. .list-item-box{
  110. width: 686rpx;
  111. height: 100%;
  112. background-color: #F2F2F2;
  113. border-radius: 16rpx;
  114. .list-item-box-c{
  115. width: 606rpx;
  116. height: 100%;
  117. font-size: 35rpx;
  118. color: #333333;
  119. font-weight: bold;
  120. }
  121. }
  122. }
  123. </style>