MVC 4 Mobile& JQuery移动主题 [英] MVC 4 Mobile & JQuery Mobile Theme

查看:59
本文介绍了MVC 4 Mobile& JQuery移动主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一些测试MVC 4移动应用程序,一切似乎工作正常...我仍然在努力解决一些捆绑问题,但是做了一些挖掘我找到了BundleConfig.cs文件和我至少有一个线索...


我的问题是,我已经去了Jquery Mobile Theme Roller并创建了一个自定义主题...我实际上采用了默认(主题a到e),首先导入(从右上角的jquery链接)。然后我克隆了主题"E"进入主题"F",
对其进行了一些修改,最后对基础进行了一次或两次更改(将基本默认蓝色变为橙色只是为了好玩)。我的问题是......我现在如何使用这个新主题?


也许我错过了某个地方,但我已经取代了两个"jquery.mobile-1.1.0.css"。和  "jquery.mobile-1.1.0.min.css",并将_layout.cshtml文件更改为使用主题"f"...我得到了主题颜色的一部分,但它似乎没有显示我的新
主题更改......我还需要做些什么吗?是否有关于如何使用新主题结构的更好说明?


我们非常感谢任何帮助。


Stew Basterash


ME

解决方案

这是从去年开始,但看你是否在跟踪。


http://channel9.msdn.com/events / BUILD / BUILD2011 / TOOL-803T


chanmm


I've built a few test MVC 4 Mobile applications and everything seems to work fine... I'm still struggling with some of the bundling, but doing some digging I found the BundleConfig.cs file and I have at least a clue...

My question is, I've gone out to Jquery Mobile Theme Roller and created a custom theme... I actually took the default (themes a through e), imported that first (from the jquery link in the upper right hand corner). Then I cloned theme "E" into theme "F", made some modifications to that, and finally made one or two changes to the base (turned the base default Blue to Orange just for fun). My question is... How do I now use this new theme?

Perhaps I've missed something somewhere, but I have replaced both "jquery.mobile-1.1.0.css" and  "jquery.mobile-1.1.0.min.css", and changed the _layout.cshtml file to use theme "f"... I get part of the theme colors, but it doesn't seem to show my new theme changes... Is there something else I need to do? Is there perhaps some better instructions on how to use a new theme structure?

Any help would be much appreciated.

Stew Basterash


ME

解决方案

This is from last year but no harm to see whether you are on track.

http://channel9.msdn.com/events/BUILD/BUILD2011/TOOL-803T

chanmm


这篇关于MVC 4 Mobile& JQuery移动主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆