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

Commit ebf7d5e3 authored by zhouhuan's avatar zhouhuan

图片点击放大

parent f854f87f
......@@ -392,9 +392,13 @@
function click_big(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 = {
"data": [ //相册包含的图片,数组格式
{
......
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