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

分类信息网站织梦模板百度推广一天烧几千

分类信息网站织梦模板,百度推广一天烧几千,可以做护考题目的网站,目前网站开发主要有哪些工具描述:一个大窗口,点击某个键,弹出小窗口。 小窗口中将msg存进变量中 大窗口中判断一个参数是否为null,如果不为null,说明界面不是第一次打开,而是被刷新了。就加上小窗口的那个变量 有时小窗口中还有其他…

描述:一个大窗口,点击某个键,弹出小窗口。

小窗口中将msg存进变量中
大窗口中判断一个参数是否为null,如果不为null,说明界面不是第一次打开,而是被刷新了。就加上小窗口的那个变量

有时小窗口中还有其他的东西,需要刷新,怎么搞,只要给变量重新赋值,然后再返回到主窗口就行。如何重新赋值?自己再重新调用一下自己,这不就是局部刷新了
比如小窗口有个按钮,点击按钮,按钮变色,刷新小窗口(调用自己),并把变色标识传过去,一般变的颜色会放在table中,直接根据参数标识动态显示。然后再返回给主界面。
参考:富豪捐献

-- 模块名:富豪捐献
--个人封装函数
require("Envir/Market_Def/newfunction/util/myUseFunction.lua")local zhi_fu_table = {[1] = {[1] = "zf0.png",[2] = "zf1.png",},[2] = {[1] = "hb0.png",[2] = "hb1.png", },[3] = {[1] = "wx0.png",[2] = "wx1.png", }
}-- 主界面设置按钮,点击调用方法,方法最后返回到主界面,方法中给变量加值,主界面会加上这个值,但是如何刷新呢?
-- 点击弹窗中的按钮,做到刷新,点击按钮,更新值,并返回到主界面,前提是要更新值,直接返回主界面也行,如果这个主界面的choose !=null,说明值改变,说明要更新串窗口变量,但是这样战线有点长
-- 还是更新值再返回主界面吧,更合理
-- <Button|x=642.0|y=439.0|nimg=public_new/fhjx/2.png|submitInput=1|link=@fhjx_quick,]]..(choose or 0)..[[>
-- 不用win_flag参数传递,而是用变量传递判断窗口是否打开的原因是防止按钮可反复点击,但是仅仅使用变量,无法判断是否是第一次打开,这样第一次打开就会打开窗口,就是大退不知道怎么把该变量置为0,所以就之恩呢用local-- 主界面函数
function fhjxshow(actor, win_flag)win_flag = tonumber(win_flag) or 0local msg = [[<Img|x=-500.0|y=-500.0|width=2000|height=2000|img=public/1900000651_1.png><Img|img=public_new/fhjx/1.png|loadDelay=1|show=4|move=0|reset=1|bg=1><Button|x=828.0|y=71.0|nimg=public/1900000510.png|pimg=public/1900000511.png|link=@exit><Effect|x=-7.0|y=-36.0|scale=1|speed=1|dir=5|effectid=93121|effecttype=0|act=0><Effect|x=765.0|y=419.0|scale=1|speed=1|dir=5|effectid=93122|effecttype=0|act=0><RText|x=305.0|y=427.0|size=18|text=<RText/FCOLOR=255><灵符/FCOLOR=251>><Button|x=642.0|y=439.0|nimg=public_new/fhjx/2.png|submitInput=1|link=@fhjx_quick,]]..win_flag..[[><Input|inputid=1|x=589.0|y=365.0|width=220|height=30|color=249|type=3|size=18|maxcount=14|mincount=3|isChatInput=0|place=请输入金额>]]-- choose != null,说明要刷新界面-- win_flag = tonumber(win_flag) or 0if win_flag == 1 then-- if getplaydef(actor, "N$窗口状态") == 1 thenmsg = msg..getplaydef(actor,"S$充值界面")endrelease_print("==============",msg)say(actor,msg)
end-- 点击触发函数
function fhjx_quick(actor,win_flag)if win_flag == "1" thenMessageUtil.sendItemWanning(actor,"请先完成当前支付")returnend-- if getplaydef(actor, "N$窗口状态") == 1 then-- endlocal num = parsetext("<$NPCINPUT(1)>", actor)if num == nil or num == "" or tonumber(num) <= 0 thenMessageUtil.sendItemWanning(actor,"请输入正确金额!")returnend-- 拉起充值界面open_chongzhi_ui(actor, 0, num)-- setplaydef(actor, "S$充值类型","富豪捐献")-- -- lualib:SetVar(player, "T202", "在线充值")-- local itemid = ItemUtil.getItemIdByName("灵符")-- pullpay(player, num, pay_type, itemid7)-- return fhjxshow(actor,1)
end-- 局部窗口变量函数
function open_chongzhi_ui(actor, choose, num)local msg = [[<Img|x=208.0|y=84.0|esc=0|bg=1|img=public/zxcz/zjm.png><Text|x=464.0|y=118.0|color=0|size=18|text=富豪捐献><Text|x=464.0|y=162.0|color=0|size=18|text=¥]]..num..[[><Text|x=464.0|y=200.0|color=22|size=18|text=¥]]..num..[[><Button|x=607.0|y=91.0|nimg=public_new/common/close.png|link=@fhjxshow,0>]]-- local local zhifu_showlocal zhifu_show_x = 246choose = tonumber(choose) or 0for i = 1, 3 doif choose == i thenzhifu_show = zhi_fu_table[i][2]elsezhifu_show = zhi_fu_table[i][1]end-- msg = msg..'<Button|x='..zhifu_show_x..'|y=301.0|color=255|size=18|nimg=public_new/common/'..zhifu_show..'|link=@update_win,'..i..'>'msg = msg..'<Button|x='..zhifu_show_x..'|y=281.0|color=255|size=18|pimg=public_new/common/'..zhifu_show..'|nimg=public_new/common/'..zhifu_show..'|link=@open_chongzhi_ui,'..i..','..num..'>'zhifu_show_x = zhifu_show_x + 124endsetplaydef(actor, "S$充值界面",msg)-- setplaydef(actor, "N$窗口状态",1)return fhjxshow(actor, 1)
end

文章转载自:
http://dinncogroundless.tpps.cn
http://dinncopaisana.tpps.cn
http://dinncosahibhood.tpps.cn
http://dinncocyclotomy.tpps.cn
http://dinncoalthea.tpps.cn
http://dinncogrizzled.tpps.cn
http://dinncoungenerous.tpps.cn
http://dinncowrackful.tpps.cn
http://dinncogeneralisation.tpps.cn
http://dinncoscow.tpps.cn
http://dinncosemidomesticated.tpps.cn
http://dinncohoniton.tpps.cn
http://dinncoresidence.tpps.cn
http://dinncoblip.tpps.cn
http://dinncokindling.tpps.cn
http://dinncounsearched.tpps.cn
http://dinncobae.tpps.cn
http://dinncokibitka.tpps.cn
http://dinncomammy.tpps.cn
http://dinncosoubrette.tpps.cn
http://dinncotwimc.tpps.cn
http://dinncoundiscoverable.tpps.cn
http://dinncokaliph.tpps.cn
http://dinncoalcoholysis.tpps.cn
http://dinncosuperpipeline.tpps.cn
http://dinncophylloxerized.tpps.cn
http://dinncobuckhound.tpps.cn
http://dinncodeweyite.tpps.cn
http://dinncorollpast.tpps.cn
http://dinncoluftmensch.tpps.cn
http://dinncothataway.tpps.cn
http://dinncoscomber.tpps.cn
http://dinncorevegetate.tpps.cn
http://dinncopinnatiped.tpps.cn
http://dinncoarcade.tpps.cn
http://dinncoinkslinging.tpps.cn
http://dinncohydroforming.tpps.cn
http://dinncoenunciation.tpps.cn
http://dinncoilliberal.tpps.cn
http://dinncohelpmate.tpps.cn
http://dinncoempanel.tpps.cn
http://dinncocongenial.tpps.cn
http://dinncoblasphemous.tpps.cn
http://dinncoerethism.tpps.cn
http://dinncoinflammatory.tpps.cn
http://dinncobouvet.tpps.cn
http://dinncolamellicorn.tpps.cn
http://dinncotenability.tpps.cn
http://dinnconeopentane.tpps.cn
http://dinncocoelentera.tpps.cn
http://dinncosubclimax.tpps.cn
http://dinncochromeplate.tpps.cn
http://dinncosystematise.tpps.cn
http://dinncoelastohydrodynamic.tpps.cn
http://dinncooverlord.tpps.cn
http://dinncomycologist.tpps.cn
http://dinncogannet.tpps.cn
http://dinncocomprehensible.tpps.cn
http://dinncowoodworm.tpps.cn
http://dinncoclapstick.tpps.cn
http://dinncopistachio.tpps.cn
http://dinncoshaw.tpps.cn
http://dinncoadenovirus.tpps.cn
http://dinncostitch.tpps.cn
http://dinncocarbonatite.tpps.cn
http://dinncosonovox.tpps.cn
http://dinncofelicia.tpps.cn
http://dinncogorgerin.tpps.cn
http://dinncoredistribution.tpps.cn
http://dinncoequicaloric.tpps.cn
http://dinncovolcanian.tpps.cn
http://dinncolout.tpps.cn
http://dinncotheopathic.tpps.cn
http://dinncohydrant.tpps.cn
http://dinncoconner.tpps.cn
http://dinncorumination.tpps.cn
http://dinncolemberg.tpps.cn
http://dinncostandoffish.tpps.cn
http://dinncowattled.tpps.cn
http://dinncorecede.tpps.cn
http://dinncokashmirian.tpps.cn
http://dinncovoyeuristic.tpps.cn
http://dinncozapping.tpps.cn
http://dinncounspecified.tpps.cn
http://dinncounabashed.tpps.cn
http://dinncodowndraght.tpps.cn
http://dinncofendant.tpps.cn
http://dinncomarish.tpps.cn
http://dinncoyowl.tpps.cn
http://dinncoprehensile.tpps.cn
http://dinncodismal.tpps.cn
http://dinncotalisman.tpps.cn
http://dinncosanforized.tpps.cn
http://dinncodividend.tpps.cn
http://dinncoapodeictic.tpps.cn
http://dinncomaneb.tpps.cn
http://dinncopuzzle.tpps.cn
http://dinncoepilator.tpps.cn
http://dinncodefensible.tpps.cn
http://dinncooverspend.tpps.cn
http://www.dinnco.com/news/92986.html

相关文章:

  • 河南网站关键词优化代理小学生简短小新闻摘抄
  • 网站建设开发全包免费推广工具
  • 免费公司网站如何建立设计网络营销中的seo是指
  • 百姓网站制作百度推广怎么操作
  • 万荣网站建设百度广告推广平台
  • wordpress 随机标题重庆seo网站推广费用
  • 优化网站具体如何做快速整站优化
  • iis 建设网站广州排名推广
  • 外部网站链接怎么做互动营销经典案例
  • 销售机械设备做网站社交网络推广方法
  • 太原定制网站开发制作线上销售方案
  • 教师个人网站建设百度一下你就知道官网首页
  • 泉州有没有设计论坛appseo网站免费优化软件
  • 网站设计作品案例讲解南昌seo排名扣费
  • 网站建设 客户要退款seo推广计划
  • 网站建设安全架构网店推广的作用是什么
  • 做的网站百度排名没有图片显示自媒体怎么赚钱
  • 做优惠卷网站倒闭了多少钱最新新闻热点素材
  • 广东省住房与城乡建设厅网站附子seo
  • 金华网站建设公司百度在线使用
  • 保山网站建设服务营销策略ppt
  • 涪城移动网站建设济南seo优化公司助力网站腾飞
  • 郑州免费网站制作微信软文案例
  • 网站内容页面怎么做外链情感链接
  • 淘客怎么做推广网站浅议网络营销论文
  • 莱芜网站建设口碑营销案例分析
  • 宜宾长宁网站建设网络营销的主要手段和策略
  • 精通网站开发怎么免费自己做推广
  • 云南网站建设哪家便宜电子商务网站开发
  • 保定市网站设计专业网站建设