mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 13:22:51 +00:00
选择图片可选择缩略图或者大图
This commit is contained in:
parent
cdf2582b8e
commit
e4c7756aca
@ -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),
|
||||
|
||||
@ -77,7 +77,11 @@
|
||||
{volist name="list" id="vo"}
|
||||
<div class="image-item">
|
||||
<div class="image-delete" data-url="{:Url('delete',array('att_id'=>$vo.att_id))}"></div>
|
||||
{if condition="$Request.param.big eq 1"}
|
||||
<img class="pic" src="{$vo.att_dir|ltrim='.'}" id="{$vo.att_id}"/>
|
||||
{else/}
|
||||
<img class="pic" src="{$vo.satt_dir|ltrim='.'}" id="{$vo.att_id}"/>
|
||||
{/if}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
85
application/routine/view/crmebN/app.json
Normal file
85
application/routine/view/crmebN/app.json
Normal file
@ -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": "我的"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -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;}
|
||||
|
||||
|
||||
@ -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";
|
||||
@import "/wxParse/wxParse.wxss";
|
||||
.wxParse-p{margin:0;padding:0;}
|
||||
32
application/routine/view/crmebN/project.config.json
Normal file
32
application/routine/view/crmebN/project.config.json
Normal file
@ -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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user