diff --git a/alipay/app.acss b/alipay/app.acss index 051dae4e00002b1be2e477b7a737f2036f364b68..80ee41afddcd0841a227e7fe384ece1ac941193e 100755 --- a/alipay/app.acss +++ b/alipay/app.acss @@ -72,7 +72,7 @@ textarea { .nav-submit-fixed { background: #eee; height: 46px; position: fixed; bottom: 0; z-index: 10; } -.tips { background: #ffffeb url('/images/tips.png') no-repeat 5rpx 16rpx; background-size: 26rpx 26rpx; color: #f7b240; border: 1px solid #faebd2; line-height: 36rpx; padding: 5px 5px 5px 15px; font-size: 26rpx; border-radius: 2px; display: block; } +.tips { background: #ffffeb url('/images/tips.png') no-repeat 5rpx 12rpx; background-size: 35rpx 35rpx; color: #f7b240; border: 1px solid #faebd2; line-height: 36rpx; padding: 5px 5px 5px 20px; font-size: 26rpx; border-radius: 2px; display: block; } .data-loding image { width: 60px; height: 60px; background-size: 80% 80% !important; } diff --git a/alipay/components/home-banner/home-banner.axml b/alipay/components/home-banner/home-banner.axml index c1bb5ab6dbce2068e7498be203d323899c71391f..efbf6edf9e7a2241a12151e37f9ea37badb09f59 100644 --- a/alipay/components/home-banner/home-banner.axml +++ b/alipay/components/home-banner/home-banner.axml @@ -13,7 +13,7 @@ - + \ No newline at end of file diff --git a/alipay/components/home-nav/home-nav.axml b/alipay/components/home-nav/home-nav.axml index 8111b4135d5674dfafe162f2d3644a6a3fec4a32..02d58ecb8ec35c3a2ec030de7dcc276f91af2a2e 100644 --- a/alipay/components/home-nav/home-nav.axml +++ b/alipay/components/home-nav/home-nav.axml @@ -9,7 +9,7 @@ - + diff --git a/alipay/images/tips.png b/alipay/images/tips.png old mode 100755 new mode 100644 index c7cfb238d9b6ad96dfb725af37a668363ce75af7..bf59c3cf12943c4edd5c0da9bb3f293a92772a6d Binary files a/alipay/images/tips.png and b/alipay/images/tips.png differ diff --git a/alipay/pages/index/index.axml b/alipay/pages/index/index.axml index facda51a86d90b5e8e821bc6c003ca8a999c4837..8c54f2626a3aff872c0ad7114b8d46d30e1a1925 100755 --- a/alipay/pages/index/index.axml +++ b/alipay/pages/index/index.axml @@ -1,11 +1,16 @@ - + + + + {{common_shop_notice}} + + diff --git a/alipay/pages/index/index.js b/alipay/pages/index/index.js index c2d9b60a6c7481bd8b050cc9d13972208796bbb6..cf5648124e0fee898047f0994f7fac661f544b57 100755 --- a/alipay/pages/index/index.js +++ b/alipay/pages/index/index.js @@ -9,6 +9,8 @@ Page({ data_list_loding_status: 1, data_bottom_line_status: false, data_list: [], + common_shop_notice: null, + is_enable_search: 1, load_status: 0, }, @@ -38,10 +40,12 @@ Page({ if (res.data.code == 0) { var data = res.data.data; self.setData({ - data_list: data, - indicator_dots: (data.length > 1), - autoplay: (data.length > 1), - data_list_loding_status: data.length == 0 ? 0 : 3, + data_list: data.data_list, + indicator_dots: (data.data_list.length > 1), + autoplay: (data.data_list.length > 1), + common_shop_notice: data.common_shop_notice || null, + is_enable_search: data.is_enable_search, + data_list_loding_status: data.data_list.length == 0 ? 0 : 3, data_bottom_line_status: true, }); } else { diff --git a/service/Application/Admin/Controller/AppConfigController.class.php b/service/Application/Admin/Controller/AppConfigController.class.php new file mode 100755 index 0000000000000000000000000000000000000000..bf4f9b273c0c77712d140db1f8db868977ee18ea --- /dev/null +++ b/service/Application/Admin/Controller/AppConfigController.class.php @@ -0,0 +1,64 @@ +Is_Login(); + + // 权限校验 + $this->Is_Power(); + } + + /** + * [Index 配置列表] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-06T21:31:53+0800 + */ + public function Index() + { + // 配置信息 + $data = M('Config')->getField('only_tag,name,describe,value,error_tips'); + $this->assign('data', $data); + + // 是否 + $this->assign('common_is_text_list', L('common_is_text_list')); + + $this->display('Index'); + } + + /** + * [Save 配置数据保存] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2017-01-02T23:08:19+0800 + */ + public function Save() + { + $this->MyConfigSave(); + } +} +?> \ No newline at end of file diff --git a/service/Application/Admin/View/Default/AppConfig/Index.html b/service/Application/Admin/View/Default/AppConfig/Index.html new file mode 100755 index 0000000000000000000000000000000000000000..7546080641a0858253ea12d2dc355646cb35ae0e --- /dev/null +++ b/service/Application/Admin/View/Default/AppConfig/Index.html @@ -0,0 +1,31 @@ + + + +
+
+ +
+
+ + +
+
+ + value="{{$data.common_app_customer_service_tel.value}}" /> +
+
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/service/Application/Admin/View/Default/AppMiniAlipayConfig/Index.html b/service/Application/Admin/View/Default/AppMiniAlipayConfig/Index.html index d2fc6a2ab2628d61517663d3f39b8b87ebb6d83a..fa6cfd9dbdcd98d853e966f123c3a4cf7b5079c8 100755 --- a/service/Application/Admin/View/Default/AppMiniAlipayConfig/Index.html +++ b/service/Application/Admin/View/Default/AppMiniAlipayConfig/Index.html @@ -30,10 +30,6 @@ value="{{$data.common_app_mini_alipay_describe.value}}" required /> -
- - value="{{$data.common_app_mini_alipay_customer_service_tel.value}}" /> -
diff --git a/service/Application/Admin/View/Default/Config/Index.html b/service/Application/Admin/View/Default/Config/Index.html index d05a190cb246ffe4a045c4a8f18f348d562fa89c..ddaffd608f46588e92b531c6c778163ffc952a2b 100755 --- a/service/Application/Admin/View/Default/Config/Index.html +++ b/service/Application/Admin/View/Default/Config/Index.html @@ -53,10 +53,15 @@ --> +
+ + +
+