不良信息公示

news2024/9/23 19:28:53

系统应用于对各类不良信息进行公示

1、背景

针对目前各类打工人的工作生活,所遇仲裁无门,投诉无果的现象,以及各类公司有恃无恐的态度作为背景,特此对开源项目进行修改,诞生了此套系统

2、系统信息收集

为保障小人物权益,本系统退出匿名收集信息功能,所需的账号以及密码,完全由用户自主输入,不收集用户敏感信息作为保障

体验网址:www.weshir.com

3、部分源码以及项目截图

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

信息发布页面

在这里插入图片描述

在这里插入代码片
  <el-row :gutter="20">
    <!--    <el-col :sm="2" class="hidden-xs-only" style="opacity:0;">左侧占位</el-col>-->
      <el-col :xs="10" :sm="14">

        <el-card style="background-color: rgba(255,255,255,0.9)" class="left-item">

          <div slot="header" class="total">
            <div class="titleIndex">
              <i v-if="selected" class="el-icon-back" @click="updateBlogList"></i>
              <span>{{ selectMethod }}</span>
            </div>
            <!-- <span><span style="color: #3a8ee6; font-size: 20px">{{totalcount}}</span></span> -->
          </div>
          <el-row type="flex" align="middle" style="flex-wrap: wrap" :gutter="20" v-for="blog in blogList"
                  :key="blog.id"
                  shadow="never" class="blog-content">
            <div >
              <!--              <el-col class="img" :xs="24" :sm="6">-->

              <!--              </el-col>-->
              <el-col :xs="24" :sm="18"
                      style="padding-left: 10px;padding-right: 10px;margin-bottom: 5px;margin-top: -5px;">
                <div>
                  <h3 style="font-weight: bold;font-size: 30px" @click="getBlogInfo(blog.id)">
                    <svg-icon icon-class="Topping" v-show="blog.top==1"/>
                    {{ blog.title }}
                  </h3>
                  <div style="margin-bottom: 10px;" @click="getBlogInfo(blog.id)">
                    <span style="color: rgba(0, 0, 0, .4);"> {{ blog.blogDesc }}</span>
                  </div>
                  <div v-html="blog.content" @click="getBlogInfo(blog.id)"></div>
                  <div style="margin-bottom: 10px;">
                    <el-tag effect="plain" size="mini" v-for="tag in blog.tags" :key="tag.tagId" type="success">
                      {{ tag.tagName }}
                    </el-tag>
                  </div>
                  <div class="blog-info">
                    <div class="user-info">
                      <i class="el-icon-user"></i>
                      <span class="header" style="font-size: 15px"> {{ blog.createBy }}</span>
                    </div>
                    <div class="blog-date">
                      <i class="el-icon-date"></i>
                      <span style="font-size: 15px"> {{ blog.createTime }}</span>
                    </div>
                    <div>
                      <i class="el-icon-view"></i>
                      <span> {{ blog.views }}</span>
                    </div>
                    <div class="blog-type">
                      <el-tag size="mini" v-for="tag in blog.types" :key="tag.typeId" type="info">
                        {{ tag.typeName }}
                      </el-tag>
                    </div>

                  </div>
                </div>
                <el-image v-if="blog.blogPicType === '0'" lazy :src="blog.blogPicLink" @click="getBlogInfo(blog.id)">
                  <div slot="error" class="image-slot">
                    <el-image src="/errorImg.jpg" fit="cover" class="blogPic"></el-image>
                  </div>
                </el-image>
                <el-image v-if="blog.blogPicType === '1'" style="width:60%;height: 60%" lazy @click="getBlogInfo(blog.id)"
                          :src="blog.blogPic"></el-image>
              </el-col>
            </div>
          </el-row>
          <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum"
                      :limit.sync="queryParams.pageSize"
                      background layout="total, sizes, prev, pager, next, jumper" @pagination="getBlogList"
                      style="margin-bottom: 30px;float: right;margin-right: 10px;"/>
        </el-card>

      </el-col>
      <el-col :xs="24" :sm="5">
        <el-card style="background-color: rgba(255,255,255,0.9)" class=" right-item">
          <div slot="header" class="attributes">
            <b>分类</b>
          </div>
          <ul class=" blog-type-ul" style="margin-top: 5px;">
            <li class=" blog-type-li" v-for="cmsType in typeList" :key="cmsType.typeId" @click="selectType(cmsType)"
                :class="cmsType.typeId === typeId? 'activeType':''">
              <div style="display: flex;align-items: center">
                <el-image style="width: 28px;height: 28px; border-radius: 50%; margin-right: 10px" lazy
                          :src="cmsType.typePicLink" v-show="cmsType.typePicType == '0'">
                  <div slot="error" style="width: 28px;height: 28px; border-radius: 50%;">
                    <i class="el-icon-collection" style="margin-left:6px;"></i>
                  </div>
                </el-image>
                <el-image style="width: 28px;height: 28px; border-radius: 50%; margin-right: 10px" lazy
                          :src="cmsType.typePic" v-show="cmsType.typePicType == '1'">
                  <div slot="error" style="width: 28px;height: 28px; border-radius: 50%;">
                    <i class="el-icon-collection" style="margin-left:6px;"></i>
                  </div>
                </el-image>
                {{ cmsType.typeName }}
              </div>
              <div>{{ cmsType.blogNum }}</div>
            </li>
          </ul>
          <div class="more" @click="dealType">
            <i v-if="moreType" class="el-icon-arrow-down"></i>
            <i v-else class="el-icon-arrow-up"></i>
          </div>
        </el-card>
        <el-card style="background-color: rgba(255,255,255,0.9)" class=" right-item">
          <div slot="header" class="attributes">
            <b>标签</b>
          </div>
          <div class="tags">
            <div class=" tag-item" v-for="tag in tagList" :key="tag.tagId" @click="selectTag(tag)"
                 :class="tag.tagId === tagId? 'activeTag':''">
              <div class="sjx-outer">
                <div class="sjx-inner"></div>
              </div>
              <div class="tag">
                {{ tag.tagName }}
                {{ tag.blogNum }}
              </div>
            </div>
          </div>
          <div class="more" @click="dealTag">
            <i v-if="moreTag" class="el-icon-arrow-down"></i>
            <i v-else class="el-icon-arrow-up"></i>
          </div>
        </el-card>
        <el-card style="background-color: rgba(255,255,255,0.9)" class=" right-item">
          <div slot="header" class="attributes">
            <b>最新推荐</b>
          </div>
          <div class=" recommend-blog l-text" v-for="blog in recommendList" :key="blog.id"
               @click="getBlogInfo(blog.id)">
            <a class="recommend-a">{{ blog.title }}</a>
          </div>
        </el-card>
      </el-col>
      <el-col :sm="2" class="hidden-xs-only" style="opacity:0;">右侧占位</el-col>
    </div>
  </el-row>```

```bash
//获取屏幕尺寸,用于用户滑动屏幕,数据停顿
window.addEventListener('scroll', this.handleScroll)

    this.$nextTick(function () {
      // 仅在整个视图都被渲染之后才会运行的代码
      this.getTypeList()
      this.getBlogList();
      this.getTagList()
      this.getRecommendList()
      let str = '这是我的个人博客、会分享关于编程,开发以及其他方面的一些内容,希望可以对您有所帮助...';
      let idx = 0;
      let that = this
      let timer = setTimeout(function fn() {
        // console.log(this.intro)
        that.intro = that.intro + str.substring(idx, idx + 1)
        idx++
        if (idx > str.length) {
          that.intro = ''
          idx = 0
        }
        setTimeout(fn, 200)
      }, 2000)

      this.screenWidth = document.documentElement.clientWidth
    })
  
```handleScroll() {
      const scrollTop = window.pageYOffset || document.documentElement.scrollTop
      this.isSticky = scrollTop > 100 // 当页面滚动超过100px时启用固定
    },
// 开始进入主页
    startRead() {
      this.$nextTick(() => {
        document.getElementById('index').scrollIntoView({
          behavior: 'smooth',
          block: 'start',
          // inline: 'nearest'
        });
      })
    },
    compare(property) {
      return function (a, b) {
        let value1 = a[property].length;
        let value2 = b[property].length;
        return value2 - value1;
      }
    },
    // 获取推荐不良信息列表
    async getRecommendList() {
      cmsListRecommend(this.queryParams).then(response => {
        const {
          data: res
        } = response;
        this.recommendList = response.rows.slice(0, 10);
        this.total = response.total;
      });
    },
    // 获取不良信息类型列表
    async getTypeList() {
      getBlogDetail(this.$route.query.id).then(response => {
        for (let i = 0; i < response.types.length; i++) {
          let typeInfo = response.types[i];
          if (typeInfo.typePic.length > 0) {
            response.types[i].typePic = process.env.VUE_APP_BASE_API + typeInfo.typePic
          }
        }
        ;
        const {
          data: res
        } = response;
        this.fullTypeList = response.types
        this.typeList = response.types.slice(0, 7);
      });
    },
###  评论
```bash
  <div class="container">
    <div class="comment" v-for="item in comments">
      <div class="info" :id="item.id">
        <el-avatar v-if="item.avatar!==''&&item.avatar!=null" :src="item.avatar"></el-avatar>
        <el-avatar v-else icon="el-icon-user-solid"></el-avatar>
        <div class="right">
          <div class="name">{{item.createBy}}</div>
          <div class="date">{{item.createTime}}</div>
        </div>
      </div>
      <div class="content">{{item.content}}</div>
      <div class="control">
        <span class="like" :class="{active: item.isLike}" @click="likeClick(item)">
          <svg-icon icon-class="like" />
          <span class="like-num" style="margin-left: 5px;">{{item.likeNum > 0 ? item.likeNum + '人赞' : '赞'}}</span>
        </span>
        <span class="comment-reply" @click="showCommentInput(item)">
          <svg-icon icon-class="comment" />
          <span style="margin-left: 5px;">回复</span>
        </span>
      </div>
      <div class="reply">
        <div class="item" v-for="reply in item.children" :id="reply.id">
          <div class="reply-content">
            <span class="from-name">{{reply.createBy}}</span><span>: </span>
            <span class="to-name" v-show="reply.parentId!=reply.mainId">@{{reply.pcreateBy}}</span>
            <span v-show="reply.delFlag=='0'">{{reply.content}}</span>
            <span v-show="reply.delFlag=='1'" style="color: #909399;">该评论已被删除!</span>
          </div>
          <div class="reply-bottom">
            <span>{{reply.createTime}}</span>
            <span class="reply-text" @click="showCommentInput(item, reply)">
              <svg-icon icon-class="comment" />
              <span style="margin-left: 5px;">回复</span>
            </span>
          </div>
        </div>
        <div class="write-reply" v-if="item.children!=null" @click="showCommentInput(item)">
          <i class="el-icon-edit"></i>
          <span class="add-comment">添加新评论</span>
        </div>
        <input-component :show="showItemId === item.id"
                         :value="inputComment"
                         :toComment="name"
                         :toId="id"
                         @cancel="cancelInput"
                         @confirm="commitComment">
        </input-component>
        <!--<transition name="fade">-->
        <!--<div class="input-wrapper" v-if="showItemId === item.id">-->
        <!--<el-input class="gray-bg-input"-->
        <!--v-model="inputComment"-->
        <!--type="textarea"-->
        <!--:rows="3"-->
        <!--autofocus-->
        <!--placeholder="写下你的评论">-->
        <!--</el-input>-->
        <!--<div class="btn-control">-->
        <!--<span class="cancel" @click="cancel">取消</span>-->
        <!--<el-button class="btn" type="success" round @click="commitComment">确定</el-button>-->
        <!--</div>-->
        <!--</div>-->
        <!--</transition>-->
      </div>
    </div>
  </div>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2084630.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

大模型时代,算法工程师的黄金时代

在大模型时代&#xff0c;算法工程师的角色已经超越了传统的编程和算法优化&#xff0c;他们成为了推动技术革新和业务发展的关键力量。作为一名算法工程师&#xff0c;我深刻地感受到这个时代对我们的新要求和期待。回想起我刚刚踏入这个领域时&#xff0c;深度学习还只是少数…

【多视图聚类】Reconsidering Representation Alignment for Multi-view Clustering

Reconsidering Representation Alignment for Multi-view Clustering CVPR 2021 0.论文摘要和信息 摘要 对齐视图表示的分布是当今用于深度多视图聚类的最先进模型的核心组件。然而&#xff0c;我们发现了nävely对齐表示分布的几个缺点。我们证明了这些缺点既导致表示空间…

07-问题-如何在Python中检查字符串是否为有效的标识符?

问题-如何在Python中检查字符串是否为有效的标识符&#xff1f; 规则 在Python中&#xff0c;标识符用来表示变量、函数、类、模块或其他对象的名字&#xff0c;并且需要遵循以下规则&#xff1a;可以由字母&#xff08;包括大小写&#xff09;、数字和下划线组成。不能以数字…

开放式蓝牙耳机有什么用?四款值得买的高性价比开放式耳机推荐

开放式耳机具有多方面的作用&#xff1a; 佩戴舒适&#xff1a;开放式耳机不入耳&#xff0c;不堵塞耳道&#xff0c;可避免对耳膜造成压迫&#xff0c;长时间佩戴也不会有明显的不适感&#xff0c;像耳挂式或夹耳式设计&#xff0c;还能减少耳部负担&#xff0c;适合需要长时…

什么是IP地址?它有什么用?

IP地址&#xff0c;即互联网协议地址&#xff08;Internet Protocol Address&#xff09;&#xff0c;是互联网上每台设备的数字标识&#xff0c;它如同现实生活中的身份证&#xff0c;确保着网络世界中的每个“居民”都能被准确识别和定位。 IP地址由一串数字组成&#xff0c…

点云数据介绍

本篇内容 通过PCD文件介绍点云数据如何通过PCL库读取和保存PCD点云数据文件 1 点云数据 最简单的点云数据就是一堆三维坐标点&#xff08;x,y,z&#xff09;&#xff0c;除了坐标还可以记录每个点的颜色信息&#xff08;r,g,b&#xff09;&#xff0c;或者强度信息&#xff…

【Asio网络编程】socket的监听和连接

文章目录 一、VS2019配置boost库二、 网络编程基本流程三、 终端节点的创建3.1 客户端终端节点3.2 服务端终端节点 四、 创建SOCKET4.1 客户端创建socket4.2 服务端创建socket4.3 绑定acceptor 五、 连接5.1 客户端连接5.2 客户端通过域名连接(了解即可&#xff0c;用的少)5.2 …

使用 curl_cffi 解决 Web 抓取中的 TLS/JA3 指纹识别方法

在网站抓取过程中遇到反爬虫措施而苦苦挣扎&#xff1f;curl_cffi 是一个高级 Python 库&#xff0c;它包装了 cURL 工具&#xff0c;可以帮助您有效地绕过这些障碍。通过模拟浏览器行为并利用 cURL 的功能&#xff0c;curl_cffi 增强了您的抓取器避免检测并顺利执行的能力。在…

索迪迈科技油罐车监控系统中车载摄像头的布局策略

随着科技的不断发展&#xff0c;车载监控系统在油罐车上的安装已经成为了一种趋势。这不仅大大降低了车辆的安全隐患与运营成本&#xff0c;更对石油运输企业优化资源配置、提高市场竞争力起到了积极的促进作用。那么&#xff0c;在油罐车监控系统中&#xff0c;如何合理布局车…

Baumer工业相机堡盟工业相机如何通过NEOAPISDK实现根据每次触发信号移动感兴趣区域ROI(Python)

Baumer工业相机堡盟工业相机如何通过NEOAPISDK实现根据每次触发信号移动感兴趣区域ROI&#xff08;Python&#xff09; Baumer工业相机Baumer工业相机定序器功能的技术背景Baumer工业相机通过NEOAPI SDK使用定序器功能预期的相机动作测试的图像效果 Baumer工业相机通过NEOAPI S…

LoRA - 大型语言模型的低秩适应方法

人工智能咨询培训老师叶梓 转载标明出处 大规模预训练模型&#xff0c;如GPT-3&#xff0c;拥有高达1750亿参数&#xff0c;全参数微调不仅计算成本高昂&#xff0c;而且部署和维护多个微调实例变得非常困难。而且全参数微调需要大量的GPU内存&#xff0c;限制了同时训练的模型…

go 切片slice学习总结

切片的结构 切片的底层结构&#xff1a; type SliceHeader struct {Data uintptr // 指向底层数组的指针 Len int //长度Cap int //空间容量 } 切片的初始化 1 通过数组或者已有的slice创建新的slice 1.1 使用数组创建切片 通过数组的一部分来初始化切片。 …

fixed、absolute 和 relative 布局

https://andi.cn/page/621716.html

计算机视觉编程 1(图片处理)

目录 灰色度 缩略图 拷贝粘贴区域 调整图像尺寸 旋转图像45 画图线、描点 灰色度 灰度是指图像中每个像素的亮度值&#xff0c;用来描述图像中各个像素的明暗程度。在计算机视觉中&#xff0c;灰度可以通过以下方式来计算&#xff1a; 1. 平均值法&#xff1a;将图像中每…

核心技术揭秘:AI、低代码与定制开发的三重奏,如何应对复杂业务需求

背景介绍 在当今迅速发展的数字化时代&#xff0c;企业面临的业务环境变得日益复杂和多变。无论是面对不断变化的市场需求&#xff0c;还是处理海量数据并从中获取洞察力&#xff0c;企业都需要快速响应并灵活调整自身的策略。传统的开发模式在应对这种复杂性时往往显得力不从心…

大模型提示词工程技术2-设计有效的提示词技巧、角色与上下文在提示中的应用

大模型提示词工程技术2-设计有效的提示词技巧、角色与上下文在提示中的应用。《大模型提示词工程技术》的作者&#xff1a;微学AI&#xff0c;这是一本专注于提升人工智能大模型性能的著作&#xff0c;它深入浅出地讲解了如何通过优化输入提示词来引导大模型生成高质量、准确的…

技术赋能数字化转型:百数低代码平台在试点城市的应用与实践

在当今信息化高速发展的时代&#xff0c;数字化转型已成为城市和企业发展的必然趋势。为了推动这一进程&#xff0c;数字化转型城市试点政策应运而生。“据了解&#xff0c;中央财政将对每个试点城市给予1亿元资金奖补&#xff0c;支持中小企业实施数字化改造&#xff0c;以数字…

5 - ZYNQ GPIO

文章目录 0 前言1 GPIO基本概念1.1 MIO-EMIO基本介绍1.2 MIO-EMIO连接情况 0 前言 本文来参考博主徐晓康的博文 ZYNQ7000-GPIO详解&#xff0c;仅作为个人学习记录。 1 GPIO基本概念 在ZYNQ中&#xff0c;GPIO&#xff08;General Purpose Input/Output&#xff0c;通用输入…

嵌入式RTOS正在缩小与Linux系统之间的差异

RTOS与Linux的物联网设备操作系统之争已经持续了很多年。Linux以其强大的计算能力和丰富的软件生态,在需要复杂处理和软件支持的物联网设备上占据一席之地;RTOS凭借实时响应和资源节约的特性,在对实时性和资源占用有严格要求的场景中独领风骚。 如果时间倒回五年前,那…

[C++] C++11详解 (三)类的成员函数、完美转发

标题&#xff1a;[C] C11详解 &#xff08;三&#xff09;完美转发与lambda表达式 水墨不写bug 目录 一、C11新增两个类的默认成员函数 1.强制生成默认函数的关键字default: 2.禁止生成默认函数的关键字delete: 二、完美转发 正文开始&#xff1a; 一、C11新增两个类的默…