ChannelConfig.php 14.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
<?php

namespace Configs;

class ChannelConfig
{

    /**
     * 最新上架分类
     */
    public static $newArrivalSortList = array(
        //首页
        'boys' => array(
            array(
                'sort' => 147,
                'viewNum' => 5
            ), //休闲/运动鞋
            array(
                'sort' => 129,
                'viewNum' => 5
            ), //休闲裤
            array(
                'sort' => 152,
                'viewNum' => 5
            ), //双肩包
            array(
                'misort' => 11,
                'viewNum' => 5
            ), //T恤
            array(
                'sort' => 115,
                'viewNum' => 5
            ), //衬衫
            array(
                'sort' => 130,
                'viewNum' => 5
            ), //牛仔裤
            array(
                'misort' => 60,
                'viewNum' => 5
            ), //帽子
            array(
                'sort' => 124,
                'viewNum' => 5
            ), //夹克
            array(
                'sort' => 119,
                'viewNum' => 5
            ), //卫衣
            array(
                'sort' => 162,
                'viewNum' => 5
            ), //手表
            array(
                'sort' => 148,
                'viewNum' => 5
            ), //靴子
            array(
                'misort' => 65,
                'viewNum' => 5
            ), //首饰
            array(
                'sort' => 151,
                'viewNum' => 5
            ), //时装鞋
            array(
                'misort' => 61,
                'viewNum' => 5
            ), //太阳镜/眼镜
            array(
                'misort' => 39,
                'viewNum' => 5
            ), //袜子
            array(
                'sort' => 346,
                'viewNum' => 5
            ), //运动裤
            array(
                'sort' => 131,
                'viewNum' => 5
            ), //短裤
            array(
                'misort' => 66,
                'viewNum' => 5
            ), //配饰
            array(
                'misort' => 309,
                'viewNum' => 5
            ), //内裤
            array(
                'misort' => 30,
                'viewNum' => 5
            ), //打底裤/紧身裤
            array(
                'sort' => 342,
                'viewNum' => 5
            ), //邮差包
        ),
        //女首上架分类
        'girls' => array(
            array(
                'misort' => 16,
                'viewNum' => 4
            ), // 卫衣
            array(
                'misort' => 12,
                'viewNum' => 4
            ), //衬衫
            array(
                'misort' => 44,
                'viewNum' => 4
            ), //休闲/运动鞋
            array(
                'misort' => 11,
                'viewNum' => 4
            ), //T恤
            array(
                'misort' => 21,
                'viewNum' => 4
            ), //夹克
            array(
                'misort' => 257,
                'viewNum' => 4
            ), //毛衣/针织
            array(
                'misort' => 22,
                'viewNum' => 4
            ), //大衣/风衣
            array(
                'misort' => 26,
                'viewNum' => 4
            ), //休闲裤
            array(
                'misort' => 27,
                'viewNum' => 4
            ), //牛仔裤
            array(
                'misort' => 31,
                'viewNum' => 4
            ), //连衣裙
            array(
                'misort' => 32,
                'viewNum' => 4
            ), //半身裙
            array(
                'misort' => 48,
                'viewNum' => 4
            ), //时装鞋
            array(
                'misort' => 49,
                'viewNum' => 4
            ), //双肩包
            array(
                'misort' => 50,
                'viewNum' => 4
            ), //手拎包/单肩包
            array(
                'misort' => 60,
                'viewNum' => 4
            ), //帽子
            array(
                'misort' => 65,
                'viewNum' => 4
            ), //首饰
            array(
                'misort' => 59,
                'viewNum' => 4
            ), //手表
            array(
                'misort' => 61,
                'viewNum' => 4
            ), //太阳镜
            array(
                'misort' => 66,
                'viewNum' => 4
            ), //配饰
        ),
        //潮童上架分类
        'kids' => array(
            array(
                'misort' => 366,
                'viewNum' => 4
            ), // T恤
            array(
                'misort' => 367,
                'viewNum' => 4
            ), //衬衫
            array(
                'misort' => 396,
                'viewNum' => 4
            ), //卫衣
            array(
                'misort' => 400,
                'viewNum' => 4
            ), //毛衣/针织
            array(
                'misort' => 404,
                'viewNum' => 4
            ), //夹克
            array(
                'misort' => 369,
                'viewNum' => 4
            ), //休闲裤
            array(
                'misort' => 388,
                'viewNum' => 4
            ), //牛仔裤
            array(
                'misort' => 371,
                'viewNum' => 4
            ), //连衣裙
            array(
                'misort' => 370,
                'viewNum' => 4
            ), //半身裙
            array(
                'misort' => 368,
                'viewNum' => 4
            ), //休闲/运动鞋
            array(
                'misort' => 392,
                'viewNum' => 4
            ), //双肩包
            array(
                'misort' => 414,
                'viewNum' => 4
            ), //帽子
            array(
                'misort' => 372,
                'viewNum' => 4
            ), //短裤
            array(
                'misort' => 384,
                'viewNum' => 4
            ), //打底裤/紧身裤
            array(
                'misort' => 382,
                'viewNum' => 4
            ), //凉鞋/拖鞋
            array(
                'misort' => 402,
                'viewNum' => 4
            ), //马甲
            array(
                'misort' => 386,
                'viewNum' => 4
            ), //背心
            array(
                'misort' => 406,
                'viewNum' => 4
            ), //大衣/风衣
            array(
                'misort' => 430,
                'viewNum' => 4
            ), //羽绒服
            array(
                'misort' => 423,
                'viewNum' => 4
            ), //棉衣
            array(
                'misort' => 417,
                'viewNum' => 4
            ), //套装
        ),
        //创意生活上架分类
        'lifestyle' => array(
            array(
                'sort' => 171,
                'viewNum' => 5
            ), //耳机
            array(
                'sort' => 398,
                'viewNum' => 5
            ), //智能装备
            array(
                'sort' => 185,
                'viewNum' => 5
            ), //相机
            array(
                'misort' => 259,
                'viewNum' => 5
            ), //美妆
            array(
                'sort' => 267,
                'viewNum' => 5
            ), //杯子/水壶
            array(
                'sort' => 313,
                'viewNum' => 5
            ), //手机/ipad壳套
            array(
                'sort' => 211,
                'viewNum' => 5
            ), //数码配件
            array(
                'sort' => 292,
                'viewNum' => 5
            ), //玩偶
            array(
                'sort' => 272,
                'viewNum' => 5
            ), //储物收纳
            array(
                'sort' => 183,
                'viewNum' => 5
            ), //居家用品
            array(
                'sort' => 273,
                'viewNum' => 5
            ), //厨具/餐具
            array(
                'sort' => 271,
                'viewNum' => 5
            ), //靠枕/靠垫/抱枕
        ),
    );
    //from统计模块标识
    public static $itemFromStats = array(
        'search_index' => array('domain' => 'search', 'module' => 's'), //搜索页search.yohobuy.com
        'list_sale' => array('domain' => 'list', 'module' => 's'), //list.yohobuy.com/sale
        'list_index' => array('domain' => 'list', 'module' => 'c'), //list.yohobuy.com
        'list_new' => array('domain' => 'list', 'module' => 'n'), //list.yohobuy.com/new
        'index_brand' => array('domain' => 'brand', 'module' => 'b'), //xxx.yohobuy.com[品牌域名]
        'sale_index' => array('domain' => 'sale', 'module' => 's'), //sale.yohobuy.com
    );
    //左侧广告默认图片-passport相关页面
    public static $leftDefaultImg = '//img12.static.yhbimg.com/yhb-img01/2015/12/01/07/020a0b6e7ff908d0c2bc4045b4fef42b9f.png?imageView/2/w/252/h/190';
    //多品店品牌ID
    public static $moreBrandIds = array(1025, 504, 1351, 1362, 613, 456, 842,
        656, 1310, 1063, 861, 1417, 1200, 1207, 1209, 1306, 972, 308, 856);
    //默认头像
    public static $headDefaultImgIco = '//img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100';
    //商品详情页的默认头像
    public static $itemHeadDefaultImgIco = '//static.yohobuy.com/images/v3/boy.jpg';
    //性别
    public static $genderArr = array(
        array(
            'value' => 1,
            'text' => '男'
        ),
        array(
            'value' => 2,
            'text' => '女'
        )
    );
    //收入
    public static $incomeArr = array(
        array(
            'value' => '0',
            'text' => '请选择'
        ),
        array(
            'value' => '1',
            'text' => '1000以下'
        ),
        array(
            'value' => '2',
            'text' => '1000-2999'
        ),
        array(
            'value' => '3',
            'text' => '3000-5999'
        ),
        array(
            'value' => '4',
            'text' => '6000-7999'
        ),
        array(
            'value' => '5',
            'text' => '8000-10000'
        ),
        array(
            'value' => '6',
            'text' => '10000以上'
        )
    );
    //职业
    public static $professionArr = array(
        array(
            'value' => '1',
            'text' => '已工作'
        ),
        array(
            'value' => '2',
            'text' => '大学生'
        ),
        array(
            'value' => '3',
            'text' => '中学生'
        ),
        array(
            'value' => '4',
            'text' => '其他'
        ),
    );
    //购物习惯
    public static $shoppingHabits = array(
        array(
            'type' => 'radio',
            'key' => 'shopping',
            'value' => '1',
            'text' => '目的型购物',
        ),
        array(
            'type' => 'radio',
            'key' => 'shopping',
            'value' => '2',
            'text' => '冲动型购物'
        ),
        array(
            'type' => 'radio',
            'key' => 'shopping',
            'value' => '3',
            'text' => '保守型购物'
        )
    );
    //着装习惯
    public static $dressHabits = array(
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-1',
            'value' => '1',
            'text' => '正装',
        ),
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-2',
            'value' => '2',
            'text' => '商务'
        ),
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-3',
            'value' => '3',
            'text' => '街头流行'
        ),
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-4',
            'value' => '4',
            'text' => '运动休闲'
        ),
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-5',
            'value' => '5',
            'text' => '文艺气质'
        ),
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-6',
            'value' => '6',
            'text' => '甜美可爱'
        ),
        array(
            'type' => 'checkbox',
            'key' => 'dress[]',
            'index' => 'dress-7',
            'value' => '7',
            'text' => '另类'
        )
    );
    //登录-跳转到首页的url关键字
    public static $loginUrlKeys = array('reg.html', 'signin.html', 'passport/', 'logout.html');
    //换货期限
    public static $exchangeDay = 15;
    //退货期限
    public static $refundDay = 7;
    //支付方式
    public static $payType = array(
        '1' => '在线支付',
        '2' => '货到付款',
        '3' => '刷卡支付'
    );
    //送货时间
    public static $deliverTimeSpan = array(
        '1' => '只工作日送货(双休日、节假日不用送)',
        '2' => '工作日、双休日和节假日均送货',
        '3' => '只双休日、节假日送货(工作时间不送货)'
    );
    //投诉类型
    public static $complaintType = array(
        '0' => '全部',
        '1' => '产品相关',
        '2' => '物流相关'
    );
    //新图片地址配置
    public static $newImageServerUrl = array(
        'http://img03.static.yhbimg.com',
        'http://img04.static.yhbimg.com',
        'http://img05.static.yhbimg.com',
        'http://img06.static.yhbimg.com',
    );
    //order-type 订单类型取值 
    public static $allType = 1; //全部订单
    public static $unpayType = 2; //待付款订单
    public static $completeType = 5; //已完成订单
    public static $cancelType = 7; //取消订单
    public static $historyType = 8; //历史订单
    
    //order标签
    public static $orderTagArr = array(
        'gift' => array('name' => '赠品','classname' => 'freebie-tag'),
        'price_gift' => array('name' => '加价购','classname' => 'advance-buy-tag'),
        'advance' => array('name' => '预售','classname' => 'presall-tag'),
        'ticket' => array('name' => '虚拟商品','classname' => 'virtual-good-tag')
    );

}