1
This commit is contained in:
parent
2be15fb941
commit
bbafd185f1
@ -2,9 +2,15 @@
|
|||||||
<!-- header -->
|
<!-- header -->
|
||||||
<view :style="{ backgroundColor:backgroundColor }" class="navigationBar">
|
<view :style="{ backgroundColor:backgroundColor }" class="navigationBar">
|
||||||
<template>
|
<template>
|
||||||
|
<!-- #ifdef MP-WEIXIN -->
|
||||||
<view class="navigationBarBack" @click="back">
|
<view class="navigationBarBack" @click="back">
|
||||||
<uni-icons size="24" type="left" :color="titleColor"></uni-icons>
|
<uni-icons size="24" type="left" :color="titleColor"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- #endif -->
|
||||||
|
<!-- #ifdef H5 -->
|
||||||
|
<view class="navigationBarBack">
|
||||||
|
</view>
|
||||||
|
<!-- #endif -->
|
||||||
<view class="navigationBarTitle" :style="{ color: titleColor }">
|
<view class="navigationBarTitle" :style="{ color: titleColor }">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</view>
|
</view>
|
||||||
@ -71,6 +77,7 @@
|
|||||||
z-index: 9;
|
z-index: 9;
|
||||||
|
|
||||||
.navigationBarBack {
|
.navigationBarBack {
|
||||||
|
padding-left: 20rpx;
|
||||||
width: 200rpx;
|
width: 200rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="my-notice-box">
|
<view class="my-notice-box">
|
||||||
<!-- 标题 -->
|
<!-- 标题 -->
|
||||||
<view class="dl-title">
|
<view :class="['dl-title','01'==nowUserType?'dl-tgz':'']">
|
||||||
我的通告
|
我的通告
|
||||||
</view>
|
</view>
|
||||||
<!-- 搜索框 -->
|
<!-- 搜索框 -->
|
||||||
@ -44,6 +44,12 @@
|
|||||||
getCatgByCode
|
getCatgByCode
|
||||||
} from '@/api/system/config.js'
|
} from '@/api/system/config.js'
|
||||||
export default {
|
export default {
|
||||||
|
props: {
|
||||||
|
nowUserType: {
|
||||||
|
type: String,
|
||||||
|
default: null
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
myNoticeItemTg
|
myNoticeItemTg
|
||||||
},
|
},
|
||||||
@ -186,7 +192,6 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.my-notice-box {
|
.my-notice-box {
|
||||||
padding-top: var(--status-bar-height);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #363636;
|
color: #363636;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
@ -198,14 +203,22 @@
|
|||||||
justify-content: start;
|
justify-content: start;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
.dl-tgz {
|
||||||
|
color: white !important;
|
||||||
|
background-color: #4260ff !important;
|
||||||
|
}
|
||||||
|
|
||||||
.dl-title {
|
.dl-title {
|
||||||
|
padding-top: calc(var(--status-bar-height) + 62rpx);
|
||||||
|
padding-left: 15rpx;
|
||||||
|
padding-bottom: 15rpx;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: 62rpx 0 15rpx 15rpx;
|
// padding: 62rpx 0 15rpx 15rpx;
|
||||||
border-bottom: 1px solid #F4F4F4;
|
border-bottom: 1px solid #F4F4F4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.my-notice-box {
|
.my-notice-box {
|
||||||
padding-top: var(--status-bar-height);
|
// padding-top: var(--status-bar-height);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #363636;
|
color: #363636;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
@ -188,13 +188,16 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.dl-title {
|
.dl-title {
|
||||||
|
padding-top: calc(var(--status-bar-height) + 62rpx);
|
||||||
|
padding-left: 15rpx;
|
||||||
|
padding-bottom: 15rpx;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: 62rpx 0 15rpx 15rpx;
|
// padding: 62rpx 0 15rpx 15rpx;
|
||||||
border-bottom: 1px solid #F4F4F4;
|
border-bottom: 1px solid #F4F4F4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -243,4 +246,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -3,7 +3,7 @@
|
|||||||
<!-- 标题 -->
|
<!-- 标题 -->
|
||||||
<view :class="['dl-title','01'==nowUserType?'dl-tgz':'']">
|
<view :class="['dl-title','01'==nowUserType?'dl-tgz':'']">
|
||||||
<view class="right-text">
|
<view class="right-text">
|
||||||
<text class="dl-text">通告</text>
|
<text :class="['dl-text','01'==nowUserType?'dl-tgz-text':'']">通告</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="left-search">
|
<view class="left-search">
|
||||||
<view class="left-search-box" style="width: 90%;" @click="goSeach">
|
<view class="left-search-box" style="width: 90%;" @click="goSeach">
|
||||||
@ -638,6 +638,10 @@
|
|||||||
background-color: #4260ff !important;
|
background-color: #4260ff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dl-tgz-text {
|
||||||
|
color: white !important;
|
||||||
|
}
|
||||||
|
|
||||||
.dl-title {
|
.dl-title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="dingyue-box">
|
<view class="dingyue-box">
|
||||||
<!-- 标题 -->
|
<!-- 标题 -->
|
||||||
<view class="dl-title">
|
<view :class="['dl-title','01'==nowUserType?'dl-tgz':'']">
|
||||||
订阅
|
订阅
|
||||||
</view>
|
</view>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
@ -45,6 +45,12 @@
|
|||||||
getLoveList
|
getLoveList
|
||||||
} from '@/api/business/notice.js'
|
} from '@/api/business/notice.js'
|
||||||
export default {
|
export default {
|
||||||
|
props: {
|
||||||
|
nowUserType: {
|
||||||
|
type: String,
|
||||||
|
default: null
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
noticeItem
|
noticeItem
|
||||||
},
|
},
|
||||||
@ -205,7 +211,7 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.dingyue-box {
|
.dingyue-box {
|
||||||
padding-top: var(--status-bar-height);
|
// padding-top: var(--status-bar-height);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #363636;
|
color: #363636;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
@ -217,14 +223,22 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
.dl-tgz {
|
||||||
|
color: white !important;
|
||||||
|
background-color: #4260ff !important;
|
||||||
|
}
|
||||||
|
|
||||||
.dl-title {
|
.dl-title {
|
||||||
|
padding-top: calc(var(--status-bar-height) + 62rpx);
|
||||||
|
padding-left: 15rpx;
|
||||||
|
padding-bottom: 15rpx;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: 62rpx 0 15rpx 15rpx;
|
// padding: 62rpx 0 15rpx 15rpx;
|
||||||
border-bottom: 1px solid #F4F4F4;
|
border-bottom: 1px solid #F4F4F4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -287,4 +301,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -7,9 +7,11 @@
|
|||||||
@openVip="openVip"></notice-index>
|
@openVip="openVip"></notice-index>
|
||||||
<mine-index ref="minePage" :key="nowUserType" :nowUserType="nowUserType" v-if="'my'==menuCode"
|
<mine-index ref="minePage" :key="nowUserType" :nowUserType="nowUserType" v-if="'my'==menuCode"
|
||||||
@refreshUserType="refreshUserType()"></mine-index>
|
@refreshUserType="refreshUserType()"></mine-index>
|
||||||
<subscribe v-if="'dingyue'==menuCode"></subscribe>
|
<subscribe :nowUserType="nowUserType" v-if="'dingyue'==menuCode"></subscribe>
|
||||||
<my-notice ref="myNotice" v-if="'myNotice'==menuCode && '02'==nowUserType"></my-notice>
|
<my-notice ref="myNotice" :nowUserType="nowUserType"
|
||||||
<my-notice-tg ref="myNoticeTg" v-if="'myNotice'==menuCode && '01'==nowUserType"></my-notice-tg>
|
v-if="'myNotice'==menuCode && '02'==nowUserType"></my-notice>
|
||||||
|
<my-notice-tg ref="myNoticeTg" :nowUserType="nowUserType"
|
||||||
|
v-if="'myNotice'==menuCode && '01'==nowUserType"></my-notice-tg>
|
||||||
</view>
|
</view>
|
||||||
<tabBarVue :menuCode="menuCode" :nowUserType="nowUserType" ref="tarBar" @changeMenu="changeMenu"></tabBarVue>
|
<tabBarVue :menuCode="menuCode" :nowUserType="nowUserType" ref="tarBar" @changeMenu="changeMenu"></tabBarVue>
|
||||||
<!-- 普通弹窗 -->
|
<!-- 普通弹窗 -->
|
||||||
|
@ -616,4 +616,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -3,8 +3,8 @@
|
|||||||
<!-- 切换身份 -->
|
<!-- 切换身份 -->
|
||||||
<view :class="['dl-title','01'==localUserType?'dl-tgz':''] ">
|
<view :class="['dl-title','01'==localUserType?'dl-tgz':''] ">
|
||||||
<view class="left-search" @click="changeUserType('01'==localUserType?'02':'01')">
|
<view class="left-search" @click="changeUserType('01'==localUserType?'02':'01')">
|
||||||
<image v-if="!ifHasCard" class="dl-image" src="@/static/mine/qiehuan.png" mode="aspectFit"></image>
|
<!-- <image v-if="!ifHasCard" class="dl-image" src="@/static/mine/qiehuan.png" mode="aspectFit"></image> -->
|
||||||
<image v-else class="dl-image" src="@/static/mine/change_member.png" mode="aspectFit"></image>
|
<image class="dl-image" src="@/static/mine/qiehuan.png" mode="aspectFit"></image>
|
||||||
<text class="dl-text">切换至{{'02'==localUserType?'通告主':'博主'}}</text>
|
<text class="dl-text">切换至{{'02'==localUserType?'通告主':'博主'}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
Loading…
Reference in New Issue
Block a user