提交 e5e47a7b 编写于 作者: M Minwe

Footer removed powered by...

上级 bfbaccf8
# Amaze UI Change Log # Amaze UI Change Log
--- ---
### 2014.12 W2
**Web 组件:**
- `CHANGED` Footer 移除`云适配驱动`
## Amaze UI 2.0.0 ## Amaze UI 2.0.0
### 2014.12 W1 ### 2014.12 W1
...@@ -12,7 +18,7 @@ ...@@ -12,7 +18,7 @@
**JS**: **JS**:
- `FIXED` #165 部分浏览器中 Dropdown 收回去时闪烁问题。 - `FIXED` #165 部分浏览器中 Dropdown 收回去时闪烁问题。
......
# Footer 更细记录 # Footer 更细记录
--- ---
## v3.1.0 (2014.12.08)
- `CHANGED` Remove powered by。
## v3.0.0 (2014.10.30) ## v3.0.0 (2014.10.30)
- `NEW` 使用 jQuery。 - `NEW` 使用 jQuery。
......
...@@ -40,7 +40,6 @@ __数据说明:__ ...@@ -40,7 +40,6 @@ __数据说明:__
- `switchName`:可写:手机版等,默认 `云适配版` - `switchName`:可写:手机版等,默认 `云适配版`
- `owner`:网站名字; - `owner`:网站名字;
- `slogan`:弹出层广告语; - `slogan`:弹出层广告语;
- `poweredBy`:默认 `本手机网站由云适配服务`
- `companyInfo`:填写公司相关信息,此为一对象数组,每一条信息通过对detail赋值来实现! - `companyInfo`:填写公司相关信息,此为一对象数组,每一条信息通过对detail赋值来实现!
### Add to Homescreen ### Add to Homescreen
...@@ -82,7 +81,6 @@ window.AMUI_NO_ADD2HS = true; ...@@ -82,7 +81,6 @@ window.AMUI_NO_ADD2HS = true;
"switchName": "", "switchName": "",
"owner": "", "owner": "",
"slogan": "", "slogan": "",
"poweredBy": "",
"companyInfo": [ "companyInfo": [
{ {
"detail": "" "detail": ""
......
{ {
"name": "footer", "name": "footer",
"version": "3.0.0", "version": "3.1.0",
"localName": { "localName": {
"en": "Footer", "en": "Footer",
......
...@@ -37,17 +37,6 @@ ...@@ -37,17 +37,6 @@
target="_blank">{{{options.techSupportCo}}}</a>{{else}}{{{options.techSupportCo}}}{{/if}} target="_blank">{{{options.techSupportCo}}}</a>{{else}}{{{options.techSupportCo}}}{{/if}}
提供技术支持</p> 提供技术支持</p>
{{/ifCond}} {{/ifCond}}
{{/if}}
{{#if content.poweredBy }}
{{ content.poweredBy }}
{{else}}
{{#ifCond content.lang '==' 'en'}}
<p>Powered by AllMobilize.</p>
{{else}}
<p>云适配驱动</p>
{{/ifCond}}
{{/if}} {{/if}}
{{#each content.companyInfo}} {{#each content.companyInfo}}
<p>{{{detail}}}</p> <p>{{{detail}}}</p>
...@@ -55,7 +44,7 @@ ...@@ -55,7 +44,7 @@
</div> </div>
</footer> </footer>
<div id="am-footer-mode" <div id="am-footer-modal"
class="am-modal am-modal-no-btn am-switch-mode-m {{#if theme}}am-switch-mode-m-{{theme}}{{/if}}"> class="am-modal am-modal-no-btn am-switch-mode-m {{#if theme}}am-switch-mode-m-{{theme}}{{/if}}">
<div class="am-modal-dialog"> <div class="am-modal-dialog">
<div class="am-modal-hd am-modal-footer-hd"> <div class="am-modal-hd am-modal-footer-hd">
......
...@@ -9,7 +9,7 @@ var cookie = require('./util.cookie'); ...@@ -9,7 +9,7 @@ var cookie = require('./util.cookie');
function footerInit() { function footerInit() {
// modal mode // modal mode
$('.am-footer-ysp').on('click', function() { $('.am-footer-ysp').on('click', function() {
$('#am-footer-mode').modal(); $('#am-footer-modal').modal();
}); });
!window.AMUI_NO_ADD2HS && addToHS(); !window.AMUI_NO_ADD2HS && addToHS();
...@@ -32,6 +32,6 @@ $(window).on('load', function() { // make sure `window.AMPlatform` is usable ...@@ -32,6 +32,6 @@ $(window).on('load', function() { // make sure `window.AMPlatform` is usable
}); });
module.exports = $.AMUI.footer = { module.exports = $.AMUI.footer = {
VERSION: '3.0.0', VERSION: '3.1.0',
init: footerInit init: footerInit
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册