|
@@ -6,7 +6,7 @@
|
|
|
<view class="index-header-right"></view>
|
|
|
<view class="index-header-top">
|
|
|
<u-search placeholder="请输入您关键词" v-model="headerTopKeyword" :show-action="false" class="header-top-usearch"></u-search>
|
|
|
- <view class="header-top-notice" @click="openPage('pages/notification/notification','消息通知')" >
|
|
|
+ <view class="header-top-notice" @click="openPage('pages/notification/notification')" >
|
|
|
<u-icon name="bell" color="#FFFFFF" size="48"></u-icon>
|
|
|
<u-badge size="mini" type="error" count="7" :absolute="false" class="header-top-notice-badge"></u-badge>
|
|
|
</view>
|
|
@@ -36,11 +36,11 @@
|
|
|
<image class="service-item-img" src="../../static/img/index-service-01.png" mode="aspectFill"></image>
|
|
|
<view class="service-item-text">政策资讯</view>
|
|
|
</view>
|
|
|
- <view class="service-item" @click="openPage('pages/recruitment/recruitment','招聘就业')" >
|
|
|
+ <view class="service-item" @click="openPage('pages/recruitment/recruitment')" >
|
|
|
<image class="service-item-img" src="../../static/img/index-service-02.png" mode="aspectFill"></image>
|
|
|
<view class="service-item-text">招聘就业</view>
|
|
|
</view>
|
|
|
- <view class="service-item" @click="openPage('pages/cooperativeEnterprise/cooperativeEnterprise','合作企业')" >
|
|
|
+ <view class="service-item" @click="openPage('pages/cooperativeEnterprise/cooperativeEnterprise')" >
|
|
|
<image class="service-item-img" src="../../static/img/index-service-03.png" mode="aspectFill"></image>
|
|
|
<view class="service-item-text">合作企业</view>
|
|
|
</view>
|
|
@@ -123,18 +123,21 @@
|
|
|
this.getNewsList();
|
|
|
},
|
|
|
methods: {
|
|
|
- /**
|
|
|
- * 打开新页面
|
|
|
- * @param {String} path 跳转路径
|
|
|
- * */
|
|
|
- openPage(path,msg) {
|
|
|
- this.$u.route({
|
|
|
- url: path,
|
|
|
- params:{
|
|
|
- msg:msg
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
+ /**
|
|
|
+ * 打开新页面
|
|
|
+ * @param {String} path 跳转路径
|
|
|
+ * */
|
|
|
+ openPage(path, msg) {
|
|
|
+ let tempRoute = {
|
|
|
+ url: path
|
|
|
+ };
|
|
|
+ if (msg) {
|
|
|
+ tempRoute.params = {
|
|
|
+ msg: msg
|
|
|
+ };
|
|
|
+ }
|
|
|
+ this.$u.route(tempRoute);
|
|
|
+ },
|
|
|
getNewsList(){
|
|
|
let params ={
|
|
|
// artCategoryId:2,
|