123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <template>
- <view v-if="XCXIsSelect != '否'">
- <view class="title flex justify-center">
- <view class="title-box">
- <view class="title-box-t">
- 请选择填写的认证类型
- </view>
- <view class="title-box-b">
- 请选择您要填写编辑的认证类型
- </view>
- </view>
- </view>
-
- <!-- 类型选择 -->
- <view v-for="(item,index) in typeList">
- <view class="list-item flex justify-center" style="margin-top: 20rpx;">
- <view class="list-item-box flex justify-center">
- <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?id=' + item.id)">
- <text>{{item.value}}</text>
- <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
- </view>
- </view>
- </view>
- </view>
- <!-- <view class="list-item flex justify-center" style="margin-top: 20rpx;">
- <view class="list-item-box flex justify-center">
- <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?authentication=2')">
- <text>教练认证</text>
- <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
- </view>
- </view>
- </view>
- <view class="list-item flex justify-center" style="margin-top: 20rpx;">
- <view class="list-item-box flex justify-center">
- <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?authentication=2')">
- <text>美业认证</text>
- <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
- </view>
- </view>
- </view>
- <view class="list-item flex justify-center" style="margin-top: 20rpx;">
- <view class="list-item-box flex justify-center">
- <view class="list-item-box-c flex justify-between align-center" @click="goNav('./index?authentication=2')">
- <text>家政技师认证</text>
- <u-icon name="arrow-right" color="#999999" size="28"></u-icon>
- </view>
- </view>
- </view> -->
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- typeList:[],
- XCXIsSelect: '否'
- }
- },
- onLoad() {
- this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
- if(this.XCXIsSelect != '否' ){
- uni.setNavigationBarTitle({
- title:'认证类型'
- })
- }else{
- uni.setNavigationBarTitle({
- title:'关于我们'
- })
- }
- this.$Request.get("/app/dict/list", {
- type: '服务类型'
- }).then(res => {
- if (res.code == 0) {
- if (res.data) {
- this.typeList = res.data
- }
- }
- });
- },
- methods: {
- goNav(url){
- uni.navigateTo({
- url:url
- })
- },
- }
- }
- </script>
- <style lang="scss">
- .title{
- width: 100%;
- margin-top: 30rpx;
- .title-box{
- width: 686rpx;
- .title-box-t{
- color: #333333;
- font-size: 48rpx;
- font-weight: bold;
- }
- .title-box-b{
- color: #999999;
-
- margin-top: 20rpx;
- }
-
- }
- }
- .list-item{
- width: 100%;
- height: 120rpx;
- margin-top: 120rpx;
- .list-item-box{
- width: 686rpx;
- height: 100%;
- background-color: #F2F2F2;
- border-radius: 16rpx;
- .list-item-box-c{
- width: 606rpx;
- height: 100%;
- font-size: 35rpx;
- color: #333333;
- font-weight: bold;
-
- }
- }
- }
- </style>
|