新浪微博接口图片上传系统代码

  • 内容
  • 相关
1.png

源码:

<html lang="zh-cn"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>小杰图床 - 免费CDN图床丨新浪微博图床丨不限流量丨永久免费</title>
<meta name="keywords" content="小杰图床,免费图床,新浪图床,CDN图床,围脖图床,图片外链"/>
<meta name="description" content="小杰图床采用新浪图床接口,永久免费保存稳定不限流量不限制外链数,支持批量上传即时预览支持JPG, GIF, PNG等文件格式,围脖是个好图床."/>
<link href="https://img.caojiefeng.com/css/bootstrap.css" rel="stylesheet">
<script src="https://img.caojiefeng.com/js/jquery.min.js"></script>
<script src="https://img.caojiefeng.com/js/bootstrap.min.js"></script>
<script src="https://img.caojiefeng.com/js/layer.js"></script>
<script src="https://img.caojiefeng.com/js/xltpsc.js"></script>
<script src="https://img.caojiefeng.com/js/cjf.js"></script>
<style>
body{margin:0 auto;text-align:center}
.container{max-width:580px;padding:15px;margin:0 auto}
momll-img{max-width:80%;display:block}
#选图{position:absolute;z-index:1;cursor:pointer;opacity:0}
#box,#选图{background:#008B8B;color:#FFF;display:block;height:40px;line-height:40px;text-align:center}
</style>
</head>
<body style="background-attachment: fixed;background-repeat: no-repeat;background-size: cover;-moz-background-size: cover;">
<div class="container">
<div class="panel panel-primary" style="margin:1% 1% 1% 1%;background: rgba(255, 251, 251, 0.7)">
                <div class="panel-heading bk-bg-primary">
                    <h6><span class="panel-title">小杰图床 新浪CDN图床 不限流量 无限外链 永久免费</span></h6>
                </div>
                <div class="panel-body">
                  <p><img src="https://ww2.sinaimg.cn/large/007fOnvLgy1fuxn6j3chaj30h00503yr.jpg" width="239" height="74"></p>
                  <style type="text/css">
#file{position:absolute;z-index:1;cursor:pointer;opacity:0;}
#file,.btn_mouseout{background:#6F8EC5;color:#FFF;display:block;line-height:37px;text-align:center;width:100%;}
#sinaimg{width:50%;padding-bottom: 25px;}
#sinaimgurl{background: rgba(255, 0, 0, 0);padding: 5px;line-height: 31px;border: 1px solid #ddd;width: 286px;color: #999;border-radius: 4px;}
#img{text-align: center;width: 100%}
.upload-drag{
  position: relative;
  padding: 30px;
  border: 1px dashed #e2e2e2;
  background-color: #fff;
  text-align: center;
  cursor: pointer;
  color: #999;
}
</style>
<form id="form1">
  <div class="upload-drag" id="upload-drag" onclick="file.click()" title="点击上传图片">
    <img src="https://ww2.sinaimg.cn/large/007fOnvLgy1fuxn6z4ha5j301c01c3ya.jpg">
<p id="stat">点击上传</p>
    <input type="file" id="file" name="file" onchange="sc();" style="display:none" accept="image/*"/>  
  </div>
</form>
<div id="img"></div>
<div id="imgurl"></div>
<div class="container-fluid">
新浪微博图片外链
</div>
 </br>友情链接:
 <a href="https://www.caojiefeng.com" target="_blank">曹杰峰的博客</a>丨
 <a href="http://jx.xjwlyx.cc" target="_blank">VIP视频在线解析</a>
 <p style="text-align:center"><br>&copy; Powered by 曹杰峰 版权所有 </p></div>
 <!---------------cjf--------------->
<style type="text/css">
#cas { position: fixed; top: 0; left: 0; z-index: -1; opacity: .5 }
</style>
<canvas id="cas" width="100%" height="100%"></canvas>
</body>
</html>

在线演示地址:https://img.caojiefeng.com/

本文标签:

收录状态:百度-[百度未收录]360-[360未收录]搜狗-[搜狗未收录]

版权声明:若无特殊注明,本文皆为《曹杰峰》原创,转载请保留文章出处。

本文链接:新浪微博接口图片上传系统代码 - https://www.caojiefeng.com/php/111.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

00:00 / 00:00
顺序播放