Commit e6b161aef1f2568f4af9f2d6284c27303634966d
1 parent
9ebd710b
2/23
Showing
24 changed files
with
278 additions
and
444 deletions
components/TabBar/TabBar.scss
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | width: 100%; | 4 | width: 100%; |
| 5 | padding-bottom: constant(safe-area-inset-bottom); | 5 | padding-bottom: constant(safe-area-inset-bottom); |
| 6 | padding-bottom: env(safe-area-inset-bottom); | 6 | padding-bottom: env(safe-area-inset-bottom); |
| 7 | - z-index: 999; | 7 | + z-index: 2; |
| 8 | background-color: rgba(255, 255, 255, .5); | 8 | background-color: rgba(255, 255, 255, .5); |
| 9 | } | 9 | } |
| 10 | .page-total{ | 10 | .page-total{ |
components/TabBar/TabBar.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page-total-content"> | 2 | <view class="page-total-content"> |
| 3 | - <view style="position: absolute; bottom: -6rpx; width: 100%;z-index: 0;"><image src="../../static/bottom.png" style="width: 100%; height: 264rpx;"></image></view> | ||
| 4 | - <view class="page-total"> | ||
| 5 | - <view class="tab-list"> | ||
| 6 | - <view class="list" v-for="(item,index) in TabBarList" | ||
| 7 | - @click="onTabBar(item,index)" | ||
| 8 | - :key="index"> | ||
| 9 | - <image :src="item.acImg" mode="widthFix" v-show="tabBarShow === index"></image> | ||
| 10 | - <image :src="item.img" mode="widthFix" v-show="tabBarShow != index"></image> | ||
| 11 | - <text :class="{'action':tabBarShow===index}">{{item.name}}</text> | 3 | + <view> |
| 4 | + <image src="../../static/bottom.png" style="width: 100%; height: 264rpx;"></image> | ||
| 5 | + </view> | ||
| 6 | + <view class="page-total"> | ||
| 7 | + <view class="tab-list"> | ||
| 8 | + <view class="list" v-for="(item,index) in TabBarList" @click="onTabBar(item,index)" :key="index"> | ||
| 9 | + <image :src="item.acImg" mode="widthFix" v-show="tabBarShow === index"></image> | ||
| 10 | + <image :src="item.img" mode="widthFix" v-show="tabBarShow != index"></image> | ||
| 11 | + <text :class="{'action':tabBarShow===index}">{{item.name}}</text> | ||
| 12 | + </view> | ||
| 12 | </view> | 13 | </view> |
| 13 | </view> | 14 | </view> |
| 14 | </view> | 15 | </view> |
| 15 | - </view> | ||
| 16 | </template> | 16 | </template> |
| 17 | 17 | ||
| 18 | <script> | 18 | <script> |
| 19 | export default { | 19 | export default { |
| 20 | data() { | 20 | data() { |
| 21 | return { | 21 | return { |
| 22 | - TabBarList:[ | ||
| 23 | - { | 22 | + TabBarList: [{ |
| 24 | index: 0, | 23 | index: 0, |
| 25 | name: '首页', | 24 | name: '首页', |
| 26 | img: '/static/tabBar/tab_01.png', | 25 | img: '/static/tabBar/tab_01.png', |
| @@ -38,7 +37,7 @@ | @@ -38,7 +37,7 @@ | ||
| 38 | phoneModel: '', | 37 | phoneModel: '', |
| 39 | }; | 38 | }; |
| 40 | }, | 39 | }, |
| 41 | - props:{ | 40 | + props: { |
| 42 | tabBarShow: { | 41 | tabBarShow: { |
| 43 | type: Number, | 42 | type: Number, |
| 44 | default: 0, | 43 | default: 0, |
| @@ -46,47 +45,47 @@ | @@ -46,47 +45,47 @@ | ||
| 46 | }, | 45 | }, |
| 47 | mounted() { | 46 | mounted() { |
| 48 | try { | 47 | try { |
| 49 | - const res = uni.getSystemInfoSync(); | ||
| 50 | - let that = this; | ||
| 51 | - // 获取系统信息 | ||
| 52 | - uni.getSystemInfo({ | ||
| 53 | - success(res) { | ||
| 54 | - console.log(res.brand) //手机牌子 | ||
| 55 | - console.log(res.model) //手机型号 | ||
| 56 | - console.log(res.screenWidth) //屏幕宽度 | ||
| 57 | - console.log(res.screenHeight) //屏幕高度 | ||
| 58 | - that.codeheight = Math.round(res.screenHeight); | ||
| 59 | - that.phoneModel =res.model | ||
| 60 | - if(res.model.search('iPhone')){ | ||
| 61 | - that.isOverall = 0; | ||
| 62 | - }else if(Math.round(res.screenHeight)>740){ | ||
| 63 | - that.isOverall = 1; | ||
| 64 | - } | ||
| 65 | - console.log(that.isOverall); | ||
| 66 | - } | ||
| 67 | - }); | 48 | + const res = uni.getSystemInfoSync(); |
| 49 | + let that = this; | ||
| 50 | + // 获取系统信息 | ||
| 51 | + uni.getSystemInfo({ | ||
| 52 | + success(res) { | ||
| 53 | + console.log(res.brand) //手机牌子 | ||
| 54 | + console.log(res.model) //手机型号 | ||
| 55 | + console.log(res.screenWidth) //屏幕宽度 | ||
| 56 | + console.log(res.screenHeight) //屏幕高度 | ||
| 57 | + that.codeheight = Math.round(res.screenHeight); | ||
| 58 | + that.phoneModel = res.model | ||
| 59 | + if (res.model.search('iPhone')) { | ||
| 60 | + that.isOverall = 0; | ||
| 61 | + } else if (Math.round(res.screenHeight) > 740) { | ||
| 62 | + that.isOverall = 1; | ||
| 63 | + } | ||
| 64 | + console.log(that.isOverall); | ||
| 65 | + } | ||
| 66 | + }); | ||
| 68 | } catch (e) { | 67 | } catch (e) { |
| 69 | - // error | 68 | + // error |
| 70 | } | 69 | } |
| 71 | }, | 70 | }, |
| 72 | - methods:{ | 71 | + methods: { |
| 73 | /** | 72 | /** |
| 74 | * @param {Object} item | 73 | * @param {Object} item |
| 75 | * @param {Number} index | 74 | * @param {Number} index |
| 76 | */ | 75 | */ |
| 77 | - onTabBar(item,index){ | 76 | + onTabBar(item, index) { |
| 78 | // this.tabBarShow = index; | 77 | // this.tabBarShow = index; |
| 79 | - switch (index){ | 78 | + switch (index) { |
| 80 | case 0: | 79 | case 0: |
| 81 | wx.switchTab({ | 80 | wx.switchTab({ |
| 82 | - url:'/pages/home/home' | 81 | + url: '/pages/home/home' |
| 83 | }) | 82 | }) |
| 84 | break; | 83 | break; |
| 85 | case 1: | 84 | case 1: |
| 86 | wx.switchTab({ | 85 | wx.switchTab({ |
| 87 | - url:'/pages/my/my' | 86 | + url: '/pages/my/my' |
| 88 | }) | 87 | }) |
| 89 | - break; | 88 | + break; |
| 90 | } | 89 | } |
| 91 | } | 90 | } |
| 92 | } | 91 | } |
| @@ -95,4 +94,4 @@ | @@ -95,4 +94,4 @@ | ||
| 95 | 94 | ||
| 96 | <style scoped lang="scss"> | 95 | <style scoped lang="scss"> |
| 97 | @import 'TabBar.scss'; | 96 | @import 'TabBar.scss'; |
| 98 | -</style> | 97 | -</style> |
| 98 | +</style> | ||
| 99 | \ No newline at end of file | 99 | \ No newline at end of file |
pages/conDetail/conDetail.vue
| @@ -104,11 +104,11 @@ | @@ -104,11 +104,11 @@ | ||
| 104 | title: '请登录', | 104 | title: '请登录', |
| 105 | icon: 'none' | 105 | icon: 'none' |
| 106 | }) | 106 | }) |
| 107 | - setTimeout(() => { | ||
| 108 | - uni.reLaunch({ | ||
| 109 | - url: '/pages/login/index' | ||
| 110 | - }) | ||
| 111 | - }) | 107 | + // setTimeout(() => { |
| 108 | + // uni.reLaunch({ | ||
| 109 | + // url: '/pages/login/index' | ||
| 110 | + // }) | ||
| 111 | + // }) | ||
| 112 | } | 112 | } |
| 113 | }, | 113 | }, |
| 114 | // 获取需求详情数据 | 114 | // 获取需求详情数据 |
pages/construct/construct.scss
| @@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
| 61 | /* #ifdef APP-PLUS */ | 61 | /* #ifdef APP-PLUS */ |
| 62 | // margin-top: calc(150rpx + var(--status-bar-height)); | 62 | // margin-top: calc(150rpx + var(--status-bar-height)); |
| 63 | /* #endif */ | 63 | /* #endif */ |
| 64 | - margin-top: 60rpx; | 64 | + margin-top: 150rpx; |
| 65 | .article-list{ | 65 | .article-list{ |
| 66 | padding: 0 4%; | 66 | padding: 0 4%; |
| 67 | margin: 30rpx auto; | 67 | margin: 30rpx auto; |
pages/datain/datain.vue
| @@ -16,8 +16,8 @@ | @@ -16,8 +16,8 @@ | ||
| 16 | </view> | 16 | </view> |
| 17 | </view> | 17 | </view> |
| 18 | <view class="user-list"> | 18 | <view class="user-list"> |
| 19 | - <view class="list" @click="toPostCom()" style="background-color:#D32D25;"> | ||
| 20 | - <view class="title" style="color:white"> | 19 | + <view class="list" @click="toPostCom()" > |
| 20 | + <view class="title" > | ||
| 21 | <text>企业信息采集</text> | 21 | <text>企业信息采集</text> |
| 22 | </view> | 22 | </view> |
| 23 | <view class="more-content"> | 23 | <view class="more-content"> |
pages/demand/demand.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page"> | 2 | <view class="page"> |
| 3 | <view class="main"> | 3 | <view class="main"> |
| 4 | - <view class="top"><image src="../../static/img/supply2.png" @click="toPostDemand()" mode="widthFix"></image></view> | 4 | + <view class="top"> |
| 5 | + <image src="../../static/img/supply2.png" @click="toPostDemand()" mode="widthFix"></image> | ||
| 6 | + </view> | ||
| 5 | <view class="titleall-box"> | 7 | <view class="titleall-box"> |
| 6 | <view class="title-screen"> | 8 | <view class="title-screen"> |
| 7 | <scroll-view scroll-x="true" class="scrollview-box"> | 9 | <scroll-view scroll-x="true" class="scrollview-box"> |
| 8 | <!-- 下方的红线 --> | 10 | <!-- 下方的红线 --> |
| 9 | - <!-- <view ref="line" class="line" ></view> --> | ||
| 10 | - <view :class="['title-screen-box',{'red_line':nowShow === 1}]" @click="allPro(1,'全部')"> | ||
| 11 | - <view>全部</view> | ||
| 12 | - </view> | ||
| 13 | - <view :class="['title-screen-box',{'red_line':nowShow === 2}]" @click="metalPro(2,'金属')"> | ||
| 14 | - <view>金属</view> | ||
| 15 | - </view> | ||
| 16 | - <view :class="['title-screen-box',{'red_line':nowShow === 3}]" @click="devicePro(3,'专用设备')"> | ||
| 17 | - <view>专用设备</view> | ||
| 18 | - </view> | ||
| 19 | - <view :class="['title-screen-box',{'red_line':nowShow === 4}]" @click="tranPro(4,'交通运输')"> | ||
| 20 | - <view>交通运输</view> | ||
| 21 | - </view> | ||
| 22 | - <view :class="['title-screen-box',{'red_line':nowShow === 5}]" @click="elecPro(5,'电气机械')"> | ||
| 23 | - <view>电气机械</view> | ||
| 24 | - </view> | ||
| 25 | - <view :class="['title-screen-box',{'red_line':nowShow === 6}]" @click="commuPro(6,'电子及通讯')"> | ||
| 26 | - <view>电子及通讯</view> | ||
| 27 | - </view> | 11 | + <!-- <view ref="line" class="line" ></view> --> |
| 12 | + <view :class="['title-screen-box',{'red_line':nowShow === 1}]" @click="allPro(1,'全部')"> | ||
| 13 | + <view>全部</view> | ||
| 14 | + </view> | ||
| 15 | + <view :class="['title-screen-box',{'red_line':nowShow === 2}]" @click="metalPro(2,'金属')"> | ||
| 16 | + <view>金属</view> | ||
| 17 | + </view> | ||
| 18 | + <view :class="['title-screen-box',{'red_line':nowShow === 3}]" @click="devicePro(3,'专用设备')"> | ||
| 19 | + <view>专用设备</view> | ||
| 20 | + </view> | ||
| 21 | + <view :class="['title-screen-box',{'red_line':nowShow === 4}]" @click="tranPro(4,'交通运输')"> | ||
| 22 | + <view>交通运输</view> | ||
| 23 | + </view> | ||
| 24 | + <view :class="['title-screen-box',{'red_line':nowShow === 5}]" @click="elecPro(5,'电气机械')"> | ||
| 25 | + <view>电气机械</view> | ||
| 26 | + </view> | ||
| 27 | + <view :class="['title-screen-box',{'red_line':nowShow === 6}]" @click="commuPro(6,'电子及通讯')"> | ||
| 28 | + <view>电子及通讯</view> | ||
| 29 | + </view> | ||
| 28 | </scroll-view> | 30 | </scroll-view> |
| 29 | <view class="title-screen-box" style="background-color: #fff;margin-right: 0;text-align: center;"> | 31 | <view class="title-screen-box" style="background-color: #fff;margin-right: 0;text-align: center;"> |
| 30 | - <view class="title-screen-box-btn"><image src="../../static/supply.png"></image></view> | 32 | + <view class="title-screen-box-btn"> |
| 33 | + <image src="../../static/supply.png"></image> | ||
| 34 | + </view> | ||
| 31 | </view> | 35 | </view> |
| 32 | </view> | 36 | </view> |
| 33 | </view> | 37 | </view> |
| 34 | - | 38 | + |
| 35 | <view class="recommend-info"> | 39 | <view class="recommend-info"> |
| 36 | <view class="goods-list"> | 40 | <view class="goods-list"> |
| 37 | <view class="list" @click="ArticleDetails(item)" v-for="(item,index) in demandList" :key="index"> | 41 | <view class="list" @click="ArticleDetails(item)" v-for="(item,index) in demandList" :key="index"> |
| @@ -45,17 +49,21 @@ | @@ -45,17 +49,21 @@ | ||
| 45 | </view> | 49 | </view> |
| 46 | <view class="price-info"> | 50 | <view class="price-info"> |
| 47 | <view class="user-price"> | 51 | <view class="user-price"> |
| 48 | - <view class="goods-city"><image src="../../static/image/default_logo.jpg"></image>{{item.comanyName}}</view> | ||
| 49 | - <view class="goods-city-img"><image src="../../static/right2.png"></image></view> | 52 | + <view class="goods-city"> |
| 53 | + <image src="../../static/image/default_logo.jpg"></image>{{item.comanyName}} | ||
| 54 | + </view> | ||
| 55 | + <view class="goods-city-img"> | ||
| 56 | + <image src="../../static/right2.png"></image> | ||
| 57 | + </view> | ||
| 50 | </view> | 58 | </view> |
| 51 | <view class="vip-price"> | 59 | <view class="vip-price"> |
| 52 | </view> | 60 | </view> |
| 53 | </view> | 61 | </view> |
| 54 | </view> | 62 | </view> |
| 55 | - | 63 | + |
| 56 | </view> | 64 | </view> |
| 57 | </view> | 65 | </view> |
| 58 | - | 66 | + |
| 59 | </view> | 67 | </view> |
| 60 | </view> | 68 | </view> |
| 61 | </template> | 69 | </template> |
| @@ -64,9 +72,9 @@ | @@ -64,9 +72,9 @@ | ||
| 64 | export default { | 72 | export default { |
| 65 | data() { | 73 | data() { |
| 66 | return { | 74 | return { |
| 67 | - demandList:[], | ||
| 68 | - nowShow:1 | ||
| 69 | - } | 75 | + demandList: [], |
| 76 | + nowShow: 1 | ||
| 77 | + } | ||
| 70 | }, | 78 | }, |
| 71 | onLoad() { | 79 | onLoad() { |
| 72 | let that = this | 80 | let that = this |
| @@ -75,65 +83,67 @@ | @@ -75,65 +83,67 @@ | ||
| 75 | }, | 83 | }, |
| 76 | methods: { | 84 | methods: { |
| 77 | // 点击全部 | 85 | // 点击全部 |
| 78 | - allPro(index,name){ | 86 | + allPro(index, name) { |
| 79 | let that = this | 87 | let that = this |
| 80 | this.nowShow = index | 88 | this.nowShow = index |
| 81 | - | 89 | + |
| 82 | console.log(name) | 90 | console.log(name) |
| 83 | - | 91 | + |
| 84 | }, | 92 | }, |
| 85 | // 点击金属 | 93 | // 点击金属 |
| 86 | - metalPro(index,name){ | 94 | + metalPro(index, name) { |
| 87 | let that = this | 95 | let that = this |
| 88 | that.nowShow = index | 96 | that.nowShow = index |
| 89 | console.log(name) | 97 | console.log(name) |
| 90 | - | 98 | + |
| 91 | }, | 99 | }, |
| 92 | // 点击专用设备 | 100 | // 点击专用设备 |
| 93 | - devicePro(index,name){ | 101 | + devicePro(index, name) { |
| 94 | let that = this | 102 | let that = this |
| 95 | that.nowShow = index | 103 | that.nowShow = index |
| 96 | console.log(name) | 104 | console.log(name) |
| 97 | - | 105 | + |
| 98 | }, | 106 | }, |
| 99 | // 点击交通运输 | 107 | // 点击交通运输 |
| 100 | - tranPro(index,name){ | 108 | + tranPro(index, name) { |
| 101 | let that = this | 109 | let that = this |
| 102 | that.nowShow = index | 110 | that.nowShow = index |
| 103 | console.log(name) | 111 | console.log(name) |
| 104 | - | 112 | + |
| 105 | }, | 113 | }, |
| 106 | // 点击电气机械 | 114 | // 点击电气机械 |
| 107 | - elecPro(index,name){ | 115 | + elecPro(index, name) { |
| 108 | let that = this | 116 | let that = this |
| 109 | that.nowShow = index | 117 | that.nowShow = index |
| 110 | console.log(name) | 118 | console.log(name) |
| 111 | - | 119 | + |
| 112 | }, | 120 | }, |
| 113 | // 点击电子及通讯 | 121 | // 点击电子及通讯 |
| 114 | - commuPro(index,name){ | 122 | + commuPro(index, name) { |
| 115 | let that = this | 123 | let that = this |
| 116 | that.nowShow = index | 124 | that.nowShow = index |
| 117 | console.log(name) | 125 | console.log(name) |
| 118 | - | 126 | + |
| 119 | }, | 127 | }, |
| 120 | // 获取全部需求数据 | 128 | // 获取全部需求数据 |
| 121 | - getDemandList(){ | 129 | + getDemandList() { |
| 122 | let that = this | 130 | let that = this |
| 123 | - that.API.getDemandList({pageSize:50}).then(res => { | 131 | + that.API.getDemandList({ |
| 132 | + pageSize: 50, | ||
| 133 | + }).then(res => { | ||
| 124 | console.log(res) | 134 | console.log(res) |
| 125 | that.demandList = res.data.list | 135 | that.demandList = res.data.list |
| 126 | }) | 136 | }) |
| 127 | }, | 137 | }, |
| 128 | - ArticleDetails(it){ | 138 | + ArticleDetails(it) { |
| 129 | uni.navigateTo({ | 139 | uni.navigateTo({ |
| 130 | url: `/pages/ArticleDetails/ArticleDetails?data=${JSON.stringify(it)}` | 140 | url: `/pages/ArticleDetails/ArticleDetails?data=${JSON.stringify(it)}` |
| 131 | }) | 141 | }) |
| 132 | }, | 142 | }, |
| 133 | // 去需求发布页面 | 143 | // 去需求发布页面 |
| 134 | - toPostDemand(){ | 144 | + toPostDemand() { |
| 135 | uni.navigateTo({ | 145 | uni.navigateTo({ |
| 136 | - url:'/pages/postDemand/postDemand' | 146 | + url: '/pages/postDemand/postDemand' |
| 137 | }) | 147 | }) |
| 138 | } | 148 | } |
| 139 | } | 149 | } |
| @@ -142,4 +152,4 @@ | @@ -142,4 +152,4 @@ | ||
| 142 | 152 | ||
| 143 | <style scoped lang="scss"> | 153 | <style scoped lang="scss"> |
| 144 | @import 'demand.scss'; | 154 | @import 'demand.scss'; |
| 145 | -</style> | 155 | -</style> |
| 156 | +</style> | ||
| 146 | \ No newline at end of file | 157 | \ No newline at end of file |
pages/equip/equip.vue
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | </view> | 30 | </view> |
| 31 | <p @click="toAllCompany()">查看更多 <image src="../../static/right.png"></image></p> | 31 | <p @click="toAllCompany()">查看更多 <image src="../../static/right.png"></image></p> |
| 32 | </view> | 32 | </view> |
| 33 | - <view class="item_box" v-for="(item,index) in twentyList"> | 33 | + <view class="item_box" v-for="(item,index) in twentyList" @click="onCompany(item.id)"> |
| 34 | <image :src="baseUrl + item.logo" mode="" v-if="item.logo"></image> | 34 | <image :src="baseUrl + item.logo" mode="" v-if="item.logo"></image> |
| 35 | <image src="../../static/image/default_logo.jpg" v-else mode=""></image> | 35 | <image src="../../static/image/default_logo.jpg" v-else mode=""></image> |
| 36 | <view class="right"> | 36 | <view class="right"> |
pages/home/home.scss
pages/home/home.vue
| @@ -186,7 +186,7 @@ | @@ -186,7 +186,7 @@ | ||
| 186 | getNewsList() { | 186 | getNewsList() { |
| 187 | let that = this | 187 | let that = this |
| 188 | that.API.getNewsList({ | 188 | that.API.getNewsList({ |
| 189 | - categoryId: '360233879019193605' | 189 | + categoryId: '530363088214426885' |
| 190 | }).then(res => { | 190 | }).then(res => { |
| 191 | console.log("新闻", res) | 191 | console.log("新闻", res) |
| 192 | that.newsList = res.data.list | 192 | that.newsList = res.data.list |
pages/map/map.nvue deleted
| 1 | -<template> | ||
| 2 | - <view class="page"> | ||
| 3 | - <view class="content"> | ||
| 4 | - <cover-view></cover-view> | ||
| 5 | - <view class="bg"> | ||
| 6 | - <!-- <web-view src="../../static/html/map.html" style="width: 100%;height: 100%; position: absolute; z-index: 0;"></web-view> --> | ||
| 7 | - <map style="width: 100%;height: 70%;position: relative;top: 190rpx;" :latitude="latitude" | ||
| 8 | - :longitude="longitude" :markers="covers" :show-location="true"></map> | ||
| 9 | - </view> | ||
| 10 | - <view class="map-content" style="position: relative;z-index: 1000;"> | ||
| 11 | - <!-- 搜索 --> | ||
| 12 | - <view class="search-head"> | ||
| 13 | - <view class="search"> | ||
| 14 | - <image src="../../static/fdj1.png"></image> | ||
| 15 | - <text></text> | ||
| 16 | - <input type="text" v-model="selectName" placeholder="搜索关键词" @input="getCompanyList" /> | ||
| 17 | - </view> | ||
| 18 | - <!-- 显示公司选项 --> | ||
| 19 | - <view class="btn" @click="getCompanyDetail"> | ||
| 20 | - <text>搜索11</text> | ||
| 21 | - </view> | ||
| 22 | - </view> | ||
| 23 | - <mo-hu-search :show="selectShow" :list="comList" @select="select" label-name="name" | ||
| 24 | - value-name="id"></mo-hu-search> | ||
| 25 | - </view> | ||
| 26 | - | ||
| 27 | - <view class="bottom"> | ||
| 28 | - <view class="invitation-data"> | ||
| 29 | - <view class="invitation-show"> | ||
| 30 | - <view class="icon" v-show="show"> | ||
| 31 | - <image :src=" baseUrl + logo.url"></image> | ||
| 32 | - </view> | ||
| 33 | - <view class="item"> | ||
| 34 | - <view class="title-btn"> | ||
| 35 | - <view class="title"> | ||
| 36 | - <text class="bt">{{this.companyName}}</text> | ||
| 37 | - </view> | ||
| 38 | - </view> | ||
| 39 | - <view class="describe"> | ||
| 40 | - <text>{{this.dizhi}}</text> | ||
| 41 | - </view> | ||
| 42 | - <view class="describe"> | ||
| 43 | - <text>电话:{{getData.fuzerendianhua}}</text> | ||
| 44 | - <image src="../../static/map1.png"></image> | ||
| 45 | - </view> | ||
| 46 | - <view class="describe"> | ||
| 47 | - <text>营业时间:10:00-20:00</text> | ||
| 48 | - </view> | ||
| 49 | - </view> | ||
| 50 | - <view class="right"> | ||
| 51 | - <view class="red-btn" @click.stop="handleNavigation"> | ||
| 52 | - <image src="../../static/dh.png"></image> | ||
| 53 | - <text>导航</text> | ||
| 54 | - </view> | ||
| 55 | - </view> | ||
| 56 | - </view> | ||
| 57 | - </view> | ||
| 58 | - </view> | ||
| 59 | - </view> | ||
| 60 | - </view> | ||
| 61 | -</template> | ||
| 62 | - | ||
| 63 | -<script> | ||
| 64 | - import request from '@/utils/request.js' | ||
| 65 | - // import moHuSearch from '../../components/qj-fuzzy-search/index.vue' | ||
| 66 | - import moHuSearch from '../../components/qj-fuzzy-search/index.vue' | ||
| 67 | - export default { | ||
| 68 | - components: { | ||
| 69 | - moHuSearch | ||
| 70 | - }, | ||
| 71 | - data() { | ||
| 72 | - return { | ||
| 73 | - keyword: '', | ||
| 74 | - id: 0, // 使用 marker点击事件 需要填写id | ||
| 75 | - title: 'map', | ||
| 76 | - // latitude: 30.602494, | ||
| 77 | - // longitude: 104.073004, | ||
| 78 | - latitude: 30.926786, | ||
| 79 | - longitude: 104.294514, | ||
| 80 | - covers: [{ | ||
| 81 | - latitude: 30.926786, | ||
| 82 | - longitude: 104.294514, | ||
| 83 | - iconPath: '../../static/map_red.png', | ||
| 84 | - // width:20, | ||
| 85 | - // height:26, | ||
| 86 | - }, | ||
| 87 | - // { | ||
| 88 | - // latitude: 39.90, | ||
| 89 | - // longitude: 116.39, | ||
| 90 | - // iconPath: '../../../static/wuganda.png' | ||
| 91 | - // }, | ||
| 92 | - ], | ||
| 93 | - getData: {}, | ||
| 94 | - show: false, | ||
| 95 | - selectShow: false, | ||
| 96 | - selectName: '', | ||
| 97 | - selectId: '', | ||
| 98 | - logo: {}, | ||
| 99 | - baseUrl: 'http://deyanggaoxin.fengshiyun.com', | ||
| 100 | - comList: [], | ||
| 101 | - companyName: '德阳高新区管委会', | ||
| 102 | - dizhi: '广汉市聆湖西路一段一号', | ||
| 103 | - // 我自己的位置经纬度(百度地图需要传入自己的经纬度进行导航) | ||
| 104 | - selfLocation: { | ||
| 105 | - latitude: '', | ||
| 106 | - longitude: '' | ||
| 107 | - } | ||
| 108 | - } | ||
| 109 | - }, | ||
| 110 | - onLoad() { | ||
| 111 | - // this.getCompanyDetail() | ||
| 112 | - }, | ||
| 113 | - methods: { | ||
| 114 | - // 获取公司列表 | ||
| 115 | - getCompanyList() { | ||
| 116 | - this.selectShow = true | ||
| 117 | - // this.$refs.sou.open() | ||
| 118 | - request({ | ||
| 119 | - url: '/api/permission/organize/GetSelectList', | ||
| 120 | - method: 'get', | ||
| 121 | - data: { | ||
| 122 | - keyword: this.selectName | ||
| 123 | - } | ||
| 124 | - }).then(res => { | ||
| 125 | - if (res.code === 200) { | ||
| 126 | - // console.log(res) | ||
| 127 | - this.comList = res.data.list.map(it => { | ||
| 128 | - return { | ||
| 129 | - id: it.id, | ||
| 130 | - name: it.fullName | ||
| 131 | - } | ||
| 132 | - }) | ||
| 133 | - // console.log(this.comList) | ||
| 134 | - this.comList = JSON.parse(JSON.stringify(this.comList)) | ||
| 135 | - } | ||
| 136 | - }) | ||
| 137 | - }, | ||
| 138 | - select(item) { | ||
| 139 | - this.selectShow = false; | ||
| 140 | - this.selectName = item.name; | ||
| 141 | - this.selectId = item.id | ||
| 142 | - }, | ||
| 143 | - // 查询公司 | ||
| 144 | - getCompanyDetail() { | ||
| 145 | - request({ | ||
| 146 | - url: `/api/permission/organize/${this.selectId}`, | ||
| 147 | - method: 'get', | ||
| 148 | - data: {} | ||
| 149 | - }).then(res => { | ||
| 150 | - if (res.code === 200) { | ||
| 151 | - console.log(res) | ||
| 152 | - // console.log(res.data.list) | ||
| 153 | - if (res.data.latlong !== null) { | ||
| 154 | - let position = res.data.latlong.split(',') | ||
| 155 | - this.latitude = position[1] | ||
| 156 | - this.longitude = position[0] | ||
| 157 | - this.covers[0].latitude = position[1] | ||
| 158 | - this.covers[0].longitude = position[0] | ||
| 159 | - console.log(position) | ||
| 160 | - } | ||
| 161 | - | ||
| 162 | - this.getData = res.data | ||
| 163 | - this.companyName = this.getData.fullName | ||
| 164 | - this.dizhi = this.getData.dizhi | ||
| 165 | - // console.log(this.getData.F_Logo.length) | ||
| 166 | - if (this.getData.logo.length > 0) { | ||
| 167 | - this.show = true | ||
| 168 | - this.logo = this.getData.logo[0] | ||
| 169 | - console.log(this.logo) | ||
| 170 | - | ||
| 171 | - } | ||
| 172 | - } | ||
| 173 | - }) | ||
| 174 | - }, | ||
| 175 | - | ||
| 176 | - // 点击跳转到本机地图软件 | ||
| 177 | - handleNavigation() { | ||
| 178 | - // console.log('导航') | ||
| 179 | - const _this = this | ||
| 180 | - if (!this.latitude || !this.longitude || !this.companyName) return | ||
| 181 | - uni.getLocation({ | ||
| 182 | - type: 'wgs84', | ||
| 183 | - success: function(res) { | ||
| 184 | - console.log('当前位置的经度:' + res.longitude); | ||
| 185 | - console.log('当前位置的纬度:' + res.latitude); | ||
| 186 | - this.selfLocation.longitude = res.longitude | ||
| 187 | - this.selfLocation.latitude = res.latitude | ||
| 188 | - } | ||
| 189 | - }); | ||
| 190 | - // 微信 | ||
| 191 | - // #ifdef MP-WEIXIN | ||
| 192 | - let _obj = { | ||
| 193 | - latitude: parseFloat(this.latitude), | ||
| 194 | - longitude: parseFloat(this.longitude), | ||
| 195 | - name: this.companyName, | ||
| 196 | - } | ||
| 197 | - if (this.dizhi) { | ||
| 198 | - _obj['dizhi'] = this.dizhi | ||
| 199 | - } | ||
| 200 | - uni.openLocation({ | ||
| 201 | - ..._obj, | ||
| 202 | - success: function(res) { | ||
| 203 | - console.log('打开系统位置地图成功') | ||
| 204 | - }, | ||
| 205 | - fail: function(error) { | ||
| 206 | - console.log(error) | ||
| 207 | - } | ||
| 208 | - }) | ||
| 209 | - // #endif | ||
| 210 | - | ||
| 211 | - // #ifdef APP-PLUS | ||
| 212 | - // 判断系统安装的地图应用有哪些, 并生成菜单按钮 | ||
| 213 | - let _mapName = [{ | ||
| 214 | - title: '高德地图', | ||
| 215 | - name: 'amap', | ||
| 216 | - androidName: 'com.autonavi.minimap', | ||
| 217 | - iosName: 'iosamap://' | ||
| 218 | - }, | ||
| 219 | - { | ||
| 220 | - title: '百度地图', | ||
| 221 | - name: 'baidumap', | ||
| 222 | - androidName: 'com.baidu.BaiduMap', | ||
| 223 | - iosName: 'baidumap://' | ||
| 224 | - }, | ||
| 225 | - { | ||
| 226 | - title: '腾讯地图', | ||
| 227 | - name: 'qqmap', | ||
| 228 | - androidName: 'com.tencent.map', | ||
| 229 | - iosName: 'qqmap://' | ||
| 230 | - }, | ||
| 231 | - ] | ||
| 232 | - // 根据真机有的地图软件 生成的 操作菜单 | ||
| 233 | - let buttons = [] | ||
| 234 | - let platform = uni.getSystemInfoSync().platform | ||
| 235 | - platform === 'android' && _mapName.forEach(item => { | ||
| 236 | - if (plus.runtime.isApplicationExist({ | ||
| 237 | - pname: item.androidName | ||
| 238 | - })) { | ||
| 239 | - buttons.push(item) | ||
| 240 | - } | ||
| 241 | - }) | ||
| 242 | - platform === 'ios' && _mapName.forEach(item => { | ||
| 243 | - console.log(item.iosName) | ||
| 244 | - if (plus.runtime.isApplicationExist({ | ||
| 245 | - action: item.iosName | ||
| 246 | - })) { | ||
| 247 | - buttons.push(item) | ||
| 248 | - } | ||
| 249 | - }) | ||
| 250 | - if (buttons.length) { | ||
| 251 | - plus.nativeUI.actionSheet({ //选择菜单 | ||
| 252 | - title: "选择地图应用", | ||
| 253 | - cancel: "取消", | ||
| 254 | - buttons: buttons | ||
| 255 | - }, function(e) { | ||
| 256 | - let _map = buttons[e.index - 1] | ||
| 257 | - _this.openURL(_map, platform) | ||
| 258 | - }) | ||
| 259 | - } else { | ||
| 260 | - uni.showToast({ | ||
| 261 | - title: '请安装地图软件', | ||
| 262 | - icon: 'none' | ||
| 263 | - }) | ||
| 264 | - return | ||
| 265 | - } | ||
| 266 | - // #endif | ||
| 267 | - }, | ||
| 268 | - | ||
| 269 | - // 打开第三方程序实际应用 | ||
| 270 | - openURL(map, platform) { | ||
| 271 | - let _defaultUrl = { | ||
| 272 | - android: { | ||
| 273 | - "amap": `amapuri://route/plan/?sid=&did=&dlat=${this.latitude}&dlon=${this.longitude}&dname=${this.companyName}&dev=0&t=0`, | ||
| 274 | - 'qqmap': `qqmap://map/routeplan?type=drive&to=${this.companyName}&tocoord=${this.latitude},${this.longitude}&referer=fuxishan_uni_client`, | ||
| 275 | - 'baidumap': `baidumap://map/direction?origin=${this.selfLocation.latitude},${this.selfLocation.longitude}&destination=name:${this.companyName}|latlng:${this.latitude},${this.longitude}&coord_type=wgs84&mode=driving&src=andr.baidu.openAPIdemo"` | ||
| 276 | - }, | ||
| 277 | - ios: { | ||
| 278 | - "amap": `iosamap://path?sourceApplication=fuxishan_uni_client&dlat=${this.latitude}&dlon=${this.longitude}&dname=${this.companyName}&dev=0&t=0`, | ||
| 279 | - 'qqmap': `qqmap://map/routeplan?type=drive&to=${this.companyName}&tocoord=${this.latitude},${this.longitude}&referer=fuxishan_uni_client`, | ||
| 280 | - 'baidumap': `baidumap://map/direction?origin=${this.selfLocation.latitude},${this.selfLocation.longitude}&destination=name:${this.companyName}|latlng:${this.latitude},${this.longitude}&mode=driving&src=ios.baidu.openAPIdemo` | ||
| 281 | - } | ||
| 282 | - } | ||
| 283 | - let newurl = encodeURI(_defaultUrl[platform][map.name]); | ||
| 284 | - console.log(newurl) | ||
| 285 | - plus.runtime.openURL(newurl, function(res) { | ||
| 286 | - console.log(res) | ||
| 287 | - uni.showModal({ | ||
| 288 | - content: res.message | ||
| 289 | - }) | ||
| 290 | - }, map.androidName ? map.androidName : ''); | ||
| 291 | - } | ||
| 292 | - | ||
| 293 | - } | ||
| 294 | - } | ||
| 295 | -</script> | ||
| 296 | - | ||
| 297 | -<style scoped lang="scss"> | ||
| 298 | - @import 'map.scss'; | ||
| 299 | -</style> | ||
| 300 | \ No newline at end of file | 0 | \ No newline at end of file |
pages/my/my.vue
| @@ -66,7 +66,7 @@ | @@ -66,7 +66,7 @@ | ||
| 66 | <text>招聘</text> | 66 | <text>招聘</text> |
| 67 | </view> | 67 | </view> |
| 68 | </view> | 68 | </view> |
| 69 | - <view class="line"></view> | 69 | + <!-- <view class="line"></view> |
| 70 | <view class="list" @click="toMyCom()"> | 70 | <view class="list" @click="toMyCom()"> |
| 71 | <view class="thumb"> | 71 | <view class="thumb"> |
| 72 | {{com}} | 72 | {{com}} |
| @@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
| 74 | <view class="name"> | 74 | <view class="name"> |
| 75 | <text>企业</text> | 75 | <text>企业</text> |
| 76 | </view> | 76 | </view> |
| 77 | - </view> | 77 | + </view> --> |
| 78 | </view> | 78 | </view> |
| 79 | </view> | 79 | </view> |
| 80 | 80 | ||
| @@ -169,7 +169,7 @@ | @@ -169,7 +169,7 @@ | ||
| 169 | <text class="iconfont icon-more"></text> | 169 | <text class="iconfont icon-more"></text> |
| 170 | </view> | 170 | </view> |
| 171 | </view> | 171 | </view> |
| 172 | - <!-- <view class="list" @click="toMyCom"> | 172 | + <view class="list" @click="toMyCom" v-show="isAdmin"> |
| 173 | <view class="icon-data"> | 173 | <view class="icon-data"> |
| 174 | <view class="icon"> | 174 | <view class="icon"> |
| 175 | <image src="/static/my-icon5.png" mode=""></image> | 175 | <image src="/static/my-icon5.png" mode=""></image> |
| @@ -183,7 +183,7 @@ | @@ -183,7 +183,7 @@ | ||
| 183 | <view class="more"> | 183 | <view class="more"> |
| 184 | <text class="iconfont icon-more"></text> | 184 | <text class="iconfont icon-more"></text> |
| 185 | </view> | 185 | </view> |
| 186 | - </view> --> | 186 | + </view> |
| 187 | <!-- <view class="list"> | 187 | <!-- <view class="list"> |
| 188 | <view class="icon-data"> | 188 | <view class="icon-data"> |
| 189 | <view class="icon"> | 189 | <view class="icon"> |
| @@ -237,7 +237,8 @@ | @@ -237,7 +237,8 @@ | ||
| 237 | // 招聘数量 | 237 | // 招聘数量 |
| 238 | zhaoPCount: '', | 238 | zhaoPCount: '', |
| 239 | // 企业数量 | 239 | // 企业数量 |
| 240 | - com:'' | 240 | + com:'', |
| 241 | + isAdmin:false | ||
| 241 | }; | 242 | }; |
| 242 | }, | 243 | }, |
| 243 | onLoad() { | 244 | onLoad() { |
| @@ -257,6 +258,9 @@ | @@ -257,6 +258,9 @@ | ||
| 257 | let userCode = uni.getStorageSync('user') | 258 | let userCode = uni.getStorageSync('user') |
| 258 | // console.log("用户的code", this.userCode) | 259 | // console.log("用户的code", this.userCode) |
| 259 | this.userId = userCode.userInfo.userId | 260 | this.userId = userCode.userInfo.userId |
| 261 | + if(this.userId === 'admin'){ | ||
| 262 | + this.isAdmin = true | ||
| 263 | + } | ||
| 260 | this.userName = userCode.userInfo.userAccount | 264 | this.userName = userCode.userInfo.userAccount |
| 261 | this.userIcon = userCode.userInfo.headIcon | 265 | this.userIcon = userCode.userInfo.headIcon |
| 262 | this.organizeName = userCode.userInfo.organizeName | 266 | this.organizeName = userCode.userInfo.organizeName |
pages/my/myCom/myCom.vue
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | </view> | 18 | </view> |
| 19 | <view class="bottom"> | 19 | <view class="bottom"> |
| 20 | <button type="primary" @click="GoodsDetails(it.id)">详情</button> | 20 | <button type="primary" @click="GoodsDetails(it.id)">详情</button> |
| 21 | - <button type="warn" @click="deletePro(it.id)">删除</button> | 21 | + <!-- <button type="warn" @click="deletePro(it.id)">删除</button> --> |
| 22 | </view> | 22 | </view> |
| 23 | </view> | 23 | </view> |
| 24 | </view> | 24 | </view> |
pages/my/myComdetail/myComdetail.vue
| @@ -19,10 +19,10 @@ | @@ -19,10 +19,10 @@ | ||
| 19 | <!-- <u-cell-item title="手机号" :value="userInfo.mobilePhone" :arrow="false"></u-cell-item> --> | 19 | <!-- <u-cell-item title="手机号" :value="userInfo.mobilePhone" :arrow="false"></u-cell-item> --> |
| 20 | <!-- <u-cell-item title="邮箱" :value="userInfo.email" :arrow="false"></u-cell-item> --> | 20 | <!-- <u-cell-item title="邮箱" :value="userInfo.email" :arrow="false"></u-cell-item> --> |
| 21 | </u-cell-group> | 21 | </u-cell-group> |
| 22 | - <button type="primary" | 22 | + <!-- <button type="primary" |
| 23 | @click="toUpdate()" | 23 | @click="toUpdate()" |
| 24 | style="margin: 0 auto; margin-top: 30rpx; width: 90%;margin-bottom: 40rpx;" | 24 | style="margin: 0 auto; margin-top: 30rpx; width: 90%;margin-bottom: 40rpx;" |
| 25 | - >修改</button> | 25 | + >修改</button> --> |
| 26 | </view> | 26 | </view> |
| 27 | </template> | 27 | </template> |
| 28 | 28 |
pages/news/news.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page"> | 2 | <view class="page"> |
| 3 | <view class="coupon-tab"> | 3 | <view class="coupon-tab"> |
| 4 | - <view class="tab" :class="{'action':TabShow===0}" @click="onCouponTab(0)"> | 4 | + <view class="tab" :class="{'action':TabShow===0}" @click="onCouponTab(0,'360233879019193605')"> |
| 5 | <text>热点要闻</text> | 5 | <text>热点要闻</text> |
| 6 | </view> | 6 | </view> |
| 7 | - <view class="tab" :class="{'action':TabShow===1}" @click="onCouponTab(1)"> | 7 | + <view class="tab" :class="{'action':TabShow===1}" @click="onCouponTab(1,'530363088214426885')"> |
| 8 | <text>园区快讯</text> | 8 | <text>园区快讯</text> |
| 9 | </view> | 9 | </view> |
| 10 | </view> | 10 | </view> |
| @@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
| 48 | </view> | 48 | </view> |
| 49 | </view> | 49 | </view> |
| 50 | <view class="thumb" v-if="item.isImg"> | 50 | <view class="thumb" v-if="item.isImg"> |
| 51 | - <image :src="baseUrl + item.imgUrl[0]"></image> | 51 | + <image :src="baseUrl + item.imgUrl[0].url"></image> |
| 52 | </view> | 52 | </view> |
| 53 | <view class="thumb" v-else> | 53 | <view class="thumb" v-else> |
| 54 | <image src="../../static/img/img3.jpg"></image> | 54 | <image src="../../static/img/img3.jpg"></image> |
| @@ -87,7 +87,7 @@ | @@ -87,7 +87,7 @@ | ||
| 87 | </view> | 87 | </view> |
| 88 | </view> | 88 | </view> |
| 89 | <view class="thumb" v-if="item.isImg"> | 89 | <view class="thumb" v-if="item.isImg"> |
| 90 | - <image :src="baseUrl + item.imgUrl[0]"></image> | 90 | + <image :src="baseUrl + item.imgUrl[0].url"></image> |
| 91 | </view> | 91 | </view> |
| 92 | <view class="thumb" v-else> | 92 | <view class="thumb" v-else> |
| 93 | <image src="../../static/img/img3.jpg"></image> | 93 | <image src="../../static/img/img3.jpg"></image> |
| @@ -113,13 +113,15 @@ | @@ -113,13 +113,15 @@ | ||
| 113 | baseUrl: "http://deyanggaoxin.fengshiyun.com", | 113 | baseUrl: "http://deyanggaoxin.fengshiyun.com", |
| 114 | keyword: '', | 114 | keyword: '', |
| 115 | isAdmin: false, | 115 | isAdmin: false, |
| 116 | - categoryId: '360234116366468357' | 116 | + // 判断你是否有图片 |
| 117 | + isImg:false, | ||
| 118 | + // categoryId: '360234116366468357' | ||
| 117 | }; | 119 | }; |
| 118 | }, | 120 | }, |
| 119 | onLoad() { | 121 | onLoad() { |
| 120 | let that = this | 122 | let that = this |
| 121 | this.getUser() | 123 | this.getUser() |
| 122 | - this.getNewsList() | 124 | + this.getNewsList('360233879019193605') |
| 123 | }, | 125 | }, |
| 124 | methods: { | 126 | methods: { |
| 125 | // 获取用户信息 | 127 | // 获取用户信息 |
| @@ -144,10 +146,10 @@ | @@ -144,10 +146,10 @@ | ||
| 144 | } | 146 | } |
| 145 | }, | 147 | }, |
| 146 | // 获取新闻列表 | 148 | // 获取新闻列表 |
| 147 | - getNewsList() { | 149 | + getNewsList(id) { |
| 148 | let that = this | 150 | let that = this |
| 149 | that.API.getNewsList({ | 151 | that.API.getNewsList({ |
| 150 | - categoryId:this.categorrId, | 152 | + categoryId:id, |
| 151 | // keyword:this.keyword, | 153 | // keyword:this.keyword, |
| 152 | pageSize:500 | 154 | pageSize:500 |
| 153 | } | 155 | } |
| @@ -169,9 +171,9 @@ | @@ -169,9 +171,9 @@ | ||
| 169 | console.log(that.newsList) | 171 | console.log(that.newsList) |
| 170 | }) | 172 | }) |
| 171 | }, | 173 | }, |
| 172 | - onCouponTab(type) { | 174 | + onCouponTab(type,id) { |
| 173 | this.TabShow = type; | 175 | this.TabShow = type; |
| 174 | - this.getNewsList() | 176 | + this.getNewsList(id) |
| 175 | }, | 177 | }, |
| 176 | onArticle(item) { | 178 | onArticle(item) { |
| 177 | uni.navigateTo({ | 179 | uni.navigateTo({ |
pages/notice/notice.vue
| 1 | <template> | 1 | <template> |
| 2 | <view class="page"> | 2 | <view class="page"> |
| 3 | <view class="coupon-tab"> | 3 | <view class="coupon-tab"> |
| 4 | - <view class="tab" :class="{'action':TabShow===0}" @click="onCouponTab(0,'')"> | 4 | + <view class="tab" :class="{'action':TabShow===0}" @click="onCouponTab(0,'360234116366468357')"> |
| 5 | <text>公示</text> | 5 | <text>公示</text> |
| 6 | </view> | 6 | </view> |
| 7 | - <view class="tab" :class="{'action':TabShow===1}" @click="onCouponTab(1)"> | 7 | + <view class="tab" :class="{'action':TabShow===1}" @click="onCouponTab(1,'530362479830631685')"> |
| 8 | <text>通知</text> | 8 | <text>通知</text> |
| 9 | </view> | 9 | </view> |
| 10 | </view> | 10 | </view> |
| @@ -43,8 +43,8 @@ | @@ -43,8 +43,8 @@ | ||
| 43 | </view> | 43 | </view> |
| 44 | </view> | 44 | </view> |
| 45 | </view> | 45 | </view> |
| 46 | - <view class="thumb" v-if="item.imgUrl"> | ||
| 47 | - <image src="../../static/img/img3.jpg"></image> | 46 | + <view class="thumb" v-if="item.isImg"> |
| 47 | + <image :src="baseUrl + item.imgUrl[0].url"></image> | ||
| 48 | </view> | 48 | </view> |
| 49 | <view class="thumb" v-else> | 49 | <view class="thumb" v-else> |
| 50 | <image src="../../static/img/img3.jpg"></image> | 50 | <image src="../../static/img/img3.jpg"></image> |
| @@ -77,8 +77,8 @@ | @@ -77,8 +77,8 @@ | ||
| 77 | </view> | 77 | </view> |
| 78 | </view> | 78 | </view> |
| 79 | </view> | 79 | </view> |
| 80 | - <view class="thumb" v-if="item.imgUrl"> | ||
| 81 | - <image src="../../static/img/img3.jpg"></image> | 80 | + <view class="thumb" v-if="item.isImg"> |
| 81 | + <image :src="baseUrl + item.imgUrl[0].url"></image> | ||
| 82 | </view> | 82 | </view> |
| 83 | <view class="thumb" v-else> | 83 | <view class="thumb" v-else> |
| 84 | <image src="../../static/img/img3.jpg"></image> | 84 | <image src="../../static/img/img3.jpg"></image> |
| @@ -108,12 +108,13 @@ import utils from '../../service/utils'; | @@ -108,12 +108,13 @@ import utils from '../../service/utils'; | ||
| 108 | 108 | ||
| 109 | // } | 109 | // } |
| 110 | keyword:'', | 110 | keyword:'', |
| 111 | - isAdmin:false | 111 | + isAdmin:false, |
| 112 | + baseUrl: "http://deyanggaoxin.fengshiyun.com", | ||
| 112 | }; | 113 | }; |
| 113 | }, | 114 | }, |
| 114 | onLoad() { | 115 | onLoad() { |
| 115 | this.getUser() | 116 | this.getUser() |
| 116 | - this.getNoticeList() | 117 | + this.getNoticeList(this.categorrId) |
| 117 | }, | 118 | }, |
| 118 | methods: { | 119 | methods: { |
| 119 | // 获取用户信息 | 120 | // 获取用户信息 |
| @@ -138,10 +139,10 @@ import utils from '../../service/utils'; | @@ -138,10 +139,10 @@ import utils from '../../service/utils'; | ||
| 138 | } | 139 | } |
| 139 | }, | 140 | }, |
| 140 | // 获取公式列表 | 141 | // 获取公式列表 |
| 141 | - getNoticeList(){ | 142 | + getNoticeList(id){ |
| 142 | let that = this | 143 | let that = this |
| 143 | that.API.getNoticeList({ | 144 | that.API.getNoticeList({ |
| 144 | - categoryId:this.categorrId, | 145 | + categoryId:id, |
| 145 | pageSize:500 | 146 | pageSize:500 |
| 146 | }).then(res=>{ | 147 | }).then(res=>{ |
| 147 | if(res.code == 200){ | 148 | if(res.code == 200){ |
| @@ -149,6 +150,7 @@ import utils from '../../service/utils'; | @@ -149,6 +150,7 @@ import utils from '../../service/utils'; | ||
| 149 | return { | 150 | return { |
| 150 | ...it, | 151 | ...it, |
| 151 | createTime:utils.formatTime(it.createTime), | 152 | createTime:utils.formatTime(it.createTime), |
| 153 | + isImg: it.imgUrl.length > 0 | ||
| 152 | } | 154 | } |
| 153 | }) | 155 | }) |
| 154 | // if(that.noticeList.) | 156 | // if(that.noticeList.) |
| @@ -162,9 +164,10 @@ import utils from '../../service/utils'; | @@ -162,9 +164,10 @@ import utils from '../../service/utils'; | ||
| 162 | url: '/pages/postNotice/postNotice' | 164 | url: '/pages/postNotice/postNotice' |
| 163 | }) | 165 | }) |
| 164 | }, | 166 | }, |
| 165 | - onCouponTab(type) { | 167 | + onCouponTab(type,id) { |
| 166 | this.TabShow = type; | 168 | this.TabShow = type; |
| 167 | - this.getNoticeList() | 169 | + this.categorrId = id |
| 170 | + this.getNoticeList(id) | ||
| 168 | }, | 171 | }, |
| 169 | onArticle(item) { | 172 | onArticle(item) { |
| 170 | uni.navigateTo({ | 173 | uni.navigateTo({ |
| @@ -182,6 +185,7 @@ import utils from '../../service/utils'; | @@ -182,6 +185,7 @@ import utils from '../../service/utils'; | ||
| 182 | return { | 185 | return { |
| 183 | ...it, | 186 | ...it, |
| 184 | createTime:utils.formatTime(it.createTime), | 187 | createTime:utils.formatTime(it.createTime), |
| 188 | + isImg: it.imgUrl.length > 0 | ||
| 185 | } | 189 | } |
| 186 | }) | 190 | }) |
| 187 | // if(that.noticeList.) | 191 | // if(that.noticeList.) |
pages/policy/policy.vue
| @@ -72,8 +72,11 @@ | @@ -72,8 +72,11 @@ | ||
| 72 | </view> | 72 | </view> |
| 73 | </view> | 73 | </view> |
| 74 | </view> | 74 | </view> |
| 75 | + <!-- <view class="thumb" v-if="item.isImg"> | ||
| 76 | + <image :src="baseUrl + item.imgUrl[0].url"></image> | ||
| 77 | + </view> --> | ||
| 75 | <view class="thumb"> | 78 | <view class="thumb"> |
| 76 | - <image src="../../static/img/ma.jpg"></image> | 79 | + <image src="../../static/img/img3.jpg"></image> |
| 77 | </view> | 80 | </view> |
| 78 | </view> | 81 | </view> |
| 79 | </view> | 82 | </view> |
| @@ -100,7 +103,8 @@ | @@ -100,7 +103,8 @@ | ||
| 100 | isAdmin: false, | 103 | isAdmin: false, |
| 101 | categoryId: '360234017372505349', | 104 | categoryId: '360234017372505349', |
| 102 | baseUrl: "http://deyanggaoxin.fengshiyun.com", | 105 | baseUrl: "http://deyanggaoxin.fengshiyun.com", |
| 103 | - haveData:false | 106 | + haveData:false, |
| 107 | + isImg:false | ||
| 104 | }; | 108 | }; |
| 105 | }, | 109 | }, |
| 106 | onLoad() { | 110 | onLoad() { |
| @@ -141,11 +145,12 @@ | @@ -141,11 +145,12 @@ | ||
| 141 | }).then(res => { | 145 | }).then(res => { |
| 142 | console.log(res) | 146 | console.log(res) |
| 143 | that.AllList = res.data.list | 147 | that.AllList = res.data.list |
| 144 | - // console.log(that.AllList) | 148 | + console.log('总的',that.AllList) |
| 145 | that.AllList = that.AllList.map(it => { | 149 | that.AllList = that.AllList.map(it => { |
| 146 | return { | 150 | return { |
| 147 | ...it, | 151 | ...it, |
| 148 | - createTime: utils.formatTime(it.createTime) | 152 | + createTime: utils.formatTime(it.createTime), |
| 153 | + // isImg: it.imgUrl.length > 0 | ||
| 149 | } | 154 | } |
| 150 | }) | 155 | }) |
| 151 | this.fenLeiList = that.AllList.filter(it=>{ | 156 | this.fenLeiList = that.AllList.filter(it=>{ |
| @@ -154,6 +159,7 @@ | @@ -154,6 +159,7 @@ | ||
| 154 | if(this.fenLeiList === []){ | 159 | if(this.fenLeiList === []){ |
| 155 | this.haveData = true | 160 | this.haveData = true |
| 156 | } | 161 | } |
| 162 | + console.log("this.AllList", this.AllList) | ||
| 157 | console.log("分类", this.fenLeiList) | 163 | console.log("分类", this.fenLeiList) |
| 158 | }) | 164 | }) |
| 159 | }, | 165 | }, |
| @@ -188,7 +194,8 @@ | @@ -188,7 +194,8 @@ | ||
| 188 | that.AllList = that.AllList.map(it => { | 194 | that.AllList = that.AllList.map(it => { |
| 189 | return { | 195 | return { |
| 190 | ...it, | 196 | ...it, |
| 191 | - createTime: utils.formatTime(it.createTime) | 197 | + createTime: utils.formatTime(it.createTime), |
| 198 | + // isImg: it.imgUrl.length > 0 | ||
| 192 | } | 199 | } |
| 193 | }) | 200 | }) |
| 194 | this.fenLeiList = that.AllList | 201 | this.fenLeiList = that.AllList |
| @@ -197,7 +204,7 @@ | @@ -197,7 +204,7 @@ | ||
| 197 | } | 204 | } |
| 198 | console.log("分类", this.fenLeiList) | 205 | console.log("分类", this.fenLeiList) |
| 199 | }) | 206 | }) |
| 200 | - console.log(this.fenLeiList) | 207 | + console.log('this.fenLeiList',this.fenLeiList) |
| 201 | console.log(type) | 208 | console.log(type) |
| 202 | }, | 209 | }, |
| 203 | // 显示下方为国家级还是省级等 | 210 | // 显示下方为国家级还是省级等 |
| @@ -216,7 +223,8 @@ | @@ -216,7 +223,8 @@ | ||
| 216 | that.AllList = that.AllList.map(it => { | 223 | that.AllList = that.AllList.map(it => { |
| 217 | return { | 224 | return { |
| 218 | ...it, | 225 | ...it, |
| 219 | - createTime: utils.formatTime(it.createTime) | 226 | + createTime: utils.formatTime(it.createTime), |
| 227 | + // isImg: it.imgUrl.length > 0 | ||
| 220 | } | 228 | } |
| 221 | }) | 229 | }) |
| 222 | this.fenLeiList = that.AllList | 230 | this.fenLeiList = that.AllList |
| @@ -234,14 +242,15 @@ | @@ -234,14 +242,15 @@ | ||
| 234 | search() { | 242 | search() { |
| 235 | let that = this | 243 | let that = this |
| 236 | that.API.getPolicyList({ | 244 | that.API.getPolicyList({ |
| 237 | - categoryId: this.categoryId, | 245 | + // categoryId: this.categoryId, |
| 238 | keyword: this.keyword | 246 | keyword: this.keyword |
| 239 | }).then(res => { | 247 | }).then(res => { |
| 240 | // console.log(res) | 248 | // console.log(res) |
| 241 | that.fenLeiList = res.data.list.map(it => { | 249 | that.fenLeiList = res.data.list.map(it => { |
| 242 | return { | 250 | return { |
| 243 | ...it, | 251 | ...it, |
| 244 | - createTime: utils.formatTime(it.createTime) | 252 | + createTime: utils.formatTime(it.createTime), |
| 253 | + // isImg: it.imgUrl.length > 0 | ||
| 245 | } | 254 | } |
| 246 | }) | 255 | }) |
| 247 | if(this.fenLeiList === null){ | 256 | if(this.fenLeiList === null){ |
pages/postCon/postCon.vue
| @@ -297,6 +297,10 @@ import utils from '../../service/utils'; | @@ -297,6 +297,10 @@ import utils from '../../service/utils'; | ||
| 297 | uni.showToast({ | 297 | uni.showToast({ |
| 298 | icon: "success", | 298 | icon: "success", |
| 299 | title: "更新成功!" | 299 | title: "更新成功!" |
| 300 | + }).then(()=>{ | ||
| 301 | + uni.navigateTo({ | ||
| 302 | + url:"/pages/construct/construct" | ||
| 303 | + }) | ||
| 300 | }) | 304 | }) |
| 301 | } | 305 | } |
| 302 | }).catch((err)=>{ | 306 | }).catch((err)=>{ |
pages/postDemand/postDemand.vue
pages/postNews/postNews.vue
| @@ -21,6 +21,23 @@ | @@ -21,6 +21,23 @@ | ||
| 21 | <view class="example-body"> | 21 | <view class="example-body"> |
| 22 | <uni-file-picker limit="9" @select="select" title="新闻图片"></uni-file-picker> | 22 | <uni-file-picker limit="9" @select="select" title="新闻图片"></uni-file-picker> |
| 23 | </view> | 23 | </view> |
| 24 | + <!-- 选择反馈类型 --> | ||
| 25 | + <view class="feedback-type"> | ||
| 26 | + <view class="feedback-type-left">隶属类别</view> | ||
| 27 | + <view class="feedback-type-right"> | ||
| 28 | + <view class="title"> | ||
| 29 | + <text>{{TypeArray[TypeIndex]}}</text> | ||
| 30 | + </view> | ||
| 31 | + <view class="picker"> | ||
| 32 | + <picker @change="FeedbackTypeCh" :value="TypeIndex" :range="TypeArray"> | ||
| 33 | + <view class="uni-input">{{TypeArray[TypeIndex]}}</view> | ||
| 34 | + </picker> | ||
| 35 | + </view> | ||
| 36 | + <view class="more"> | ||
| 37 | + <image src="../../static/down1.png"></image> | ||
| 38 | + </view> | ||
| 39 | + </view> | ||
| 40 | + </view> | ||
| 24 | </view> | 41 | </view> |
| 25 | 42 | ||
| 26 | <!-- 提交 --> | 43 | <!-- 提交 --> |
| @@ -74,7 +91,9 @@ import utils from '../../service/utils'; | @@ -74,7 +91,9 @@ import utils from '../../service/utils'; | ||
| 74 | isId:'', | 91 | isId:'', |
| 75 | have:false, | 92 | have:false, |
| 76 | detailData:[], | 93 | detailData:[], |
| 77 | - categoryId:'360233879019193605' | 94 | + categoryId:['360233879019193605','530363088214426885'], |
| 95 | + TypeArray: ['热点要闻', '园区快讯'], | ||
| 96 | + TypeIndex: 0, | ||
| 78 | }; | 97 | }; |
| 79 | 98 | ||
| 80 | }, | 99 | }, |
| @@ -97,6 +116,14 @@ import utils from '../../service/utils'; | @@ -97,6 +116,14 @@ import utils from '../../service/utils'; | ||
| 97 | 116 | ||
| 98 | }, | 117 | }, |
| 99 | methods: { | 118 | methods: { |
| 119 | + /** | ||
| 120 | + * 反馈类型 | ||
| 121 | + * @param {Object} val | ||
| 122 | + */ | ||
| 123 | + FeedbackTypeCh(val) { | ||
| 124 | + console.log(val); | ||
| 125 | + this.TypeIndex = val.detail.value; | ||
| 126 | + }, | ||
| 100 | // 获取上传状态 | 127 | // 获取上传状态 |
| 101 | select(e) { | 128 | select(e) { |
| 102 | console.log('选择文件:', e) | 129 | console.log('选择文件:', e) |
| @@ -155,13 +182,15 @@ import utils from '../../service/utils'; | @@ -155,13 +182,15 @@ import utils from '../../service/utils'; | ||
| 155 | postAll() { | 182 | postAll() { |
| 156 | console.log("进入POST") | 183 | console.log("进入POST") |
| 157 | let that = this | 184 | let that = this |
| 185 | + let categoryId = that.categoryId[that.TypeIndex] | ||
| 186 | + console.log(categoryId) | ||
| 158 | if (that.uploadPath) { | 187 | if (that.uploadPath) { |
| 159 | console.log('jinru') | 188 | console.log('jinru') |
| 160 | // console.log(uni.getStorageSync('token')) | 189 | // console.log(uni.getStorageSync('token')) |
| 161 | var info = { | 190 | var info = { |
| 162 | title: that.valiFormData.title, | 191 | title: that.valiFormData.title, |
| 163 | bodyContent: that.valiFormData.bodyContent, | 192 | bodyContent: that.valiFormData.bodyContent, |
| 164 | - categoryId:that.categoryId, | 193 | + categoryId:categoryId, |
| 165 | creatorUserId: that.userCode.userId, | 194 | creatorUserId: that.userCode.userId, |
| 166 | subTitle: that.valiFormData.subTitle, | 195 | subTitle: that.valiFormData.subTitle, |
| 167 | imgUrl: that.uploadPath, | 196 | imgUrl: that.uploadPath, |
pages/postNotice/postNotice.vue
| @@ -21,6 +21,23 @@ | @@ -21,6 +21,23 @@ | ||
| 21 | <view class="example-body"> | 21 | <view class="example-body"> |
| 22 | <uni-file-picker limit="9" @select="select" title="信息图片"></uni-file-picker> | 22 | <uni-file-picker limit="9" @select="select" title="信息图片"></uni-file-picker> |
| 23 | </view> | 23 | </view> |
| 24 | + <!-- 选择反馈类型 --> | ||
| 25 | + <view class="feedback-type"> | ||
| 26 | + <view class="feedback-type-left">隶属类别</view> | ||
| 27 | + <view class="feedback-type-right"> | ||
| 28 | + <view class="title"> | ||
| 29 | + <text>{{TypeArray[TypeIndex]}}</text> | ||
| 30 | + </view> | ||
| 31 | + <view class="picker"> | ||
| 32 | + <picker @change="FeedbackTypeCh" :value="TypeIndex" :range="TypeArray"> | ||
| 33 | + <view class="uni-input">{{TypeArray[TypeIndex]}}</view> | ||
| 34 | + </picker> | ||
| 35 | + </view> | ||
| 36 | + <view class="more"> | ||
| 37 | + <image src="../../static/down1.png"></image> | ||
| 38 | + </view> | ||
| 39 | + </view> | ||
| 40 | + </view> | ||
| 24 | </view> | 41 | </view> |
| 25 | 42 | ||
| 26 | <!-- 提交 --> | 43 | <!-- 提交 --> |
| @@ -74,7 +91,9 @@ import utils from '../../service/utils'; | @@ -74,7 +91,9 @@ import utils from '../../service/utils'; | ||
| 74 | isId:'', | 91 | isId:'', |
| 75 | have:false, | 92 | have:false, |
| 76 | detailData:[], | 93 | detailData:[], |
| 77 | - categoryId:'360234116366468357' | 94 | + categoryId:['360234116366468357','530362479830631685'], |
| 95 | + TypeArray: ['公示', '通知'], | ||
| 96 | + TypeIndex: 0, | ||
| 78 | }; | 97 | }; |
| 79 | 98 | ||
| 80 | }, | 99 | }, |
| @@ -97,6 +116,14 @@ import utils from '../../service/utils'; | @@ -97,6 +116,14 @@ import utils from '../../service/utils'; | ||
| 97 | 116 | ||
| 98 | }, | 117 | }, |
| 99 | methods: { | 118 | methods: { |
| 119 | + /** | ||
| 120 | + * 反馈类型 | ||
| 121 | + * @param {Object} val | ||
| 122 | + */ | ||
| 123 | + FeedbackTypeCh(val) { | ||
| 124 | + console.log(val); | ||
| 125 | + this.TypeIndex = val.detail.value; | ||
| 126 | + }, | ||
| 100 | // 获取上传状态 | 127 | // 获取上传状态 |
| 101 | select(e) { | 128 | select(e) { |
| 102 | console.log('选择文件:', e) | 129 | console.log('选择文件:', e) |
| @@ -155,16 +182,20 @@ import utils from '../../service/utils'; | @@ -155,16 +182,20 @@ import utils from '../../service/utils'; | ||
| 155 | postAll() { | 182 | postAll() { |
| 156 | console.log("进入POST") | 183 | console.log("进入POST") |
| 157 | let that = this | 184 | let that = this |
| 185 | + let categoryId = that.categoryId[that.TypeIndex] | ||
| 186 | + console.log(categoryId) | ||
| 187 | + console.log(that.uploadPath) | ||
| 158 | if (that.uploadPath) { | 188 | if (that.uploadPath) { |
| 159 | console.log('jinru') | 189 | console.log('jinru') |
| 160 | // console.log(uni.getStorageSync('token')) | 190 | // console.log(uni.getStorageSync('token')) |
| 161 | var info = { | 191 | var info = { |
| 162 | title: that.valiFormData.title, | 192 | title: that.valiFormData.title, |
| 163 | bodyContent: that.valiFormData.bodyContent, | 193 | bodyContent: that.valiFormData.bodyContent, |
| 164 | - categoryId:that.categoryId, | 194 | + categoryId:categoryId, |
| 165 | creatorUserId: that.userCode.userId, | 195 | creatorUserId: that.userCode.userId, |
| 166 | subTitle: that.valiFormData.subTitle, | 196 | subTitle: that.valiFormData.subTitle, |
| 167 | imgUrl: that.uploadPath, | 197 | imgUrl: that.uploadPath, |
| 198 | + | ||
| 168 | } | 199 | } |
| 169 | console.log(info) | 200 | console.log(info) |
| 170 | this.API.postInfo(info).then(res=>{ | 201 | this.API.postInfo(info).then(res=>{ |
pages/postProduct/postProduct.vue
pages/postTalent/postTalent.vue
| @@ -33,6 +33,7 @@ | @@ -33,6 +33,7 @@ | ||
| 33 | subTitle: '', | 33 | subTitle: '', |
| 34 | bodyContent: '', | 34 | bodyContent: '', |
| 35 | post: '', | 35 | post: '', |
| 36 | + phone:'' | ||
| 36 | }, | 37 | }, |
| 37 | creater: '', | 38 | creater: '', |
| 38 | rules: { | 39 | rules: { |
| @@ -83,6 +84,10 @@ | @@ -83,6 +84,10 @@ | ||
| 83 | uni.showToast({ | 84 | uni.showToast({ |
| 84 | icon:"success", | 85 | icon:"success", |
| 85 | title:'发布成功' | 86 | title:'发布成功' |
| 87 | + }).then(()=>{ | ||
| 88 | + uni.navigateTo({ | ||
| 89 | + url:'/pages/talent/talent' | ||
| 90 | + }) | ||
| 86 | }) | 91 | }) |
| 87 | } | 92 | } |
| 88 | }) | 93 | }) |
pages/recommend/postRecommend/postRecommend.vue
| @@ -148,6 +148,29 @@ | @@ -148,6 +148,29 @@ | ||
| 148 | } | 148 | } |
| 149 | }, | 149 | }, |
| 150 | methods: { | 150 | methods: { |
| 151 | + // 获取用户信息 | ||
| 152 | + getUser() { | ||
| 153 | + if (uni.getStorageSync('user')) { | ||
| 154 | + let userCode = uni.getStorageSync("user") | ||
| 155 | + console.log(userCode) | ||
| 156 | + if(userCode.userInfo.userId === 'admin'){ | ||
| 157 | + this.isAdmin = true | ||
| 158 | + } | ||
| 159 | + console.log('用户已登录!') | ||
| 160 | + } | ||
| 161 | + else { | ||
| 162 | + uni.showToast({ | ||
| 163 | + title: '请登录', | ||
| 164 | + icon: 'none', | ||
| 165 | + duration:1500 | ||
| 166 | + }) | ||
| 167 | + setTimeout(() => { | ||
| 168 | + uni.reLaunch({ | ||
| 169 | + url: '/pages/login/index' | ||
| 170 | + }) | ||
| 171 | + }) | ||
| 172 | + } | ||
| 173 | + }, | ||
| 151 | // 获取上传状态 | 174 | // 获取上传状态 |
| 152 | select(e) { | 175 | select(e) { |
| 153 | console.log('选择文件:', e) | 176 | console.log('选择文件:', e) |
| @@ -204,6 +227,10 @@ | @@ -204,6 +227,10 @@ | ||
| 204 | uni.showToast({ | 227 | uni.showToast({ |
| 205 | icon:"success", | 228 | icon:"success", |
| 206 | title:"发布成功!" | 229 | title:"发布成功!" |
| 230 | + }).then(()=>{ | ||
| 231 | + uni.navigateTo({ | ||
| 232 | + url:'/pages/recommend/recommend' | ||
| 233 | + }) | ||
| 207 | }) | 234 | }) |
| 208 | } | 235 | } |
| 209 | }) | 236 | }) |
pages/talentDetail/talentDetail.vue
| @@ -24,12 +24,12 @@ | @@ -24,12 +24,12 @@ | ||
| 24 | <text>收藏</text> | 24 | <text>收藏</text> |
| 25 | </view> | 25 | </view> |
| 26 | </view> --> | 26 | </view> --> |
| 27 | - <view class="footer-buy" style="width:100%"> | 27 | + <!-- <view class="footer-buy" style="width:100%"> |
| 28 | <view class="buy-at" @click="callPhone(phoneNumber)"> | 28 | <view class="buy-at" @click="callPhone(phoneNumber)"> |
| 29 | <image src="../../static/detail1.png"></image> | 29 | <image src="../../static/detail1.png"></image> |
| 30 | <text>打电话</text> | 30 | <text>打电话</text> |
| 31 | </view> | 31 | </view> |
| 32 | - </view> | 32 | + </view> --> |
| 33 | </view> | 33 | </view> |
| 34 | </view> | 34 | </view> |
| 35 | </template> | 35 | </template> |