diff --git a/application/admin/controller/store/StoreProduct.php b/application/admin/controller/store/StoreProduct.php index 19d08549..96fcd7d2 100644 --- a/application/admin/controller/store/StoreProduct.php +++ b/application/admin/controller/store/StoreProduct.php @@ -146,7 +146,7 @@ class StoreProduct extends AuthController Form::input('keyword','产品关键字')->placeholder('多个用英文状态下的逗号隔开'), Form::input('unit_name','产品单位','件'), Form::frameImageOne('image','产品主图片(305*305px)',Url::build('admin/widget.images/index',array('fodder'=>'image')))->icon('image')->width('100%')->height('550px'), - Form::frameImages('slider_image','产品轮播图(640*640px)',Url::build('admin/widget.images/index',array('fodder'=>'slider_image')))->maxLength(5)->icon('images')->width('100%')->height('550px')->spin(0), + Form::frameImages('slider_image','产品轮播图(640*640px)',Url::build('admin/widget.images/index',array('fodder'=>'slider_image','big'=>1)))->maxLength(5)->icon('images')->width('100%')->height('550px')->spin(0), Form::number('price','产品售价')->min(0)->col(8), Form::number('ot_price','产品市场价')->min(0)->col(8), Form::number('give_integral','赠送积分')->min(0)->precision(0)->col(8), diff --git a/application/admin/view/widget/images.php b/application/admin/view/widget/images.php index 3ce59f1c..cd2ff88c 100644 --- a/application/admin/view/widget/images.php +++ b/application/admin/view/widget/images.php @@ -77,7 +77,11 @@ {volist name="list" id="vo"}
+ {if condition="$Request.param.big eq 1"} + + {else/} + {/if}
{/volist} diff --git a/application/routine/view/crmebN/app.json b/application/routine/view/crmebN/app.json new file mode 100644 index 00000000..32513e56 --- /dev/null +++ b/application/routine/view/crmebN/app.json @@ -0,0 +1,85 @@ +{ + "pages": [ + "pages/load/load", + "pages/login-status/login-status", + "pages/payment/payment", + "pages/new-con/new-con", + "pages/new-list/new-list", + "pages/enter/enter", + "pages/index/index", + "pages/refunding/refunding", + "pages/miao-list/miao-list", + "pages/coupon-status/coupon-status", + "pages/addaddress/addaddress", + "pages/product-countdown/index", + "pages/refund-page/refund-page", + "pages/refund-order/refund-order", + "pages/cut-one/cut-one", + "pages/spread/spread", + "pages/promotion-order/promotion-order", + "pages/coupon/coupon", + "pages/news-list/news-list", + "pages/product-con/index", + "pages/product-pinke/index", + "pages/comment-con/comment-con", + "pages/orderForm/orderForm", + "pages/orders-list/orders-list", + "pages/comment/comment", + "pages/foo-tan/foo-tan", + "pages/buycar/buycar", + "pages/mycut/mycut", + "pages/join-pink/index", + "pages/user/user", + "pages/integral-con/integral-con", + "pages/orders-con/orders-con", + "pages/order-confirm/order-confirm", + "pages/productSort/productSort", + "pages/address/address", + "pages/feree/feree", + "pages/feree-two/feree-two", + "pages/cash/cash", + "pages/logistics/logistics", + "pages/extension/extension", + "pages/unshop/unshop", + "pages/main/main", + "pages/collect/collect", + "pages/promotion-card/promotion-card" + ], + "window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "WeChat", + "navigationBarTextStyle": "black" + }, + "tabBar": { + "backgroundColor": "#FFFFFF", + "color": "#999", + "selectedColor": "#ff3d3d", + "list": [ + { + "pagePath": "pages/index/index", + "iconPath": "images/1-1.png", + "selectedIconPath": "images/1-2.png", + "text": "首页" + }, + { + "pagePath": "pages/productSort/productSort", + "iconPath": "images/2-1.png", + "selectedIconPath": "images/2-2.png", + "text": "分类" + }, + { + "pagePath": "pages/buycar/buycar", + "iconPath": "images/3-1.png", + "selectedIconPath": "images/3-2.png", + "text": "购物车" + }, + { + "pagePath": "pages/user/user", + "iconPath": "images/4-1.png", + "selectedIconPath": "images/4-2.png", + "text": "我的" + } + ] + } +} \ No newline at end of file diff --git a/application/routine/view/crmebN/pages/product-con/index.wxss b/application/routine/view/crmebN/pages/product-con/index.wxss index 834f700e..263a32cf 100644 --- a/application/routine/view/crmebN/pages/product-con/index.wxss +++ b/application/routine/view/crmebN/pages/product-con/index.wxss @@ -50,5 +50,5 @@ background-color:#fff;padding:8rpx 0;border-radius:0;margin:0;line-height:2;} } @import "/pages/foo-tan/foo-tan.wxss"; @import "/wxParse/wxParse.wxss"; - +.wxParse-p{padding: 0;margin: 0;} diff --git a/application/routine/view/crmebN/pages/product-countdown/index.wxss b/application/routine/view/crmebN/pages/product-countdown/index.wxss index 8ff4c837..fabbf965 100644 --- a/application/routine/view/crmebN/pages/product-countdown/index.wxss +++ b/application/routine/view/crmebN/pages/product-countdown/index.wxss @@ -53,4 +53,5 @@ swiper-item{position: relative; width: 100%;} .item-span{min-width:20rpx;height:20rpx;border-radius:50rpx;background-color:#ff3d3d;color: #fff;display:block;font-size:12rpx;text-align:center;line-height:20rpx;position:absolute;right:23rpx;top:0;} .countdown-time text{height:35rpx;padding:0 8rpx;display:inline-block;background-color:#fff;color:#ff3d3d;line-height:35rpx;border-radius:5rpx;margin-top:8rpx;} @import "/pages/foo-tan/foo-tan.wxss"; - @import "/wxParse/wxParse.wxss"; \ No newline at end of file + @import "/wxParse/wxParse.wxss"; + .wxParse-p{margin:0;padding:0;} \ No newline at end of file diff --git a/application/routine/view/crmebN/project.config.json b/application/routine/view/crmebN/project.config.json new file mode 100644 index 00000000..51dbdc16 --- /dev/null +++ b/application/routine/view/crmebN/project.config.json @@ -0,0 +1,32 @@ +{ + "description": "项目配置文件。", + "setting": { + "urlCheck": true, + "es6": true, + "postcss": true, + "minified": true, + "newFeature": true + }, + "compileType": "miniprogram", + "libVersion": "1.9.94", + "appid": "wx7bc36cccc15e4be2", + "projectname": "crmeb", + "condition": { + "search": { + "current": -1, + "list": [] + }, + "conversation": { + "current": -1, + "list": [] + }, + "game": { + "currentL": -1, + "list": [] + }, + "miniprogram": { + "current": -1, + "list": [] + } + } +} \ No newline at end of file