Commit e8ec2090 by doszhang

dos

parent 5515d77e
......@@ -122,6 +122,7 @@
</script>
<script src="__CDN__/js/jquery-2.1.3.min.js"></script>
<script src="__CDN__/js/jquery-notify.min.js"></script>
<script src="__CDN__/js/sortable.min.js/"></script>
{:block name='js'}{:/block}
<script>
window.wx && wx.ready(function () {
......
......@@ -193,6 +193,10 @@ input::-webkit-input-placeholder {
border-bottom: 0.05rem solid #222222;
}
.flag-sortable-active {
color: #c30101;
}
@keyframes trans {
to {
transform: translateY(0);
......
......@@ -169,7 +169,19 @@ $(document).ready(function () {
window.scroll(0, 0); //失焦后强制让页面归位
});
// $('.logo').css('top',getTranslateDistance(15));
//
$('.flag-list-content').attr('id', 'flag-list-content');
new Sortable(document.getElementById('flag-list-content'), {
animation: 150,
ghostClass: 'flag-sortable-active',
chosenClass: "flag-sortable-active",
delay: 100,
onChoose: function (event) {
console.log(event);
}
});
$('.page1 .btn-next').on('click', showFlagPage);
//换一换按钮点击
$('.flag-page .btn-change').on('click', changeFlag);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment