- 使用sass的混合插入模式进行@media响应式媒体查询做自适应开发
miao_zz
csssass媒体前端
使用sass的混合插入模式进行@media响应式媒体查询做自适应开发//定义混合指令并传参数@mixinrespond($breakname){//控制指令@if$breakname=='phone'{//手机端=1201@media(min-width:1201px){//向混合样式中导入内容@content;}}}.mz-col{border:1pxsolid$borderColor;@inc
- 第十节: SASS @use 的使用
正小安
#sasssass前端
SASS@use的使用@use是在Sass1.23.0版本中引入的,用于替代@import@import:传统的文件引入方式,可能导致全局命名冲突和重复加载。@use:现代的模块化引入方式,提供了更好的作用域管理和避免重复加载。@forward:与@use结合使用,用于将一个模块的成员公开给其他模块,提供了一种筛选和重命名成员的方法。作用从其他Sass样式表加载mixin,function和变量,
- python数据库事务_Python数据库事务编程
weixin_39806808
python数据库事务
python操作mysql数据库Python标准数据库接口为PythonDB-API,PythonDB-API为开发人员提供了数据库应用编程接口。Python数据库接口支持非常多的数据库,你可以选择适合你项目的数据库:GadFlymSQLMySQLPostgreSQLMicrosoftSQLServer2000InformixInterbaseOracleSybase你可以访问Python数据库接
- Django Admin管理后台导入CSV
背着吉他去流浪
django服务器python
修改管理模型,代码如下:classCsvImportForm(forms.Form):csv_file=forms.FileField()@admin.register(Hero)classHeroAdmin(admin.ModelAdmin,ExportCsvMixin):...change_list_template="entities/heroes_changelist.html"defge
- el-tree的封装
星期五の夜
vue.jselementuijavascript
{{node.label}}importprojectSelectMixfrom'iac/base/components/mixins/projectSelectMix.ts'exportdefault{components:{},mixins:[projectSelectMix],props:{isOperate:{type:Boolean,default:true}//是否有编辑操作},dat
- scss 和css 的区别 scss变量和css变量的区别
我有一棵树
cssscss前端
scss和css的区别语法差异:CSS使用大括号{}和分号;来定义样式规则和属性。SCSS使用了Sass的语法,它允许使用类似编程语言的结构,如变量、嵌套规则、混合(mixins)和继承等。嵌套规则:在SCSS中,你可以嵌套CSS规则,这使得代码更易读和组织。在CSS中,嵌套规则不被支持,你需要每个规则都分别书写。变量:SCSS允许你定义变量来存储颜色、字体、尺寸等,以便在整个样式表中重复使用。混
- React & Typescript:组件的入门实例
荷包蛋_
typescriptreactjavascripttypescript前端reactjs
React组件的演化组件复用方式优势劣势状态类组件(Class)发展时间长,接受度广泛只能继承父类作为一种传统开发模式,会长期存在Mixin可以复制任意对象的任意多个方法,实现组件间的复用组件间相互依赖、耦合,可能产生冲突,不利于维护被官方抛弃高阶组件(HOC)利用装饰器模式,在不改变组件的基础上,动态地为其添加新的能力嵌套过多调试困难,需要遵循某些约定(不改变原始组件,透传props等)能力强大
- vue-cli webpack 打包报错:Unexpected token: punc (()
曹天骄
vue
本来项目完美打包,后来我增加了一个插件vue-ionicons,打包build就是报错:ERRORinstatic/js/8.017e5cf2d2f1a552890d.jsfromUglifyJsUnexpectedtoken:punc(()[./node_modules/vue-ionicons/dist/ionicons-mixin.js:7,0][static/js/8.017e5cf2d2
- tailwindcss
readmancynn
前端css
什么是TailwindCSSTailwindCSS是一个可定制化的CSS框架,最大的特点是功能类优先,和我们知道的bootstrap,elementui,antd,veui等框架一样。将一些CSS样式封装好,用来加速我们开发的一个工具。简单理解TailwindCSS就是CSS的lodash,他是一个增强工具类,你可以用原子类的方式写样式,也可以基于PostCSS作为工具函数做Mixin。核心概念功
- python 中Mixin混入类的用法
npm_run_dev__
pythonjava开发语言
最近在看sanic的源码,发现有很多Mixin的类,大概长成这个样子classBaseSanic(RouteMixin,MiddlewareMixin,ListenerMixin,ExceptionMixin,SignalMixin,metaclass=SanicMeta,):于是对于这种Mixin研究了一下,其实也没什么新的东西,Mixin又称混入,只是一种编程思想的体现,但是在使用过程中还是有
- elementui el-table表格自动循环滚动【超详细图解】
舊時王謝堂前燕
elementuivue.jsjavascript
效果如图1.当表格内容超出时,自动滚动,滚动到最后一条之后在从头滚动。2.鼠标移入表格中,停止滚动;移出后,继续滚动。直接贴代码importmixinsfrom"./mixins";exportdefault{data(){return{loading:false,tableData:[],scrolltimer:'',//自动滚动的定时任务}},mounted(){this.autoScroll
- react antd less-loader 配置
mstark
reactconfigreact
问题说明由于react的版本不同,观看教程时react的配置文件无法对应,导致less-loader的配置出现问题,而且less版本3.0之后,在react加载less文件时会报出错误:.bezierEasingMixin();InlineJavaScriptisnotenabled.Isitsetinyouroptions?如何修改antd主题EONSPC错误问题解决安装less-loaderl
- uni-app解决在qq和微信浏览器两个标题情况
_当时只道是寻常
javascript前端vue.js
在main.js中配置以下代码就可以解决Vue.mixin({mounted(){//#ifdefH5if(this.isWeiXinBrowser()||this.isQQBrowser()){this.navTitle()}//#endif},methods:{//#ifdefH5isWeiXinBrowser(){letua=navigator.userAgent.toLowerCase()
- 【elementui】一招解决 el-table 重复写 loading 的问题
落落叶叶无声
elementuielementuiel-tableloading重复前端
问题项目中使用elementui开发表格的小伙伴知道,给el-table添加加载动画一般都是用v-loading指令,同时组建中添加loading变量来控制。可是当表格越来越多时,每次都必须加一个loading变量同时在请求数据的方法中必须耦合loading的控制逻辑。太多的重复工作,既降低效率,也使得代码难于维护。解决方法使用Mixin+Proxy第一步,创建loading.js作为mixin,
- CSS 预处理器语言Less
繁星学编程
CSScssless前端
文章目录概览Less是什么?Less安装通过[npm](https://www.npmjs.org/)安装Less转换为CSS变量(Variables)注释(Comments)混合(Mixins)嵌套(Nesting)1.选择器嵌套2.父选择器`&`@规则嵌套和冒泡运算(Operations)转义(Escaping)函数(Functions)命名空间和访问符映射(Maps)作用域(Scope)导入
- Django前后端分离之后端基础3
_pass_
djangopython后端
12案例:登录_哔哩哔哩_bilibili参考大佬的B站视频教程笔记登录接口的实现会话机制成功后的信息保存:生成随机字符串返回到用户的浏览器的cookie中存储到网站的session中随机字符串+用户标识中间件的使用,解决登录保护使未登录过的用户进行登录fromdjango.utils.deprecationimportMiddlewareMixinfromdjango.shortcutsimpo
- js+css 锚点菜单
bobringtheboys
javascriptcss开发语言
{{item.label}}我是内容1我是内容2我是内容3我是内容4我是内容5exportdefault{name:"",components:{},mixins:[],props:{},computed:{},watch:{},data(){return{//初始化菜单navList:[{label:"菜单1",},{label:"菜单2",},{label:"菜单3",},{label:"菜单
- scss配置主题
鸿是江边鸟,曾是心上人
scss前端css
$themes:(light:(font_color:#fff,),dark:(font_color:#000,),);@mixinthemeify{@each$theme-name,$theme-mapin$themes{//!global把局部变量强升为全局变量$theme-map:$theme-map!global;//判断html的data-theme的属性值#{}是sass的插值表达式/
- sass/scss基础使用(node|dart-sass区别、安装、搭配VScode的Easy Sass使用、基础语法、变量$、插值#{}、嵌套、父元素&、静默注释、数学运算、循环、混合、继承、函数)
YF-SOD
#Sass/ScssScssSass使用详解dartnodeSass区别Sass搭配VScod插件使用Sass基础语法详解插值混合继承内置函数
目录Sass|Scss介绍版本(node|dart-sass)区别安装搭配VScode使用EasySass注意设置常见报错Scss(Sass)基础语法变量插值(#{})嵌套伪类、伪元素|父元素表示(&)静默注释数学运算random()round(x)floor(x)ceil(x)max(x1,x2,...,xn)min(x1,x2,...,xn)循环混合(@mixin)混合参数条件判断(@if|e
- VUE复习笔记19(混入)
XKolento
混入基础混入(mixins)是一种分发vue组件可复用功能中一种特别灵活的方式。混入对象可以包含任意的选项,所有混入对象的选项将被混入该组件本身的选项。//定义一个混入对象varmyMixin={created:function(){this.hello()},methods:{hello:function(){console.log('hellofrommixin!')}}}//定义一个使用混入
- vue3 hooks
前端碎碎念
vuevue.jsjavascriptecmascript
Hooks是VUE3中利用组合式API响应式的特性的,实现简单高效的逻辑复用、提高开发效率、提高VUE模块可维护性的工具。Hooks的组合可以让组件低代价、高效率地实现高复杂度业务,Hooks之间通常相互独立,没有过度耦合,降低后期陷入维护地狱的风险,而且可以使得功能模块更加易于测试。在vue2中主要是使用mixin进行逻辑复用的,主要缺点为:不清晰的数据来源:当使用了多个mixin时,实例上的数
- less简单使用
miss-ddly
lesscss前端
1.介绍Less是一门CSS预处理语言,它扩充了CSS语言,增加了诸如变量、混合(mixin)、函数等功能,让CSS更易维护、方便制作主题、扩充。Less可以运行在Node或浏览器端。、】2.less使用1.创建index.less文件2.在vscode中使用插件自动生成index.css文件3.less编写1.less运算符.可以使用加(+)减(-)乘(*)除(./)等运算符div{width:
- VueCLI核心知识1:ref属性、props配置、mixin混入
是小蟹呀^
Vuevue.jsjavascript
1ref属性ref属性类似于js原生获取DOM元素点我输出上方的Dom元素importSchoolfrom'./components/Schoool'exportdefault{name:'App',components:{School},data(){return{msg:'欢迎学习Vue'}},methods:{showDom(){console.log(this.$refs.title)//
- restframework-视图
Yanl__
三种方式方式mixin类编写视图基于类的视图ModelViewSet的视图mixin类编写视图Author表示例url设计url(r'^authors/$',views.AuthorViewSet.as_view()),url(r'^authors/(?P\d+)/$',views.AuthorDetailView.as_view()),#不加pk会报错#AssertionError:Expect
- Django RESTful framework 笔记
LzSkyline
在serializer中使用request重写get_querysetrouter.register(r'^assistant',views.Assistant,basename='ClientUserinfo')classVuls(mixins.ListModelMixin,GenericViewSet):"""list:Returnvulswhichusermanaged."""seriali
- 【洛谷 P1208】[USACO1.3] 混合牛奶 Mixing Milk 题解(贪心算法+向量+结构体排序)
HEX9CF
AlgorithmProblems贪心算法算法
[USACO1.3]混合牛奶MixingMilk题目描述由于乳制品产业利润很低,所以降低原材料(牛奶)价格就变得十分重要。帮助Marry乳业找到最优的牛奶采购方案。Marry乳业从一些奶农手中采购牛奶,并且每一位奶农为乳制品加工企业提供的价格可能相同。此外,就像每头奶牛每天只能挤出固定数量的奶,每位奶农每天能提供的牛奶数量是一定的。每天Marry乳业可以从奶农手中采购到小于或者等于奶农最大产量的整
- vue3.0 和 2.0的差异
前端大镖客_
对比学习2.0和3.0并记录学习收获:·3.0比2.0快2倍·3.0去掉了filter,么有beforeCreatecreated,用setup取代·reactivity是可以单独作为库使用的·单独功能可以抽离取代了mixin优于mixin解决上下反复横跳·支持多个子节点fragment·setup里没有this·Proxy实现响应式不需要setdelete兼容性并不好·响应式方面性能得到很大提升
- VUE中的mixins用法
得知此事须躬行
vuevuejsvue.jsjavascript
vue的mixins的使用mixins就是混入。一个混入对象可以包含任意组件选项。同一个生命周期,混入对象会比组件的先执行。1.创建一个test.js,用export暴露出mixins对象exportconstmixinsTest={methods:{test1(){console.log("test1");}},created(){this.test1()}}2.在组件中引入这个mixins对象
- Web前端-移动web开发_rem布局
北方的南&
Web笔记前端
文章目录移动web开发之rem布局1.0rem基础1.1rem单位(重点)1.2em单位(了解)1.3媒体查询什么是媒体查询媒体查询语法规范1.4less基础维护css弊端Less介绍Less安装Less使用之变量使用node编译less的指令Less编译vocodeLess插件Less嵌套Less运算Less中的Mixin混入Less中的导入2.0rem适配方案2.1rem实际开发适配方案12.
- Jenkins的Lockable Resource插件 - 4:编程创建多个Lockable Resources
乱码奇糟
软件开发jenkinspython
在上一篇帖子:Jenkins的LockableResource插件-3:在FreestyleJob中实现根据参数动态绑定资源中需要创建8个LockableResource:IOS、IOS_MIXING、ANDROID、ANDROID_MIXING、MAC、MAC_MIXING、WIN、WIN_MIXING。通过Jenkins的UI创建这么多资源真是挺麻烦的,参考StackOverflow上的帖子:
- [黑洞与暗粒子]没有光的世界
comsci
无论是相对论还是其它现代物理学,都显然有个缺陷,那就是必须有光才能够计算
但是,我相信,在我们的世界和宇宙平面中,肯定存在没有光的世界....
那么,在没有光的世界,光子和其它粒子的规律无法被应用和考察,那么以光速为核心的
&nbs
- jQuery Lazy Load 图片延迟加载
aijuans
jquery
基于 jQuery 的图片延迟加载插件,在用户滚动页面到图片之后才进行加载。
对于有较多的图片的网页,使用图片延迟加载,能有效的提高页面加载速度。
版本:
jQuery v1.4.4+
jQuery Lazy Load v1.7.2
注意事项:
需要真正实现图片延迟加载,必须将真实图片地址写在 data-original 属性中。若 src
- 使用Jodd的优点
Kai_Ge
jodd
1. 简化和统一 controller ,抛弃 extends SimpleFormController ,统一使用 implements Controller 的方式。
2. 简化 JSP 页面的 bind, 不需要一个字段一个字段的绑定。
3. 对 bean 没有任何要求,可以使用任意的 bean 做为 formBean。
使用方法简介
- jpa Query转hibernate Query
120153216
Hibernate
public List<Map> getMapList(String hql,
Map map) {
org.hibernate.Query jpaQuery = entityManager.createQuery(hql);
if (null != map) {
for (String parameter : map.keySet()) {
jp
- Django_Python3添加MySQL/MariaDB支持
2002wmj
mariaDB
现状
首先,
[email protected] 中默认的引擎为 django.db.backends.mysql 。但是在Python3中如果这样写的话,会发现 django.db.backends.mysql 依赖 MySQLdb[5] ,而 MySQLdb 又不兼容 Python3 于是要找一种新的方式来继续使用MySQL。 MySQL官方的方案
首先据MySQL文档[3]说,自从MySQL
- 在SQLSERVER中查找消耗IO最多的SQL
357029540
SQL Server
返回做IO数目最多的50条语句以及它们的执行计划。
select top 50
(total_logical_reads/execution_count) as avg_logical_reads,
(total_logical_writes/execution_count) as avg_logical_writes,
(tot
- spring UnChecked 异常 官方定义!
7454103
spring
如果你接触过spring的 事物管理!那么你必须明白 spring的 非捕获异常! 即 unchecked 异常! 因为 spring 默认这类异常事物自动回滚!!
public static boolean isCheckedException(Throwable ex)
{
return !(ex instanceof RuntimeExcep
- mongoDB 入门指南、示例
adminjun
javamongodb操作
一、准备工作
1、 下载mongoDB
下载地址:http://www.mongodb.org/downloads
选择合适你的版本
相关文档:http://www.mongodb.org/display/DOCS/Tutorial
2、 安装mongoDB
A、 不解压模式:
将下载下来的mongoDB-xxx.zip打开,找到bin目录,运行mongod.exe就可以启动服务,默
- CUDA 5 Release Candidate Now Available
aijuans
CUDA
The CUDA 5 Release Candidate is now available at http://developer.nvidia.com/<wbr></wbr>cuda/cuda-pre-production. Now applicable to a broader set of algorithms, CUDA 5 has advanced fe
- Essential Studio for WinRT网格控件测评
Axiba
JavaScripthtml5
Essential Studio for WinRT界面控件包含了商业平板应用程序开发中所需的所有控件,如市场上运行速度最快的grid 和chart、地图、RDL报表查看器、丰富的文本查看器及图表等等。同时,该控件还包含了一组独特的库,用于从WinRT应用程序中生成Excel、Word以及PDF格式的文件。此文将对其另外一个强大的控件——网格控件进行专门的测评详述。
网格控件功能
1、
- java 获取windows系统安装的证书或证书链
bewithme
windows
有时需要获取windows系统安装的证书或证书链,比如说你要通过证书来创建java的密钥库 。
有关证书链的解释可以查看此处 。
public static void main(String[] args) {
SunMSCAPI providerMSCAPI = new SunMSCAPI();
S
- NoSQL数据库之Redis数据库管理(set类型和zset类型)
bijian1013
redis数据库NoSQL
4.sets类型
Set是集合,它是string类型的无序集合。set是通过hash table实现的,添加、删除和查找的复杂度都是O(1)。对集合我们可以取并集、交集、差集。通过这些操作我们可以实现sns中的好友推荐和blog的tag功能。
sadd:向名称为key的set中添加元
- 异常捕获何时用Exception,何时用Throwable
bingyingao
用Exception的情况
try {
//可能发生空指针、数组溢出等异常
} catch (Exception e) {
 
- 【Kafka四】Kakfa伪分布式安装
bit1129
kafka
在http://bit1129.iteye.com/blog/2174791一文中,实现了单Kafka服务器的安装,在Kafka中,每个Kafka服务器称为一个broker。本文简单介绍下,在单机环境下Kafka的伪分布式安装和测试验证 1. 安装步骤
Kafka伪分布式安装的思路跟Zookeeper的伪分布式安装思路完全一样,不过比Zookeeper稍微简单些(不
- Project Euler
bookjovi
haskell
Project Euler是个数学问题求解网站,网站设计的很有意思,有很多problem,在未提交正确答案前不能查看problem的overview,也不能查看关于problem的discussion thread,只能看到现在problem已经被多少人解决了,人数越多往往代表问题越容易。
看看problem 1吧:
Add all the natural num
- Java-Collections Framework学习与总结-ArrayDeque
BrokenDreams
Collections
表、栈和队列是三种基本的数据结构,前面总结的ArrayList和LinkedList可以作为任意一种数据结构来使用,当然由于实现方式的不同,操作的效率也会不同。
这篇要看一下java.util.ArrayDeque。从命名上看
- 读《研磨设计模式》-代码笔记-装饰模式-Decorator
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.io.BufferedOutputStream;
import java.io.DataOutputStream;
import java.io.FileOutputStream;
import java.io.Fi
- Maven学习(一)
chenyu19891124
Maven私服
学习一门技术和工具总得花费一段时间,5月底6月初自己学习了一些工具,maven+Hudson+nexus的搭建,对于maven以前只是听说,顺便再自己的电脑上搭建了一个maven环境,但是完全不了解maven这一强大的构建工具,还有ant也是一个构建工具,但ant就没有maven那么的简单方便,其实简单点说maven是一个运用命令行就能完成构建,测试,打包,发布一系列功
- [原创]JWFD工作流引擎设计----节点匹配搜索算法(用于初步解决条件异步汇聚问题) 补充
comsci
算法工作PHP搜索引擎嵌入式
本文主要介绍在JWFD工作流引擎设计中遇到的一个实际问题的解决方案,请参考我的博文"带条件选择的并行汇聚路由问题"中图例A2描述的情况(http://comsci.iteye.com/blog/339756),我现在把我对图例A2的一个解决方案公布出来,请大家多指点
节点匹配搜索算法(用于解决标准对称流程图条件汇聚点运行控制参数的算法)
需要解决的问题:已知分支
- Linux中用shell获取昨天、明天或多天前的日期
daizj
linuxshell上几年昨天获取上几个月
在Linux中可以通过date命令获取昨天、明天、上个月、下个月、上一年和下一年
# 获取昨天
date -d 'yesterday' # 或 date -d 'last day'
# 获取明天
date -d 'tomorrow' # 或 date -d 'next day'
# 获取上个月
date -d 'last month'
#
- 我所理解的云计算
dongwei_6688
云计算
在刚开始接触到一个概念时,人们往往都会去探寻这个概念的含义,以达到对其有一个感性的认知,在Wikipedia上关于“云计算”是这么定义的,它说:
Cloud computing is a phrase used to describe a variety of computing co
- YII CMenu配置
dcj3sjt126com
yii
Adding id and class names to CMenu
We use the id and htmlOptions to accomplish this. Watch.
//in your view
$this->widget('zii.widgets.CMenu', array(
'id'=>'myMenu',
'items'=>$this-&g
- 设计模式之静态代理与动态代理
come_for_dream
设计模式
静态代理与动态代理
代理模式是java开发中用到的相对比较多的设计模式,其中的思想就是主业务和相关业务分离。所谓的代理设计就是指由一个代理主题来操作真实主题,真实主题执行具体的业务操作,而代理主题负责其他相关业务的处理。比如我们在进行删除操作的时候需要检验一下用户是否登陆,我们可以删除看成主业务,而把检验用户是否登陆看成其相关业务
- 【转】理解Javascript 系列
gcc2ge
JavaScript
理解Javascript_13_执行模型详解
摘要: 在《理解Javascript_12_执行模型浅析》一文中,我们初步的了解了执行上下文与作用域的概念,那么这一篇将深入分析执行上下文的构建过程,了解执行上下文、函数对象、作用域三者之间的关系。函数执行环境简单的代码:当调用say方法时,第一步是创建其执行环境,在创建执行环境的过程中,会按照定义的先后顺序完成一系列操作:1.首先会创建一个
- Subsets II
hcx2013
set
Given a collection of integers that might contain duplicates, nums, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not conta
- Spring4.1新特性——Spring缓存框架增强
jinnianshilongnian
spring4
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- shell嵌套expect执行命令
liyonghui160com
一直都想把expect的操作写到bash脚本里,这样就不用我再写两个脚本来执行了,搞了一下午终于有点小成就,给大家看看吧.
系统:centos 5.x
1.先安装expect
yum -y install expect
2.脚本内容:
cat auto_svn.sh
#!/bin/bash
- Linux实用命令整理
pda158
linux
0. 基本命令 linux 基本命令整理
1. 压缩 解压 tar -zcvf a.tar.gz a #把a压缩成a.tar.gz tar -zxvf a.tar.gz #把a.tar.gz解压成a
2. vim小结 2.1 vim替换 :m,ns/word_1/word_2/gc  
- 独立开发人员通向成功的29个小贴士
shoothao
独立开发
概述:本文收集了关于独立开发人员通向成功需要注意的一些东西,对于具体的每个贴士的注解有兴趣的朋友可以查看下面标注的原文地址。
明白你从事独立开发的原因和目的。
保持坚持制定计划的好习惯。
万事开头难,第一份订单是关键。
培养多元化业务技能。
提供卓越的服务和品质。
谨小慎微。
营销是必备技能。
学会组织,有条理的工作才是最有效率的。
“独立
- JAVA中堆栈和内存分配原理
uule
java
1、栈、堆
1.寄存器:最快的存储区, 由编译器根据需求进行分配,我们在程序中无法控制.2. 栈:存放基本类型的变量数据和对象的引用,但对象本身不存放在栈中,而是存放在堆(new 出来的对象)或者常量池中(字符串常量对象存放在常量池中。)3. 堆:存放所有new出来的对象。4. 静态域:存放静态成员(static定义的)5. 常量池:存放字符串常量和基本类型常量(public static f