mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
fix style
This commit is contained in:
parent
1e3d3247a6
commit
4798faf4a9
@ -177,6 +177,7 @@ textarea{
|
|||||||
font-family: "Ubuntu";
|
font-family: "Ubuntu";
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
9
index.ls
9
index.ls
@ -27,7 +27,6 @@
|
|||||||
<script src="grs/gscripts/riot.compiler.min.js"> </script>
|
<script src="grs/gscripts/riot.compiler.min.js"> </script>
|
||||||
<script>
|
<script>
|
||||||
var scheme = undefined;
|
var scheme = undefined;
|
||||||
var obs = undefined;
|
|
||||||
function mailtoMe()
|
function mailtoMe()
|
||||||
{
|
{
|
||||||
if(scheme) return;
|
if(scheme) return;
|
||||||
@ -35,13 +34,10 @@
|
|||||||
$.get( "grs/sendto.html")
|
$.get( "grs/sendto.html")
|
||||||
.done(function(d) {
|
.done(function(d) {
|
||||||
scheme = $.parseHTML(d)
|
scheme = $.parseHTML(d)
|
||||||
obs = riot.observable()
|
var obs = riot.observable()
|
||||||
|
$(scheme).css("visibility","hidden")
|
||||||
$("#desktop").append(scheme)
|
$("#desktop").append(scheme)
|
||||||
scheme = scheme[0]
|
|
||||||
obs.on("exit", function(){
|
obs.on("exit", function(){
|
||||||
obs.off("rendered")
|
|
||||||
obs.off("exit")
|
|
||||||
obs = undefined;
|
|
||||||
$(scheme).remove()
|
$(scheme).remove()
|
||||||
scheme = undefined
|
scheme = undefined
|
||||||
})
|
})
|
||||||
@ -79,6 +75,7 @@
|
|||||||
alert("Service unavailable at the moment")
|
alert("Service unavailable at the moment")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
$(scheme).css("visibility","visible")
|
||||||
})
|
})
|
||||||
riot.mount(scheme, {observable:obs})
|
riot.mount(scheme, {observable:obs})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user