订单类型 | 订单号 |
---|
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
class User extends Spine.Model | |
@configure 'User', 'name' | |
@extend Spine.Model.Ajax | |
@url: '/save' | |
user = new User(name: 'test') | |
# 设定/save直接返回 {flag: 0} | |
user.save() | |
User.bind 'update', (item) -> |
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
.modal-mask { | |
position: fixed; | |
left: 0; | |
top: 0; | |
bottom: 0; | |
right: 0; | |
background-color: #000; | |
opacity: 0.8; | |
} |
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
.page { | |
width: 40em; | |
} | |
.tip { | |
position: fixed; | |
left: 50%; | |
bottom: 0; | |
margin-left: 20em; /* $pageWidth / 2*/ | |
} |
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
# Configs | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
config secondsBetweenRepeat 0.1 | |
config checkDefaultsOnLoad true | |
config focusCheckWidthMax 3000 | |
config keyboardLayout qwerty | |
config windowHintsShowIcons true | |
config windowHintsIgnoreHiddenWindows 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
/** | |
* fall back in IE < 9 | |
* Set background alone if using Compass's css sprites, or IE8 will fail | |
* all background-image styles, for it doesn't support :checked | |
*/ | |
input[type="radio"] { | |
display: none; | |
} | |
input[type="radio"] + label { | |
padding-left: 15px; |
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
/** | |
* From twitter bootstrap | |
*/ | |
popoverArrowOuterWidth = 10px | |
popoverArrowWidth = 9px | |
popoverArrowOuterColor = #CCC | |
popoverArrowColor = #FFF | |
.popover | |
position: absolute |
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
<!-- | |
better name: wrapper -> roll | |
--> | |
<div class="slides"> | |
<div class="wrapper"> | |
<div class="slide"> | |
<img src="images/order-1.jpg" alt="" class="thumb" /> | |
</div> | |
<div class="slide"> | |
<img src="images/order-2.jpg" alt="" class="thumb" /> |
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
/** | |
* @see http://goo.gl/meG1Z | |
*/ | |
.hide-text { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} | |
/** |
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
// prevent repeat animation | |
$('#demo').stop().animate({...}); |
OlderNewer