记得上下班打卡 | git大法好,push需谨慎

Commit b3717f44 authored by zhouhuan's avatar zhouhuan

图片点击放大

parent 02021fd3
......@@ -390,12 +390,16 @@
// 点击图片放大
function click_big(url){
console.log(url)
// console.log(url)
var img_url = url
if(url.indexOf("x-oss-process") != -1){
img_url = url.split("?")[0]
}
var json = {
"data": [ //相册包含的图片,数组格式
{
"alt": "演出封面",
"src": url, //原图地址
"src": img_url, //原图地址
}
]
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment