function data(){
datas=[
["images/bg1.webp","#f1b429","#ffeec7","images/file1.webp","images/btn1.webp","images/create1.webp","images/share1.webp"],
["images/bg2.webp","#08987b","#b4efe3","images/file2.webp","images/btn2.webp","images/create2.webp","images/share2.webp"],
["images/bg3.webp","#314966","#b7bfca","images/file3.webp","images/btn3.webp","images/create3.webp","images/share3.webp"],
]
titles=[
"与朋友在KTV高歌,视频上传网络后成最火网红。",
"扶老奶奶过马路,因善举竟获对方赠送百万珠宝。",
"假期河边钓上一条人身鱼尾的“美人鱼”,或将改写历史。",
"国庆与网绿小欧同游巴黎,遭狗仔偷拍引爆微博。",
"与大妈广场斗舞,被星探相中,即将前往韩国当练习生。",
"假期打游戏连获100场MVP,将辞职当职业玩家。",
"国庆斥巨资前往外太空旅游,称将邀请O社长同行。",
"连中彩票,其照片成最新锦鲤,转发后你也会心想事成。",
"不满现状,凭借表演天赋考入中国戏精学院重新深造。",
"因背部两边痛痒就医,经查竟是折翼的天使。"
]
Mdatas=Math.floor(Math.random()*datas.length)
Mtitles=Math.floor(Math.random()*titles.length)
$(".container").css("background-image","url("+datas[Mdatas][0]+")")
$(".alt_box").find(".hint").css("color",datas[Mdatas][1])
$(".alt_box").find(".circle").css("background-color",datas[Mdatas][1])
$(".alt_box").find(".item").css("background-color",datas[Mdatas][2])
$(".alt_box").find(".file_box").css("background-image","url("+datas[Mdatas][3]+")")
$(".alt_box").find(".comfirm_btn").css("background-image","url("+datas[Mdatas][4]+")")
$(".main_txt").css("background-color",datas[Mdatas][1])
$(".main").css("background-image","url("+datas[Mdatas][5]+")");
$(".btn_group").find(".share_btn").css("background-color",datas[Mdatas][1])
$(".titles").find("i").html(titles[Mtitles])
}
data()