<?php
namespace Our;
/**
 * User: liuyuzhen
 * Date: 2018/5/17
 * Time: 14:03
 * Description:
 */
class ImageConst{

    //图片本地临时存放路径
    const tempImageUploadPath = '/data/images/';

    //会员头像存放路径
    const memberAvatar = 'mall/avatar/';

    //会员头像前缀
    const memberAvatarPrefix = 'member_avatar_';

    //分类图标前缀
    const categoryPicPrefix = 'category-pic-';

    const topClassAdvImagePrefis = 'category-hdpic-'; //一级分类对应广告图前缀

    //商家举报图片存放路径
    const reportShops = 'mall/report/';

    //意见反馈图片存放路径
    const feedback = 'mall/feedback/';

    //销售员二维码存放路径
    const salesmanQr = 'mall/salesman_qr/';

    //商品图片存放路径
    const goods = 'mall/store/goods/';

    //商家头像/banner/资质图片存放路径
    const storeLabel= 'mall/store/';

    //注册相关图片存放路径
    const Register= 'mall/register/';

    const advPath = 'mall/adv/';

    //商品、商家头像等默认图片路径
    const defaultPath = 'mall/common/';

    const storeClassAdvImagePrefix = 'mall/store/goods/classify/';

    const defaultMemberAvatarName = 'default_member_avatar.jpg';

    const defaultStoreLabelName = 'default_store_avatar.jpg';

    const defaultStoreBannerName = 'default_store_banner.jpg';

    //图片指向的域名
    const imageDomain="ossHost";

    const systemAvatar= 'system/';

    const imagePgn='image/png';
    //系统默认头像名
    //系统头像
    const sysAvatarName='sys.jpg';
    //订单头像
    const orderAvatarName='order.jpg';
    //快递头像
    const expressAvatarName='express.jpg';
    const shareImage='share/';
    //商品评价图
    const goodsEvaluation = 'mall/evaluate/';
    //退款退货图片
    const refund='mall/refund/';
    //物流图片地址
    const expressPath='express/';

    //商家举报对应图片路径
    const reportPath = 'mall/report/';

    //及时消息对应的图片链接
    const imImagePath = 'im/';

    //店铺广告位路径
    const advSrcImagePath = 'mall/adv_src/';

    const frontLogPath = 'mall/log/';

    //可上传图片类型
    const uploadTypes = array(
        0=>self::defaultPath,
        1=>self::goodsEvaluation,
        2=>self::refund,
        3=>self::imImagePath,
        4=>self::reportPath,
        5=>self::memberAvatar
    );
    const ninTyPath='?x-oss-process=image/resize,m_fill,h_90,w_90';
    const sizeScale = 1.5;
    const goodsListImgSize = 334;
    const CommentGoodsImgSize = 138;
    const CommentDetailGoodsImgSize = 148;
    const SaleGoodsImgSize = 148;
    const SpecSelectGoodsImgSize = 450;//规格弹出框（含购物车）
    const goodsDetailImgSize = 750;
    const goodsCollectionImgSize = 336;
    const footPrintGoodsImgSize = 216;
    const circleStoreLabel = 124;
    const commentCircleStoreLabel = 48;
    const storeQualificationImg = 188;
    const storeCollectionImg = 112;
    const homeIndexHotGoodsImageSize =250;
    const goodsStoreImg = 100; //商品详情页的店铺头像
    const goodsGroupImg = 182;//商品/组合详情页的其他搭配图片
    const groupGoodsImg = 160; //组合详情页的搭配商品
    const storeGroupImg = 186; //店铺促销
    const storeGroupGoodsImg = 130;
    const salestoreImg = 129;//销售详情店铺头像

    const cartBlImage = 184;
    const cartBlDetailImage = 148;

}
