This commit is contained in:
Vinjor 2025-05-08 16:20:41 +08:00
parent 49269503d1
commit 96f3578fa9
6 changed files with 181 additions and 150 deletions

View File

@ -1,7 +1,7 @@
<template>
<view class="dl-notice-box-index">
<!-- 标题 -->
<view class="dl-title">
<view :class="['dl-title','01'==nowUserType?'dl-tgz':'']">
<view class="right-text">
<text class="dl-text">通告</text>
</view>
@ -208,6 +208,12 @@
treeCity
} from '@/api/business/base.js'
export default {
props: {
nowUserType: {
type: String,
default: null
}
},
components: {
noticeItem
},
@ -616,7 +622,7 @@
}
.dl-notice-box-index {
padding-top: var(--status-bar-height);
// padding-top: var(--status-bar-height);
width: 100%;
color: #363636;
background-color: white;
@ -628,13 +634,20 @@
justify-content: start;
position: relative;
.dl-tgz {
background-color: #4260ff !important;
}
.dl-title {
width: 100%;
display: flex;
position: relative;
z-index: 10;
padding: 25rpx 10rpx 10rpx 15rpx;
padding-top: calc(var(--status-bar-height) + 25rpx);
padding-left: 15rpx;
padding-right: 10rpx;
padding-bottom: 10rpx;
// padding: 25rpx 10rpx 10rpx 15rpx;
border-bottom: 1px solid #F4F4F4;

View File

@ -3,7 +3,8 @@
<!-- 主体区域 -->
<view class="content-body">
<!-- 通告列表页 -->
<notice-index ref="noticeIndex" v-if="'home'==menuCode" @openVip="openVip"></notice-index>
<notice-index ref="noticeIndex" :nowUserType="nowUserType" v-if="'home'==menuCode"
@openVip="openVip"></notice-index>
<mine-index ref="minePage" :key="nowUserType" :nowUserType="nowUserType" v-if="'my'==menuCode"
@refreshUserType="refreshUserType()"></mine-index>
<subscribe v-if="'dingyue'==menuCode"></subscribe>
@ -103,6 +104,7 @@
this.refreshUserType()
},
onShow() {
this.$refs.minePage.getDetail()
this.refreshUserType()
setTimeout(() => {
this.checkUserIfLogin()

View File

@ -342,8 +342,6 @@
padding-top: calc(90rpx + var(--status-bar-height));
border-top: 1rpx solid #F4F4F4;
background-color: white;
padding-left: 30rpx;
padding-right: 30rpx;
width: 100%;
color: #363636;
font-size: 30rpx;
@ -358,7 +356,7 @@
height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 95rpx);
overflow-y: scroll;
width: 100%;
padding: 20rpx;
padding: 20rpx 30rpx;
background-color: white;
border-radius: 20rpx;
display: flex;

View File

@ -36,7 +36,9 @@
合作博主评价
</view>
<view class="item-box">
<view v-for="item in member.evaluates" class="item-dom">{{item.evaluate}}(<text>{{ item.num }}</text>)</view>
<view v-for="item in member.evaluates" class="item-dom">
{{item.evaluate}}(<text>{{ item.num }}</text>)
</view>
</view>
</view>
</view>
@ -58,13 +60,21 @@
</template>
<script>
import {toast} from '@/utils/common.js'
import {queryListByUserId} from '@/api/business/notice.js'
import {announcerDetail} from '@/api/business/member.js'
import {
toast
} from '@/utils/common.js'
import {
queryListByUserId
} from '@/api/business/notice.js'
import {
announcerDetail
} from '@/api/business/member.js'
import noticeItem from '@/pages/components/notice-item.vue'
import navigationBarVue from '@/components/navigation/navigationBar.vue';
import config from '@/config'
import {postForkUser} from '@/api/business/base.js'
import {
postForkUser
} from '@/api/business/base.js'
export default {
components: {
navigationBarVue,
@ -192,6 +202,8 @@
position: relative;
.choose-detail {
height: calc(100vh - 150rpx);
overflow-y: scroll;
border-top: 1rpx solid #F4F4F4;
width: 100%;
background-color: #F2F2F2;

View File

@ -1,7 +1,7 @@
<template>
<view class="mine-container">
<!-- 切换身份 -->
<view :class="['dl-title',ifHasCard?'has-member-card':''] ">
<view :class="['dl-title','01'==localUserType?'dl-tgz':''] ">
<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-else class="dl-image" src="@/static/mine/change_member.png" mode="aspectFit"></image>
@ -9,7 +9,7 @@
</view>
</view>
<!-- 头像信息 -->
<view :class="['dl-person-box',ifHasCard?'has-member-card':''] ">
<view :class="['dl-person-box'] ">
<view class="user-image-box">
<view class="dl-image-box">
<image v-if="!userInfo.avatar" class="touxiang" src="@/static/images/profile.jpg"
@ -491,6 +491,10 @@
}
}
.dl-tgz {
background-color: #4260ff !important;
}
.dl-person-box {
width: 100%;
@ -611,12 +615,14 @@
justify-content: center;
height: 100rpx;
width: 100%;
background: url('/static/index/member-bg.png');
background-size: 100% 100%;
background-position: center;
/* 图片居中显示 */
background-repeat: no-repeat;
/* 不重复背景图片 */
color: #ffffff;
background-color: #1c1c1c;
// background: url('/static/index/member-bg.png');
// background-size: 100% 100%;
// /* */
// background-position: center;
// /* */
// background-repeat: no-repeat;
.dl-left {
display: flex;
@ -624,7 +630,7 @@
padding-left: 30rpx;
align-items: center;
font-size: 30rpx;
color: #623109;
// color: #623109;
justify-content: left;
.dl-icon {
@ -642,8 +648,8 @@
display: flex;
align-items: center;
justify-content: center;
background-color: #F5D8A5;
color: #623109;
background: linear-gradient(to right, #f4e6a5, #f2c479);
color: #461c00;
padding: 10rpx 25rpx;
float: right;
border-radius: 30rpx;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB