alert无法自定义alert弹出框xml的标签的值

Posts - 64,
Articles - 13,
Comments - 239
11:35 by VVG, ... 阅读,
由于系统默认alert弹出窗口不能自定义样式,有可能不符合网站的风格,虽然网上应该有很多这样的JS
但是还是自己写的比较放心,顺便练习一下对DOM的操作
支持IE6下的SELECT不能遮罩的问题,谷歌支持圆角,IE6下就比较丑了,四四方方的,不过可以自定义自己喜欢的样式
听取建议后,修改了position:fixed, IE6下用hack处理了。
点击看效果:
&style type="text/css"&
#alertMsg {
display: none;
width: 400px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 1px 1px 10px black;
padding: 10px;
font-size: 12px;
position: absolute;
text-align: center;
background: #fff;
z-index: 100000;
#alertMsg_info {
padding: 2px 15px;
line-height: 1.6em;
text-align: left;
#alertMsg_btn1, #alertMsg_btn2 {
display: inline-block;
background: url(images/gray_btn.png) no-repeat left top;
padding-left: 3px;
color: #000000;
font-size: 12px;
text-decoration: none;
margin-right: 10px;
cursor: pointer;
#alertMsg_btn1 cite, #alertMsg_btn2 cite {
line-height: 24px;
display: inline-block;
padding: 0 13px 0 10px;
background: url(images/gray_btn.png) no-repeat right top;
font-style: normal;
&使用方法,直接调用函数,传递所需定义的信息,支持定义是否有取消键:
alertMsg(msg, mode)
//mode为空,即只有一个确认按钮,mode为1时有确认和取消两个按钮
函数代码:添加了一个获取窗口尺寸的函数,又长长了很多,可以把获取窗口的尺寸另外立一个函数放公共库里面,这里只是为了方便演示,写到一个函数里面
function alertMsg(msg, mode) { //mode为空,即只有一个确认按钮,mode为1时有确认和取消两个按钮
msg = msg || '';
mode = mode || 0;
var top = document.body.scrollTop || document.documentElement.scrollT
var isIe = (document.all) ? true : false;
var isIE6 = isIe && !window.XMLHttpR
var sTop = document.documentElement.scrollTop || document.body.scrollT
var sLeft = document.documentElement.scrollLeft || document.body.scrollL
var winSize = function(){
var xScroll, yScroll, windowWidth, windowHeight, pageWidth, pageH
// innerHeight获取的是可视窗口的高度,IE不支持此属性
if (window.innerHeight && window.scrollMaxY) {
xScroll = document.body.scrollW
yScroll = window.innerHeight + window.scrollMaxY;
} else if (document.body.scrollHeight & document.body.offsetHeight) { // all but Explorer Mac
xScroll = document.body.scrollW
yScroll = document.body.scrollH
} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
xScroll = document.body.offsetW
yScroll = document.body.offsetH
if (self.innerHeight) {
// all except Explorer
windowWidth = self.innerW
windowHeight = self.innerH
} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
windowWidth = document.documentElement.clientW
windowHeight = document.documentElement.clientH
} else if (document.body) { // other Explorers
windowWidth = document.body.clientW
windowHeight = document.body.clientH
// for small pages with total height less then height of the viewport
if (yScroll & windowHeight) {
pageHeight = windowH
pageHeight = yS
// for small pages with total width less then width of the viewport
if (xScroll & windowWidth) {
pageWidth = windowW
pageWidth = xS
'pageWidth':pageWidth,
'pageHeight':pageHeight,
'windowWidth':windowWidth,
'windowHeight':windowHeight
//alert(winSize.pageWidth);
var styleStr = 'top:0;left:0;position:z-index:10000;background:#666;width:' + winSize.pageWidth + 'height:' +
(winSize.pageHeight + 30) + '';
styleStr += (isIe) ? "filter:alpha(opacity=80);" : "opacity:0.8;"; //遮罩层DIV
var shadowDiv = document.createElement('div'); //添加阴影DIV
shadowDiv.style.cssText = styleS //添加样式
shadowDiv.id = "shadowDiv";
//如果是IE6则创建IFRAME遮罩SELECT
if (isIE6) {
var maskIframe = document.createElement('iframe');
maskIframe.style.cssText = 'width:' + winSize.pageWidth + 'height:' + (winSize.pageHeight + 30) + 'position:visibility:z-index:-1;filter:alpha(opacity=0);';
maskIframe.frameborder = 0;
maskIframe.src = "about:blank";
shadowDiv.appendChild(maskIframe);
document.body.insertBefore(shadowDiv, document.body.firstChild); //遮罩层加入文档
var styleStr1 = 'display:position:_position:left:' + (winSize.windowWidth / 2 - 200) + 'top:' + (winSize.windowHeight / 2 - 150) + '_top:' + (winSize.windowHeight / 2 + top - 150)+ ''; //弹出框的位置
var alertBox = document.createElement('div');
alertBox.id = 'alertMsg';
alertBox.style.cssText = styleStr1;
//创建弹出框里面的内容P标签
var alertMsg_info = document.createElement('P');
alertMsg_info.id = 'alertMsg_info';
alertMsg_info.innerHTML =
alertBox.appendChild(alertMsg_info);
//创建按钮
var btn1 = document.createElement('a');
btn1.id = 'alertMsg_btn1';
btn1.href = 'javas' + 'cript:void(0)';
btn1.innerHTML = '&cite&确定&/cite&';
btn1.onclick = function () {
document.body.removeChild(alertBox);
document.body.removeChild(shadowDiv);
return true;
alertBox.appendChild(btn1);
if (mode === 1) {
var btn2 = document.createElement('a');
btn2.id = 'alertMsg_btn2';
btn2.href = 'javas' + 'cript:void(0)';
btn2.innerHTML = '&cite&取消&/cite&';
btn2.onclick = function () {
document.body.removeChild(alertBox);
document.body.removeChild(shadowDiv);
return false;
alertBox.appendChild(btn2);
document.body.appendChild(alertBox);FLEX&之&Alert&提示警告框
本例包括以下知识点:
1、警告框的事件
2、自定义警告框的按钮标签
3、设置提示框的文本大小
4、设置提示框的图标
==============================================================================================
&?xml version="1.0"
encoding="utf-8"?&
&s:Application
xmlns:fx=""
xmlns:s="library:///flex/spark"
xmlns:mx="library:///flex/mx" minWidth="955"
minHeight="600"&
&&s:layout&
&&&s:BasicLayout/&
&&/s:layout&&
&&fx:Script&
&&&![CDATA[
&&&import mx.controls.A
&&&import mx.events.CloseE
************************************/
警告框事件 提示框大小
*************************************/&&&private
var myAlert:A
&&&private function
Btn_Click():void
&&myAlert =
Alert.show("确认执行此操作吗?","提示框",Alert.YES | Alert.NO,
&&&&&&&&&&&&&&&&&&&&&&&&
&&this,AlertListener,null,Alert.YES);
设置警告框的大小&&&&&
&myAlert.width = 200;
&&myAlert.height = 150;
对话框侦听事件&&&private
AlertListener(e:CloseEvent):void
判断是否按下确认按钮&&&&&
if(e.detail == Alert.YES)
&&lbText.text =
"您按下了确认按钮。";
&&lbText.text =
"您按下了取消按钮。";
*************************************/
&&&&//&&&&&&
自定义警告框的标签按钮&
*************************************/
按钮单击事件&&&private
Btn1_Click():void
设置对话框的按钮文字描述&&&
&&Alert.yesLabel = "是";
&&Alert.noLabel = "否";
&&Alert.cancelLabel = "取消";
弹出对话框&&&&
&Alert.show("确认执行此操作吗?","提示框",Alert.YES | Alert.NO
| Alert.CANCEL);
*************************************/
&&&&//&&&&&&&
提示框的图标的设置&
*************************************/&&&[Embed(source="../img/error.png")]
&&&[Bindable]&&&public
var error:C
&&&private function
Btn2_CLick():void
&&&&&&&//弹出一个提示框
&&&&&&&Alert.show("这是提示框","警告框",Alert.OK,null,null,error);
&&/fx:Script&
&&fx:Declarations&
将非可视元素(例如服务、值对象)放在此处
--&&&/fx:Declarations&
=======================================================
&&s:Button x="36"
y="40" label="提示框" width="89" height="31"
click="Btn_Click()"/&
&&s:Label x="155"
y="52" text="标签" width="215" height="18"
id="lbText"/&
=======================================================
&&s:Button x="36"
y="101" label="提示框1" width="89" height="31"
click="Btn1_Click()"/&
=======================================================
&&&s:Button
x="414" y="52" label="提示框2" width="89" height="31"
click="Btn2_CLick()"/&
&/s:Application&
==============================================================================================
结果如图所示:
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。2016年2月 总版技术专家分月排行榜第二2014年2月 总版技术专家分月排行榜第二2013年4月 总版技术专家分月排行榜第二
2016年10月优秀小版主
2016年8月优秀小版主2016年7月优秀小版主优秀小版主2015年7月优秀小版主2015年9月优秀小版主2015年5月优秀小版主2014年11月论坛优秀版主
2016年2月 总版技术专家分月排行榜第二2014年2月 总版技术专家分月排行榜第二2013年4月 总版技术专家分月排行榜第二
2016年10月优秀小版主
2016年8月优秀小版主2016年7月优秀小版主优秀小版主2015年7月优秀小版主2015年9月优秀小版主2015年5月优秀小版主2014年11月论坛优秀版主
2016年2月 总版技术专家分月排行榜第二2014年2月 总版技术专家分月排行榜第二2013年4月 总版技术专家分月排行榜第二
2016年10月优秀小版主
2016年8月优秀小版主2016年7月优秀小版主优秀小版主2015年7月优秀小版主2015年9月优秀小版主2015年5月优秀小版主2014年11月论坛优秀版主
2016年2月 总版技术专家分月排行榜第二2014年2月 总版技术专家分月排行榜第二2013年4月 总版技术专家分月排行榜第二
2016年10月优秀小版主
2016年8月优秀小版主2016年7月优秀小版主优秀小版主2015年7月优秀小版主2015年9月优秀小版主2015年5月优秀小版主2014年11月论坛优秀版主
2016年2月 总版技术专家分月排行榜第二2014年2月 总版技术专家分月排行榜第二2013年4月 总版技术专家分月排行榜第二
2016年10月优秀小版主
2016年8月优秀小版主2016年7月优秀小版主优秀小版主2015年7月优秀小版主2015年9月优秀小版主2015年5月优秀小版主2014年11月论坛优秀版主
本帖子已过去太久远了,不再提供回复功能。温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
基本的使用方法:
主要功能:弹出信息提示框
主要的应用方法:Alert.show('要显示的提示内容','标题文字','要显示的按钮','在哪级容器弹出','自定义按钮关闭事件的回调函数') 例如:Alert.show('请查看下一页','亲情提示','1|2|4|8',this,closeHandler)分别对应上述几方面内容,最后一项就是我们自定义的关闭事件的回调函数。可以这样写这个回调函数
peivate function closeHandler(event:CloseEvent):void
if(event.detail==Alert.YES){//doSomeThing}else{//doSomrThing}
还可以自定义Alert的组件样式:
Alert.yesLabel ='登陆';
Alert.noLabel ='退出'
一:Flex中如何通过PopUpManager类的removePopUp()函数,自动关闭一个Alert对话框。
&?xml version="1.0" encoding="utf-8"?& &mx:Application xmlns:mx="" &&&&&&& layout="vertical" &&&&&&& verticalAlign="middle" &&&&&&& backgroundColor="white"& & &&& &mx:Script& &&&&&&& &![CDATA[ &&&&&&&&&&& import mx.controls.A &&&&&&&&&&& import mx.managers.PopUpM & &&&&&&&&&&& private var alert:A & &&&&&&&&&&& private function showAndHide(delay:Number):void { &&&&&&&&&&&&&&& var alertText:String = "I'm an Alert control. I'll disappear in " + (delay / 1000).toFixed(1) + " seconds."; &&&&&&&&&&&&&&& var alertTitle:String = "Timed Alert"; &&&&&&&&&&&&&&& alert = Alert.show(alertText, alertTitle); &&&&&&&&&&&&&&& setTimeout(hideAlert, delay);&&&&&&&&&&&&&&& setTimeout(myDelayedFunction, delay, "Hello", "World");&&&&&&&&&&&& } & &&&&&&&&&&& private function hideAlert():void { &&&&&&&&&&&&&&& PopUpManager.removePopUp(alert); &&&&&&&&&&& } &&&&&&&&&&& public function myDelayedFunction():void {&&&&&&&&&&& trace(arguments[0] + " " + arguments[1]);&&&&&&& }
&&&&&&& ]]& &&& &/mx:Script& & &&& &mx:ApplicationControlBar dock="true"& &&&&&&& &mx:Button label="Launch alert" &&&&&&&&&&&&&&& click="showAndHide(3000);" /&
&&&& &/mx:ApplicationControlBar& & &/mx:Application&
二:如何通过设置Alert控件的creationCompleteEffect样式,实现特定效果显示对话框
&mx:Style& &&&&&&& &&&&&&& Alert { &&&&&&&&&&& &&&&&&&&&&& creationCompleteEffect: myE &&&&&&& } &&& &/mx:Style&
&mx:Sequence id="myEffect"& &&&mx:Parallel& &&&&mx:Zoom /& &&&&mx:Fade /& &&&/mx:Parallel&
&&/mx:Sequence&
三:当需要弹出Alert组件或者是需要使用Popup时,我们怎样让父容器实现一个渐变的效果
答:&mx:Style& &&&&&&& global { &&&&&&&&&&& modalTransparencyBlur: 0; &&&&&&&&&&& modalTransparency: 1; &&&&&&&&&&& modalTransparencyColor: # &&&&&&&&&&& modalTransparencyDuration: 500; &&&&&&& } &&& &/mx:Style&
四:我们怎样为Alert组件添加标题图标和在主要提示区显示一个图标
答:利用alert.titleIcon属性可以为其指定一个图标作为标题图标,另外可以利用Alert.show(alertText, alertTitle, 4, null, null, IconCritical)这种方式为其提供主要提示区的图标;
最后奉上完整源码:
&?xml version="1.0" encoding="utf-8"?&&mx:Application xmlns:mx=""&&&&layout="vertical"&&&&verticalAlign="middle"&&&&backgroundColor="white"&&&&name="AlertDemo"&
&&mx:ApplicationControlBar width="100%"&&&&&&&& dock="true"&&&&mx:Button label="弹出Alert"&&&&&& click="showAlert()"/&&&/mx:ApplicationControlBar&
&&mx:Script&&&&![CDATA[&&&import mx.events.CloseE&&&import mx.controls.A&&&import mx.managers.PopUpM&&&private var a:A
&&&//主要提示文字区的图标&&&[Bindable]&&&[Embed('assets/Box[1].png')]&&&private var BoxIcon:C
&&&//标题部的图标&&&[Bindable]&&&[Embed('assets/Canvas[1].png')]&&&private var CanvasIcon:C
&&&private function showAlert():void&&&{&&&&a=Alert.show('欢迎来到天地会网站看帖,该组件将在三秒后自动关闭', '欢迎访问', 2, this, closeHandler, BoxIcon);
&&&&//添加标题图标&&&&a.titleIcon=CanvasIcon
&&&&//添加消息&&&&a.status='我是Alert组件'&&&&//三秒钟后自动关闭该Alert&&&&setTimeout(closeAlert, 3000);&&&}
&&&//Alert的关闭事件的回调函数&&&private function closeHandler(event:CloseEvent):void&&&{
&&&//自定义的自动关闭Alert的方法&&&private function closeAlert():void&&&{&&&&PopUpManager.removePopUp(a);&&&}&&]]&&&/mx:Script&
&&!--&& 弹出Alert时采用的特效--&&&mx:Style&&&&&&& &&&&&& &&&&&& &&&&&& &Alert&&&&&& &{&&&&&& &&creationCompleteEffect:myZ&&&&&& &&&&&&&& &&&&&&&& &&/*& statusStyleName定义status文字的显示样式*/&&&&&& &&statusStyleName: myCustomStatusStyleN&&&&&& &&&&&&&& &&/*& 定义标题文字的显示样式*/&&&&&& && titleStyleName: myCustomTitleStyleN &&&&&& && &&&&&& && /*& 定义提示区文字的显示样式*/&&&&&& &&& messageStyleName: myCustomMessageStyleN &&&&&& &}&&&&&& &&&&&&& &.myCustomStatusStyleName { &&&&&&&&&&& color:# &&&&&&&&&&& fontFamily: myComicSansMS; &&&&&&&&&&& fontSize: 16; &&&&&&&&&&& fontWeight: &&&&&&& } &&&&&&& &&&&&&& &&&&&&&& .myCustomTitleStyleName { &&&&&&&&&&& color: haloO &&&&&&&&&&& fontFamily: myComicSansMS; &&&&&&&&&&& fontSize: 16; &&&&&&&&&&& fontWeight: &&&&&&& } &&&&&&& &&&&&&& .myCustomMessageStyleName { &&&&&&&&&&& color: haloO &&&&&&&&&&& fontFamily: myComicSansMS; &&&&&&&&&&& fontSize: 12; &&&&&&&&&&& fontWeight: &&&&&&& }
&&&&&& &/* 当弹出Alert时主应用程序的渐变效果 */&&&&&& &&&&&&& &/*& global { &&&&&&&&&&& modalTransparencyBlur: 0; &&&&&&&&&&& modalTransparency: 0.8; &&&&&&&&&&& modalTransparencyColor: &&&&&&&&&&& modalTransparencyDuration: 500; &&&&&&& }& */
&&&&&& &/mx:Style&
&&mx:Zoom id="myZoom"&&& duration="500"/&&/mx:Application&=======以上转自===============
Alert 在包mx.controls中,继承自Panel。
它是一个弹出对话框,可能包含消息、标题、按钮(“确定”、“取消”、“是”和“否”的任意组合)和图标。Alert 控件是模式控件,这意味着在用户将其关闭之前,它将一直保留焦点。 将 mx.controls.Alert 类导入应用程序,然后调用 ActionScript 中的静态 show() 方法以显示 Alert 控件。不能在 MXML 中创建 Alert 控件。
在 Alert 控件中选择一个按钮或按下 Esc 键时,将关闭该控件。
如下为show() 方法的定义:
public static function show(text:String = "", title:String = "", flags:uint = 0x4, parent:Sprite = null, closeHandler:Function = null, iconClass:Class = null, defaultButtonFlag:uint = 0x4):Alert
弹出 Alert 控件的静态方法。在 Alert 控件中选择一个按钮或按下 Esc 键时,将关闭该控件。
参数说明:
text:String (default = "") — 在 Alert 控件中显示的文本字符串。此文本将在警告对话框中居中显示。
title:String (default = "") — 标题栏中显示的文本字符串。此文本左对齐。
flags:uint (default = 0x4) — Alert 控件中放置的按钮。有效值为 Alert.OK、Alert.CANCEL、Alert.YES 和 Alert.NO。默认值为 Alert.OK。使用按位 OR 运算符可显示多个按钮。例如,传递 (Alert.YES | Alert.NO) 显示“是”和“否”按钮。无论按怎样的顺序指定按钮,它们始终按照以下顺序从左到右显示:“确定”、“是”、“否”、“取消”。
以下是编号对应的按钮组合表,一共有16个数字编号(其实只有15种组合)。1-&& Alert.YES2-&& Alert.NO3-&& Alert.YES | Alert.NO4-&& Alert.OK5-&& Alert.OK | Alert.YES6-&& Alert.OK | Alert.NO7-&& Alert.OK | Alert.YES | Alert.NO8-&& Alert.CANCEL9-&& Alert.YES | Alert.CANCEL10-&& Alert.NO | Alert.CANCEL11-&& Alert.YES | Alert.NO | Alert.CANCEL12-&& Alert.OK | Alert.CANCEL13-&& Alert.OK | Alert.YES | Alert.CANCEL14-&& Alert.OK | Alert.NO | Alert.CANCEL15-&& Alert.OK | Alert.YES | Alert.NO | Alert.CANCEL16-&& Alert.OK (和4一样)
17开始返回到1重新按顺序循环………..而flags属性不填写的话一般默认值为Alert.OK,也就是4或16。
parent:Sprite (default = null) — Alert 控件在其上居中的对象。
closeHandler:Function (default = null) — 按下 Alert 控件上的任意按钮时将调用的事件处理函数。传递给此处理函数的事件对象是 CloseEvent 的一个实例;此对象的 detail 属性包含 Alert.OK、Alert.CANCEL、Alert.YES 或 Alert.NO 值。
iconClass:Class (default = null) — 位于 Alert 控件中文本左侧的图标的类。&&
defaultButtonFlag:uint (default = 0x4) — 指定默认按钮的位标志。您可以指定一个值,并且只能是 Alert.OK、Alert.CANCEL、Alert.YES 或 Alert.NO 中的一个值。默认值为 Alert.OK。按 Enter 键触发默认按钮,与单击此按钮的效果相同。按 Esc 键触发“取消”或“否”按钮,与选择相应按钮的效果相同。&
返回: Alert — 对 Alert 控件的引用。
&&&& //响应删除事件&&&& private function doDelete():void&&&& {&&&&&&&& Alert.yesLabel="确定";&&&&&&&& Alert.noLabel="取消";&&&&&&&& Alert.show("是否确定删除选中记录?","删除记录",3,this,deleteCallBack);&&&& }&&&& //具体执行删除操作&&&& private function deleteCallBack(event:CloseEvent):void&& {&&&& if(event.detail == Alert.YES)&&&& {&&&&&& Alert.okLabel="确定";&&&&&& Alert.show("删除成功!");&&&& }&& }
阅读(8400)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'Alert的使用方法',
blogAbstract:'
Alert的使用方法
基本的使用方法:
主要功能:弹出信息提示框
主要的应用方法:Alert.show(\'要显示的提示内容\',\'标题文字\',\'要显示的按钮\',\'在哪级容器弹出\',\'自定义按钮关闭事件的回调函数\') 例如:Alert.show(\'请查看下一页\',\'亲情提示\',\'1|2|4|8\',this,closeHandler)分别对应上述几方面内容,最后一项就是我们自定义的关闭事件的回调函数。可以这样写这个回调函数
peivate function closeHandler(event:CloseEvent):void
blogTag:'alert',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:0,
publishTime:3,
permalink:'blog/static/',
commentCount:0,
mainCommentCount:0,
recommendCount:1,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'',
hmcon:'1',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}JAVA基础类(2)
在Maven工程中,需对项目进行分支串联,则需要修改pom.xml里的packaging标签的值,如&packaging&jar&/packaging&更改为:&packaging&pom&/packaging&
这时候项目上出现报错,但是没有任何提示,这种时候,解决方案为:
右键项目工程——&Maven——&Update Project.......
一般能解决这个问题
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:954次
排名:千里之外}

我要回帖

更多关于 ios自定义alert弹出框 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信