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

Commit 40b19037 authored by 刘喆's avatar 刘喆

Merge branch 'pre' into 'master'

Pre

See merge request !111
parents bc0dccae 8ead07d4
...@@ -395,12 +395,15 @@ ...@@ -395,12 +395,15 @@
// 点击图片放大 // 点击图片放大
function click_big(url){ function click_big(url){
console.log(url) var img_url = url
if(url.indexOf("x-oss-process") != "-1"){
img_url = url.split("?")[0]
}
var json = { var json = {
"data": [ //相册包含的图片,数组格式 "data": [ //相册包含的图片,数组格式
{ {
"alt": "演出封面", "alt": "演出封面",
"src": url, //原图地址 "src": img_url, //原图地址
} }
] ]
}; };
...@@ -409,7 +412,7 @@ ...@@ -409,7 +412,7 @@
closeBtn: 1, //右上角按钮,可通过配置1和2来展示,如果不显示,则closeBtn: 0 closeBtn: 1, //右上角按钮,可通过配置1和2来展示,如果不显示,则closeBtn: 0
anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数) anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
}); });
}; }
</script> </script>
</body> </body>
</html> </html>
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