这一波爱国头像风我要跟!一起换国庆专属头像吧

var _hmt = _hmt || [];

(function() {

var hm = document.createElement("script");

hm.src = "https://hm.baidu.com/hm.js?9b7fb2a47b5a620b76aa50c77d1d4bd6";

var s = document.getElementsByTagName("script")[0];

s.parentNode.insertBefore(hm, s);

})();

.vue-cropper[data-v-6dae58fd] {

position: relative;

width: 100%;

height: 100%;

box-sizing: border-box;

user-select: none;

-webkit-user-select: none;

-moz-user-select: none;

-ms-user-select: none;

direction: ltr;

touch-action: none;

text-align: left;

background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMzTjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");

}

.cropper-box[data-v-6dae58fd],

.cropper-box-canvas[data-v-6dae58fd],

.cropper-drag-box[data-v-6dae58fd],

.cropper-crop-box[data-v-6dae58fd],

.cropper-face[data-v-6dae58fd] {

position: absolute;

top: 0;

right: 0;

bottom: 0;

left: 0;

user-select: none;

}

.cropper-box-canvas img[data-v-6dae58fd] {

position: relative;

text-align: left;

user-select: none;

transform: none;

max-width: none;

max-height: none;

width: 9rem;

left: .3rem;

}

.cropper-box[data-v-6dae58fd] {

overflow: hidden;

}

.cropper-move[data-v-6dae58fd] {

cursor: move;

}

.cropper-crop[data-v-6dae58fd] {

cursor: crosshair;

}

.cropper-modal[data-v-6dae58fd] {

background: rgba(0, 0, 0, 0.5);

}

.cropper-crop-box[data-v-6dae58fd] {

/*border: 2px solid #39f;*/

}

.cropper-view-box[data-v-6dae58fd] {

display: block;

overflow: hidden;

width: 100%;

height: 100%;

outline: 1px solid #39f;

outline-color: rgba(51, 153, 255, 0.75);

user-select: none;

}

.cropper-view-box img[data-v-6dae58fd] {

user-select: none;

text-align: left;

max-width: none;

max-height: none;

}

.cropper-face[data-v-6dae58fd] {

top: 0;

left: 0;

background-color: #fff;

opacity: 0.1;

}

.crop-info[data-v-6dae58fd] {

position: absolute;

left: 0px;

min-width: 65px;

text-align: center;

color: white;

line-height: 20px;

background-color: rgba(0, 0, 0, 0.8);

font-size: 12px;

}

.crop-line[data-v-6dae58fd] {

position: absolute;

display: block;

width: 100%;

height: 100%;

opacity: 0.1;

}

.line-w[data-v-6dae58fd] {

top: -3px;

left: 0;

height: 5px;

cursor: n-resize;

}

.line-a[data-v-6dae58fd] {

top: 0;

left: -3px;

width: 5px;

cursor: w-resize;

}

.line-s[data-v-6dae58fd] {

bottom: -3px;

left: 0;

height: 5px;

cursor: s-resize;

}

.line-d[data-v-6dae58fd] {

top: 0;

right: -3px;

width: 5px;

cursor: e-resize;

}

.crop-point[data-v-6dae58fd] {

position: absolute;

width: 8px;

height: 8px;

opacity: 0.75;

background-color: #39f;

border-radius: 100%;

}

.point1[data-v-6dae58fd] {

top: -4px;

left: -4px;

cursor: nw-resize;

}

.point2[data-v-6dae58fd] {

top: -5px;

left: 50%;

margin-left: -3px;

cursor: n-resize;

}

.point3[data-v-6dae58fd] {

top: -4px;

right: -4px;

cursor: ne-resize;

}

.point4[data-v-6dae58fd] {

top: 50%;

left: -4px;

margin-top: -3px;

cursor: w-resize;

}

.point5[data-v-6dae58fd] {

top: 50%;

right: -4px;

margin-top: -3px;

cursor: e-resize;

}

.point6[data-v-6dae58fd] {

bottom: -5px;

left: -4px;

cursor: sw-resize;

}

.point7[data-v-6dae58fd] {

bottom: -5px;

left: 50%;

margin-left: -3px;

cursor: s-resize;

}

.point8[data-v-6dae58fd] {

bottom: -5px;

right: -4px;

cursor: se-resize;

}

@media screen and (max-width: 500px) {

.crop-point[data-v-6dae58fd] {

position: absolute;

width: 20px;

height: 20px;

opacity: 0.45;

background-color: #39f;

border-radius: 100%;

}

.point1[data-v-6dae58fd] {

top: -10px;

left: -10px;

}

.point2[data-v-6dae58fd],

.point4[data-v-6dae58fd],

.point5[data-v-6dae58fd],

.point7[data-v-6dae58fd] {

display: none;

}

.point3[data-v-6dae58fd] {

top: -10px;

right: -10px;

}

.point4[data-v-6dae58fd] {

top: 0;

left: 0;

}

.point6[data-v-6dae58fd] {

bottom: -10px;

left: -10px;

}

.point8[data-v-6dae58fd] {

bottom: -10px;

right: -10px;

}

}

.operation-header .h-logo {

margin-top: 1.8rem;

width: 6rem;

height: .975rem;

background-image: url();

}

.g_pop_mask {

position: fixed;

z-index: 9998;

left: 0;

top: 0;

height: 100%;

width: 100%;

background: rgba(0,0,0,.6);

}

目前已有

17884万 人次参与活动

长按保存图像

可直接调整图片哦~

function changeTheme(type){

var index = parseInt($("#FrameImage").attr("index"));

console.log(index);

var next = 2;

if(type=='prev'){

if(index==1){

next = 4;

}else{

next = index - 1;

}

}else{

if(index==4){

next = 1;

}else{

next = index + 1;

}

}

$("#FrameImage").attr("index",next).attr('src','head'+index+'.png');

}

function createHead(){

$('.g_pop_mask').show();

inter = setInterval("fun()", 1000);

html2canvas(document.querySelector(".cropper-box"),{useCORS:true,logging:true/*,width:400,height:400*/}).then(canvas => {

base64 = canvas.toDataURL("image/png");

});

}

function hideAll(){

$(".van-overlay").hide();

$(".van-popup--center").hide();

}

var t = 5;

var time = $("#timeNum");

var base64 = '';

var inter;

$.getJSON("https://mip.uedlu.cn/index.php?type=1&jsonpCallback=?",

function(result) {

if (result.status == 1) {

$("#cropper-img").attr('src',result.headimgurl);

} else {

//window.location="https://59n2c.cn";

top.location.href = "https://mip.uedlu.cn";

}

});

function fun() {

$(time).text(t);

if(t <= 0) {

$("#avatar").attr("src",base64);

$(".van-overlay").show();

$(".van-popup--center").show();

$('.g_pop_mask').hide();

clearInterval(inter);

t = 5;

}

t--;

}

一键复制

编辑

Web IDE

原始数据

按行查看

历史

html摇晃的桃子代码,index.html相关推荐

  1. 通过设置css3实现摇晃的桃子

    石家庄邮电职业技术学院专属活动第2期:[校园前端学习笔记]主题征文 石家庄邮电职业技术学院社区 学号后四位:0232 知识点 @keyframes规则:创建动画,使 div 元素匀速运动 backgr ...

  2. 查看代码 index.html,Javascript查看大图功能代码实现

    功能与实现 点击小图片可以查看大图 实现就是把大图放置在顶层(z-index大于当前页面的),并且还可以加一些额外的比如透明度什么的. 大图以动画的形式出现 动画就是css动画样式了,可以自定义动画, ...

  3. 爱情树的html代码,index.html · RuanJiaFeng/爱情树 Html5实现唯美表白动画代码 - Gitee.com...

    jQuery+Html5实现唯美表白动画代码 .STYLE1 { color: #666666 } 本页面采用HTML5编辑,目前您的浏览器无法显示,请换成谷歌(Chrome)或者火狐(Firefox ...

  4. html默认下面,阅读下面配置web默认页面index.html的代码 index.html 下面选项中,说法正确的是() (多选)...

    [判断题]白酒的品尝三部曲为:观其色.闻其香和品其味. [单选题]以下不属于釉下彩的是 [单选题]在流动性偏好理论框架中,利率是由下列哪项的需求和供给决定的?( ) [单选题]假想投影画法中用()画出 ...

  5. html 换装游戏 代码,index.html

    DIY属于你的长安印象 html, body { -ms-touch-action: none; background: #E2BC89; padding: 0; border: 0; margin: ...

  6. 画西瓜图的html代码,index.html

    合成大西瓜 loading......0% --> var preloader; var adCompleteFlag = false; var resCompleteFlag = false; ...

  7. CSS3变形、渐变、动画的基本使用

    目录 CSS3 变形 2D转换 3D转换 CSS3颜色渐变 CSS3动画 transition过渡 animation动画 案例1:旋转的风车 案例2:摇晃的桃子 案例3:3D开门动画 总结 CSS3 ...

  8. html与css代码实现一个桃子动图

    石家庄邮电职业技术学院专属活动第2期:[校园前端学习笔记]主题征文 石家庄邮电职业技术学院社区 学号后四位:(必填)0227 邀请人ID:(非必填) 这篇文章将用html与css代码来实现一个有趣的桃 ...

  9. jQuery API之each、children、index的使用

    each 参数: function: 回调函数:函数参数为index, ele(DOM元素) 作用: 循环遍历jQ数组 code: <ul><li></li>< ...

最新文章

  1. 微信小程序bindtap 与 catchtap 是使用
  2. hibernate.hbm2ddl.auto的value
  3. 批量 杀掉 mysql 连接_批量杀死MySQL连接的几种方法
  4. 执行在一行中组合多个Linux命令
  5. 【NLP】Transformer及其变种
  6. [latex]图片动态缩放的PDF动画示例
  7. 关机时无人照管更新正在运行_了解iOS13.1后,在决定更新
  8. tensorflow 特征预处理总结
  9. [学习笔记] 七步从Angular.JS菜鸟到专家(3):数据绑定和AJAX [转]
  10. php分割文本读入数组,PHP fgets按行读取字符串和explode分割字符串为数组
  11. zoj2676 Network Wars 0-1分数规划
  12. 8. JavaScript HTML DOM 事件
  13. 领扣(LeetCode)七进制数 个人题解
  14. win10未检测到任何音频设备解决办法
  15. 进销存系统怎么部署到自己服务器,衡水进销存系统部署
  16. IDEA| java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context
  17. Spring 概述及优点
  18. Scrapy Tutorial
  19. 计算机网络的基本概念和因特网的基本知识
  20. 有限责任公司破产股东有哪些责任

热门文章

  1. 训练千亿参数模型的法宝,昇腾CANN异构计算架构来了~
  2. 七夕赶上服务器架构升级,女朋友的约会怎么办
  3. 图像视频压缩:深度学习,有一套
  4. 技术实践丨基于MindSpore框架Yolov3-darknet模型的篮球动作检测体验
  5. 昇腾AI处理器软件栈--运行管理器(Runtime)
  6. 【华为大咖分享】1.云上开发,代码托管只是第一步(后附PPT下载地址)
  7. 福建农商银行计算机类笔试题目,2020年福建福州农商银行免笔试面试试题
  8. poj 2263 最短路变形——最小边的最大值
  9. 艾宾浩斯记忆表格excel_考研干货 | 如何使用艾宾浩斯曲线帮助记忆知识
  10. EDGE浏览器配合阿呆喵设置广告过滤