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

Commit 824b4c94 authored by zhouhuan's avatar zhouhuan

Merge remote-tracking branch 'origin/master_zhouhuan' into pre

parents 84a6ad6e 7bb11290
...@@ -395,12 +395,20 @@ ...@@ -395,12 +395,20 @@
// 点击图片放大 // 点击图片放大
function click_big(url){ function click_big(url){
console.log(url) // console.log(url)
var img_url = url
// var AA = 'https://img.zhengzai.tv/other/2021/09/19/668fe5a0ee4246d48137601baba47dd9.jpg?x-oss-process=image/resize,s_200'
// console.log('1',AA.indexOf("x-oss-process"))
// console.log('2',AA.split("?"))
if(url.indexOf("x-oss-process") != "-1"){
img_url = url.split("?")[0]
}
// console.log("3",img_url)
var json = { var json = {
"data": [ //相册包含的图片,数组格式 "data": [ //相册包含的图片,数组格式
{ {
"alt": "演出封面", "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