index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  1. <template>
  2. <view style="height: 100%;">
  3. <!-- <u-navbar :bgImg="bgImg" title="首页" :titleStyle="{ color:'#fff', letterSpacing:'0.3em',fontSize:'18px'}" :safeAreaInsetTop="true" ></u-navbar> -->
  4. <!-- <navInfo :title="'首页'" :titleStyle="{ color:'#fff', letterSpacing:'0.3em',fontSize:'18px'}"></navInfo>
  5. <view class="bgTopImg">
  6. <image slot="right" :src="`${urls}/navBg@2x.png`" class="bgTopImg"></image>
  7. </view> -->
  8. <view class="container uni-container" style="display:flex;flex-direction: column;justify-content: space-between;height: 100%;">
  9. <view class="nav">
  10. <!-- <u-scroll-list indicatorColor="#fff0f0" indicatorActiveColor="#f56c6c" >
  11. <view class="scroll-list" style="flex-direction: row;">
  12. <view class="scroll-list__goods-item" v-for="(item, index) in goodsArr" :key="index"
  13. :class="[(index === 4) && 'scroll-list__goods-item--no-margin-right']">
  14. <image class="scroll-list__goods-item__image " :src=" item.thumbnail" mode="">
  15. </image>
  16. <text class="scroll-list__goods-item__text">{{ item.name }}</text>
  17. </view>
  18. </view>
  19. </u-scroll-list> -->
  20. <view>
  21. <u-grid :border="false" col="4">
  22. <u-grid-item v-for="(item, listIndex) in goodsArr" :key="listIndex">
  23. <image @click="handleToInfo(item.menuUrl)" class="scroll-list__goods-item__image "
  24. :src="item.thumbnail" mode=""></image>
  25. <text class="grid-text">{{ item.name }}</text>
  26. </u-grid-item>
  27. </u-grid>
  28. <u-toast ref="uToast" />
  29. </view>
  30. </view>
  31. <!-- <view style="margin-bottom: 20rpx;">
  32. <u-button :plain="true" text="全部已读" @click="cleanUnread" style="width: 23%;float: right;"></u-button>
  33. </view> -->
  34. <!-- <view class="grid-body" v-for="(item, index) in tableDatas" :key="index">
  35. <uni-card class="cards">
  36. <u-cell-group :border="false">
  37. <u-cell :border="false" :title="item.name" :icon="item.icon" :boritemder="false" isLink
  38. titleStyle="font-weight:600" rightIconStyle="color:#4CB2B6;font-size: 24rpx;"
  39. >
  40. <text slot="value" v-if="tableData.length!=0" @click="cleanUnread" class="weidu">全部已读</text>
  41. <text slot="value" style="font-size: 24rpx;color: #4CB2B6;" @click="goInformDetails(item.comType)">更多</text>
  42. </u-cell>
  43. </u-cell-group>
  44. <view v-if="tableData[index]!=''">
  45. <view v-for="(item1, index1) in tableData" :key="index1"
  46. @click.nativite="onNoticeClick(item1)" link
  47. >
  48. <uni-row class="demo-uni-row padding-top text-sm" :gutter="20"
  49. style="margin:0rpx 30rpx 0rpx -24rpx;width: 100%;">
  50. <uni-col :span="16">
  51. <u-notice-bar :text="item1.comTitle?item1.comTitle:''" speed="40"></u-notice-bar>
  52. <text class="uni-body text-1cut" v-if="item1.length==0">暂无{{item}}</text>
  53. </uni-col>
  54. <uni-col :span="8">
  55. </uni-col>
  56. </uni-row>
  57. </view>
  58. </view>
  59. <view v-else class="no-notice"> 暂无{{item.name}}
  60. </view>
  61. </uni-card>
  62. </view> -->
  63. <!-- <view class="grid-body" >
  64. <uni-card class="cards" > -->
  65. <!-- <u-cell-group :border="false">
  66. <u-cell :border="false" title="通知公告" icon="@/static/images/checkActive/tongzhi@2x.png" :boritemder="false" isLink
  67. titleStyle="font-weight:600" rightIconStyle="color:#4CB2B6;font-size: 24rpx;">
  68. <text slot="value" v-if="tableData.length!=0" @click="cleanUnread" class="weidu">全部已读</text>
  69. <text slot="value" style="font-size: 24rpx;color: #4CB2B6;" @click="goInformDetails(item.comType)">更多</text>
  70. </u-cell>
  71. </u-cell-group> -->
  72. <!-- <view v-if="tableData.length>0">
  73. <view v-for="(item1, index1) in tableData" :key="index1"
  74. @click.nativite="onNoticeClick(item1)" link>
  75. <uni-row class="demo-uni-row padding-top text-sm" :gutter="20"
  76. style="margin:0rpx 30rpx 0rpx -24rpx;width: 100%;">
  77. <uni-col :span="16">
  78. <u-notice-bar :text="item1.title?item1.title:''" speed="40"></u-notice-bar>
  79. </uni-col>
  80. <uni-col :span="8">
  81. </uni-col>
  82. </uni-row>
  83. </view>
  84. </view>
  85. <view v-else class="no-notice"> 暂无数据
  86. </view>
  87. </uni-card>
  88. </view> -->
  89. <view v-if="tableData">
  90. <view class="back-image">
  91. <image :src="laba" class="back-notice"></image>
  92. <view style="display: flex;padding-top: 40rpx;">
  93. <image :src="tongzhi" class="back-size"></image>
  94. <view v-if="arrtongzhi.length !=0" @click.nativite="onNoticeClick(arrtongzhi[0])">
  95. {{ arrtongzhi[0].title }}
  96. </view>
  97. <view v-else>暂无通知</view>
  98. </view>
  99. </view>
  100. <!-- <view class="back-image back-image2">
  101. <image :src="laba" class="back-notice"></image>
  102. <view style="display: flex;padding-top: 40rpx;">
  103. <image :src="gonggao" class="back-size"></image>
  104. <view v-if="arrgonggao.length != []" @click.nativite="onNoticeClick(arrgonggao[0])">
  105. {{ arrgonggao[0].title }}
  106. </view>
  107. <view v-else>暂无公告</view>
  108. </view>
  109. </view> -->
  110. </view>
  111. <view class="">
  112. <u-cell-group :border="false">
  113. <u-cell :border="false" :boritemder="false" isLink rightIconStyle="color:#4CB2B6;font-size: 24rpx;">
  114. <view slot="title" class="u-slot-title">
  115. <text class="u-cell-text">待办任务</text>
  116. </view>
  117. <text slot="value" style="font-size: 28rpx;color: #4CB2B6;" @click="goInformDetails">更多</text>
  118. </u-cell>
  119. </u-cell-group>
  120. <uni-card v-if="tableDatas.length>0" >
  121. <uni-row class="demo-uni-row" :gutter="20" width="100%">
  122. <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>
  123. <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>
  124. </uni-col>
  125. <uni-col :span="24"><text style="color:#728F90">任务发布者:</text><text>{{tableDatas[0].senderName}}</text>
  126. </uni-col>
  127. </uni-row>
  128. <uni-row class="demo-uni-row" :gutter="20" width="100%">
  129. <!-- <uni-col :span="24"> -->
  130. <view class="flex btn-box" style="width: 50%;float: right;">
  131. <u-button shape="circle" size="small" color="#F7C41E" text="查看详情"
  132. @click="addClickDetail(tableDatas[0].broadId)" style="margin-right: 10rpx;"></u-button>
  133. <u-button shape="circle" size="small" color="#4CB2B6" style="margin-left: 10rpx;" text="去完成"
  134. @click="addClickModify(tableDatas[0])"></u-button>
  135. </view>
  136. <!-- </uni-col> -->
  137. </uni-row>
  138. </uni-card>
  139. <uni-card v-else style="text-align:center">
  140. 今日暂无任务,可前往查看是否有往日任务
  141. </uni-card>
  142. </view>
  143. <!-- 图表-->
  144. <view class="charts-box">
  145. <!-- 注意:这里的opts是uCharts的配置,eopts是ECharts的配置,不要搞混,如果不需要用在各种小程序端,是不需要传uCharts的opts的,只需要传eopts即可!!!这里加opts是为了覆盖uCharts的rose图的默认图例配置的位置 -->
  146. <qiun-data-charts type="column" :eopts="opts" :opts="opts" :chartData="chartsDataLine3" v-if="chartsDataLine3.series[0].itemStyle.normal.color=='#D2D8E2'"
  147. :echartsH5="true" :echartsApp="true" />
  148. </view>
  149. </view>
  150. <!-- 单位进来转发任务显示人员 -->
  151. <u-popup :show="checkboxShow2" :round="10" @close="checkboxShow2=false" style="position: relative;"
  152. mode="center">
  153. <view style="width: 90vw;padding: 10px;">
  154. <text class="text-xl">检查人员</text>
  155. <view class="" class="person-forward" v-if="personInfo">
  156. <u-checkbox-group v-model="item.checkboxValue1" v-for="(item, index) in personInfo" :key="index"
  157. placement="column" @change="checkboxChange2(item.user_id,$event)">
  158. <u-checkbox :customStyle="{marginBottom: '8px'}" :label="item.nickname" :name="item.id">
  159. </u-checkbox>
  160. </u-checkbox-group>
  161. </view>
  162. <view v-else>
  163. 此单位下暂无可转发人员
  164. </view>
  165. <view class="flex flex-direction-row " style="margin: 30rpx 0;">
  166. <u-button shape="circle" type="primary" color="#4CB2B6" text="确定" @click="checkboxConfirm2"
  167. customStyle="margin-right:20px;padding:0 30px">
  168. </u-button>
  169. <u-button type="primary" plain color="#4CB2B6" text="取消" shape="circle" @click="checkboxCancel2"
  170. customStyle="padding:0 30px">
  171. </u-button>
  172. </view>
  173. </view>
  174. </u-popup>
  175. <!-- 加载中 -->
  176. <isLodingModel></isLodingModel>
  177. <u-modal :show="show" @confirm="confirm" @cancel="cancel" @close="close" asyncClose closeOnClickOverlay
  178. showCancelButton confirmColor="red" :title="title" :content="content" ref="uModal"></u-modal>
  179. </view>
  180. </template>
  181. <script>
  182. import {
  183. getNoticeList,
  184. getNoticeAllRead,
  185. getNoticeOlnyRead,
  186. isNeedInfo
  187. } from '@/api/notice'; // 通知公告列表
  188. import {
  189. checkGetPerson,//单位转发任务获取人员
  190. taskList,//获取除草稿箱以外的列表 //获取当前日期的任务列表
  191. checkSubmitForwardTask, //确认转发任务
  192. } from "@/api/check_active";
  193. import storage from '@/utils/storage';
  194. let that = null;
  195. import config from '@/config'
  196. const baseUrlImg=config.baseUrlImg
  197. export default {
  198. data() {
  199. return {
  200. urls:baseUrlImg,
  201. bgImg:`${baseUrlImg}/navBg@2x.png`,
  202. opts: {
  203. legend:{
  204. show: false
  205. },
  206. color: ["#D2D8E2"],
  207. yAxis: {
  208. data: [{
  209. min: 0,
  210. axisLine: false,
  211. }],
  212. axisLine: false,
  213. },
  214. disabled: false,
  215. xAxis: {
  216. axisLine: {
  217. show: false
  218. },
  219. },
  220. tooltip: {
  221. trigger: 'axis',
  222. axisPointer: {
  223. type: 'none'
  224. }
  225. },
  226. extra: {
  227. column: {
  228. type: 'group',
  229. barBorderRadius: [6, 6, 6, 6],
  230. // activeBgColor: "#4CB2B6",
  231. // activeBgOpacity:1
  232. },
  233. tooltip: {
  234. horizentalLine: false,
  235. splitLine: false
  236. }
  237. }
  238. },
  239. chartsDataLine3: {},
  240. tongzhi:`${baseUrlImg}/tongzhi.png`,
  241. gonggao: `${baseUrlImg}/gonggao.png`,
  242. laba:`${baseUrlImg}/laba.png`,
  243. //import biankuang from '@/static/images/biankuang.png'
  244. LoadingModel: false,
  245. show: false, //弹出框
  246. title: '完善个人信息',
  247. content: '个人信息尚未完善,是否完善个人基本信息?',
  248. arrtongzhi: [],
  249. arrgonggao: [],
  250. personInfo:[],
  251. checkedList2: [], //检查单位已选择列表
  252. // 数据 //数据接口,已读接口(id,全部)---通知列表,详情
  253. // tableDatas: [{
  254. // name: '通知',
  255. // icon: tongzhi,
  256. // comType: '1'
  257. // }
  258. // , {
  259. // name: '公告',
  260. // icon: gonggao,
  261. // comType: "2"
  262. // }, {
  263. // name: '指令',
  264. // icon: zhiling,
  265. // comType: "3"
  266. // },
  267. // ],
  268. tableDatas: [], //任务数据
  269. formData: {
  270. pageNo: 1,
  271. pageSize: 10,
  272. receivDate: '',
  273. receiver: this.$store.state.user.id,
  274. taskType: "3"
  275. },
  276. FormDataTask: {
  277. "broadId": 0,
  278. "deptId": [],
  279. "id": 0,
  280. "orgId": [],
  281. "sender": this.$store.state.user.id,
  282. "receiver": [],
  283. "status": 0,
  284. "taskContent": "",
  285. "taskName": "",
  286. "taskStatus": 0,
  287. "taskType": "" //任务类型 1对应主动检查
  288. },
  289. zhuanfa:`${baseUrlImg}/zhuanfa.png`,
  290. // 通知公告数据
  291. tableData: [],
  292. // tableData数据加载中
  293. loading: false,
  294. // echarts数据
  295. checkactiveOption: {},
  296. goodsArr: [{
  297. name: '每日巡查',
  298. thumbnail:`${baseUrlImg}/meirixuncha.png`,
  299. menuUrl: '/pagesA/fire/inspection_active/index'
  300. },
  301. {
  302. name: '任务派遣',
  303. thumbnail: `${baseUrlImg}/zhudongjiancha.png`,
  304. menuUrl: `/pagesA/fire/check_active/index?type=2`
  305. },
  306. {
  307. name: '主动检查',
  308. thumbnail:`${baseUrlImg}/renwuguanli.png`,
  309. menuUrl: `/pagesA/fire/check_inspection/check_inspection`
  310. },
  311. {
  312. name: '隐患管理',
  313. thumbnail: `${baseUrlImg}/yinhuanguanli.png`,
  314. menuUrl: '/pagesA/fire/hidden_trouble/index'
  315. }
  316. ],
  317. checkboxShow2:false
  318. };
  319. },
  320. // 在 vue页面,向起始页通过事件传递数据
  321. onShow: function() {
  322. this.getServerData();
  323. const date = new Date()
  324. this.formData.receivDate = uni.$u.timeFormat(date, 'yyyy-mm-dd')
  325. this.getDatas()
  326. this.getData()
  327. },
  328. onLoad: function(option) {
  329. that = this;
  330. // // 判断用户信息是否需要完善
  331. // const value = uni.getStorageSync('getUserInfo_key');
  332. // if (
  333. // value.userRoles.appRoles.length > 0 &&
  334. // value.userRoles.appRoles[0].role_id != '' &&
  335. // value.userRoles.appRoles[0].user_id != ''
  336. // ) {
  337. // const appRoleId = value.userRoles.appRoles[0].role_id;
  338. // const userId = value.userRoles.appRoles[0].user_id;
  339. // isNeedInfo({
  340. // appRoleId: appRoleId,
  341. // userId: userId
  342. // }).then(response => {
  343. // if (response.code != 0) {
  344. // that.show = true;
  345. // }
  346. // });
  347. // } else {
  348. // that.show = true;
  349. // }
  350. },
  351. onReady() {},
  352. methods: {
  353. //图表
  354. getServerData() {
  355. //区域图
  356. this.chartsDataLine3 = {
  357. categories: ['提交', '待完成', '审核', '打回', '完成'],
  358. series: [{
  359. name: "",
  360. barWidth: 26,
  361. data: [30, 80, 100, 49, 112],
  362. itemStyle: {
  363. normal: {
  364. //这里设置柱形图圆角 [左上角,右上角,右下角,左下角]
  365. barBorderRadius: [6, 6, 4, 4],
  366. color: '#D2D8E2'
  367. },
  368. emphasis: {
  369. color: '#68BCBF' //点击后高亮颜色
  370. }
  371. }
  372. }]
  373. }
  374. },
  375. // 获取数据
  376. getData() {
  377. this.$modal.isLoadingModel(true);
  378. this.LoadingModel = true;
  379. getNoticeList({
  380. }).then(response => {
  381. this.LoadingModel = false;
  382. this.$modal.isLoadingModel(this.LoadingModel);
  383. // 为数据赋值:通过展开运算符的形式,进行新旧数据的拼接
  384. this.tableData = [...this.tableData, ...response.data.list];
  385. if (this.tableData.length != []) {
  386. this.arrtongzhi = this.tableData.filter(i => i.type == 1);
  387. this.arrgonggao = this.tableData.filter(i => i.type == 2);
  388. }
  389. console.log(this.arrtongzhi, '通知', this.arrgonggao);
  390. // this.checkactiveGetEchart();
  391. });
  392. },
  393. goInformDetails(val) {
  394. //点击更多,查看所有的通知列表
  395. // uni.navigateTo({
  396. // url: '/pagesA/fire/notice/index?id=' + val
  397. // });
  398. //查看所有的每日任务列表
  399. uni.navigateTo({
  400. url: '/pagesA/fire/inspection_active/index'
  401. });
  402. },
  403. //清楚所有未读
  404. cleanUnread() {
  405. getNoticeAllRead({
  406. userId: this.$store.state.user.id
  407. }).then(response => {
  408. if (response.data == true) {
  409. this.getData();
  410. }
  411. });
  412. },
  413. // 单个公告详情点击事件
  414. onNoticeClick(val) {
  415. console.log(val.id, 'val.id');
  416. getNoticeOlnyRead({
  417. id: val.id
  418. }).then(response => {
  419. if (response.data == true) {
  420. this.getData();
  421. }
  422. });
  423. uni.navigateTo({
  424. url: `/pagesA/fire/notice/notcice_details/notcice_details?id=${val.id}`,
  425. success: function(res) {
  426. // 通过eventChannel向被打开页面传送数据
  427. res.eventChannel.emit('acceptDataFromOpenerPage', val);
  428. }
  429. });
  430. },
  431. // 根据不同的url,进行页面的跳转
  432. handleToInfo(url) {
  433. this.$tab.navigateTo(url);
  434. console.log(this.$store, this.$store.state.user, this.$store.getters);
  435. },
  436. // 模态框确认,取消操作
  437. confirm() {
  438. this.show = false;
  439. uni.navigateTo({
  440. url: '/pages/mine/info/edit'
  441. });
  442. },
  443. close() {
  444. this.show = false;
  445. },
  446. cancel() {
  447. this.show = false;
  448. },
  449. // ================================================================
  450. //查看详情
  451. addClickDetail(val) {
  452. uni.navigateTo({
  453. url: `/pagesA/fire/check_active/check_list/check_list?id=${val}&current=${this.current}`,
  454. success: function(res) {
  455. res.eventChannel.emit('acceptDataFromOpenerPage', val);
  456. }
  457. })
  458. },
  459. //去完成
  460. addClickModify(val) {
  461. uni.navigateTo({
  462. url: `/pagesA/fire/check_active/check_implement/check_implement?broadId=${val.broadId}`,
  463. success: function(res) {
  464. res.eventChannel.emit('acceptDataFromOpenerPage', val);
  465. }
  466. })
  467. },
  468. //转发
  469. forward(val) { //展示转发的弹出层
  470. console.log(val,'vavavava');
  471. this.ids = val.id //当前点击任务的id
  472. this.checkboxShow2 = true
  473. this.FormDataTask.broadId = val.broadId
  474. this.FormDataTask.id = this.ids
  475. this.FormDataTask.taskName = val.taskName
  476. this.FormDataTask.taskStatus = val.taskStatus
  477. this.FormDataTask.taskContent = val.taskContent
  478. this.FormDataTask.orgId.push(val.orgId)
  479. checkGetPerson({
  480. orgId: val.orgId
  481. }).then(response => {
  482. console.log(response,'11111111');
  483. this.personInfo = response.data
  484. })
  485. },
  486. checkboxChange2(i, n) {
  487. if (i && n.length != 0) {
  488. this.checkedList2.push(i)
  489. } else if (i && n.length == 0) {
  490. this.checkedList2 = this.checkedList2.filter(item => item != i)
  491. }
  492. },
  493. //popup检查单位确定============
  494. checkboxConfirm2() {
  495. checkSubmitForwardTask(JSON.stringify(this.FormDataTask)).then(response => {
  496. if (response.data) {
  497. this.$modal.msg('转发成功')
  498. this.checkboxShow2 = false
  499. } else {
  500. this.$modal.msgError(response.msg)
  501. }
  502. })
  503. },
  504. //popup取消
  505. checkboxCancel2() {
  506. this.checkboxShow2 = false
  507. },
  508. getDatas() {
  509. this.loading = true
  510. this.pageNo = 1
  511. taskList(JSON.stringify(this.formData)).then(response => {
  512. this.tableDatas= response.data.list
  513. })
  514. },
  515. // =====================================================
  516. }
  517. };
  518. </script>
  519. <style lang="scss" scoped>
  520. .album {
  521. @include flex;
  522. align-items: flex-start;
  523. &__avatar {
  524. background-color: $u-bg-color;
  525. padding: 5px;
  526. border-radius: 3px;
  527. }
  528. &__content {
  529. margin-left: 10px;
  530. flex: 1;
  531. }
  532. }
  533. .container {
  534. border-radius: 30px 30px 0px 0px;
  535. background: #fff;
  536. // top:200rpx;
  537. z-index: 99;
  538. position: relative;
  539. }
  540. body {
  541. // background-image: linear-gradient(#4cb2b6, #f0f8f9) !important;
  542. }
  543. uni-page-body {
  544. // background-image: linear-gradient(#4cb2b6, #f0f8f9) !important;
  545. height: 100% !important;
  546. // height: 100%;
  547. }
  548. .grid-body {
  549. // height: 30%;
  550. margin-bottom: 20rpx;
  551. }
  552. .cards {
  553. height: 100%;
  554. }
  555. /deep/.uni-card--shadow {
  556. border-radius: 24rpx;
  557. }
  558. /deep/.u-button.data-v-3bf2dba7,.u-grid-item {
  559. width: 30%;
  560. float: right;
  561. }
  562. /deep/.uni-card--border{
  563. border-radius: 24rpx !important;
  564. box-shadow: 0px 1px 14px 0px rgba(211, 211, 211, 0.3) !important;
  565. border:none !important;
  566. }
  567. ::v-deep .u-navbar__content {
  568. background-color: #4cb2b6 !important;
  569. }
  570. .container {
  571. // height: 90vh !important;
  572. // background-image: linear-gradient(#4cb2b6, #f0f8f9);
  573. }
  574. // 已读
  575. .read {
  576. color: #000;
  577. padding-left: 40rpx;
  578. }
  579. .unread {
  580. color: red;
  581. padding-left: 40rpx;
  582. }
  583. .no-notice {
  584. text-align: center;
  585. }
  586. .text {
  587. text-align: center;
  588. color: #000;
  589. font-size: 26rpx;
  590. margin-top: 10rpx;
  591. }
  592. .grid-item-box {
  593. flex: 1;
  594. display: flex;
  595. flex-direction: column;
  596. align-items: center;
  597. justify-content: center;
  598. padding: 15px 0;
  599. }
  600. .scroll-list__goods-item__image {
  601. width: 85rpx;
  602. height: 92rpx;
  603. }
  604. .grid-text {
  605. font-size: 11px;
  606. color: #383838;
  607. padding: 10rpx 0 20rpx 0rpx;
  608. /* #ifndef APP-PLUS */
  609. box-sizing: border-box;
  610. /* #endif */
  611. }
  612. .nav {
  613. // margin-bottom: 30rpx;
  614. .u-grid-item[data-v-99a45d26],
  615. .u-grid-item.data-v-99a45d26,.u-grid-item {
  616. margin-bottom: 30rpx;
  617. }
  618. }
  619. /deep/.uni-col-16.data-v-fff79656,
  620. /deep/.uni-col-16[data-v-fff79656] {
  621. width: 100%;
  622. }
  623. /deep/.uni-col-16 {
  624. width: 100%;
  625. }
  626. /deep/.uni-row {
  627. margin: 0 30rpx 10rpx -6rpx !important;
  628. }
  629. /deep/.u-notice-bar {
  630. background-color: rgb(235, 246, 247) !important;
  631. }
  632. /deep/.u-notice-bar[data-v-4eff50a7],
  633. /deep/.u-notice-bar.data-v-4eff50a7,/deep/.u-notice-bar{
  634. border-radius: 20rpx;
  635. }
  636. .yidu {
  637. font-size: 24rpx;
  638. background-color: #f8f8f8;
  639. padding: 10rpx 20rpx;
  640. border-radius: 10rpx;
  641. color: rgb(255, 178, 62);
  642. margin-right: 20rpx;
  643. }
  644. .weidu {
  645. font-size: 24rpx;
  646. background-color: #f8f8f8;
  647. padding: 10rpx 20rpx;
  648. border-radius: 10rpx;
  649. margin-right: 20rpx;
  650. color: #a5a9ac;
  651. }
  652. .back-image {
  653. margin-bottom: 20rpx;
  654. height: 115rpx;
  655. background: url('~@/static/images/biankuang.png') no-repeat;
  656. background-size: 100% 115rpx;
  657. position: relative;
  658. }
  659. .back-image2 {
  660. margin-bottom: 0;
  661. }
  662. .back-size,.back-sizes {
  663. width: 60rpx;
  664. height: 30rpx;
  665. margin: 0 20rpx 0 60rpx;
  666. }
  667. .back-sizes{
  668. width:32rpx;
  669. height: 32rpx;
  670. }
  671. .back-notice {
  672. position: absolute;
  673. top: 0;
  674. left: 0;
  675. width: 48rpx;
  676. height: 52rpx;
  677. }
  678. .charts-box {
  679. margin-top: 20rpx;
  680. width: 100%;
  681. height: 600rpx;
  682. }
  683. /deep/.u-navbar__content__left[data-v-75dad532],
  684. /deep/.u-navbar__content__right[data-v-75dad532],/deep/.u-navbar__content__right {
  685. display: none !important;
  686. }
  687. .u-cell-text {
  688. font-weight: 700;
  689. font-size: 32rpx;
  690. padding-left: 10rpx;
  691. margin-left: -10rpx;
  692. border-left: 6rpx solid #4CB2B6;
  693. }
  694. </style>