请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
yzm119442(uid:815321)
职业资格认证:FCA-FineReport
  • 我的图片一直加载不出来,不知道哪里出了错误,下面是事件的JavaScript脚本代码:setTimeout(function() {      $("div").append("<div id=\"box\"><div class=\"slide\"><ul><li><a href=\"#\"><img src=\"webroot\help\css\images\3.jpg\"></a></li><li><a href=\"#\"><img src=\"http://img.mukewang.com/52da54ed0001ecfa04120172.jpg\" alt=\"啊啊啊\"></a></li><li><a href=\"#\"><img src=\"http://img.mukewang.com/52da54ed0001ecfa04120172.jpg\" alt=\"啊啊啊\"></a></li><li><a href=\"#\"><img src=\"http://img.mukewang.com/52da54ed0001ecfa04120172.jpg\" alt=\"啊啊啊\"></a></li><li><a href=\"#\"><img src=\"http://img.mukewang.com/52da54ed0001ecfa04120172.jpg\" alt=\"啊啊啊\"></a></li></ul><div class=\"arraw\"><a href=\"javascript:;\" class=\"next\"></a><a href=\"javascript:;\" class='prev'></a></div></div></div><script>var box = document.querySelector('#box');var slide = document.querySelector('.slide');var arraw = document.querySelector('.arraw');var lis = document.querySelectorAll('li');var json = ;var next = document.querySelector('.next');var prev = document.querySelector('.prev');var timer = null;var flag = true;move();run();function run(){clearInterval(timer);timer = setInterval(function(){if(flag == true){flag = false;move(true);}},500);}function move(x){if(x != undefined){if(x){json.push(json.shift());}else{json.unshift(json.pop());};};for(var i = 0; i<json.length; i++){animate(lis,{width: json.width,top: json.top,left: json.left,opacity: json.opacity,zIndex: json.z},function(){flag = true;})};}function animate(obj, json, callback){clearInterval(obj.timer);obj.timer = setInterval(function(){var stoped = true;for(var k in json){var leader = 0;if(k == 'opacity'){leader = Math.round(getStyle(obj, k)*100) || 100;}else {leader = parseInt(getStyle(obj, k)) || 0;};var step = (json-leader)/10;step = step > 0? Math.ceil(step) : Math.floor(step);leader = leader + step;if(k == 'opacity'){obj.style = leader/100;obj.style = 'alpha(opacity='+ leader +')';}else if(k == 'zIndex'){obj.style = json;console.log(666);}else{obj.style = leader + \"px\";}if(leader != json){stoped = false;}};if(stoped){clearInterval(obj.timer);callback && callback();};},50);};function getStyle(obj, attr){if(obj.currentStyle){return obj.currentStyle;}else{return window.getComputedStyle(obj, null);};};</script>")  },  20);运行出来的效果如下所示,图片未加载出来
  • 点击在浏览器中预览的那个键没有任何反应
  • 在SQL server实现获取今年的月份 例如效果显示为 01,02这样的格式 而不是单纯的month()函数
  • 我想实现只获取本年的年月 查询出来显示的效果例如:2021-08这样的格式请问各位大佬如何实现这个功能呢我尝试用函数,但提示“'concatenate' 不是可以识别的 内置函数名称。”这样的错误注意:我是想统计年月,或者就统计月份 格式是01,02这样
  • 在新建普通报表里面创建了一个列表 可以冻结第一行和第二行吗? 怎么实现呢?

7

1

7

10

没有更多
个人成就
内容被浏览3,647
加入社区3年324天
返回顶部