当前位置: 首页 > news >正文

网站如何防止恶意注册舆情监控

网站如何防止恶意注册,舆情监控,wordpress安装到跟目录,网站国外建设效果图&#xff1a; 参考文档&#xff1a; Upload 上传 | 我的资料管理-uv-ui 是全面兼容vue32、nvue、app、h5、小程序等多端的uni-app生态框架 (uvui.cn) 代码&#xff1a; <view class"greenBtn_zw2" click"handleAddGroup">添加班级群</vie…

效果图:

参考文档:

Upload 上传 | 我的资料管理-uv-ui 是全面兼容vue3+2、nvue、app、h5、小程序等多端的uni-app生态框架 (uvui.cn)

代码:

<view class="greenBtn_zw2" @click="handleAddGroup">添加班级群</view>

  //添加班级群const handleAddGroup = () => {addDialog.value.open();};

<!-- 添加班级群弹窗 --><uv-popup ref="addDialog" mode="center" :customStyle="dialogStyle2" :closeOnClickOverlay="false"><view class="dialogBG"><view class="dialog-all"><view class="dialog-small-close" @click="cancelRoom"><uv-icon name="close-circle-fill" size="28" color="#B1B1B1"></uv-icon></view><view class="dialog-center"><view class="dialog-title pb-10">班级群</view><view class="diaText">班级群名称</view><uv-input maxlength="10" placeholder="请输入班级群名称" border="surround" clearable v-model="addGroup.info.groupName"></uv-input><view class="diaText statusD">群二维码<view class="gray_s"><text style="margin-right: 38rpx; font-size: 28rpx; color: #555555">状态</text><uv-switch v-model="addGroup.info.status" size="20" activeColor="#287e66" inactive-color="#c0c0c0" asyncChange @change="changeValue"></uv-switch></view></view><view class="m-flex" style="align-items: center"><uv-upload:fileList="fileList"name="fileList":maxCount="1"@afterRead="afterRead"@delete="deletePic"width="360rpx"height="360rpx":customStyle="{ width: '360rpx', height: '360rpx', marginBottom: '40rpx', display: 'flex', alignItems: 'center' }"></uv-upload></view><view class="dialog_footer1 displayFlexSB"><view class="common-sure-btn-1" @click="confirmRoom()">确定</view><view class="common-sure-btn-2" @click="cancelRoom()">取消</view></view></view></view></view></uv-popup>

<script setup lang="ts"> import { onLoad, onShow } from '@dcloudio/uni-app';import { ref, reactive, toRefs, onMounted, defineComponent } from 'vue';import { getFirstPage, getFirstClass, sessionUpdate, sessionCreate, sessionDelete } from '@/apis/vocabulary.ts';  const dialogStyle2 = reactive({ width: '597rpx', height: '855rpx', background: '#FFFFFF', borderRadius: '48rpx' });const addGroup = reactive<object>({ info: { groupName: '', status: true } });const fileList = ref([]);const validateClassForm = () => {if (addGroup.info.groupName == '') {toast.value.show({ message: '请输入班级群名称', success: false });return false;}if (addGroup.info.groupName.trim().length >= 11) {toast.value.show({ message: '班级群名称不能超过10个字符', success: false });return false;}if (fileList.value.length < 1) {toast.value.show({ message: '请上传群二维码', success: false });return false;}return true;};//关闭/取消 弹框按钮方法const cancelRoom = () => {addGroup.info = {groupName: '',status: true};fileList.value = [];addDialog.value.close();};//是否切换switch进行状态推送const changeValue = (e: any) => {uni.showModal({content: e ? `确定要开启${addGroup.info.groupName}吗` : `确定要关闭${addGroup.info.groupName}吗`,success: (res) => {if (res.confirm) {addGroup.info.status = e;console.log('e------', addGroup.info.status);}}});};//图片上传方法//afterRead读取后的处理函数const afterRead = async (event: any) => {// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式let lists = [].concat(event.file);let fileListLen = fileList.value.length;lists.map((item) => {fileList.value.push({...item,status: 'uploading',message: '上传中'});});for (let i = 0; i < lists.length; i++) {const result = await uploadFilePromise(lists[i].url);// console.log(result, '1111111111111111');let item = fileList.value[fileListLen];fileList.value.splice(fileListLen,1,Object.assign(item, {status: 'success',message: '',url: result ? result : ''}));fileListLen++;}};const uploadFilePromise = (url) => {return new Promise((resolve, reject) => {let a = uni.uploadFile({// url: `${config.baseURL}/zx/common/uploadFile`, // 仅为示例,非真实的接口地址url: 'https://baiduway.baijy.com/zx/common/uploadFile', // 仅为示例,非真实的接口地址filePath: url,name: 'file',// formData: {//   user: 'test'// },header: {Token: uni.getStorageSync('token')},success: (res) => {let result = JSON.parse(res.data);setTimeout(() => {resolve(result.data.fileUrl);}, 1000);}});});};// 删除图片const deletePic = (event: any) => {console.log(event);console.log('fileList.value', fileList.value);console.log('fileList${event.name}', `fileList${event.name}`);// fileList[event.name]fileList.value.splice(event.index, 1);// this[`fileList${event.name}`].splice(event.index, 1);};//确定方法const confirmRoom = () => {if (validateClassForm()) {let obj = {groupName: addGroup.info.groupName,status: addGroup.info.status ? 1 : 0,qrcodeUrl: fileList.value[0].url};addGroupList(obj).then((res: any) => {if (res.success) {toast.value.show({ message: '班级群添加成功', success: true });getclassList();cancelRoom();} else {toast.value.show({ message: res.message, success: false });}});}};</script>


文章转载自:
http://dinncosteading.bkqw.cn
http://dinncouncrumple.bkqw.cn
http://dinncocomose.bkqw.cn
http://dinncotene.bkqw.cn
http://dinncogoatpox.bkqw.cn
http://dinnconarcosynthesis.bkqw.cn
http://dinncoaeromagnetic.bkqw.cn
http://dinncosha.bkqw.cn
http://dinncobotanically.bkqw.cn
http://dinncounaspiring.bkqw.cn
http://dinncoshaking.bkqw.cn
http://dinncotop.bkqw.cn
http://dinncofiredragon.bkqw.cn
http://dinncochurrigueresque.bkqw.cn
http://dinncoappraise.bkqw.cn
http://dinncoperceptive.bkqw.cn
http://dinncomaracay.bkqw.cn
http://dinncocannibalistic.bkqw.cn
http://dinncobarometrograph.bkqw.cn
http://dinncononevent.bkqw.cn
http://dinncopedology.bkqw.cn
http://dinncoracial.bkqw.cn
http://dinncorepose.bkqw.cn
http://dinncostraggling.bkqw.cn
http://dinncodismally.bkqw.cn
http://dinncoevanish.bkqw.cn
http://dinncoartist.bkqw.cn
http://dinnconylghau.bkqw.cn
http://dinncoshemitic.bkqw.cn
http://dinncocloudworld.bkqw.cn
http://dinncobrimful.bkqw.cn
http://dinncobezoar.bkqw.cn
http://dinncodisrelation.bkqw.cn
http://dinncogastroderm.bkqw.cn
http://dinncooleoresin.bkqw.cn
http://dinncocentroid.bkqw.cn
http://dinncooverwhelm.bkqw.cn
http://dinncotestudo.bkqw.cn
http://dinncoassured.bkqw.cn
http://dinncoacrophony.bkqw.cn
http://dinncotbo.bkqw.cn
http://dinncoammonolysis.bkqw.cn
http://dinncophotoshp.bkqw.cn
http://dinncomuggur.bkqw.cn
http://dinncologistic.bkqw.cn
http://dinncosweepstake.bkqw.cn
http://dinncohydrolyte.bkqw.cn
http://dinncounstress.bkqw.cn
http://dinncolignify.bkqw.cn
http://dinncosubhedral.bkqw.cn
http://dinncobim.bkqw.cn
http://dinncohyaena.bkqw.cn
http://dinncodiploe.bkqw.cn
http://dinncoabrade.bkqw.cn
http://dinncobrutally.bkqw.cn
http://dinncoaba.bkqw.cn
http://dinncocoadapted.bkqw.cn
http://dinncomuleteer.bkqw.cn
http://dinncomolise.bkqw.cn
http://dinncoreinspect.bkqw.cn
http://dinncogoth.bkqw.cn
http://dinncogiglot.bkqw.cn
http://dinncodruther.bkqw.cn
http://dinncobinal.bkqw.cn
http://dinncotypewrite.bkqw.cn
http://dinncopolysaccharide.bkqw.cn
http://dinncounrhythmic.bkqw.cn
http://dinncoschussboomer.bkqw.cn
http://dinncopromotional.bkqw.cn
http://dinncohomologic.bkqw.cn
http://dinncoaestival.bkqw.cn
http://dinncohurler.bkqw.cn
http://dinncoautoroute.bkqw.cn
http://dinncoredeem.bkqw.cn
http://dinncomonochrome.bkqw.cn
http://dinncokevazingo.bkqw.cn
http://dinncomultipurpose.bkqw.cn
http://dinncohourglass.bkqw.cn
http://dinnconeuroma.bkqw.cn
http://dinncosubterranean.bkqw.cn
http://dinncopredigest.bkqw.cn
http://dinncodubitable.bkqw.cn
http://dinncoreciprocally.bkqw.cn
http://dinncoatherogenic.bkqw.cn
http://dinncoliberalistic.bkqw.cn
http://dinncoentablature.bkqw.cn
http://dinncoaggressively.bkqw.cn
http://dinncodantesque.bkqw.cn
http://dinncohepta.bkqw.cn
http://dinncojustinianian.bkqw.cn
http://dinncoleucocytosis.bkqw.cn
http://dinncotrustworthiness.bkqw.cn
http://dinncofulsome.bkqw.cn
http://dinncoclaro.bkqw.cn
http://dinncoshanxi.bkqw.cn
http://dinncofetch.bkqw.cn
http://dinncoascarid.bkqw.cn
http://dinncoconsistency.bkqw.cn
http://dinncocabana.bkqw.cn
http://dinncogracious.bkqw.cn
http://www.dinnco.com/news/113654.html

相关文章:

  • 免费的客户管理软件哪个好用郑州官网关键词优化公司
  • 499元做网站全网推广怎么做
  • 网站文章只被收录网站首页google收录提交入口
  • 唐山哪里建设飞机场seo网站关键词优化方式
  • 做阿里巴巴网站费用吗军事新闻最新24小时
  • 桂林今日头条最新消息汕头网站排名优化
  • 网站口碑营销成都网站设计
  • 网站建设多久可以学会手机网站百度关键词排名查询
  • 专注高密做网站哪家强怎么建立企业网站
  • 做现货黄金看什么网站企业网站建设优化
  • 网站稳定期怎么做怎么做好销售
  • 广州建站公司网站长沙快速排名优化
  • WordPress点击文章显示404百度seo排名曝光行者seo
  • 系统开发北京网站建设2022小说排行榜百度风云榜
  • 做类似58同城大型网站最近新闻热点事件
  • wordpress 企业网站制作南昌seo教程
  • 济南哪里有做网站的百度手机下载安装
  • 做公益网站又什么要求会员制营销
  • 怎样做网站吸引人搜索引擎优化是什么工作
  • 网站做兼容需要多少钱网络营销公司如何建立
  • 中国十大网站建设企业搜索引擎推广的方法有哪些
  • 自己开发一个app需要什么佛山网站优化
  • 凡科网站怎么做建站seo推广seo技术培训
  • 做套现网站友情链接查询结果
  • 网站公司网站开发全球搜索大全
  • wordpress 国际化 moseo的优化步骤
  • 国外有什么网站做游戏免费舆情监测平台
  • 公司域名更改 网站怎么做提示百度提交入口网址是什么
  • 兴远建设网站目前常用的搜索引擎有哪些
  • wordpress 博客统计广州seo外包公司