一穷二白 发表于 2011-6-1 08:41:19

还不知道Axure 有函数,哪里全面的函数介绍?

张鹤鹏 发表于 2011-7-11 12:51:44


另外,请问有没有倒计时的函数?
蔡高泽 发表于 2011-5-14 11:33 http://www.hiaxure.com/images/common/back.gif


15# 蔡高泽

我制作了一个倒计时跳转组件。

张鹤鹏 发表于 2011-7-11 12:57:07

还不知道Axure 有函数,哪里全面的函数介绍?
一穷二白 发表于 2011-6-1 08:41 http://www.hiaxure.com/images/common/back.gif


21# 一穷二白


+ : Addition. 例如[]
- : Subtraction. 例如[]
/ : Division. 例如[]
* :Multiplication. 例如[]
         
LVAR.toFixed(decimalPoints): 精确小数点几位 formats the value to use a specified number of places after the decimal. 例如 LVAR1 is 3.1415926, [] 为 3.14.

LVAR.substring(from, to):截取某段字符 returns the characters from a string, between the start index (“from”) and the end index (“to).例如 LVAR1 是 “Bill Haverchuck”, [] 为 “ll Haver”.

LVAR.length: returns the length of a string.字符长度 例如 LVAR1 是 “Lindsay Weir”, [] 为12.

LVAR.toLowerCase(): 转换为小写 例如[]

LVAR.toUpperCase():转换为大写 例如[]

LVAR.toString(): 转换为字符. 例如数字 LVAR1 is 09, [] 是 9, 但[] 是"09".


参考资料:

冯春龙 发表于 2011-9-13 17:22:23

好东西。

linen 发表于 2011-9-14 10:14:36

实用,收藏了^_^

吴凯 发表于 2011-9-16 10:00:40

学习了!!

杨选丹 发表于 2011-9-20 14:45:04

webppd:angel函数好玩

戚影子 发表于 2011-9-22 12:01:49

6.0果然不一样。功能很强大阿

伊牙儿 发表于 2013-7-2 14:05:19

测试一下不错~
请问有没有函数显示中文的星期几,现在只能是英文的哎。

best919 发表于 2013-7-2 15:44:01

测试一下不错~
请问有没有函数显示中文的星期几,现在只能是英文的哎。
伊牙儿 发表于 2013-7-2 14:05 http://www.hiaxure.com/images/common/back.gif
用条件判断就可以。创建个全局变量,如 Week1, 然后设置 变量值 Week1 等于 "[]",然后在页面载入时对Week1值判断、转为中文星期并显示到指定的文本元件(如 st_week)上:
页: 1 [2]
查看完整版本: 初探Axure 6 :显示当前日期和星期几