This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
原始数据 | |
sandbox64378288034842b4a69a3da00cc4100e | |
appKey 7420320534529026 | |
auth_token 49bd335a-7aae-42ac-afc1-bf14ea84a5db | |
method fn.trades.sold.get | |
params {"pageCount":20,"orderType":4,"currPage":1,"dateType":7,"dateStart":"2016-01-01 00:00:00","dateEnd":"2016-11-04 11:22:56"} | |
timestamp 2016-11-04 11:22:56 | |
version 1.0 | |
sandbox64378288034842b4a69a3da00cc4100e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function panelStart() | |
{ | |
Form::macro('panel_start', function ($title = '') { | |
return '<div class="panel panel-default"> | |
<div class="panel-heading bg-white"> | |
<span class="font-bold">' . $title . '</span> | |
</div> | |
<div class="panel-body">'; | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".overlayLink").bind("mouseenter mouseleave",function(e){ | |
/** the width and height of the current div **/ | |
var w = $(this).width(); | |
var h = $(this).height(); | |
/** calculate the x and y to get an angle to the center of the div from that x and y. **/ | |
/** gets the x value relative to the center of the DIV and "normalize" it **/ | |
var x = (e.pageX - this.offsetLeft - (w/2)) * ( w > h ? (h/w) : 1 ); | |
var y = (e.pageY - this.offsetTop - (h/2)) * ( h > w ? (w/h) : 1 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arc_img{ | |
width: 160px; | |
height: 160px; | |
position: relative; | |
display: block; | |
overflow: hidden; | |
margin:200px auto; | |
box-shadow: 0 0 10px #FFF; | |
} | |
.light{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 加密 hash,生成发送给用户的 hash 字符串 | |
* | |
* @param array $hash_data | |
* @param string $hash_key | |
* @return string | |
*/ | |
function encode_hash($hash_data, $hash_key = false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="zh"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> | |
<title>untitled</title> | |
<link rel="stylesheet" href="" /> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box-shadow(@x: 0, @y: 1px, @blur: 1px, @color: #000) { | |
box-shadow: @x @y @blur @color; | |
-moz-box-shadow: @x @y @blur @color; | |
-webkit-box-shadow: @x @y @blur @color; | |
} | |
.inset-box-shadow(@x: 0, @y: 1px, @blur: 1px, @color: #000) { | |
box-shadow: inset @x @y @blur @color; | |
-moz-box-shadow: inset @x @y @blur @color; | |
-webkit-box-shadow: inset @x @y @blur @color; |