123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847 |
- <template>
- <view style="height: 100%;">
- <!-- <u-navbar :bgImg="bgImg" title="首页" :titleStyle="{ color:'#fff', letterSpacing:'0.3em',fontSize:'18px'}" :safeAreaInsetTop="true" ></u-navbar> -->
- <!-- <navInfo :title="'首页'" :titleStyle="{ color:'#fff', letterSpacing:'0.3em',fontSize:'18px'}"></navInfo>
- <view class="bgTopImg">
- <image slot="right" :src="`${urls}/navBg@2x.png`" class="bgTopImg"></image>
- </view> -->
- <view class="container uni-container"
- style="display:flex;flex-direction: column;justify-content: space-around;height: 100%;">
- <view class="nav">
- <!-- <u-scroll-list indicatorColor="#fff0f0" indicatorActiveColor="#f56c6c" >
- <view class="scroll-list" style="flex-direction: row;">
- <view class="scroll-list__goods-item" v-for="(item, index) in goodsArr" :key="index"
- :class="[(index === 4) && 'scroll-list__goods-item--no-margin-right']">
- <image class="scroll-list__goods-item__image " :src=" item.thumbnail" mode="">
- </image>
- <text class="scroll-list__goods-item__text">{{ item.name }}</text>
- </view>
- </view>
- </u-scroll-list> -->
- <view>
- <u-grid :border="false" col="4" v-if="!isStreet">
- <u-grid-item v-for="(item, listIndex) in goodsArr" :key="listIndex">
- <image @click="handleToInfo(item.menuUrl)" class="scroll-list__goods-item__image "
- :src="item.thumbnail" mode=""></image>
- <text class="grid-text">{{ item.name }}</text>
- </u-grid-item>
- </u-grid>
- <u-grid :border="false" col="3" v-else>
- <u-grid-item v-for="(item, listIndex) in goodsStreet" :key="listIndex">
- <image @click="handleToInfo(item.menuUrl)" class="scroll-list__goods-item__image"
- :src="item.thumbnail" mode=""></image>
- <text class="grid-text">{{ item.name }}</text>
- </u-grid-item>
- </u-grid>
- <u-toast ref="uToast" />
- </view>
- </view>
- <!-- <view style="margin-bottom: 20rpx;">
- <u-button :plain="true" text="全部已读" @click="cleanUnread" style="width: 23%;float: right;"></u-button>
- </view> -->
- <!-- <view class="grid-body" v-for="(item, index) in tableDatas" :key="index">
- <uni-card class="cards">
- <u-cell-group :border="false">
- <u-cell :border="false" :title="item.name" :icon="item.icon" :boritemder="false" isLink
- titleStyle="font-weight:600" rightIconStyle="color:#4CB2B6;font-size: 24rpx;"
- >
- <text slot="value" v-if="tableData.length!=0" @click="cleanUnread" class="weidu">全部已读</text>
- <text slot="value" style="font-size: 24rpx;color: #4CB2B6;" @click="goInformDetails(item.comType)">更多</text>
- </u-cell>
- </u-cell-group>
- <view v-if="tableData[index]!=''">
- <view v-for="(item1, index1) in tableData" :key="index1"
- @click.nativite="onNoticeClick(item1)" link
- >
- <uni-row class="demo-uni-row padding-top text-sm" :gutter="20"
- style="margin:0rpx 30rpx 0rpx -24rpx;width: 100%;">
- <uni-col :span="16">
- <u-notice-bar :text="item1.comTitle?item1.comTitle:''" speed="40"></u-notice-bar>
- <text class="uni-body text-1cut" v-if="item1.length==0">暂无{{item}}</text>
- </uni-col>
- <uni-col :span="8">
- </uni-col>
- </uni-row>
- </view>
- </view>
- <view v-else class="no-notice"> 暂无{{item.name}}
- </view>
- </uni-card>
- </view> -->
- <!-- <view class="grid-body" >
- <uni-card class="cards" > -->
- <!-- <u-cell-group :border="false">
- <u-cell :border="false" title="通知公告" icon="@/static/images/checkActive/tongzhi@2x.png" :boritemder="false" isLink
- titleStyle="font-weight:600" rightIconStyle="color:#4CB2B6;font-size: 24rpx;">
- <text slot="value" v-if="tableData.length!=0" @click="cleanUnread" class="weidu">全部已读</text>
- <text slot="value" style="font-size: 24rpx;color: #4CB2B6;" @click="goInformDetails(item.comType)">更多</text>
- </u-cell>
- </u-cell-group> -->
- <!-- <view v-if="tableData.length>0">
- <view v-for="(item1, index1) in tableData" :key="index1"
- @click.nativite="onNoticeClick(item1)" link>
- <uni-row class="demo-uni-row padding-top text-sm" :gutter="20"
- style="margin:0rpx 30rpx 0rpx -24rpx;width: 100%;">
- <uni-col :span="16">
- <u-notice-bar :text="item1.title?item1.title:''" speed="40"></u-notice-bar>
- </uni-col>
- <uni-col :span="8">
- </uni-col>
- </uni-row>
- </view>
- </view>
- <view v-else class="no-notice"> 暂无数据
- </view>
- </uni-card>
- </view> -->
- <view v-if="tableData">
- <view class="back-image">
- <image :src="laba" class="back-notice"></image>
- <view style="display: flex;padding-top: 40rpx;cursor: pointer;">
- <image :src="tongzhi" class="back-size"></image>
- <view v-if="arrtongzhi.length !=0" @click.nativite="onNoticeClick(arrtongzhi[0])">
- {{ arrtongzhi[0].title }}
- </view>
- <view v-else>暂无通知</view>
- </view>
- </view>
-
- <view v-if="remindData.length !=0">
- <view class="" v-for="(item,index) in remindData" :key="index">
- <view class="back-image" v-if="isStreet" @click.nativite="onRemindClick(item)">
- <image :src="laba" class="back-notice"></image>
- <view style="display: flex;padding-top: 40rpx;cursor: pointer;">
- <image :src="gonggao" class="back-size-tips"></image>
- <view>
- <view >
- {{ item.remind_title }}
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </view>
- <view v-else>暂无重要提醒</view>
- <!-- <view class="back-image back-image2">
- <image :src="laba" class="back-notice"></image>
- <view style="display: flex;padding-top: 40rpx;">
- <image :src="gonggao" class="back-size"></image>
- <view v-if="arrgonggao.length != []" @click.nativite="onNoticeClick(arrgonggao[0])">
- {{ arrgonggao[0].title }}
- </view>
- <view v-else>暂无公告</view>
- </view>
- </view> -->
- </view>
- <view class="" v-if="!isStreet">
- <u-cell-group :border="false">
- <u-cell :border="false" :boritemder="false" isLink rightIconStyle="color:#4CB2B6;font-size: 24rpx;">
- <view slot="title" class="u-slot-title">
- <text class="u-cell-text">待办任务</text>
- </view>
- <text slot="value" style="font-size: 28rpx;color: #4CB2B6;cursor: pointer;"
- @click="goInformDetails">更多</text>
- </u-cell>
- </u-cell-group>
- <uni-card v-if="tableDatas.length>0">
- <uni-row class="demo-uni-row" :gutter="20" width="100%">
- <uni-col :span="24"
- style="margin-bottom: 10rpx;display: flex;justify-content:space-between;"><text
- style="font-weight:600;font-size: 34rpx;">{{ tableDatas[0].taskName }}</text>
- <image :src="zhuanfa" class="back-size back-sizes" @click="forward(tableDatas[0])"></image>
- </uni-col>
- <uni-col :span="24" style="margin-bottom: 10rpx;display: flex;"><text
- style="color:#728F90">任务说明:</text><rich-text
- :nodes="tableDatas[0].taskContent?tableDatas[0].taskContent:''"
- class="conts"></rich-text>
- </uni-col>
- <uni-col :span="24"><text
- style="color:#728F90">任务发布者:</text><text>{{tableDatas[0].senderName}}</text>
- </uni-col>
- </uni-row>
- <uni-row class="demo-uni-row" :gutter="20" width="100%">
- <!-- <uni-col :span="24"> -->
- <view class="flex btn-box" style="width: 50%;float: right;">
- <u-button shape="circle" size="small" color="#F7C41E" text="查看详情"
- @click="addClickDetail(tableDatas[0].broadId)" style="margin-right: 10rpx;"></u-button>
- <u-button shape="circle" size="small" color="#4CB2B6" style="margin-left: 10rpx;" text="去完成"
- @click="addClickModify(tableDatas[0])"></u-button>
- </view>
- <!-- </uni-col> -->
- </uni-row>
- </uni-card>
- <uni-card v-else style="text-align:center">
- 今日暂无任务,可前往查看是否有往日任务
- </uni-card>
- </view>
- <!-- 图表-->
- <view class="charts-box">
- <!-- 注意:这里的opts是uCharts的配置,eopts是ECharts的配置,不要搞混,如果不需要用在各种小程序端,是不需要传uCharts的opts的,只需要传eopts即可!!!这里加opts是为了覆盖uCharts的rose图的默认图例配置的位置 -->
- <!-- <qiun-data-charts type="column" :eopts="opts" :opts="opts" :chartData="chartsDataLine3" v-if="chartsDataLine3.series[0].itemStyle.normal.color=='#D2D8E2'"
- :echartsH5="true" :echartsApp="true" /> -->
- </view>
- </view>
- <!-- 单位进来转发任务显示人员 -->
- <u-popup :show="checkboxShow2" :round="10" @close="checkboxShow2=false" style="position: relative;"
- mode="center">
- <view style="width: 90vw;padding: 10px;">
- <text class="text-xl">检查人员</text>
- <view class="" class="person-forward" v-if="personInfo">
- <u-checkbox-group v-model="item.checkboxValue1" v-for="(item, index) in personInfo" :key="index"
- placement="column" @change="checkboxChange2(item.user_id,$event)">
- <u-checkbox :customStyle="{marginBottom: '8px'}" :label="item.nickname" :name="item.id">
- </u-checkbox>
- </u-checkbox-group>
- </view>
- <view v-else>
- 此单位下暂无可转发人员
- </view>
- <view class="flex flex-direction-row " style="margin: 30rpx 0;">
- <u-button shape="circle" type="primary" color="#4CB2B6" text="确定" @click="checkboxConfirm2"
- customStyle="margin-right:20px;padding:0 30px">
- </u-button>
- <u-button type="primary" plain color="#4CB2B6" text="取消" shape="circle" @click="checkboxCancel2"
- customStyle="padding:0 30px">
- </u-button>
- </view>
- </view>
- </u-popup>
- <!-- 加载中 -->
- <isLodingModel></isLodingModel>
- <u-modal :show="show" @confirm="confirm" @cancel="cancel" @close="close" asyncClose closeOnClickOverlay
- showCancelButton confirmColor="red" :title="title" :content="content" ref="uModal"></u-modal>
- </view>
- </template>
- <script>
- import {
- getNoticeList,
- getNoticeAllRead,
- getNoticeOlnyRead,
- isNeedInfo,
- getRemindLists
- } from '@/api/notice'; // 通知公告列表
- import {getRemindOlnyRead} from '@/api/remind'
- import {
- checkGetPerson, //单位转发任务获取人员
- taskList, //获取除草稿箱以外的列表 //获取当前日期的任务列表
- checkSubmitForwardTask, //确认转发任务
- } from "@/api/check_active";
- import storage from '@/utils/storage';
- // import gonggao from '@/static/appimg/impt_tip.png'
- let that = null;
- import config from '@/config'
- const baseUrlImg = config.baseUrlImg
- export default {
- data() {
- return {
- urls: baseUrlImg,
- bgImg: `${baseUrlImg}/navBg@2x.png`,
- isStreet: null, //判断是否是街道人员
- opts: {
- legend: {
- show: false
- },
- color: ["#D2D8E2"],
- yAxis: {
- data: [{
- min: 0,
- axisLine: false,
- }],
- axisLine: false,
- },
- disabled: false,
- xAxis: {
- axisLine: {
- show: false
- },
- },
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'none'
- }
- },
- extra: {
- column: {
- type: 'group',
- barBorderRadius: [6, 6, 6, 6],
- // activeBgColor: "#4CB2B6",
- // activeBgOpacity:1
- },
- tooltip: {
- horizentalLine: false,
- splitLine: false
- }
- }
- },
- chartsDataLine3: {},
- tongzhi: `${baseUrlImg}/tongzhi.png`,
- gonggao: `${baseUrlImg}/impt_tip.png`,
- gonggao: gonggao,
- laba: `${baseUrlImg}/laba.png`,
- //import biankuang from '@/static/images/biankuang.png'
- LoadingModel: false,
- show: false, //弹出框
- title: '完善个人信息',
- content: '个人信息尚未完善,是否完善个人基本信息?',
- arrtongzhi: [],
- arrgonggao: [],
- personInfo: [],
- checkedList2: [], //检查单位已选择列表
- // 数据 //数据接口,已读接口(id,全部)---通知列表,详情
- // tableDatas: [{
- // name: '通知',
- // icon: tongzhi,
- // comType: '1'
- // }
- // , {
- // name: '公告',
- // icon: gonggao,
- // comType: "2"
- // }, {
- // name: '指令',
- // icon: zhiling,
- // comType: "3"
- // },
- // ],
- tableDatas: [], //任务数据
- formData: {
- pageNo: 1,
- pageSize: 10,
- receivDate: '',
- receiver: this.$store.state.user.id,
- taskType: "3"
- },
- FormDataTask: {
- "broadId": 0,
- "deptId": [],
- "id": 0,
- "orgId": [],
- "sender": this.$store.state.user.id,
- "receiver": [],
- "status": 0,
- "taskContent": "",
- "taskName": "",
- "taskStatus": 0,
- "taskType": "" //任务类型 1对应主动检查
- },
- zhuanfa: `${baseUrlImg}/zhuanfa.png`,
- // 通知公告数据
- tableData: [],
- remindData:[],
- // tableData数据加载中
- loading: false,
- // echarts数据
- checkactiveOption: {},
- goodsArr: [{
- name: '每日巡查',
- thumbnail: `${baseUrlImg}/meirixuncha.png`,
- menuUrl: '/pagesA/fire/inspection_active/index'
- },
- {
- name: '任务派遣',
- thumbnail: `${baseUrlImg}/zhudongjiancha.png`,
- menuUrl: `/pagesA/fire/check_active/index?type=2`
- },
- {
- name: '主动检查',
- thumbnail: `${baseUrlImg}/renwuguanli.png`,
- menuUrl: `/pagesA/fire/check_inspection/check_inspection`
- },
- {
- name: '隐患管理',
- thumbnail: `${baseUrlImg}/yinhuanguanli.png`,
- menuUrl: '/pagesA/fire/hidden_trouble/index'
- }
- ],
- goodsStreet: [{
- name: '街道消防检查',
- thumbnail: `${baseUrlImg}/working/fire_street.png`,
- menuUrl: '/pagesA/fire/fire_inspetItem/fire_inspetItem'
- },
- {
- name: '消防工作档案',
- thumbnail: `${baseUrlImg}/working/archive.png`,
- menuUrl: `/pagesA/fire/archive/nav`
- },
- {
- name: '微型消防站',
- thumbnail: `${baseUrlImg}/working/fire_extinguishe.png`,
- menuUrl: `/pagesA/fire/fire_station/index`
- },
- ],
- checkboxShow2: false,
- isStreetPerson: false
- };
- },
- // 在 vue页面,向起始页通过事件传递数据
- onShow: function() {
- this.getServerData();
- this.isStreet = uni.getStorageSync('getUserInfo_key').streetInfo; //登录用户的街道
- const date = new Date()
- this.formData.receivDate = uni.$u.timeFormat(date, 'yyyy-mm-dd')
- this.getDatas()
- this.getData();
- this.getRemind();
- const deptId = uni.getStorageSync('getUserInfo_key').streetInfo ? uni.getStorageSync('getUserInfo_key')
- .streetInfo
- .id : ''; //登录用户
- if (deptId != '') {
- this.isStreetPerson = true
- this.$forceUpdate()
- } else {
- this.isStreetPerson = false
- }
- },
- onLoad: function(option) {
- that = this;
- // // 判断用户信息是否需要完善
- // const value = uni.getStorageSync('getUserInfo_key');
- // if (
- // value.userRoles.appRoles.length > 0 &&
- // value.userRoles.appRoles[0].role_id != '' &&
- // value.userRoles.appRoles[0].user_id != ''
- // ) {
- // const appRoleId = value.userRoles.appRoles[0].role_id;
- // const userId = value.userRoles.appRoles[0].user_id;
- // isNeedInfo({
- // appRoleId: appRoleId,
- // userId: userId
- // }).then(response => {
- // if (response.code != 0) {
- // that.show = true;
- // }
- // });
- // } else {
- // that.show = true;
- // }
- },
- onReady() {},
- methods: {
- //图表
- getServerData() {
- //区域图
- this.chartsDataLine3 = {
- categories: ['提交', '待完成', '审核', '打回', '完成'],
- series: [{
- name: "",
- barWidth: 26,
- data: [30, 80, 100, 49, 112],
- itemStyle: {
- normal: {
- //这里设置柱形图圆角 [左上角,右上角,右下角,左下角]
- barBorderRadius: [6, 6, 4, 4],
- color: '#D2D8E2'
- },
- emphasis: {
- color: '#68BCBF' //点击后高亮颜色
- }
- }
- }]
- }
- },
- getRemind(){
- getRemindLists().then(res=>{
- if(!res.data.records) return;
- if( res.data.records.length>3){
- this.remindData = res.data.records.slice(0,3);
- }else{
- this.remindData = res.data.records;
- }
-
-
- })
- },
- // 获取数据
- getData() {
- this.$modal.isLoadingModel(true);
- this.LoadingModel = true;
- getNoticeList({
- }).then(response => {
- this.LoadingModel = false;
- this.$modal.isLoadingModel(this.LoadingModel);
- // 为数据赋值:通过展开运算符的形式,进行新旧数据的拼接
- // this.tableData = response.data ?? [...this.tableData, ...response.data.list];
- if (this.tableData && response.data?.list.length > 0) {
- this.arrtongzhi = response.data.list.filter(i => i.type == 1);
- this.arrgonggao = response.data.list.filter(i => i.type == 2);
- }
- // this.checkactiveGetEchart();
- });
- },
- goInformDetails(val) {
- //点击更多,查看所有的通知列表
- // uni.navigateTo({
- // url: '/pagesA/fire/notice/index?id=' + val
- // });
- //查看所有的每日任务列表
- uni.navigateTo({
- url: '/pagesA/fire/inspection_active/index'
- });
- },
- //清楚所有未读
- cleanUnread() {
- getNoticeAllRead({
- userId: this.$store.state.user.id
- }).then(response => {
- if (response.data == true) {
- this.getData();
- }
- });
- },
- // 单个公告详情点击事件
- onNoticeClick(val) {
- getNoticeOlnyRead({
- id: val.id
- }).then(response => {
- if (response.data == true) {
- this.getData();
- }
- });
- uni.navigateTo({
- url: `/pagesA/fire/notice/notcice_details/notcice_details?id=${val.id}`,
- success: function(res) {
- // 通过eventChannel向被打开页面传送数据
- res.eventChannel.emit('acceptDataFromOpenerPage', val);
- }
- });
- },
- onRemindClick(val){
- uni.navigateTo({
- url: `/pagesA/fire/remind/details/details?id=${val.broad_id}`,
- success: function(res) {
- // 通过eventChannel向被打开页面传送数据
- res.eventChannel.emit('acceptDataFromOpenerPage', val);
- }
- });
- },
- // 根据不同的url,进行页面的跳转
- handleToInfo(url) {
- this.$tab.navigateTo(url);
- },
- // 模态框确认,取消操作
- confirm() {
- this.show = false;
- uni.navigateTo({
- url: '/pages/mine/info/edit'
- });
- },
- close() {
- this.show = false;
- },
- cancel() {
- this.show = false;
- },
- // ================================================================
- //查看详情
- addClickDetail(val) {
- uni.navigateTo({
- url: `/pagesA/fire/check_active/check_list/check_list?id=${val}¤t=${this.current}`,
- success: function(res) {
- res.eventChannel.emit('acceptDataFromOpenerPage', val);
- }
- })
- },
- //去完成
- addClickModify(val) {
- uni.navigateTo({
- url: `/pagesA/fire/check_active/check_implement/check_implement?broadId=${val.broadId}`,
- success: function(res) {
- res.eventChannel.emit('acceptDataFromOpenerPage', val);
- }
- })
- },
- //转发
- forward(val) { //展示转发的弹出层
- this.ids = val.id //当前点击任务的id
- this.checkboxShow2 = true
- this.FormDataTask.broadId = val.broadId
- this.FormDataTask.id = this.ids
- this.FormDataTask.taskName = val.taskName
- this.FormDataTask.taskStatus = val.taskStatus
- this.FormDataTask.taskContent = val.taskContent
- this.FormDataTask.orgId.push(val.orgId)
- checkGetPerson({
- orgId: val.orgId
- }).then(response => {
- this.personInfo = response.data
- })
- },
- checkboxChange2(i, n) {
- if (i && n.length != 0) {
- this.checkedList2.push(i)
- } else if (i && n.length == 0) {
- this.checkedList2 = this.checkedList2.filter(item => item != i)
- }
- },
- //popup检查单位确定============
- checkboxConfirm2() {
- checkSubmitForwardTask(JSON.stringify(this.FormDataTask)).then(response => {
- if (response.data) {
- this.$modal.msg('转发成功')
- this.checkboxShow2 = false
- } else {
- this.$modal.msgError(response.msg)
- }
- })
- },
- //popup取消
- checkboxCancel2() {
- this.checkboxShow2 = false
- },
- getDatas() {
- this.loading = true
- this.pageNo = 1
- taskList(JSON.stringify(this.formData)).then(response => {
- this.tableDatas = response.data.list
- })
- },
- // =====================================================
- }
- };
- </script>
- <style lang="scss" scoped>
- .album {
- @include flex;
- align-items: flex-start;
- &__avatar {
- background-color: $u-bg-color;
- padding: 5px;
- border-radius: 3px;
- }
- &__content {
- margin-left: 10px;
- flex: 1;
- }
- }
- .container {
- border-radius: 30px 30px 0px 0px;
- background: #fff;
- // top:200rpx;
- z-index: 99;
- position: relative;
- }
- body {
- // background-image: linear-gradient(#4cb2b6, #f0f8f9) !important;
- }
- uni-page-body {
- // background-image: linear-gradient(#4cb2b6, #f0f8f9) !important;
- height: 100% !important;
- // height: 100%;
- }
- .grid-body {
- // height: 30%;
- margin-bottom: 20rpx;
- }
- .cards {
- height: 100%;
- }
- /deep/.uni-card--shadow {
- border-radius: 24rpx;
- }
- /deep/.u-button.data-v-3bf2dba7,
- .u-grid-item {
- width: 30%;
- float: right;
- }
- /deep/.uni-card--border {
- border-radius: 24rpx !important;
- box-shadow: 0px 1px 14px 0px rgba(211, 211, 211, 0.3) !important;
- border: none !important;
- }
- ::v-deep .u-navbar__content {
- background-color: #4cb2b6 !important;
- }
- .container {
- // height: 90vh !important;
- // background-image: linear-gradient(#4cb2b6, #f0f8f9);
- }
- // 已读
- .read {
- color: #000;
- padding-left: 40rpx;
- }
- .unread {
- color: red;
- padding-left: 40rpx;
- }
- .no-notice {
- text-align: center;
- }
- .text {
- text-align: center;
- color: #000;
- font-size: 26rpx;
- margin-top: 10rpx;
- }
- .grid-item-box {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 15px 0;
- }
- .scroll-list__goods-item__image {
- width: 85rpx;
- height: 92rpx;
- }
- .grid-text {
- font-size: 11px;
- color: #383838;
- padding: 10rpx 0 20rpx 0rpx;
- /* #ifndef APP-PLUS */
- box-sizing: border-box;
- /* #endif */
- }
- .nav {
- // margin-bottom: 30rpx;
- .u-grid-item[data-v-99a45d26],
- .u-grid-item.data-v-99a45d26,
- .u-grid-item {
- margin-bottom: 30rpx;
- }
- }
- /deep/.uni-col-16.data-v-fff79656,
- /deep/.uni-col-16[data-v-fff79656] {
- width: 100%;
- }
- /deep/.uni-col-16 {
- width: 100%;
- }
- /deep/.uni-row {
- margin: 0 30rpx 10rpx -6rpx !important;
- }
- /deep/.u-notice-bar {
- background-color: rgb(235, 246, 247) !important;
- }
- /deep/.u-notice-bar[data-v-4eff50a7],
- /deep/.u-notice-bar.data-v-4eff50a7,
- /deep/.u-notice-bar {
- border-radius: 20rpx;
- }
- .yidu {
- font-size: 24rpx;
- background-color: #f8f8f8;
- padding: 10rpx 20rpx;
- border-radius: 10rpx;
- color: rgb(255, 178, 62);
- margin-right: 20rpx;
- }
- .weidu {
- font-size: 24rpx;
- background-color: #f8f8f8;
- padding: 10rpx 20rpx;
- border-radius: 10rpx;
- margin-right: 20rpx;
- color: #a5a9ac;
- }
- .back-image {
- margin-bottom: 20rpx;
- height: 115rpx;
- background: url('~@/static/images/biankuang.png') no-repeat;
- background-size: 100% 115rpx;
- position: relative;
- }
- .back-image2 {
- margin-bottom: 0;
- }
- .back-size,
- .back-sizes {
- width: 60rpx;
- height: 30rpx;
- margin: 0 20rpx 0 60rpx;
- }
- .back-size {
- width: 30px;
- height: 21px;
- }
- .back-sizes {
- width: 32rpx;
- height: 32rpx;
- }
- .back-size-tips {
- width: 59px;
- height: 21px;
- margin: 0 20rpx 0 60rpx;
- }
- .back-notice {
- position: absolute;
- top: 0;
- left: 0;
- width: 48rpx;
- height: 52rpx;
- }
- .charts-box {
- margin-top: 20rpx;
- width: 100%;
- height: 600rpx;
- }
- /deep/.u-navbar__content__left[data-v-75dad532],
- /deep/.u-navbar__content__right[data-v-75dad532],
- /deep/.u-navbar__content__right {
- display: none !important;
- }
- .u-cell-text {
- font-weight: 700;
- font-size: 32rpx;
- padding-left: 10rpx;
- margin-left: -10rpx;
- border-left: 6rpx solid #4CB2B6;
- }
- </style>
|