E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
backgroundcolor
【每日学点HarmonyOS Next知识】状态变量、动画UI残留、Tab控件显示、ob前缀问题、文字背景拉伸
有一个提交按钮的颜色,需要很多个值非空才变为红色,否则变为灰色,可不可以用一个变量统一观察这很多个值,去判断按钮该显示什么颜色,比如Button().
backgroundColor
(this.color
轻口味
·
2025-03-14 11:12
每天学点HarmonyOS
Next知识
harmonyos
ui
华为
HarmonyOSNext
HarmonyOS NEXT开发实战:轮播Banner组件封装
(){ForEach(["1","2","3","4","5","6"],(item:string)=>{Text(item.toString()).width('90%').height(160).
backgroundColor
太空人_喜之郎
·
2025-03-12 01:47
鸿蒙
HarmonyOS
OpenHarmony
harmonyos
华为
前端
鸿蒙
移动开发
android
开发语言
React Native 新架构,前端开发框架
JSthread会先对其序列化,形成下面一条消息UIManager.createView([343,“RCTView”,31,{“
backgroundColor
”:-16181,“width”:200,
2401_83974173
·
2025-03-05 03:48
2024年程序员学习
react
native
架构
react.js
React中使用高德地图组件React-amap
记录一下在项目中遇到的几个问题以及解决方案:自定义Markers外观,//标记杆塔的图片样式style={position:'relative',
backgroundColor
:'white',color
qq_36560180
·
2025-03-03 06:53
React
React-amap
高德地图
微信小程序 - 导航栏(TabBar)实现(原生实现、Vant Weapp 实现)
tabBar":{"color":"#999999","selectedColor":"#3D98FF","
backgroundColor
":"#ffffff","borderStyle":"black
我命由我12345
·
2025-02-27 18:29
微信小程序
微信小程序
小程序
前端框架
前端
html5
js
javascript
Vue02
要绑定的样式个数缺点,名字也确定,但是要动态决定用不用…//方式一绑定style样式{{name}}newVue({....styleObj:{fontSize:"40px",color:"red",
backgroundColor
memorycx
·
2025-02-26 04:22
javascript
vue.js
前端
鸿蒙开发:组件样式的复用
@Entry@ComponentstructIndex{build(){Column(){Text("1").width(50).height(50).
backgroundColor
(Color.Red
·
2025-02-15 10:45
react的antd表格数据回显在form表单中
添加编辑按钮{title:'操作',align:'center',render:(_:any,record:any)=>(deitor(record)}style={{marginRight:'10px',
backgroundColor
恰小面包
·
2025-02-08 04:08
javascript
前端
css
react.js
前端项目实战肆佰贰拾壹react-admin和material ui-@emotion/styled操作
constSkillLi=styled('li')({'&:hover':{
backgroundColor
:'#cdcdcd'}})styled元素名加样式
前端歌谣
·
2025-02-08 03:37
前端
react.js
ui
小程序自定义Tabbar控制Tabbar的数量
tabBar":{"custom":true,//一定要加上这句话"color":"#989898","selectedColor":"#1a76d7","borderStyle":"white","
backgroundColor
海阔天空6688
·
2025-02-06 22:57
小程序
小程序
小程序自定义Tabbar
Tabbar的数量动态显示
CSS整体回顾
一.邂逅CSS和常见的CSS1.1.CSS的编写方式1.2.常见的CSSfont-size/color/width/height/
backgroundColor
二.文本属性2.1.text-decoration2.2
m0_zj
·
2025-02-03 15:34
css
css3
前端
uniapp 底部菜单_uniapp 实现底部导航栏 - tabBar的使用方法
开发环境:HbuilderXtabBar参数说明color:导航栏字体颜色selectedColor:选中后字体的颜色
backgroundColor
:底部背景颜色borderStyle:底部的border
解压猫咖研究所
·
2025-01-29 08:03
uniapp
底部菜单
詳細講一下在RN(ReactNative)中,6個比較常用的組件以及詳細的用法
constMyComponent=()=>{return({/*子组件*/});};conststyles=StyleSheet.create({container:{flex:1,//flex布局padding:10,//内边距
backgroundColor
asecretman!
·
2025-01-23 05:25
react
native
react.js
javascript
HarmonyOS ArkUi Tabs+TabContent+List实现tab吸顶功能
ComponentstructStickyNestedScroll{@Statemessage:string='HelloWorld'@Statearr:number[]=[]scroller=newScroller()@StyleslistCard(){.
backgroundColor
Join下班了吗
·
2025-01-17 18:45
harmonyos
uniapp H5 关掉全部头部header
navigationBarTextStyle":"black","navigationBarTitleText":"","navigationBarBackgroundColor":"#F8F8F8","
backgroundColor
qq_39016177
·
2024-09-14 20:06
uni-app
3. Fabric 基本使用
1.画正方形letcanvas=newfabric.Canvas('canvas',{
backgroundColor
:'grey'})//画正方形letrect=newfabric.Rect({left
Lanwarf-前端开发
·
2024-09-11 04:27
Fabric
fabric
前端
javascript
Vue.js之绑定style样式
当然,也可以于元素行内赋予样式,例如:style="{
backgroundColor
:
cloudOnSkyline
·
2024-08-30 14:51
JavaScript
vue.js
javascript
vue全局参数
$root.
backgroundColor
=666;其它页面如果想监听改变//监听全局变量,更新watch:{
大得369
·
2024-08-28 00:58
vue.js
javascript
前端
Masonry实现简单动画
pod'Masonry'2.导入Masonryimport3.使用-(void)viewDidLoad{[superviewDidLoad];UIButton*btn=[[UIButtonalloc]init];btn.
backgroundColor
编程_书恨少
·
2024-08-25 23:31
获取UIBarItem的frame(UITabBarItem,UIBarButtonItem)
UIViewelse{return.zero}//itemView.
backgroundColor
=UIColor.redreturnitemView
山已几孑
·
2024-08-25 08:20
【鸿蒙HarmonyOS开发笔记】ArkUI常用组件介绍汇总(更新中)
最常用的布局组件,两者除了方向不一样,别的都一样方便起见下面只写Column常用属性排列方向上的间距:spaceColumn({space:20}){Row().width('90%').height(50).
backgroundColor
温、
·
2024-03-29 05:06
鸿蒙HarmonyOS开发笔记
学习记录
harmonyos
笔记
华为
echarts 雷达图样式自定义 2018-12-13
exportdefaultfunctiondrawradar(basedata,all_data){varRadar={//title:{//text:'基础雷达图'//},//鼠标移入的悬浮框的样式tooltip:{
backgroundColor
心有余悸天
·
2024-03-15 07:38
Xamarin.Forms的布局
布局控件之StackLayout//嵌套StackLayout_1varstackLayout_1=newStackLayout(){
BackgroundColor
=Color.FromHex("#A8A8A8
李建军
·
2024-02-20 20:16
C#
Vue-动态组件
moduleFlag:'image',component:'MyImage',//MyImage是自定义组件名称,可以自定义也可以通过上传到npm上安装到项目中imgUrl:'1.png',style:{
backgroundColor
是草莓味的啊
·
2024-02-19 11:09
vue.js
JavaScript 设计模式之桥接模式
document.getElementById('#test')//鼠标移入移出事件//鼠标移入时改变背景色和字体颜色dom.onmouseenter=function(){this.style.color='white'this.style.
backgroundColor
放逐的程序猿
·
2024-02-15 10:45
JavaScript设计模式
javascript
设计模式
桥接模式
正版滚动
initWithFrame:CGRectMake(0,67,self.view.frame.size.width,200)];sc.showsVerticalScrollIndicator=NO;self.view.
backgroundColor
0bf43b438419
·
2024-02-15 03:14
echarts属性的设置(完整大全)
//height:{number},//指定高度,纵向布局时默认为根据grid参数适配
backgroundColor
:‘rgba(0,0,0,0)’,//背景颜色dataBackgroundColor:
m0_70273331
·
2024-02-14 17:55
Web前端
经验分享
前端
前端框架
iOS 写Word第三方库
NSAttributedString(string:"Thisisastring",attributes:[.font:UIFont.systemFont(ofSize:UIFont.systemFontSize),.
backgroundColor
woo_5857
·
2024-02-14 12:42
饼图外显示百分比,labelLine控制与环的距离
image.pngfunctionlossTenants(){varmyDailyEn=echarts.init(document.getElementById('lossTenants'));option={tooltip:{
backgroundColor
咏竹莉
·
2024-02-12 06:20
360 安全浏览器 - 页面布局 - 常用网址
360安全浏览器-页面布局-常用网址自定义样式letmyStyle={'https://www.baidu.com/':{color:'#001483',
backgroundColor
:'#FFF',icon
笑虾
·
2024-02-10 23:10
JavaScript
360
echarts(3)——饼图
c=x1zOZDoSxqoption={
backgroundColor
:'#273454',color:['#FF9966','#FFFFCC','#0099CC','#99CC33','#99CCCC
qq_46285250
·
2024-02-09 11:08
echarts
echarts
标签获取元素和循环
window.onload=function(){varlis=document.getElementsByTagName('li');lis[0].style.
backgroundColor
='gold
卑微小利
·
2024-02-09 11:52
Swift - 设置UIView的背景色和背景图片
1、使用UIColor的内置颜色设置背景色letpage=UIView(frame:self.view.bounds)page.
backgroundColor
=.green2、设置自定义颜色page.
backgroundColor
小驴拉磨
·
2024-02-08 10:42
前端工程化之:webpack3-4(css in js)
例如下面的对象就是一个用于描述样式的对象:conststyles={
backgroundColor
:"#f40",color:"#fff",width:"400px",height:"500px",margin
小李老笨了
·
2024-02-07 10:58
前端
css
javascript
UIStackView基础用法介绍
但他的作用仅限于此,他不能用来呈现自身的内容,类似于
backgroundColor
。当然了,这个控件相当易学,属性只有4个。
口子窖
·
2024-02-07 00:45
iOS 常驻线程如何创建
strong)NSThread*thread;@end@implementationViewController-(void)viewDidLoad{[superviewDidLoad];self.view.
backgroundColor
iOS开发
·
2024-02-06 15:41
iOS 给某个 view设置某个 角的圆角
UIBezierPath与CAShapeLayer进行实现//创建viewUIView*view=[[UIViewalloc]initWithFrame:CGRectMake(100,100,300,300)];view.
backgroundColor
冬日的太阳_c107
·
2024-02-03 03:59
修改状态栏背景颜色
backgroundColor
=.red
不要虚度美好的时光
·
2024-02-02 00:05
uniapp uni.redirectTo() 跳转失效
tabBar":{"borderStyle":"black","
backgroundColor
":"#ffffff","selectedColor":"#2979
Serenity_Qin
·
2024-02-01 20:34
前端
uni-app
前端
uniapp底部栏设置未读红点或角标
//省略"tabBar":{"color":"#333333","selectedColor":"#3296fa","
backgroundColor
":"#ffffff","borderStyle":"
毛三仙
·
2024-01-31 09:27
uniapp
uni-app
flutter 修改状态栏
AppbarappBar:AppBar(title:Text('appbar',style:TextStyle(color:Colors.black),),brightness:Brightness.light,
backgroundColor
Steve_XiaoHai
·
2024-01-31 06:59
Flutter
flutter
个人工作中遇到的echarts&layui&vue痛点
20',top:'10',textStyle:{//文字颜色color:'#fff',//字体大小fontSize:18,rich:{a:{height:20,width:20,fontSize:18,
backgroundColor
qq_37880655
·
2024-01-30 12:48
CSS
HTML
echarts
vue.js
layui
Swift中defer的使用
vara=0functest(){a=0defer{a=1}a=2}overridefuncviewDidLoad(){super.viewDidLoad()view.
backgroundColor
=.
萤火驻守心间
·
2024-01-30 09:03
React 基础学习02
/App.css';functionApp(){constimgData={className:'small',style:{wdith:'200px',height:'200px',
backgroundColor
小江的博客
·
2024-01-30 09:44
IT资源
react.js
学习
前端
reactjs
前端框架
echarts实现3d圆柱体
柴油存储","汽油存储","航煤存储","附油存储"];vardata1=[20,50,20,30];vardata2=[100,100,100,100];varbarWidth=80;option={
backgroundColor
凉柚_4e4b
·
2024-01-29 14:50
[UI5 常用控件] 03.Icon, Avatar,Image
文章目录前言1.Icon2.Avatar2.1displayShape2.2initials2.3
backgroundColor
2.4Size2.5fallbackIcon2.6badgeIcon2.7badgeValueState2.8active3
SAP峰※
·
2024-01-27 23:08
UI5
UI5
SAP
iOS Native跳转到Flutter页面
iOS原生页面跳转到指定Flutter页面overridefuncviewDidLoad(){super.viewDidLoad()view.
backgroundColor
=.whiteletnextBtn
Mackellen
·
2024-01-25 02:47
iOS
Flutter
Swift
flutter
ios
objective-c
鸿蒙常用UI效果及一些处理方式总结
Text(this.message).fontSize(50)//字体大小.fontColor(Color.White)//字体颜色.fontWeight(FontWeight.Bold)//字体加粗.
backgroundColor
等风起了
·
2024-01-24 17:53
鸿蒙
harmonyos
OpenHarmony
UI效果
iOS 开发-UITextView(第二种输入框)的使用
initWithFrame:(CGRectMake(0,264,SCREEN_Width,100))];2.UITextView属性text设置文本显示内容self.textView.text=@"小鬼叫帅哥叫帅哥不打你";
backgroundColor
戏子吕戏西施
·
2024-01-24 05:41
设置NSViewController背景色
backgroundColor
=#colorLiteral(red:0.4392156899,green:0.01176470611,blue:0.1921568662,alpha:1)
久百一
·
2024-01-24 05:36
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他