12 2022 档案

摘要:直播平台制作,JS判断某个时间戳是否为当天时间 vue中直接在标签中判断如下(item.PostTime为发帖时间戳) <img class="new" src="@/assets/img/new.png" v-if="new Date(Number(item.PostTime)* 1000).to 阅读全文
posted @ 2022-12-30 14:14 云豹科技-苏凌霄 阅读(190) 评论(0) 推荐(0) 编辑
摘要:直播软件源码,利用uniapp checkbox判断是否选中 <checkbox-group @change="selfChangde" name=""><label><checkbox :checked="selfChecked" color="#DC143C" style="transform: 阅读全文
posted @ 2022-12-30 14:07 云豹科技-苏凌霄 阅读(150) 评论(0) 推荐(0) 编辑
摘要:视频直播app源码,css预加载旋转动画与流光字体 一、预加载旋转动画 css body {}.concentric_round {width: 200rpx;height: 200rpx;position: relative;position: absolute;top: 50%;left: 50 阅读全文
posted @ 2022-12-30 14:03 云豹科技-苏凌霄 阅读(36) 评论(0) 推荐(0) 编辑
摘要:直播app开发搭建,计算视频上传所需时间 <!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co 阅读全文
posted @ 2022-12-29 14:15 云豹科技-苏凌霄 阅读(42) 评论(0) 推荐(0) 编辑
摘要:视频直播系统源码,const声明关键字是哪一个 const声明的变量也具有块级作用域。 if(1) { const a = 20 if(1) { const a = 10 console.log(a); } console.log(a); } console.log(); ​ const声明变量时必 阅读全文
posted @ 2022-12-29 14:11 云豹科技-苏凌霄 阅读(64) 评论(0) 推荐(0) 编辑
摘要:直播系统app源码,元素水平垂直居中 position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); ​ 以上就是 直播系统app源码,元素水平垂直居中,更多内容欢迎关注之后的文章 阅读全文
posted @ 2022-12-29 14:05 云豹科技-苏凌霄 阅读(15) 评论(0) 推荐(0) 编辑
摘要:成品直播源码,实例源码系列-更改图片透明度 partial class Form1{ /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// 阅读全文
posted @ 2022-12-23 14:14 云豹科技-苏凌霄 阅读(46) 评论(0) 推荐(0) 编辑
摘要:视频直播系统源码,实例源码系列-设置系统时间 public partial class Form1 : Form{ public Form1() { InitializeComponent(); } //api函数声明 [DllImport("kernel32.dll", CharSet = Cha 阅读全文
posted @ 2022-12-23 14:10 云豹科技-苏凌霄 阅读(56) 评论(0) 推荐(0) 编辑
摘要:直播平台开发,jsp登录注册代码 register.jsp:注册 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html><html><head><met 阅读全文
posted @ 2022-12-23 14:04 云豹科技-苏凌霄 阅读(47) 评论(0) 推荐(0) 编辑
摘要:直播软件源码,JS获取指定长度的随机字符 function random_string(len) { len = len || 32; var chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678'; var maxPos = chars 阅读全文
posted @ 2022-12-22 11:02 云豹科技-苏凌霄 阅读(12) 评论(0) 推荐(0) 编辑
摘要:直播平台软件开发,flex布局实例 <!DOCTYPE html><html lang=""><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewpor 阅读全文
posted @ 2022-12-22 11:01 云豹科技-苏凌霄 阅读(57) 评论(0) 推荐(0) 编辑
摘要:直播带货源码,Android Studio实现电商引导页 打开“activity_splash.xml”文件,完成引导页界面的布局设计 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:t 阅读全文
posted @ 2022-12-22 10:58 云豹科技-苏凌霄 阅读(31) 评论(0) 推荐(0) 编辑
摘要:在线直播系统源码,循环滚动RecyclerView的实现 public class AutoRecyclerView extends RecyclerView { private static final long TIME_AUTO_POLL = 16; private final AutoPol 阅读全文
posted @ 2022-12-20 10:47 云豹科技-苏凌霄 阅读(20) 评论(0) 推荐(0) 编辑
摘要:直播网站程序源码,FlowLayoutManager 流式布局 import android.graphics.Rectimport android.util.Logimport android.util.SparseArrayimport android.view.Viewimport andro 阅读全文
posted @ 2022-12-20 10:44 云豹科技-苏凌霄 阅读(31) 评论(0) 推荐(0) 编辑
摘要:直播小程序源码,配置tabbar底部导航栏 // 配置tabbar导航栏"tabBar": {"borderStyle": "black","selectedColor": "#FB7299","color": "#444444","list": [{"pagePath": "pages/index 阅读全文
posted @ 2022-12-20 10:38 云豹科技-苏凌霄 阅读(20) 评论(0) 推荐(0) 编辑
摘要:直播app开发搭建,注册时确定两次密码一致 1、verification.jsp onblur 事件会在对象失去焦点时发生 <%@ page contentType="text/html;charset=UTF-8" language="java" %><html><head> <title>Tit 阅读全文
posted @ 2022-12-16 14:08 云豹科技-苏凌霄 阅读(32) 评论(0) 推荐(0) 编辑
摘要:视频直播系统源码,Android 读取联系人列表 1、activity_main.xml 只有一个listview列表项用于存储从手机联系人中获取的数据。 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http: 阅读全文
posted @ 2022-12-16 14:05 云豹科技-苏凌霄 阅读(34) 评论(0) 推荐(0) 编辑
摘要:直播平台源代码,顶部标签栏及内容列表的设计与实现 1、主页面添加ViewPager控件 activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http 阅读全文
posted @ 2022-12-16 14:02 云豹科技-苏凌霄 阅读(47) 评论(0) 推荐(0) 编辑
摘要:直播软件app开发,vant 时间选择控件修订为只显示年份 import _extends from "@babel/runtime/helpers/esm/extends";import { createNamespace } from '../utils';import { isDate } f 阅读全文
posted @ 2022-12-15 14:11 云豹科技-苏凌霄 阅读(34) 评论(0) 推荐(0) 编辑
摘要:直播商城系统源码,环形进度条组件 <template> <div class="content" ref="box"> <svg :id="idStr" style="transform: rotate(-90deg)" :width="width" :height="width" xmlns="h 阅读全文
posted @ 2022-12-15 14:09 云豹科技-苏凌霄 阅读(18) 评论(0) 推荐(0) 编辑
摘要:直播平台搭建源码,纯js实现编辑器撤消/重做 核心JS //基类var Core = function() {}Core.prototype = {arrayPrevStep: [], //存放撤消操作方法列表arrayNextStep: [], //存放恢复操作方法列表triggerUndo: f 阅读全文
posted @ 2022-12-15 14:03 云豹科技-苏凌霄 阅读(39) 评论(0) 推荐(0) 编辑
摘要:直播商城源码,vue 自定义指令过滤特殊字符 /** * @tags input 只可以輸入数字、字母、汉字 * @example v-emoji */export default (app) => { app.directive('emoji', { mounted(el, binding) { 阅读全文
posted @ 2022-12-14 14:16 云豹科技-苏凌霄 阅读(13) 评论(0) 推荐(0) 编辑
摘要:直播平台软件开发,flutter Wrap 自动换行组件 先来简单的看一下源码 Wrap({ super.key, this.direction = Axis.horizontal, this.alignment = WrapAlignment.start, this.spacing = 0.0, 阅读全文
posted @ 2022-12-14 14:11 云豹科技-苏凌霄 阅读(25) 评论(0) 推荐(0) 编辑
摘要:直播app开发搭建,封装验证码输入框 自定义一个CustomOtpInput 类,继承自 StatelessWidget CustomOtpInput 需要接收 TextEditingController 和 autoFocus 控制 设计输入需要展示的样式 onChanged 文本内容改变之后,需 阅读全文
posted @ 2022-12-14 14:05 云豹科技-苏凌霄 阅读(15) 评论(0) 推荐(0) 编辑
摘要:直播电商平台开发,HTML和CSS分别实现注册页面表单 <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>HTML注册页面</title></head><body><form action="#" method="post"><!-- 阅读全文
posted @ 2022-12-13 14:13 云豹科技-苏凌霄 阅读(35) 评论(0) 推荐(0) 编辑
摘要:直播系统app源码,Android studio 实现app登录注册页面 activity_main.xml代码如下 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http: 阅读全文
posted @ 2022-12-13 14:08 云豹科技-苏凌霄 阅读(77) 评论(0) 推荐(0) 编辑
摘要:在线直播系统源码,实现搜索后界面显示商品列表效果 activity_main.xml <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/andro 阅读全文
posted @ 2022-12-13 14:04 云豹科技-苏凌霄 阅读(46) 评论(0) 推荐(0) 编辑
摘要:视频直播系统源码,C语言实现图片合成功能 public partial class Form1 : Form{ public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs 阅读全文
posted @ 2022-12-12 14:14 云豹科技-苏凌霄 阅读(57) 评论(0) 推荐(0) 编辑
摘要:直播平台搭建,实现图片缩略图功能 public partial class Form1 : Form{ public Form1() { InitializeComponent(); } public Image ResourceImage; private int ImageWidth; priv 阅读全文
posted @ 2022-12-12 14:12 云豹科技-苏凌霄 阅读(42) 评论(0) 推荐(0) 编辑
摘要:直播平台制作,依靠C语言实现图片轮播 public partial class Form1 : Form{ public Form1() { InitializeComponent(); } public bool Pflag; int flag = 0; FileSystemInfo[] fsin 阅读全文
posted @ 2022-12-12 14:09 云豹科技-苏凌霄 阅读(50) 评论(0) 推荐(0) 编辑
摘要:直播系统app源码,js操作在当前日期加减(天、周、月、年数) 1. 项目案例 首先,我们创建个获取当前日期的变量nowDate,项目中需求是设置在当前时间的15天后做xxx事情,写一个方法 getNextDay () { let nowDate = new Date() nowDate.setDa 阅读全文
posted @ 2022-12-09 14:18 云豹科技-苏凌霄 阅读(68) 评论(0) 推荐(0) 编辑
摘要:直播app开发,页面跳转的几种方法和区别 1. 保留当前页面,可跳转到非 tabBar 页面,使用uni.navigateBack可以返回到原页面(可传参) uni.navigateTo({url: 'test?id=1&name=uniapp'}); ​ 2. 关闭当前页面,跳转到应用内的某个页面 阅读全文
posted @ 2022-12-09 14:12 云豹科技-苏凌霄 阅读(65) 评论(0) 推荐(0) 编辑
摘要:在线直播系统源码,Android页面跳转,intent activity_main2.xml <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/a 阅读全文
posted @ 2022-12-09 14:07 云豹科技-苏凌霄 阅读(48) 评论(0) 推荐(0) 编辑
摘要:app直播源码,js实现上传图片类型+大小+尺寸验证 html代码: <input type="file" name="files" id="file" onchange="verificationPicFile(this)"> ​ js代码: //图片类型验证function verificati 阅读全文
posted @ 2022-12-08 14:14 云豹科技-苏凌霄 阅读(59) 评论(0) 推荐(0) 编辑
摘要:在线直播系统源码,vue+audio 有新消息时加提示音 <audio controls="controls" hidden src="./static/tip.mp3" ref="audio"></audio> ​ 有新消息时,用以下代码即可播放指定的提示音。 this.$refs.audio.c 阅读全文
posted @ 2022-12-08 14:11 云豹科技-苏凌霄 阅读(57) 评论(0) 推荐(0) 编辑
摘要:直播商城系统源码,点击按钮 保存页面为图片到本地 首先写一个按钮 创建事件 <button class="info" @click="capture()">点击保存我哦~</button> ​ 然后把点击事件写上 capture() {var pages = getCurrentPages(); / 阅读全文
posted @ 2022-12-08 14:04 云豹科技-苏凌霄 阅读(37) 评论(0) 推荐(0) 编辑
摘要:直播软件app开发,单行或多行文本溢出,省略号代替 单行文本溢出,省略号代替 display: block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; ​ 多行文本溢出,省略号代替 overflow: hidden;te 阅读全文
posted @ 2022-12-07 14:15 云豹科技-苏凌霄 阅读(21) 评论(0) 推荐(0) 编辑
摘要:直播app系统源码,使用scroll-view实现内容列表的竖向滚动 app.json { "pages": [ "pages/index/index" ], "window": { "navigationBarBackgroundColor": "#0149af", "navigationBarT 阅读全文
posted @ 2022-12-07 14:11 云豹科技-苏凌霄 阅读(25) 评论(0) 推荐(0) 编辑
摘要:直播网站源码,css实现状态平滑的动画 <!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" con 阅读全文
posted @ 2022-12-07 14:06 云豹科技-苏凌霄 阅读(21) 评论(0) 推荐(0) 编辑
摘要:直播app系统源码,Flutter MaterialButton 实现圆角边框按钮 MaterialButton buildMaterialButton() { return MaterialButton( //背景颜色 color: Colors.white, //边框样式 shape: cons 阅读全文
posted @ 2022-12-06 14:13 云豹科技-苏凌霄 阅读(91) 评论(0) 推荐(0) 编辑
摘要:手机直播源码,文字上下滚动切换 用于公告消息提示 1 基本使用代码 void main() { ///启动根目录 runApp(MaterialApp( home: TestTipsPage(), ));}class TestTipsPage extends StatefulWidget { @ov 阅读全文
posted @ 2022-12-06 14:10 云豹科技-苏凌霄 阅读(108) 评论(0) 推荐(0) 编辑
摘要:直播平台制作,Flutter ChoiceChip 用来实现选择标签效果 核心使用代码如下 class _ChoiceClipHomeState extends State<ChoiceClipHome> { ///当前选中的索引 int? _value = 1; final List<Map<St 阅读全文
posted @ 2022-12-06 14:04 云豹科技-苏凌霄 阅读(37) 评论(0) 推荐(0) 编辑
摘要:直播app开发,flutter 状态栏 AppBar 设置透明和半透明 一、设置AppBar 状态栏半透明 在AppBar 中,设置状态栏全透明需要设置两个属性: 通过设置 backgroundColor 属性为完全透明 (Colors.transparent) 或半透明(不透明度小于 1 的颜色) 阅读全文
posted @ 2022-12-05 14:14 云豹科技-苏凌霄 阅读(225) 评论(0) 推荐(0) 编辑
摘要:在线直播系统源码,自定义底部 BottomNavigationBar 一、封装viewmodel 在 viewmodel 中,我们需要定义一个当前选中下标,所有tabItem 的数组,还需要一个选中下标的切换方法 int currentIndex = 0; List barItemList = [ 阅读全文
posted @ 2022-12-05 14:11 云豹科技-苏凌霄 阅读(66) 评论(0) 推荐(0) 编辑
摘要:直播系统app源码,自定义九宫格,计算器布局,验证码认证 1、先写几个接收验证码的文本框 return Scaffold( backgroundColor: ColorsUtil.hexStringColor("#B1B1B1"), body: Center( child: Column( main 阅读全文
posted @ 2022-12-05 14:05 云豹科技-苏凌霄 阅读(91) 评论(0) 推荐(0) 编辑
摘要:直播系统app源码,设置样式(字体样式、行列宽高、对齐方式、边框) 1.字体样式 from openpyxl import Workbookfrom openpyxl.styles import Fontwb = Workbook()ws = wb.active# 默认字体样式ws["A1"] = 阅读全文
posted @ 2022-12-02 14:17 云豹科技-苏凌霄 阅读(78) 评论(0) 推荐(0) 编辑
摘要:直播平台开发,scroll-view如何自适应页面剩余高度 首先想到的方法是通过计算得出scroll-view的高度,使用100vh即视口高度,减去上下两个组件和手机状态栏的高度,得到剩余的高度即scroll-view的高度。 onLoad(options){uni.getSystemInfo({s 阅读全文
posted @ 2022-12-02 14:13 云豹科技-苏凌霄 阅读(50) 评论(0) 推荐(0) 编辑
摘要:直播平台软件开发,卡片式轮播图,可左右滑动 wxml代码 <swiper bindchange="cardSwiper" indicator-dots="true" circular="true" indicator-color="#8799a3" indicator-active-color="# 阅读全文
posted @ 2022-12-02 14:05 云豹科技-苏凌霄 阅读(48) 评论(0) 推荐(0) 编辑
摘要:直播软件app开发,验证码输入框的简单封装 封装验证码输入框 自定义一个CustomOtpInput 类,继承自 StatelessWidget CustomOtpInput 需要接收 TextEditingController 和 autoFocus 控制 设计输入需要展示的样式 onChange 阅读全文
posted @ 2022-12-01 14:15 云豹科技-苏凌霄 阅读(24) 评论(0) 推荐(0) 编辑
摘要:直播系统源代码,实现快速排序和归并排序 快排板子: #include <iostream>using namespace std;const int N = 1000010;int q[N];void quick_sort(int q[], int l, int r){ //递归的终止情况 if ( 阅读全文
posted @ 2022-12-01 14:08 云豹科技-苏凌霄 阅读(30) 评论(0) 推荐(0) 编辑
摘要:直播app系统源码,简单易上手的进度条 第一步:安装 NProgress $ npm install --save nprogress ​第二步:在main.js文件中导入 NProgress 包对应的JS和CSS // 导入 NProgress 包对应的JS和CSSimport NProgress 阅读全文
posted @ 2022-12-01 14:01 云豹科技-苏凌霄 阅读(164) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示