基本信息
源码名称:asp.net mvc网站换肤功能实现
源码大小:1.17M
文件格式:.zip
开发语言:C#
更新时间:2016-02-20
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
@using ModernSkins
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Layout</title>
@* The skin should be set once per request, in this scheme. *@
@Skin.SetSkin("my-skin")
@* Load the style bundles *@
@Skin.StyleBundle("single-css-file-bundle")
@Skin.StyleBundle("single-less-file-bundle")
@Skin.StyleBundle("single-sass-file-bundle")
@Skin.StyleBundle("single-scss-file-bundle")
@* Some styles to help with the test results. *@
<style>
section { margin: 1.5em; font-size: 1.5em; font-family: sans-serif; }
.script, .style { color: red; font-weight: bold; }
.script.pass, .style.pass { color: green; }
.style.pass:after, .script.pass:after { content: " PASS!" }
</style>
@* Script bundles are loaded at the bottom ;) *@
</head>
<body>
<section>
<h1>Modern Skins test website</h1>
<h2>Script bundles:</h2>
<p class="script" id="single-js-file"> Single JS file bundle not loaded.</p>
<p class="script" id="single-coffee-file"> Single Coffee file bundle not loaded.</p>
<p class="script" id="dir-js-bundle"> Directory of JS files bundle not loaded.</p>
<h2>Style bundles</h2>
<p class="style" id="single-css-file"> Single CSS file bundle <span>not</span> loaded.</p>
<p class="style" id="single-scss-file"> Single SCSS file bundle <span>not</span> loaded.</p>
<p class="style" id="single-sass-file"> Single SASS file bundle <span>not</span> loaded.</p>
<p class="style" id="single-less-file"> Single LESS file bundle <span>not</span> loaded.</p>
<h2>Partials</h2>
@Skin.Partial("SomePartial", Html)
<h2>Images</h2>
@Skin.Image("Fractal.png")
</section>
@Skin.ScriptBundle("single-js-file-bundle")
@Skin.ScriptBundle("dir-js-bundle")
@Skin.ScriptBundle("single-coffee-file-bundle")
</body>
</html>