diff --git a/lib/watcher.js b/lib/watcher.js index d80edec..84576a0 100644 --- a/lib/watcher.js +++ b/lib/watcher.js @@ -2,6 +2,7 @@ var chokidar = require('chokidar'); var io = require('./socket'); var path = require('path'); var clc = require('cli-color'); +var cwd = process.cwd(); chokidar.watch(path.join(process.cwd())) .on('change', function(path) { if (isType(path, 'ftl')) { @@ -16,7 +17,9 @@ chokidar.watch(path.join(process.cwd())) if( isType(path, 'js')) { io.emit('reloadAll'); } - console.log(clc.blackBright(path) + ': ' + clc.green('changed')); + console.log( + clc.bgMagenta('|watch|'), + clc.blackBright('["' + path.replace(cwd + '/', '') + '"]') + ' ' + clc.green('changed')); }); function isType(path, type) { diff --git a/routes/reload.js b/routes/reload.js index 8116508..0606cb3 100644 --- a/routes/reload.js +++ b/routes/reload.js @@ -11,15 +11,15 @@ var types = [ ]; router.get('*', function(req, res, next) { var file; - if (req.url == '/') { - var _fi = existIndex(); + if (req.url.slice(-1) == '/') { + var _fi = existIndex(req.url); _fi ? file = _fi : next(); } else { var _ft = existType(req.url); - _ft ? file = _ft : next(); + _ft ? file = _ft : next(); } if (file) { - sendRenderHtml(path.join(cwd, file), res); + sendRenderHtml(file, res); } }); @@ -39,10 +39,11 @@ function sendRenderHtml(file, res) { }); } -function existIndex() { +function existIndex(url) { for (var i = 0, len = types.length; i < len; i ++) { - if (fs.existsSync(path.join(cwd, 'index' + types[i]))) { - return 'index' + types[i]; + url = path.join(cwd, url,'index' + types[i]); + if (fs.existsSync(url)) { + return url; } return false; } @@ -51,6 +52,7 @@ function existIndex() { function existType(url) { for (var i = 0, len = types.length; i < len; i ++ ) { if (url.indexOf(types[i]) > -1) { + url = path.join(cwd, url); return url; } } diff --git a/template/app/config.json b/template/app/config.json new file mode 100644 index 0000000..a81ac0e --- /dev/null +++ b/template/app/config.json @@ -0,0 +1,486 @@ +{ + "resize": { + "path": "/Users/elr-mbp/Desktop/guangzhou/", + "width": 180, + "height": 180 + }, + "deployPath": "70s/1406-1/", + "prizeSwitch": 1, + "ajaxList": { + "/prize/ajax/prizeDraw?groupId=393": { + "code": 200, + "msg": { + "chanceNum": 498, + "recordId": 2258566, + "prize": { + "memo": "", + "pic": "", + "prizeId": 1798, + "prizeName": "1.8", + "prizeType": 1.8, + "rank": 1 + } + } + }, + "/prize/ajax/prizeDraw?groupId=389": { + "code": 200, + "msg": { + "chanceNum": 498, + "recordId": 2258566, + "prize": { + "memo": "", + "pic": "", + "prizeId": 1798, + "prizeName": "1.8", + "prizeType": 1.8, + "rank": 1 + } + } + }, + "/activityvip/hLife/addHLifeUser?cityID=0":{ + "code":200, + "msg":{ + "status":1, + "userID":2131, + "loveNum":2 + } + }, + "/activityvip/hLife/addHLifeCommend":{ + "code":200 + }, + "/activityvip/hLife/addHLifeTryDriver?name=1&phoneNum=13127995662&cityID=1":{ + "code":200 + }, + "/activityvip/hLife/getShopByCityID?cityID=8": { + "code": 200, + "shopDTOs": [{ + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 234, + "nowPrice": "25.0", + "num": null, + "oldPrice": "46.0", + "saledNum": 0, + "shopID": 5091832, + "shopIntroduce": "6666品古镇文化风韵,赏庭院美景如画,尝缤纷美味小吃", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "南翔老街景点联票", + "status": 1 + }] + }, + "/activityvip/hLife/getShopByCityID?cityID=5": { + "code": 200, + "shopDTOs": [{ + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 234, + "nowPrice": "25.0", + "num": null, + "oldPrice": "46.0", + "saledNum": 0, + "shopID": 5091832, + "shopIntroduce": "5555品古镇文化风韵,赏庭院美景如画,尝缤纷美味小吃", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "南翔老街景点联票", + "status": 1 + }] + }, + "/activityvip/hLife/getShopByCityID?cityID=4": { + "code": 200, + "shopDTOs": [{ + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 234, + "nowPrice": "25.0", + "num": null, + "oldPrice": "46.0", + "saledNum": 0, + "shopID": 5091832, + "shopIntroduce": "4444品古镇文化风韵,赏庭院美景如画,尝缤纷美味小吃", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "南翔老街景点联票", + "status": 1 + }] + }, + "/activityvip/hLife/getShopByCityID?cityID=3": { + "code": 200, + "shopDTOs": [{ + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 234, + "nowPrice": "25.0", + "num": null, + "oldPrice": "46.0", + "saledNum": 0, + "shopID": 5091832, + "shopIntroduce": "333品古镇文化风韵,赏庭院美景如画,尝缤纷美味小吃", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "南翔老街景点联票", + "status": 1 + }] + }, + "/activityvip/hLife/getShopByCityID?cityID=2": { + "code": 200, + "shopDTOs": [{ + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 234, + "nowPrice": "25.0", + "num": null, + "oldPrice": "46.0", + "saledNum": 0, + "shopID": 5091832, + "shopIntroduce": "222品古镇文化风韵,赏庭院美景如画,尝缤纷美味小吃", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "南翔老街景点联票", + "status": 1 + }] + }, + "/activityvip/hLife/getShopByCityID?cityID=1": { + "code": 200, + "shopDTOs": [{ + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 234, + "nowPrice": "25.0", + "num": null, + "oldPrice": "46.0", + "saledNum": 0, + "shopID": 5091832, + "shopIntroduce": "111品古镇文化风韵,赏庭院美景如画,尝缤纷美味小吃", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "南翔老街景点联票", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 233, + "nowPrice": "125.0", + "num": null, + "oldPrice": "338.0", + "saledNum": 0, + "shopID": 2008532, + "shopIntroduce": "静静观赏水乡风貌,感受民俗风情,梦回周庄,奇美景致!", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "周庄一日游(含船票和演出)", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 232, + "nowPrice": "98.0", + "num": null, + "oldPrice": "128.0", + "saledNum": 0, + "shopID": 6169581, + "shopIntroduce": "环境很好,服务也热情!提供免费wifi,免费停车,男女通用!", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "极乐汤碧云温泉馆", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 231, + "nowPrice": "98.0", + "num": null, + "oldPrice": "196.0", + "saledNum": 0, + "shopID": 15907964, + "shopIntroduce": "节假日通用!提供免费wifi,免费停车!", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "万幕私人影院", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 230, + "nowPrice": "185.0", + "num": null, + "oldPrice": "200.0", + "saledNum": 0, + "shopID": 2858632, + "shopIntroduce": "可免费携带儿童!节假日通用,无需集合", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "上海欢乐谷", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 229, + "nowPrice": "150.0", + "num": null, + "oldPrice": "360.0", + "saledNum": 0, + "shopID": 9335488, + "shopIntroduce": "4大密室主题+真人CS任你玩", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "77真人密室逃脱+真人CS", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 228, + "nowPrice": "0.0", + "num": null, + "oldPrice": "0.0", + "saledNum": 0, + "shopID": 15924139, + "shopIntroduce": "聚会多快乐,优惠齐分享", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "昱工坊DIY", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 227, + "nowPrice": "49.0", + "num": null, + "oldPrice": "90.0", + "saledNum": 0, + "shopID": 3384955, + "shopIntroduce": "百玩不厌,增强体魄,锻炼毅力,给孩子一个多彩童年", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "大玩家儿童乐园(周浦万达店)", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 226, + "nowPrice": "58.0", + "num": null, + "oldPrice": "160.0", + "saledNum": 0, + "shopID": 17966703, + "shopIntroduce": "", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "宝贝驾到婴童SPA生活馆(文涵店)", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 225, + "nowPrice": "89.9", + "num": null, + "oldPrice": "100.0", + "saledNum": 0, + "shopID": 13891985, + "shopIntroduce": "茶餐厅式的本帮菜馆,地道老上海味道一应俱全!", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "锦逸", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 224, + "nowPrice": "89.9", + "num": null, + "oldPrice": "100.0", + "saledNum": 0, + "shopID": 6422744, + "shopIntroduce": "好吃 实惠 服务好 装修很有老上海调调", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "年代秀飯堂(人民广场店)", + "status": 1 + }, { + "activityID": 177, + "cityID": 1, + "foretasteFund": null, + "groupNum": null, + "groupType": 0, + "id": 223, + "nowPrice": "88.0", + "num": null, + "oldPrice": "100.0", + "saledNum": 0, + "shopID": 17877763, + "shopIntroduce": "韩寒的店", + "shopPic": "http:\/\/i2.s2.51ping.com\/pc\/promo\/d83c230e10d185b605d85738e78b6121(440c272)\/thumb.jpg", + "shopTitle": "很高兴遇见你(旗舰店)", + "status": 1 + }] + }, + + "/prize/ajax/recordList?groupId=198&max=20": { + "code": 200, + "groupId": 231, + "max": 13, + "msg": { + "recordList": [{ + "addDate": "2014-06-12 09:55", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1861374, + "userFace": "http://i3.dpfile.com/pc/9b43a8f51ba401fa0ed815ae9fcde6a0(48c48)/thumb.jpg", + "userId": 2492350, + "userNickName": "糖盒子__行大运" + }, { + "addDate": "2014-06-12 09:51", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1861303, + "userFace": "http://i3.dpfile.com/u/20101128/5958683_80665_s.jpg", + "userId": 5958683, + "userNickName": "五月的花儿别样红" + }, { + "addDate": "2014-06-12 09:33", + "groupId": 231, + "prizeId": 1936, + "prizeName": "20只小龙虾", + "recordId": 1860932, + "userFace": null, + "userId": 63414259, + "userNickName": "dpuser_5258070007" + }, { + "addDate": "2014-06-12 09:31", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860881, + "userFace": "http://i1.dpfile.com/comm/userface/5932/2725932_57723_s.jpg", + "userId": 2725932, + "userNickName": "李二小姐" + }, { + "addDate": "2014-06-12 09:15", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860557, + "userFace": "http://i2.dpfile.com/pc/1030ea9e8407310263ea5bc3d6a67a4c(48c48)/thumb.jpg", + "userId": 803778, + "userNickName": "xiu570822" + }, { + "addDate": "2014-06-12 09:15", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860543, + "userFace": "http://i3.dpfile.com/pc/cf288054af3f33e63991569e764c5484(48c48)/thumb.jpg", + "userId": 14377164, + "userNickName": "huniuniumama" + }, { + "addDate": "2014-06-12 08:50", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860097, + "userFace": "http://i2.dpfile.com/pc/f95e5621fc15c025aa71fb095d2cd793(48c48)/thumb.jpg", + "userId": 4524686, + "userNickName": "月亮5663" + }, { + "addDate": "2014-06-12 08:32", + "groupId": 231, + "prizeId": 1936, + "prizeName": "20只小龙虾", + "recordId": 1859851, + "userFace": null, + "userId": 45447012, + "userNickName": "桃子麻麻8010" + }, { + "addDate": "2014-06-12 08:26", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859773, + "userFace": "http://i3.dpfile.com/pc/dedf6483a8480d297563c80902cc521b(48c48)/thumb.jpg", + "userId": 4018086, + "userNickName": "璐珠菁盈" + }, { + "addDate": "2014-06-12 08:16", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859684, + "userFace": null, + "userId": 49200154, + "userNickName": "周周112132" + }, { + "addDate": "2014-06-12 06:59", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859419, + "userFace": null, + "userId": 45446373, + "userNickName": "th1333" + }, { + "addDate": "2014-06-12 05:51", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859338, + "userFace": "http://i2.dpfile.com/comm/userface/8804/1438804_67472_s.jpg", + "userId": 1438804, + "userNickName": "heriver" + }, { + "addDate": "2014-06-12 00:31", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1858928, + "userFace": "http://i3.dpfile.com/pc/ab4bea374a494d50cf71d4a2f14ae72a(48c48)/thumb.jpg", + "userId": 2920692, + "userNickName": "蛋奶星星茶" + }] + } + }, + "/ajax/json/account/info": { + "code": 200, + "msg": { + "id": 15448257, + "email": "244883833@qq.com", + "name": "都被占用了啊", + "mobile": "13391129699" + } + } + } +} \ No newline at end of file diff --git a/template/app/css/main.css b/template/app/css/main.css new file mode 100644 index 0000000..905e16c --- /dev/null +++ b/template/app/css/main.css @@ -0,0 +1,38 @@ +body +{ + font-family: 微软雅黑; + font-size: 13px; + + position: relative; + + width: 100%; + height: 100%; + margin: 0; + padding: 0; + + background: #fff; +} +div, +ul +{ + margin: 0; + padding: 0; +} +img +{ + width: 100%; + margin: 0; + padding: 0; + + vertical-align: middle; +} +li +{ + list-style: none; +} +input +{ + border: none; + outline: none; + background: none; +} diff --git a/template/app/index.html b/template/app/index.html new file mode 100644 index 0000000..8420a32 --- /dev/null +++ b/template/app/index.html @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/template/app/js/dpShare.js b/template/app/js/dpShare.js new file mode 100644 index 0000000..de25d24 --- /dev/null +++ b/template/app/js/dpShare.js @@ -0,0 +1,164 @@ +window.share_url = "http://event.dianping.com/market/地址阿亲/index.html?platform=notindp"; +window.share_desc = ""; +window.share_title = ""; +window.share_img = ""; +try { + + window.DPAppUp = {}; + window.DPAppUp.shareConfig = { + url: window.share_url, + image: window.share_img, + title: window.share_title, + desc: window.share_title + } + + function initShare() { + var iframe = document.createElement("iframe"), + frameContainer = document.createElement("div"), + shareConfig = "dpshare://_?content=" + encodeURIComponent(JSON.stringify(window.DPAppUp.shareConfig)); + frameContainer.setAttribute('style', 'display:none'); + frameContainer.appendChild(iframe); + document.body.appendChild(frameContainer); + iframe.setAttribute("src", shareConfig); + } + + window.onload = function() { + + function getQueryStringByName(name) { + var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i")); + if (result == null || result.length < 1) { + return ""; + } + return result[1]; + }; + initShare(); + } + +} catch (e) { + +} + + +function autoListenWx(shareWX, shareWXTL) { + document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() { + WeixinJSBridge.on('menu:share:appmessage', function(argv) { + WeixinJSBridge.invoke('sendAppMessage', shareWX, function(res) {}); + }); + WeixinJSBridge.on('menu:share:timeline', function(argv) { + WeixinJSBridge.invoke('shareTimeline', shareWXTL, function(res) {}); + }); + }, false); +} + +function share_Wx_Dp_Attach(args) { + function getQueryStringByName(name) { + var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i")); + if (result == null || result.length < 1) { + return ""; + } + return result[1]; + } + + function is_notInDp() { + var platform = getQueryStringByName('platform'); + if (platform == 'notindp') { + return true; + } + return false; + } + + function is_weixin() { + var ua = navigator.userAgent.toLowerCase(); + if (ua.match(/MicroMessenger/i) == "micromessenger") { + return true; + } else { + return false; + } + } + + function isInDp() { + var userAgent = window.navigator.userAgent.toLowerCase(), + isInDp = !userAgent.match(/MicroMessenger/i); + return isInDp; + } + + function isInSina() { + var userAgent = window.navigator.userAgent.toLowerCase(), + isInSina = userAgent.match(/weibo/i); + return isInSina; + } + + function isInTenXun() { + var userAgent = window.navigator.userAgent.toLowerCase(), + isInTenXun = userAgent.match(/tencentmicroblog/i); + return isInTenXun; + } + + function sinaShare(c) { + var pic = c.image; + var url = 'http://v.t.sina.com.cn/share/share.php?appkey=1392673069&url=' + encodeURIComponent(c.url) + '&title=' + encodeURIComponent(c.title + c.desc) + '&content=utf-8' + '&pic=' + encodeURIComponent(pic); + //window.open(url, '_blank'); + location.href = url; + }; + + function tengxunShare(c) { + var pic = c.image; + var url = 'http://share.v.t.qq.com/index.php?c=share&a=index&source=1000013&url=' + encodeURIComponent(c.url) + '&title=' + encodeURIComponent(c.title + c.desc) + '&content=utf-8' + '&pic=' + encodeURIComponent(pic); + //window.open(url, '_blank'); + location.href = url; + }; + + + function showShareTips(info) { + var tips = $('

').css({ + 'z-index': '999', + 'font-size': '13px', + 'line-height': '180%', + 'position': 'fixed', + 'width': document.documentElement.scrollWidth, + 'height': document.documentElement.clientHeight, + 'margin': 0, + 'padding': '40px 10px', + 'color': ' #fff', + 'background-color': 'rgba(0,0,0,.8)', + 'top': 0, + 'left': 0, + 'background-image': 'url(http://si1.s1.dpfile.com/t/cssnew/events/labevent/seefilm/mmimages/share-cover-tips.e3893cb7ee521914fd768d05fab419b3.png)', + 'background-repeat': 'no-repeat', + '-webkit-background-size': '100% auto', + 'background-size': '100% auto' + }).appendTo($('body')); + if (info) { + tips.html(info); + } + tips.on('click', function() { + tips.remove(); + }); + setTimeout(function() { + tips.remove(); + }, 3000); + } + if (is_weixin()) { + showShareTips(); + return; + } + if (typeof WeixinJSBridge != 'undefined') { + showShareTips(); + return; + }; + if (isInSina()) { + sinaShare(args); + return; + } + if (isInTenXun()) { + tengxunShare(args); + return; + } + if (is_notInDp()) { + return; + } + if (isInDp()) { + args = (typeof args === 'object') ? JSON.stringify(args) : args + ''; + location.href = "js://_?method=share&args=" + encodeURIComponent(args); + } +} \ No newline at end of file diff --git a/template/app/js/index.js b/template/app/js/index.js new file mode 100644 index 0000000..04aea45 --- /dev/null +++ b/template/app/js/index.js @@ -0,0 +1,86 @@ +window.shareUrl = window.share_url; +window.shareImg = window.share_img; +window.shareDesc = window.share_desc; +window.shareTitle = window.share_title; +window.shareWX = { + appid: 'wx841a97238d9e17b2', + title: shareTitle, + desc: shareDesc, + link: shareUrl, + img_url: shareImg, +}; +window.shareWXTL = $.extend({}, shareWX); +shareWXTL.title = shareWX.desc; +window.shareApp = { + title: shareDesc, + desc: shareTitle + " " + shareDesc + shareUrl, //fix ios app, so android may have double + url: shareUrl, + image: shareImg +}; +autoListenWx(shareWX, shareWXTL); +//share_Wx_Dp_Attach(shareApp); +$(document).ready(function() { + //commonly used------------------------------------------------------------------- + var ajax_prize = "/prize/ajax/prizeDraw?groupId=198", + words_notLogin = "对不起,您还没有登陆,请先登陆!", + ajax_send_tel = '/prize/ajax/userInfo', + rand = function() { + return (" " + Math.random()).split('.')[1]; + }, + indexPlat = function() { + if (getQueryStringByName('platform') == 'notindp') { + return "index.html?platform=notindp"; + } + return "index.html"; + }; + //this is for code---------------------------------------------------------------- + //****************---------------------------------------------------------------- + //****************---------------------------------------------------------------- + //****************---------------------------------------------------------------- + //write something + + + + + //****************---------------------------------------------------------------- + //****************---------------------------------------------------------------- + //****************---------------------------------------------------------------- + //commonly used------------------------------------------------------------------- + function setCookie(c_name, value, expiredays, domain) { + var exdate = new Date() + exdate.setDate(exdate.getDate() + expiredays) + document.cookie = c_name + "=" + escape(value) + ";path=/" + + ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString()) + } + + function getCookie(c_name) { + if (document.cookie.length > 0) { + c_start = document.cookie.indexOf(c_name + "=") + if (c_start != -1) { + c_start = c_start + c_name.length + 1 + c_end = document.cookie.indexOf(";", c_start) + if (c_end == -1) c_end = document.cookie.length + return unescape(document.cookie.substring(c_start, c_end)) + } + } + return "" + } + + function getQueryStringByName(name) { + var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i")); + if (result == null || result.length < 1) { + return ""; + } + return result[1]; + }; + + function isLogin() { + $.ajax({ + url: '/ajax/json/account/info', + success: function(data) { + console.log(data); + } + }) + } + +}) \ No newline at end of file diff --git a/template/app/js/zepto.min.js b/template/app/js/zepto.min.js new file mode 100644 index 0000000..0b2f97a --- /dev/null +++ b/template/app/js/zepto.min.js @@ -0,0 +1,2 @@ +/* Zepto v1.1.3 - zepto event ajax form ie - zeptojs.com/license */ +var Zepto=function(){function L(t){return null==t?String(t):j[T.call(t)]||"object"}function Z(t){return"function"==L(t)}function $(t){return null!=t&&t==t.window}function _(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function D(t){return"object"==L(t)}function R(t){return D(t)&&!$(t)&&Object.getPrototypeOf(t)==Object.prototype}function M(t){return"number"==typeof t.length}function k(t){return s.call(t,function(t){return null!=t})}function z(t){return t.length>0?n.fn.concat.apply([],t):t}function F(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function q(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function H(t,e){return"number"!=typeof e||c[F(t)]?e:e+"px"}function I(t){var e,n;return u[t]||(e=a.createElement(t),a.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),u[t]=n),u[t]}function V(t){return"children"in t?o.call(t.children):n.map(t.childNodes,function(t){return 1==t.nodeType?t:void 0})}function U(n,i,r){for(e in i)r&&(R(i[e])||A(i[e]))?(R(i[e])&&!R(n[e])&&(n[e]={}),A(i[e])&&!A(n[e])&&(n[e]=[]),U(n[e],i[e],r)):i[e]!==t&&(n[e]=i[e])}function B(t,e){return null==e?n(t):n(t).filter(e)}function J(t,e,n,i){return Z(e)?e.call(t,n,i):e}function X(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function W(e,n){var i=e.className,r=i&&i.baseVal!==t;return n===t?r?i.baseVal:i:void(r?i.baseVal=n:e.className=n)}function Y(t){var e;try{return t?"true"==t||("false"==t?!1:"null"==t?null:/^0/.test(t)||isNaN(e=Number(t))?/^[\[\{]/.test(t)?n.parseJSON(t):t:e):t}catch(i){return t}}function G(t,e){e(t);for(var n in t.childNodes)G(t.childNodes[n],e)}var t,e,n,i,C,N,r=[],o=r.slice,s=r.filter,a=window.document,u={},f={},c={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},l=/^\s*<(\w+|!)[^>]*>/,h=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,p=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,d=/^(?:body|html)$/i,m=/([A-Z])/g,g=["val","css","html","text","data","width","height","offset"],v=["after","prepend","before","append"],y=a.createElement("table"),x=a.createElement("tr"),b={tr:a.createElement("tbody"),tbody:y,thead:y,tfoot:y,td:x,th:x,"*":a.createElement("div")},w=/complete|loaded|interactive/,E=/^[\w-]*$/,j={},T=j.toString,S={},O=a.createElement("div"),P={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},A=Array.isArray||function(t){return t instanceof Array};return S.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=O).appendChild(t),i=~S.qsa(r,e).indexOf(t),o&&O.removeChild(t),i},C=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},N=function(t){return s.call(t,function(e,n){return t.indexOf(e)==n})},S.fragment=function(e,i,r){var s,u,f;return h.test(e)&&(s=n(a.createElement(RegExp.$1))),s||(e.replace&&(e=e.replace(p,"<$1>")),i===t&&(i=l.test(e)&&RegExp.$1),i in b||(i="*"),f=b[i],f.innerHTML=""+e,s=n.each(o.call(f.childNodes),function(){f.removeChild(this)})),R(r)&&(u=n(s),n.each(r,function(t,e){g.indexOf(t)>-1?u[t](e):u.attr(t,e)})),s},S.Z=function(t,e){return t=t||[],t.__proto__=n.fn,t.selector=e||"",t},S.isZ=function(t){return t instanceof S.Z},S.init=function(e,i){var r;if(!e)return S.Z();if("string"==typeof e)if(e=e.trim(),"<"==e[0]&&l.test(e))r=S.fragment(e,RegExp.$1,i),e=null;else{if(i!==t)return n(i).find(e);r=S.qsa(a,e)}else{if(Z(e))return n(a).ready(e);if(S.isZ(e))return e;if(A(e))r=k(e);else if(D(e))r=[e],e=null;else if(l.test(e))r=S.fragment(e.trim(),RegExp.$1,i),e=null;else{if(i!==t)return n(i).find(e);r=S.qsa(a,e)}}return S.Z(r,e)},n=function(t,e){return S.init(t,e)},n.extend=function(t){var e,n=o.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){U(t,n,e)}),t},S.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],s=i||r?e.slice(1):e,a=E.test(s);return _(t)&&a&&i?(n=t.getElementById(s))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:o.call(a&&!i?r?t.getElementsByClassName(s):t.getElementsByTagName(e):t.querySelectorAll(e))},n.contains=function(t,e){return t!==e&&t.contains(e)},n.type=L,n.isFunction=Z,n.isWindow=$,n.isArray=A,n.isPlainObject=R,n.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},n.inArray=function(t,e,n){return r.indexOf.call(e,t,n)},n.camelCase=C,n.trim=function(t){return null==t?"":String.prototype.trim.call(t)},n.uuid=0,n.support={},n.expr={},n.map=function(t,e){var n,r,o,i=[];if(M(t))for(r=0;r=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return r.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return Z(t)?this.not(this.not(t)):n(s.call(this,function(e){return S.matches(e,t)}))},add:function(t,e){return n(N(this.concat(n(t,e))))},is:function(t){return this.length>0&&S.matches(this[0],t)},not:function(e){var i=[];if(Z(e)&&e.call!==t)this.each(function(t){e.call(this,t)||i.push(this)});else{var r="string"==typeof e?this.filter(e):M(e)&&Z(e.item)?o.call(e):n(e);this.forEach(function(t){r.indexOf(t)<0&&i.push(t)})}return n(i)},has:function(t){return this.filter(function(){return D(t)?n.contains(this,t):n(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!D(t)?t:n(t)},last:function(){var t=this[this.length-1];return t&&!D(t)?t:n(t)},find:function(t){var e,i=this;return e="object"==typeof t?n(t).filter(function(){var t=this;return r.some.call(i,function(e){return n.contains(e,t)})}):1==this.length?n(S.qsa(this[0],t)):this.map(function(){return S.qsa(this,t)})},closest:function(t,e){var i=this[0],r=!1;for("object"==typeof t&&(r=n(t));i&&!(r?r.indexOf(i)>=0:S.matches(i,t));)i=i!==e&&!_(i)&&i.parentNode;return n(i)},parents:function(t){for(var e=[],i=this;i.length>0;)i=n.map(i,function(t){return(t=t.parentNode)&&!_(t)&&e.indexOf(t)<0?(e.push(t),t):void 0});return B(e,t)},parent:function(t){return B(N(this.pluck("parentNode")),t)},children:function(t){return B(this.map(function(){return V(this)}),t)},contents:function(){return this.map(function(){return o.call(this.childNodes)})},siblings:function(t){return B(this.map(function(t,e){return s.call(V(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return n.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=I(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=Z(t);if(this[0]&&!e)var i=n(t).get(0),r=i.parentNode||this.length>1;return this.each(function(o){n(this).wrapAll(e?t.call(this,o):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){n(this[0]).before(t=n(t));for(var e;(e=t.children()).length;)t=e.first();n(t).append(this)}return this},wrapInner:function(t){var e=Z(t);return this.each(function(i){var r=n(this),o=r.contents(),s=e?t.call(this,i):t;o.length?o.wrapAll(s):r.append(s)})},unwrap:function(){return this.parent().each(function(){n(this).replaceWith(n(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var i=n(this);(e===t?"none"==i.css("display"):e)?i.show():i.hide()})},prev:function(t){return n(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return n(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0===arguments.length?this.length>0?this[0].innerHTML:null:this.each(function(e){var i=this.innerHTML;n(this).empty().append(J(this,t,e,i))})},text:function(e){return 0===arguments.length?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=e===t?"":""+e})},attr:function(n,i){var r;return"string"==typeof n&&i===t?0==this.length||1!==this[0].nodeType?t:"value"==n&&"INPUT"==this[0].nodeName?this.val():!(r=this[0].getAttribute(n))&&n in this[0]?this[0][n]:r:this.each(function(t){if(1===this.nodeType)if(D(n))for(e in n)X(this,e,n[e]);else X(this,n,J(this,i,t,this.getAttribute(n)))})},removeAttr:function(t){return this.each(function(){1===this.nodeType&&X(this,t)})},prop:function(e,n){return e=P[e]||e,n===t?this[0]&&this[0][e]:this.each(function(t){this[e]=J(this,n,t,this[e])})},data:function(e,n){var i=this.attr("data-"+e.replace(m,"-$1").toLowerCase(),n);return null!==i?Y(i):t},val:function(t){return 0===arguments.length?this[0]&&(this[0].multiple?n(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value):this.each(function(e){this.value=J(this,t,e,this.value)})},offset:function(t){if(t)return this.each(function(e){var i=n(this),r=J(this,t,e,i.offset()),o=i.offsetParent().offset(),s={top:r.top-o.top,left:r.left-o.left};"static"==i.css("position")&&(s.position="relative"),i.css(s)});if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(t,i){if(arguments.length<2){var r=this[0],o=getComputedStyle(r,"");if(!r)return;if("string"==typeof t)return r.style[C(t)]||o.getPropertyValue(t);if(A(t)){var s={};return n.each(A(t)?t:[t],function(t,e){s[e]=r.style[C(e)]||o.getPropertyValue(e)}),s}}var a="";if("string"==L(t))i||0===i?a=F(t)+":"+H(t,i):this.each(function(){this.style.removeProperty(F(t))});else for(e in t)t[e]||0===t[e]?a+=F(e)+":"+H(e,t[e])+";":this.each(function(){this.style.removeProperty(F(e))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(n(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?r.some.call(this,function(t){return this.test(W(t))},q(t)):!1},addClass:function(t){return t?this.each(function(e){i=[];var r=W(this),o=J(this,t,e,r);o.split(/\s+/g).forEach(function(t){n(this).hasClass(t)||i.push(t)},this),i.length&&W(this,r+(r?" ":"")+i.join(" "))}):this},removeClass:function(e){return this.each(function(n){return e===t?W(this,""):(i=W(this),J(this,e,n,i).split(/\s+/g).forEach(function(t){i=i.replace(q(t)," ")}),void W(this,i.trim()))})},toggleClass:function(e,i){return e?this.each(function(r){var o=n(this),s=J(this,e,r,W(this));s.split(/\s+/g).forEach(function(e){(i===t?!o.hasClass(e):i)?o.addClass(e):o.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return e===t?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return e===t?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),i=this.offset(),r=d.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(n(t).css("margin-top"))||0,i.left-=parseFloat(n(t).css("margin-left"))||0,r.top+=parseFloat(n(e[0]).css("border-top-width"))||0,r.left+=parseFloat(n(e[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||a.body;t&&!d.test(t.nodeName)&&"static"==n(t).css("position");)t=t.offsetParent;return t})}},n.fn.detach=n.fn.remove,["width","height"].forEach(function(e){var i=e.replace(/./,function(t){return t[0].toUpperCase()});n.fn[e]=function(r){var o,s=this[0];return r===t?$(s)?s["inner"+i]:_(s)?s.documentElement["scroll"+i]:(o=this.offset())&&o[e]:this.each(function(t){s=n(this),s.css(e,J(this,r,t,s[e]()))})}}),v.forEach(function(t,e){var i=e%2;n.fn[t]=function(){var t,o,r=n.map(arguments,function(e){return t=L(e),"object"==t||"array"==t||null==e?e:S.fragment(e)}),s=this.length>1;return r.length<1?this:this.each(function(t,a){o=i?a:a.parentNode,a=0==e?a.nextSibling:1==e?a.firstChild:2==e?a:null,r.forEach(function(t){if(s)t=t.cloneNode(!0);else if(!o)return n(t).remove();G(o.insertBefore(t,a),function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},n.fn[i?t+"To":"insert"+(e?"Before":"After")]=function(e){return n(e)[t](this),this}}),S.Z.prototype=n.fn,S.uniq=N,S.deserializeValue=Y,n.zepto=S,n}();window.Zepto=Zepto,void 0===window.$&&(window.$=Zepto),function(t){function l(t){return t._zid||(t._zid=e++)}function h(t,e,n,i){if(e=p(e),e.ns)var r=d(e.ns);return(s[l(t)]||[]).filter(function(t){return!(!t||e.e&&t.e!=e.e||e.ns&&!r.test(t.ns)||n&&l(t.fn)!==l(n)||i&&t.sel!=i)})}function p(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function d(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function m(t,e){return t.del&&!u&&t.e in f||!!e}function g(t){return c[t]||u&&f[t]||t}function v(e,i,r,o,a,u,f){var h=l(e),d=s[h]||(s[h]=[]);i.split(/\s/).forEach(function(i){if("ready"==i)return t(document).ready(r);var s=p(i);s.fn=r,s.sel=a,s.e in c&&(r=function(e){var n=e.relatedTarget;return!n||n!==this&&!t.contains(this,n)?s.fn.apply(this,arguments):void 0}),s.del=u;var l=u||r;s.proxy=function(t){if(t=j(t),!t.isImmediatePropagationStopped()){t.data=o;var i=l.apply(e,t._args==n?[t]:[t].concat(t._args));return i===!1&&(t.preventDefault(),t.stopPropagation()),i}},s.i=d.length,d.push(s),"addEventListener"in e&&e.addEventListener(g(s.e),s.proxy,m(s,f))})}function y(t,e,n,i,r){var o=l(t);(e||"").split(/\s/).forEach(function(e){h(t,e,n,i).forEach(function(e){delete s[o][e.i],"removeEventListener"in t&&t.removeEventListener(g(e.e),e.proxy,m(e,r))})})}function j(e,i){return(i||!e.isDefaultPrevented)&&(i||(i=e),t.each(E,function(t,n){var r=i[t];e[t]=function(){return this[n]=x,r&&r.apply(i,arguments)},e[n]=b}),(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?i.returnValue===!1:i.getPreventDefault&&i.getPreventDefault())&&(e.isDefaultPrevented=x)),e}function T(t){var e,i={originalEvent:t};for(e in t)w.test(e)||t[e]===n||(i[e]=t[e]);return j(i,t)}var n,e=1,i=Array.prototype.slice,r=t.isFunction,o=function(t){return"string"==typeof t},s={},a={},u="onfocusin"in window,f={focus:"focusin",blur:"focusout"},c={mouseenter:"mouseover",mouseleave:"mouseout"};a.click=a.mousedown=a.mouseup=a.mousemove="MouseEvents",t.event={add:v,remove:y},t.proxy=function(e,n){if(r(e)){var i=function(){return e.apply(n,arguments)};return i._zid=l(e),i}if(o(n))return t.proxy(e[n],e);throw new TypeError("expected function")},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var x=function(){return!0},b=function(){return!1},w=/^([A-Z]|returnValue$|layer[XY]$)/,E={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,s,a,u,f){var c,l,h=this;return e&&!o(e)?(t.each(e,function(t,e){h.on(t,s,a,e,f)}),h):(o(s)||r(u)||u===!1||(u=a,a=s,s=n),(r(a)||a===!1)&&(u=a,a=n),u===!1&&(u=b),h.each(function(n,r){f&&(c=function(t){return y(r,t.type,u),u.apply(this,arguments)}),s&&(l=function(e){var n,o=t(e.target).closest(s,r).get(0);return o&&o!==r?(n=t.extend(T(e),{currentTarget:o,liveFired:r}),(c||u).apply(o,[n].concat(i.call(arguments,1)))):void 0}),v(r,e,u,a,s,l||c)}))},t.fn.off=function(e,i,s){var a=this;return e&&!o(e)?(t.each(e,function(t,e){a.off(t,i,e)}),a):(o(i)||r(s)||s===!1||(s=i,i=n),s===!1&&(s=b),a.each(function(){y(this,e,s,i)}))},t.fn.trigger=function(e,n){return e=o(e)||t.isPlainObject(e)?t.Event(e):j(e),e._args=n,this.each(function(){"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,n){var i,r;return this.each(function(s,a){i=T(o(e)?t.Event(e):e),i._args=n,i.target=a,t.each(h(a,e.type||e),function(t,e){return r=e.proxy(i),i.isImmediatePropagationStopped()?!1:void 0})}),r},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)}}),["focus","blur"].forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.each(function(){try{this[e]()}catch(t){}}),this}}),t.Event=function(t,e){o(t)||(e=t,t=e.type);var n=document.createEvent(a[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),j(n)}}(Zepto),function(t){function l(e,n,i){var r=t.Event(n);return t(e).trigger(r,i),!r.isDefaultPrevented()}function h(t,e,i,r){return t.global?l(e||n,i,r):void 0}function p(e){e.global&&0===t.active++&&h(e,null,"ajaxStart")}function d(e){e.global&&!--t.active&&h(e,null,"ajaxStop")}function m(t,e){var n=e.context;return e.beforeSend.call(n,t,e)===!1||h(e,n,"ajaxBeforeSend",[t,e])===!1?!1:void h(e,n,"ajaxSend",[t,e])}function g(t,e,n,i){var r=n.context,o="success";n.success.call(r,t,o,e),i&&i.resolveWith(r,[t,o,e]),h(n,r,"ajaxSuccess",[e,n,t]),y(o,e,n)}function v(t,e,n,i,r){var o=i.context;i.error.call(o,n,e,t),r&&r.rejectWith(o,[n,e,t]),h(i,o,"ajaxError",[n,i,t||e]),y(e,n,i)}function y(t,e,n){var i=n.context;n.complete.call(i,e,t),h(n,i,"ajaxComplete",[e,n]),d(n)}function x(){}function b(t){return t&&(t=t.split(";",2)[0]),t&&(t==f?"html":t==u?"json":s.test(t)?"script":a.test(t)&&"xml")||"text"}function w(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function E(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=w(e.url,e.data),e.data=void 0)}function j(e,n,i,r){return t.isFunction(n)&&(r=i,i=n,n=void 0),t.isFunction(i)||(r=i,i=void 0),{url:e,data:n,success:i,dataType:r}}function S(e,n,i,r){var o,s=t.isArray(n),a=t.isPlainObject(n);t.each(n,function(n,u){o=t.type(u),r&&(n=i?r:r+"["+(a||"object"==o||"array"==o?n:"")+"]"),!r&&s?e.add(u.name,u.value):"array"==o||!i&&"object"==o?S(e,u,i,n):e.add(n,u)})}var i,r,e=0,n=window.document,o=/)<[^<]*)*<\/script>/gi,s=/^(?:text|application)\/javascript/i,a=/^(?:text|application)\/xml/i,u="application/json",f="text/html",c=/^\s*$/;t.active=0,t.ajaxJSONP=function(i,r){if(!("type"in i))return t.ajax(i);var f,h,o=i.jsonpCallback,s=(t.isFunction(o)?o():o)||"jsonp"+ ++e,a=n.createElement("script"),u=window[s],c=function(e){t(a).triggerHandler("error",e||"abort")},l={abort:c};return r&&r.promise(l),t(a).on("load error",function(e,n){clearTimeout(h),t(a).off().remove(),"error"!=e.type&&f?g(f[0],l,i,r):v(null,n||"error",l,i,r),window[s]=u,f&&t.isFunction(u)&&u(f[0]),u=f=void 0}),m(l,i)===!1?(c("abort"),l):(window[s]=function(){f=arguments},a.src=i.url.replace(/\?(.+)=\?/,"?$1="+s),n.head.appendChild(a),i.timeout>0&&(h=setTimeout(function(){c("timeout")},i.timeout)),l)},t.ajaxSettings={type:"GET",beforeSend:x,success:x,error:x,complete:x,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:u,xml:"application/xml, text/xml",html:f,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},t.ajax=function(e){var n=t.extend({},e||{}),o=t.Deferred&&t.Deferred();for(i in t.ajaxSettings)void 0===n[i]&&(n[i]=t.ajaxSettings[i]);p(n),n.crossDomain||(n.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(n.url)&&RegExp.$2!=window.location.host),n.url||(n.url=window.location.toString()),E(n),n.cache===!1&&(n.url=w(n.url,"_="+Date.now()));var s=n.dataType,a=/\?.+=\?/.test(n.url);if("jsonp"==s||a)return a||(n.url=w(n.url,n.jsonp?n.jsonp+"=?":n.jsonp===!1?"":"callback=?")),t.ajaxJSONP(n,o);var j,u=n.accepts[s],f={},l=function(t,e){f[t.toLowerCase()]=[t,e]},h=/^([\w-]+:)\/\//.test(n.url)?RegExp.$1:window.location.protocol,d=n.xhr(),y=d.setRequestHeader;if(o&&o.promise(d),n.crossDomain||l("X-Requested-With","XMLHttpRequest"),l("Accept",u||"*/*"),(u=n.mimeType||u)&&(u.indexOf(",")>-1&&(u=u.split(",",2)[0]),d.overrideMimeType&&d.overrideMimeType(u)),(n.contentType||n.contentType!==!1&&n.data&&"GET"!=n.type.toUpperCase())&&l("Content-Type",n.contentType||"application/x-www-form-urlencoded"),n.headers)for(r in n.headers)l(r,n.headers[r]);if(d.setRequestHeader=l,d.onreadystatechange=function(){if(4==d.readyState){d.onreadystatechange=x,clearTimeout(j);var e,i=!1;if(d.status>=200&&d.status<300||304==d.status||0==d.status&&"file:"==h){s=s||b(n.mimeType||d.getResponseHeader("content-type")),e=d.responseText;try{"script"==s?(1,eval)(e):"xml"==s?e=d.responseXML:"json"==s&&(e=c.test(e)?null:t.parseJSON(e))}catch(r){i=r}i?v(i,"parsererror",d,n,o):g(e,d,n,o)}else v(d.statusText||null,d.status?"error":"abort",d,n,o)}},m(d,n)===!1)return d.abort(),v(null,"abort",d,n,o),d;if(n.xhrFields)for(r in n.xhrFields)d[r]=n.xhrFields[r];var T="async"in n?n.async:!0;d.open(n.type,n.url,T,n.username,n.password);for(r in f)y.apply(d,f[r]);return n.timeout>0&&(j=setTimeout(function(){d.onreadystatechange=x,d.abort(),v(null,"timeout",d,n,o)},n.timeout)),d.send(n.data?n.data:null),d},t.get=function(){return t.ajax(j.apply(null,arguments))},t.post=function(){var e=j.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=j.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,i){if(!this.length)return this;var a,r=this,s=e.split(/\s/),u=j(e,n,i),f=u.success;return s.length>1&&(u.url=s[0],a=s[1]),u.success=function(e){r.html(a?t("
").html(e.replace(o,"")).find(a):e),f&&f.apply(r,arguments)},t.ajax(u),this};var T=encodeURIComponent;t.param=function(t,e){var n=[];return n.add=function(t,e){this.push(T(t)+"="+T(e))},S(n,t,e),n.join("&").replace(/%20/g,"+")}}(Zepto),function(t){t.fn.serializeArray=function(){var n,e=[];return t([].slice.call(this.get(0).elements)).each(function(){n=t(this);var i=n.attr("type");"fieldset"!=this.nodeName.toLowerCase()&&!this.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&("radio"!=i&&"checkbox"!=i||this.checked)&&e.push({name:n.attr("name"),value:n.val()})}),e},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(e)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(Zepto),function(t){"__proto__"in{}||t.extend(t.zepto,{Z:function(e,n){return e=e||[],t.extend(e,t.fn),e.selector=n||"",e.__Z=!0,e},isZ:function(e){return"array"===t.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var n=getComputedStyle;window.getComputedStyle=function(t){try{return n(t)}catch(e){return null}}}}(Zepto); diff --git a/template/config.json b/template/config.json new file mode 100644 index 0000000..666be5a --- /dev/null +++ b/template/config.json @@ -0,0 +1,160 @@ +{ + "resize":{ + "path":"/Users/elr-mbp/Desktop/guangzhou/", + "width":180, + "height":180 + }, + "deployPath":"70s/1406-1/", + "prizeSwitch":1, + "ajaxList": { + "/prize/ajax/prizeDraw?groupId=198": {"code":200,"msg":{"chanceNum":498,"recordId":2258566,"prize":{"memo":"","pic":"","prizeId":1798,"prizeName":"南南沙拉","prizeType":2,"rank":1}}}, + "/prize/ajax/recordList?groupId=198&max=20": { + "code": 200, + "groupId": 231, + "max": 13, + "msg": { + "recordList": [ + { + "addDate": "2014-06-12 09:55", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1861374, + "userFace": "http://i3.dpfile.com/pc/9b43a8f51ba401fa0ed815ae9fcde6a0(48c48)/thumb.jpg", + "userId": 2492350, + "userNickName": "糖盒子__行大运" + }, + { + "addDate": "2014-06-12 09:51", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1861303, + "userFace": "http://i3.dpfile.com/u/20101128/5958683_80665_s.jpg", + "userId": 5958683, + "userNickName": "五月的花儿别样红" + }, + { + "addDate": "2014-06-12 09:33", + "groupId": 231, + "prizeId": 1936, + "prizeName": "20只小龙虾", + "recordId": 1860932, + "userFace": null, + "userId": 63414259, + "userNickName": "dpuser_5258070007" + }, + { + "addDate": "2014-06-12 09:31", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860881, + "userFace": "http://i1.dpfile.com/comm/userface/5932/2725932_57723_s.jpg", + "userId": 2725932, + "userNickName": "李二小姐" + }, + { + "addDate": "2014-06-12 09:15", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860557, + "userFace": "http://i2.dpfile.com/pc/1030ea9e8407310263ea5bc3d6a67a4c(48c48)/thumb.jpg", + "userId": 803778, + "userNickName": "xiu570822" + }, + { + "addDate": "2014-06-12 09:15", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860543, + "userFace": "http://i3.dpfile.com/pc/cf288054af3f33e63991569e764c5484(48c48)/thumb.jpg", + "userId": 14377164, + "userNickName": "huniuniumama" + }, + { + "addDate": "2014-06-12 08:50", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860097, + "userFace": "http://i2.dpfile.com/pc/f95e5621fc15c025aa71fb095d2cd793(48c48)/thumb.jpg", + "userId": 4524686, + "userNickName": "月亮5663" + }, + { + "addDate": "2014-06-12 08:32", + "groupId": 231, + "prizeId": 1936, + "prizeName": "20只小龙虾", + "recordId": 1859851, + "userFace": null, + "userId": 45447012, + "userNickName": "桃子麻麻8010" + }, + { + "addDate": "2014-06-12 08:26", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859773, + "userFace": "http://i3.dpfile.com/pc/dedf6483a8480d297563c80902cc521b(48c48)/thumb.jpg", + "userId": 4018086, + "userNickName": "璐珠菁盈" + }, + { + "addDate": "2014-06-12 08:16", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859684, + "userFace": null, + "userId": 49200154, + "userNickName": "周周112132" + }, + { + "addDate": "2014-06-12 06:59", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859419, + "userFace": null, + "userId": 45446373, + "userNickName": "th1333" + }, + { + "addDate": "2014-06-12 05:51", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859338, + "userFace": "http://i2.dpfile.com/comm/userface/8804/1438804_67472_s.jpg", + "userId": 1438804, + "userNickName": "heriver" + }, + { + "addDate": "2014-06-12 00:31", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1858928, + "userFace": "http://i3.dpfile.com/pc/ab4bea374a494d50cf71d4a2f14ae72a(48c48)/thumb.jpg", + "userId": 2920692, + "userNickName": "蛋奶星星茶" + } + ] + } + }, + "/ajax/json/account/info": { + "code": 200, + "msg": { + "id": 15448257, + "email": "244883833@qq.com", + "name": "都被占用了啊", + "mobile": "13391129699" + } + } + } +} \ No newline at end of file diff --git a/template/pc/config.json b/template/pc/config.json new file mode 100644 index 0000000..666be5a --- /dev/null +++ b/template/pc/config.json @@ -0,0 +1,160 @@ +{ + "resize":{ + "path":"/Users/elr-mbp/Desktop/guangzhou/", + "width":180, + "height":180 + }, + "deployPath":"70s/1406-1/", + "prizeSwitch":1, + "ajaxList": { + "/prize/ajax/prizeDraw?groupId=198": {"code":200,"msg":{"chanceNum":498,"recordId":2258566,"prize":{"memo":"","pic":"","prizeId":1798,"prizeName":"南南沙拉","prizeType":2,"rank":1}}}, + "/prize/ajax/recordList?groupId=198&max=20": { + "code": 200, + "groupId": 231, + "max": 13, + "msg": { + "recordList": [ + { + "addDate": "2014-06-12 09:55", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1861374, + "userFace": "http://i3.dpfile.com/pc/9b43a8f51ba401fa0ed815ae9fcde6a0(48c48)/thumb.jpg", + "userId": 2492350, + "userNickName": "糖盒子__行大运" + }, + { + "addDate": "2014-06-12 09:51", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1861303, + "userFace": "http://i3.dpfile.com/u/20101128/5958683_80665_s.jpg", + "userId": 5958683, + "userNickName": "五月的花儿别样红" + }, + { + "addDate": "2014-06-12 09:33", + "groupId": 231, + "prizeId": 1936, + "prizeName": "20只小龙虾", + "recordId": 1860932, + "userFace": null, + "userId": 63414259, + "userNickName": "dpuser_5258070007" + }, + { + "addDate": "2014-06-12 09:31", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860881, + "userFace": "http://i1.dpfile.com/comm/userface/5932/2725932_57723_s.jpg", + "userId": 2725932, + "userNickName": "李二小姐" + }, + { + "addDate": "2014-06-12 09:15", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860557, + "userFace": "http://i2.dpfile.com/pc/1030ea9e8407310263ea5bc3d6a67a4c(48c48)/thumb.jpg", + "userId": 803778, + "userNickName": "xiu570822" + }, + { + "addDate": "2014-06-12 09:15", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860543, + "userFace": "http://i3.dpfile.com/pc/cf288054af3f33e63991569e764c5484(48c48)/thumb.jpg", + "userId": 14377164, + "userNickName": "huniuniumama" + }, + { + "addDate": "2014-06-12 08:50", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1860097, + "userFace": "http://i2.dpfile.com/pc/f95e5621fc15c025aa71fb095d2cd793(48c48)/thumb.jpg", + "userId": 4524686, + "userNickName": "月亮5663" + }, + { + "addDate": "2014-06-12 08:32", + "groupId": 231, + "prizeId": 1936, + "prizeName": "20只小龙虾", + "recordId": 1859851, + "userFace": null, + "userId": 45447012, + "userNickName": "桃子麻麻8010" + }, + { + "addDate": "2014-06-12 08:26", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859773, + "userFace": "http://i3.dpfile.com/pc/dedf6483a8480d297563c80902cc521b(48c48)/thumb.jpg", + "userId": 4018086, + "userNickName": "璐珠菁盈" + }, + { + "addDate": "2014-06-12 08:16", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859684, + "userFace": null, + "userId": 49200154, + "userNickName": "周周112132" + }, + { + "addDate": "2014-06-12 06:59", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859419, + "userFace": null, + "userId": 45446373, + "userNickName": "th1333" + }, + { + "addDate": "2014-06-12 05:51", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1859338, + "userFace": "http://i2.dpfile.com/comm/userface/8804/1438804_67472_s.jpg", + "userId": 1438804, + "userNickName": "heriver" + }, + { + "addDate": "2014-06-12 00:31", + "groupId": 231, + "prizeId": 1937, + "prizeName": "10只小龙虾", + "recordId": 1858928, + "userFace": "http://i3.dpfile.com/pc/ab4bea374a494d50cf71d4a2f14ae72a(48c48)/thumb.jpg", + "userId": 2920692, + "userNickName": "蛋奶星星茶" + } + ] + } + }, + "/ajax/json/account/info": { + "code": 200, + "msg": { + "id": 15448257, + "email": "244883833@qq.com", + "name": "都被占用了啊", + "mobile": "13391129699" + } + } + } +} \ No newline at end of file diff --git a/template/pc/css/base-old.v10.css b/template/pc/css/base-old.v10.css new file mode 100755 index 0000000..ea63705 --- /dev/null +++ b/template/pc/css/base-old.v10.css @@ -0,0 +1,3047 @@ +/*! g.base.css + * @build 20100415-01 + */ + +/*TABLE OF CONTENTS + + global + font + link + layout + public declare + public module + public component +*/ + +/* 主站改版的内容,请不要加入旧的代码中,请全部放置到本css底部的代码块中 */ + +/* ------------------------------------- @reset --------------------------------------*/ +html, body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, a,img, th,td,form, fieldset, iframe, object, pre, code, legend, blockquote{margin:0; padding:0; border:0; outline:0} +ol, ul{list-style:none} +:focus{outline:0} +strong{font-weight:bold} +address, caption, cite, em, code, dfn, th, var {font-style:normal;font-weight:normal;} +/*form*/ +form label{cursor:pointer} +input, button, textarea{font-family:inherit; font-size:100%} + +/*table*/ +table{border-collapse:separate;} +caption, th, td{/*text-align:left; */font-weight:normal} +/*-------------------------------------/@reset-----------------------------------*/ + + + + +/*------------------------------------- @font -----------------------------------*/ +h1, h2, h3, h4, h5, h6{font-weight:normal; font-size:100%} +.f11{font-size:11px} +.f12{font-size:12px} +.f13{font-size:13px} +.f14{font-size:14.8px} +.f16{font-size:16px} + +.Color0, a.Color0, a.Color0:hover{color:#fff}/*white*/ +.Color1, a.Color1, a.Color1:hover{color:#000}/*black*/ +.Color2, a.Color2, a.Color2:hover{color:#6666cc}/*little blue*/ +.Color3, a.Color3, a.Color3:hover{color:#03f}/*deep blue*/ +.Color4, a.Color4, a.Color4:hover{color:#cc0000}/*little red*/ +.Color5, a.Color5, a.Color5:hover{color:#601111}/*gray red*/ +.Color6, a.Color6, a.Color6:hover{color:#ccc}/*little gray*/ +.Color7, a.Color7, a.Color7:hover{color:#999}/*deep gray*/ +.Color8, a.Color8, a.Color8:hover{color:#F00}/*red*/ +.Color9, a.Color9, a.Color9:hover{color:#E51313}/*classic red*/ +.Color10, a.Color10, a.Color10:hover{color:Green}/*classic green*/ +/*------------------------------------- /@font -----------------------------------*/ + + + +/*-------------------------------- @link -----------------------------------------*/ +/* combined by Kael Zhang */ +a{color:#333; text-decoration:none;} + +a.B, a.BL, a.BH, a.W, a.WL, a.G, a.GL, a.R, a.RL, a.BLACK{padding:2px 1px 0 1px;} +a.BL, a.WL, a.GL, a.RL{text-decoration:underline;} +a.B, a.BL:hover, a.BH, a.W, a.G, a.R, a.BLACK{text-decoration:none;} + +a.B, a.BL{color:#66c;} +a.B:hover, a.BL:hover, a.B:active, a.BL:active, a.BH{color:#fff; background-color:#66c;} + +a.W, a.WL{color:#fff;} +a.W:hover, a.WL:hover, a.W:active, a.WL:active{color:#66c;} + +a.G, a.GL{color:#999;} +a.G:hover, a.GL:hover, a.G:active, a.GL:active{color:#fff; background-color:#999;} + +a.R, a.RL{color:#c00;} +a.R:hover, a.RL:hover, a.R:active, a.RL:active{color:#fff; background-color:#c00;} + +a.BLACK{color:#4b4b4b;} +a.BLACK:hover, a.BLACK:active{color:#fff; background-color:#4b4b4b;} + +/*-------------------------------- /@link -----------------------------------------*/ + + + + +/*---------------------------------------@layout-------------------------------------*/ + +/* Row register here*/ +.header_s:after, .footer_s:after, .main_s:after, +.header_w:after, .footer_w:after, .main_w:after, .section_w:after, .nav_w:after, +.box:after, .header:after, .footer:after, .main:after, .section:after,section_s:after, +.footer_s .catLinks:after, +.footer_w .catLinks:after +{content:"\0020"; display:block; height:0; clear:both} + +.header_s, .footer_s, .main_s, +.header_w, .footer_w, .main_w, .nav_w, +.box, .header, .footer, .main, .section_w,.section,section_s, +.footer_s .catLinks, +.footer_w .catLinks +{zoom:1} + +.section{margin:0 auto;} +.main_s,.section_s,.main_w,.section_w{ font-size:13px;} +.nav_w,.nav_s{ font-family:Verdana;} +/* colunm register here*/ +.content_a, .aside_a, +.content_b, .aside_b, +.content_c, .aside_c, +.content_d, .aside_d, +.col{display:inline; overflow:hidden} + + +/* s:778 */ +.header_s, .footer_s, .main_s,.section_s{margin:0 auto; width:778px} + +/* w:960 */ +.header_w, .footer_w, .main_w,.section_w,.nav_w{margin:0 auto; width:960px} + + +/* footer */ +.footer_s,.footer_w{ margin-top:10px; /*border-top:1px solid #000;*/ border-top:1px solid #E0E0E0; padding:5px 0px 30px 0px;} +.footer_s p,.footer_w p{ line-height:22px; } +.footer_s .copyright,.footer_w .copyright{height:22px;padding:0px 5px 0 0;} +.footer_s .tip,.footer_w .tip{padding:0px 5px 0 0;color:#999} +.footer_s .sitemap,.footer_w .sitemap{ float:right; margin-top:2px} +.footer_s .sitemap li,.footer_w .sitemap li{ float:left; padding:0 3px 0 0;} + +.footer_n{border-color:#E0E0E0; padding-top:15px;} + +.footer_s .catLinks, .footer_w .catLinks{width:98%; margin:0 auto 14px;} +.footer_s .catLinks ul, .footer_w .catLinks ul{float:left; width:34%;} +.footer_s .catLinks ul.last, .footer_w .catLinks ul.last{float:right; margin-left:-10px; width:32%;} + +.footer_s .catLinks ul li, .footer_w .catLinks ul li{padding:3px 0 4px;} +.footer_s .catLinks ul li strong, .footer_w .catLinks ul li strong{padding:0 2px;} + +.footer_w .compay{border-top:1px dashed #d2d2d2; padding-top:3px;} +.footer_w .compay p{text-align:center;} + + +/* a:700 * 240 */ +.content_a{width:700px; float:left} +.aside_a{width:240px; margin-left:20px; float:left} + + +/* b:240 * 710 */ +.content_b{width:710px; float:left;margin-right:10px;} +.aside_b{width:240px; float:left} +/* c:610 * 150 */ +.content_c{width:610px; float:left;margin-right:10px;} +.aside_c{ float:right;} +/* d:580 * 185 */ +.content_d{width:580px; float:left;margin-right:10px;} +.aside_d{width:185px; float:right;} +/* e:740 * 200 */ +.content_e{width:740px; float:left;margin-right:20px;} +.aside_e{width:200px; float:left} + +/*---------------------------------------end @layout-------------------------------------*/ + + + + + + +/*---------------------------------------@declare -------------------------------------*/ + +body{color:#333; background:transparent; /* font:12px/1.5 Arial,\5b8b\4f53,sans-serif */ +font:12px/1.5 Arial,sans-serif +} +.star10,.star20,.star30,.star40,.star45,.star50,.good,.bad,.mstar1,.mstar2,.mstar3,.mstar4,.mstar5,.mstar6,.mstar7,.mstar8,.mstar9,.mstar10,.mstar11,.mstar12,.newpic, +.sstar0,.sstar5,.sstar10,.sstar20,.sstar30,.sstar35,.sstar40,.sstar45,.sstar50, +.msstar0,.msstar5,.msstar10,.msstar20,.msstar30,.msstar35,.msstar40,.msstar45,.msstar50, +.iarrowBtm,.ireview,.ifavorite,.imobile,.ipromo,.ihelp,.iface1,.ishop,.icityTone,.inoface,.isnoface,.ipic +{ background-image:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/remark-old.c9ee6f98e29b0bfeb0aa0b1f2a4cdcf7.png);background-repeat:no-repeat;} + +.Pages a.PrevPage,.Pages a.NextPage,.hdNav a.noMail,.hdNav a.manage,.fnTip,.itop, .know,.fnTip .know:hover,.hdSub li.fn strong,.More,.sehSelectUI div span,.sehSelectUI div span,.sehSelectUI div a,.iadd,.isehbtn, +.ishare,.idropDown,.iup,.tipClose,.irss, +.sharePanel .item, .Share .item, .Share .more, .btnMore, +.admin-icon, .send-flowrs-succ .icon-succ-micro{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm-old.c9d77f5c7530b7e34ec19e77ab8a0965.png) no-repeat;} +#pop-send-flowrs i{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm.e6a303ce73da2519ad6c43a0a262a13d.png) no-repeat;} +.newpic,.sstar0,.sstar5,.sstar10,.sstar20,.sstar30,.sstar35,.sstar40,.sstar45,.sstar50, +.msstar0,.msstar5,.msstar10,.msstar20,.msstar30,.msstar35,.msstar40,.msstar45,.msstar50, +.star10,.star20,.star30,.star40,.star45,.star50,.star60,a.btnMore,span.btnMore,.itop,.inoface,.isnoface,.ipic,.iadd,.isehbtn,.ishare,.idropDown,.iup,.irss, +.admin-icon +{display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;*margin-right:3px;vertical-align:middle;position:relative; font-size:0px;} + +.hdFn .fn li,.hdNav,.hdNav .tab,.hdNav .sform,.hdNav fieldset,.hdNav fieldset button,.hdNav .tab li.on a strong,.hdNav .tab li.on a,.hdNav .tab li a:hover,.hdNav .tab li a:hover strong,.hdNav .tab li.mark,.hdSub,.hdFn .fn li a.manage,.hdSub li.arrow, +.hdNav .inp,.hdNav .inp .select,.hdNav .inp .select .value,.hdNav .inp .search .text,.hdNav .inp .search button,.hdNav .tag,.hdNav .tab li a .arrow +{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/header-old.eb24da1d0358fce1dac84bb5c3f5f79e.png) no-repeat;} + +.Bulletin .icon, .Bulletin .close{background-image:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/bulletin-old.abb4f6b41a89be53b43110b17cbfe33f.png); background-repeat:no-repeat;} + +.sehBox dl:after,.hdFn:after,.hdNav:after,.hdNav .tab:after,.hdSub .list:after,.hdSub:after,.hdNav fieldset:after, .Fixed:after, .Share:after +{content:"\0020"; display:block; height:0; clear:both} +.sehBox dl,.hdFn,.hdNav,.hdNav .tab,.hdSub .list,.hdNav fieldset,.hdSub,.hdFn .fn li a, .Fixed, .Share +{zoom:1} + +.tipClose{background-position:43px -404px;} +/*---------------------------------------end @declare -------------------------------------*/ + + + + +/*-------------------------------------------------@component -----------------------------------------------*/ + + /* global (first char uppercase) */ +.Pos{position:relative; zoom:1} +.Hide{display:none !important;} +.Invisible{visibility:hidden; position:absolute;} +.Clear{ clear:both} + +/* @deprecated 不建议使用,新页面禁止使用 */ +.Fixfloat{ overflow:hidden; _display:inline-block} + +.Nowrap{white-space:nowrap; overflow:hidden} +.Break{word-break:break-all; overflow:hidden} +.Right{ float:right} +.Left{ float:left} +.Star{ color:#f00;} +.Btn_s:link, .Btn_s:visited{border:1px solid #f93; padding:0 4px; background:#ffc; color:#6666cc} +.Doing{line-height:30px;text-align:center;color:#cc0000;} +.More{ background-position:0 -813px;font-size:13px; float:right;padding:1px 0 0 5px; cursor:pointer;} +.More span{background-position:right -864px;font-size:13px;color:#ff6633; float:left; height:22px;line-height:21px;overflow:hidden; padding-right:5px;} +.Rss{ margin-top:10px; } +/* img list for ul*/ +.imgList{text-align:center} +.imgList li{float:left; display:inline; overflow:hidden; width:120px; height:90px; padding:0 10px 20px 0} +.imgList img{display:block; margin:0 auto 3px} + +/* det list for ul*/ +.detList{ text-align:left} +.detList li{ clear:both; zoom:1; overflow:hidden; padding:0 0 10px 60px;} +.detList li .img{float:left; display:inline;margin:2px 0 0 -60px;} + +/* dianping list for dl */ +.contList{clear:both;font-size:13px; padding-bottom:8px;} +.contList dt{background:#f7f7f7; padding-right:5px} +.contList cite{font:normal 13px/1.8 Arial; padding-left:5px; zoom:1;} +.contList .contList-avatar{background:#fff; float:left; width:60px; _margin-right:-3px; text-align:center;} +.contList .ruImg{ padding:5px; vertical-align:middle;} +.contList dt span{font:13px/1.8 arial;} +.contList .bn{float:right; margin-top:3px} + +/* ugly fix for bug 4209 */ +.contList-edit p{_margin-left:82px;_margin-top:3px;} +.sub-contList .contList-edit p{_margin-left:40px;} + +.contList-info, +.contList-tag, +.contList dd{overflow:hidden; /* _display:inline-block */; zoom:1;} + +.contList dd address{color:#999; padding-top:5px} + +.contList-con{word-wrap:break-word;} +.contList-info,.contList-fn,.contList-con,.contList-tag{padding-top:5px} +.contList-fn li{ position:relative;} +.contList-fn li, .contList-info li{float:left; padding-right:8px} +.contList-tag li{float:left; margin-right:10px} + +.contList .cateReview { display: inline;} + +/* rankTable */ +.rankTable{ text-align:center; width:100%;} +.rankTable td,.rankTable th{ padding:3px 0;} +/* .rankTable tr.head{ background:#f93} */ +.rankTable tr.alt{ background:#F7F7F7} +.rankTable td.shopname{ text-align:left} + +/* quote */ +.quote{ border:1px solid #aaa; margin:14px 12px 20px} +.quote cite{ display:block; text-indent:12px; line-height:2;} +.quote blockquote{ overflow:hidden; margin:0; padding:6px 12px} + +.fnTip{ background:#FFF0E1; padding:6px 5px; margin:2px 0; position:relative;zoom:1;} +.fnTip .know{ background-color:#fff; background-position:42px -406px; border:#FFCC66 1px solid; color:#336699; padding:2px 3px;width:50px; font-size:12px; display:block; position:absolute; right:2px; top:4px;} +.fnTip .know:hover{ background-color:#ffc;background-position:42px -406px;} + + +/* pager */ +.Pages{clear:both;padding:5px;text-align:right;font-size:12px;float:right;} +.Pages a.PageLink:Link,a.PageLink:Visited,a.PageLink:Active,.raw-block .block-title .Pages a.PageLink:Link,.raw-block .block-title a.PageLink:Visited,.raw-block .block-title a.PageLink:Active{background:#fff;float:left;margin-left:2px;padding:4px 6px;line-height:100%;font-weight:normal;color:#6666cc;text-decoration:none;font-size:12px;border:1px solid #cbdbe5;} +.Pages a.PageLink:Hover,.raw-block .block-title .Pages a.PageLink:Hover{padding:4px 6px;color:#FFF;background:#6666cc;text-decoration:none;font-size:12px;border:1px solid #cbdbe5;} +.Pages a.PrevPage:Link,a.PrevPage:Visited,a.PrevPage:Active,.raw-block .block-title .Pages a.PrevPage:Link,.raw-block .block-title a.PrevPage:Visited,.raw-block .block-title a.PrevPage:Active{float:left;margin-left:2px;padding:4px 5px 4px 14px;line-height:100%;font-weight:normal;color:#6666cc;text-decoration:none;font-size:12px;border:1px solid #cbdbe5; background-color:#fff; background-position:5px -274px;} +.Pages a.PrevPage:Hover,.raw-block .block-title .Pages a.PrevPage:Hover{padding:4px 5px 4px 14px;color:#fff;text-decoration:none;font-size:12px;border:1px solid #cbdbe5; background-color:#6666cc; background-position:-5px -124px;} +.Pages a.NextPage:Link,a.NextPage:Visited,a.NextPage:Active,.raw-block .block-title .Pages a.NextPage:Link,.raw-block .block-title a.NextPage:Visited,.raw-block .block-title a.NextPage:Active{float:left;margin-left:2px;padding:4px 14px 4px 5px;line-height:100%;font-weight:normal;color:#6666cc;text-decoration:none;font-size:12px;border:1px solid #cbdbe5; background-color:#fff; background-position:45px -234px;} +.Pages a.NextPage:Hover,.raw-block .block-title .Pages a.NextPage:Hover{padding:4px 14px 4px 5px;color:#fff;text-decoration:none;font-size:12px;border:1px solid #cbdbe5; background-color:#6666cc; background-position:35px -84px;} +.Pages span.PageSel{float:left;padding:2px 8px;background:#6666cc;color:#fff;font-weight:bold;margin-left:2px;} +.Pages span.PageMore{float:left;padding:2px 8px;} + +/* ---- icons ---- */ +/* stars */ +.star10{ background-position:0 -320px; width:16px; height:16px;} +.star20{ background-position:0 -280px; width:30px; height:16px;} +.star30{ background-position:0 -240px; width:44px; height:16px;} +.star40{ background-position:0 -200px; width:58px; height:16px;} +.star45{ background-position:-200px -760px; width:72px; height:16px;} +.star50{ background-position:0 -160px; width:72px; height:16px;} +.star60{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/ul60-old.c37f64b7193d7f9c9fef5649b7d10e27.gif) no-repeat; width:17px; height:14px;} +.sstar0,.sstar5,.sstar10,.sstar20,.sstar30,.sstar35,.sstar40,.sstar45,.sstar50 +{width:80px; height:16px;} +.sstar0{ background-position:-199px -680px; } +.sstar5{ background-position:-200px -560px; } +.sstar10{ background-position:-200px -520px; } +.sstar20{ background-position:-200px -480px;} +.sstar30{ background-position:-200px -440px;} +.sstar35{ background-position:-200px -400px;} +.sstar40{ background-position:-200px -360px;} +.sstar45{ background-position:-200px -320px;} +.sstar50{ background-position:-200px -280px;} + +.msstar0,.msstar5,.msstar10,.msstar20,.msstar30,.msstar35,.msstar40,.msstar45,.msstar50 +{ width:64px; height:12px; /*gc*/ margin-top:3px\9;/*gc*/} +.msstar0{ background-position:-199px -1105px; } +.msstar5{ background-position:0 -1142px; } +.msstar10{ background-position:-199px -1071px; } +.msstar20{ background-position:-199px -1037px;} +.msstar30{ background-position:-199px -1003px;} +.msstar35{ background-position:0 -1107px;} +.msstar40{ background-position:0 -1073px;} +.msstar45{ background-position:0 -1038px;} +.msstar50{ background-position:0 -1003px;} + +.good{ background-position:0 -400px; width:19px; height:19px; float:left;} +.bad{ background-position:0 -440px; width:19px; height:19px;float:left;} +.mstar1,.mstar2,.mstar3,.mstar4,.mstar5,.mstar6,.mstar7,.mstar8,.mstar9,.mstar10,.mstar11,.mstar12{ width:62px;height:24px;display:block; margin:1px 0; zoom:0;} +.mstar1{background-position:0 -480px; } +.mstar2{background-position:0 -520px; } +.mstar3{background-position:0 -560px; } +.mstar4{background-position:0 -600px; } +.mstar5{background-position:0 -640px; } +.mstar6{background-position:0 -680px; } +.mstar7{background-position:0 -720px; } +.mstar8{background-position:0 -760px; } +.mstar9{background-position:0 -800px; } +.mstar10{background-position:0 -840px; } +.mstar11{background-position:0 -880px; } +.mstar12{background-position:0 -920px; } + +/* icons */ +.newpic{ width:22px; height:11px;background-position:0 -360px;} +.itop{width:35px; height:15px;background-position:0 0;} +.inoface{ width:48px; height:48px; background-position:0 0;} +.isnoface{ width:20px; height:20px; background-position:-200px -160px;} +.ipic{width:16px; height:14px; background-position:0 -75px;margin-right:3px;} +.iadd{height:12px; width:12px;background-position:0 -480px;margin-right:3px;} +.isehbtn{ background-position:0 10px; width:50px; height:27px; background-position:0 -991px;} +.ishare{background-position:0 -1034px; width:15px; height:14px;} +.sehBtn{ width:30px; height:30px; display:block; position:absolute; top:0; left:0;} +.idropDown{ width:14px; height:14px;background-position:0 -1460px;} +.iup{background-position:0 -1489px;height:9px;width:9px;} +.irss{background-position:0 -1514px;height:16px;width:16px;top:-1px;*top:0;margin-right:5px;} +.admin-icon{width:15px; height:14px; background-position:0 -1550px;} +.user-info .admin-icon{ float:left;} + +.comment-list-b .inoface { float: left; margin-right: 10px; margin-top: -48px;} + +/* share */ +.Share em{float:left; margin-right:5px;} +.Share .item{float:left; position:relative; top:2px; margin-right:9px; width:16px; height:16px;} +.Share .renren{background-position: -156px -1640px;} +.Share .kaixin, .Share .kaixinUO{background-position: -156px -1670px;} +.Share .mclub{background-position: -156px -1700px;} +.Share .sinat{background-position: -156px -1730px;} +.Share .douban{background-position: -156px -1760px;} +.Share .qzone{background-position: -156px -1790px;} +.Share .qqt{background-position: -156px -1820px;} +.Share .zhannei{background-position: -156px -1850px;} +.Share .email{background-position: -156px -1880px;} +.Share .link{background-position: -156px -1910px;} + +.Share .more{float:left; position:relative; top:-1px; left:-2px; z-index:20; width:23px; height:30px; border:1px solid #fff; border-bottom:none; background-position:-153px -1607px; background-color:#fff; cursor:pointer} +.Share .moreOn{border-color:#e5e5e5 #666 #fff #e5e5e5; background-position:-153px -1547px;} +.Share .more:hover{background-position:-153px -1577px;} + +.sharePanel{padding:5px 18px 0 6px; *padding-bottom:8px; border:1px solid #e5e5e5; border-color:#e5e5e5 #666 #666 #e5e5e5; width:80px; background-color:#fff; } +.sharePanel .item{margin-bottom:10px;} +.sharePanel .extra{position:absolute; top:-1px; right:0; width:23px; height:2px; background:#fff;} + +.sharePrompt .row{margin-bottom:5px;} +.sharePrompt label{float:left; margin-right:5px; width:45px; text-align:right;} +.sharePrompt .shareRight{float:left; width:212px;} +.sharePrompt input, .sharePrompt textarea{width:210px;} + +/*------------------------------------------------- /@component -----------------------------------------------*/ + + + + +/*------------------------------------------------- @module -----------------------------------------------*/ + +/* header */ + +.hdLine{background:#f93; padding:1px 10px;} +.hdLine{zoom:0;} + +.hdFn{padding:6px 0 5px; font-size:13px;} +.hdFn .logo{ float:left;} +.hdFn address{ float:left; margin:10px 0 0 25px;} +.hdFn .fn{ float:right;margin-top:10px;} +.hdFn .on a{font-weight:bold;} +.hdFn .fn span{ color:#999;} +.hdFn .fn li{ float:left; display:inline; padding-left:6px; margin-left:5px; background-position:0 -356px} +.hdFn .fn li.first{ background:none;} +.hdFn .fn li em{ color:#c00; font-weight:bold; font-style:normal; margin-left:2px;} + +.hdFn .fn li a.newMail{ font-weight:bold; } +.hdFn .fn li a.newMail:hover{background-color:#66C;color:#fff;text-decoration:none;} +.hdFn .fn li a.manage{ padding-right:12px; background-position:right -433px;} +.hdFn .fn li a.manage:hover{ background-position:right -473px;background-color:#66C;color:#fff;text-decoration:none;} + +.hdNav{ background-position:0 -40px; background-repeat:repeat-x; position:relative;*line-height:1.6;font-size:13px;} +.hdNav .tab,.hdNav .tag{background-position:0 0; padding-left:5px; height:38px; overflow:hidden; float:left;} +.hdNav .tab li,.hdNav .tag li{ float:left;} +.hdNav .tab li a,.hdNav .tag a{color:#900;display:block; padding:0 0 0 15px;} +.hdNav .tab li a strong{ display:block; padding:8px 15px 10px 0;text-shadow:#fff 1px 1px 1px;} +.hdNav .tab li a .arrow{background-position:right -635px;*background-position:right -637px; padding-right:10px;} + +/* new icon ---------------------- */ +.hdNav .newIcon{position:relative; zoom:1; top:-33px; left:28px;} + +/* css上线是,数据库更新的tx不在,暂时添加important覆盖inline style,数据库更新后请删除 */ +.hdNav .tag .newIcon{top:-6px !important; left:0;} + +.hdNav .wide .newIcon{left:41px;} +.hdNav .tag .wide .newIcon{left:13px;} + +/* 将height设置为18px很重要,这是为了在IE6中,跟字体设置相同的行高,而避免文字向上漂浮 */ +.hdNav .newpic{ height:18px;} + + +.hdNav .tag{background-position:right -80px; float:right; padding-right:5px;} +.hdNav .tag a{padding:0 6px 0 0;} +.hdNav .tag a:hover{ text-decoration:underline;} +.hdNav .tag li a strong{display:block; padding:8px 0 10px 8px;text-shadow:#fff 1px 1px 1px;} + + +.hdNav .tab li.on a,.hdNav .tab li a:hover +{ background-position:0 -240px; } +.hdNav .tab li.on a strong,.hdNav .tab li a:hover strong +{background-position:right -280px; color:#c33;} +.hdNav .tab li.mark{ background-position:0 -120px; padding-left:7px; margin-left:5px;} +.hdNav .tab li a.chlList{ cursor:default;} + + +.hdNav .sform{ position:absolute;right:0px; top:0;background-position:right -80px;height:38px; width:306px; } +.hdNav .sform fieldset{background-position:0 -158px; padding:2px 5px 0px 33px;height:38px; } +.hdNav .sform fieldset input{ height:15px;width:215px; padding:2px 0;*padding:3px 0 2px;margin-top:5px; border:none;border-color:transparent; font-size:13px;color:#999; float:left; font-size:13px; } +.hdNav .sform fieldset button{ width:53px; height:29px; background-position:right -200px; border:none; padding:0;text-indent:-9999px; float:right;} + +.hdNav .inp,.hdNav .inp .select,.hdNav .inp .search +{ float:left;} +.hdNav .inp{margin-right:-500px; padding:4px 0 0 10px; height:33px; background-position:0 -40px;} +.hdNav .inp .select{display:inline; padding-right:24px;background-position:right -560px;} +.hdNav .inp .select .value{ float:left;background-position:0 -520px;width:58px; height:26px;padding:5px 0 0 10px;cursor:default;-moz-user-select:none;} +.hdNav .inp .select .list{ display:none;} + +.hdNav .inp .search{ position:relative;} +.hdNav .inp .search .text{background-position:0 -520px; float:left; height:26px; width:195px; padding:5px 0px 0px 30px;} +.hdNav .inp .search .text input{height:15px;width:170px;border:none;border-color:transparent; font-size:12px;color:#999; float:left;padding-left:4px;} +.hdNav .inp .search .text input.on{color:#000;} +.hdNav .inp .search button{background-position:0 -600px; height:30px; width:50px; border:0; padding:0;} + + +.hdSub{ border:1px solid #ccc; border-top:none; background-position:right -320px; background-repeat:repeat-x; background-color:#feefbb;padding-left:5px; font-size:0; } +.hdSub li{float:left; padding:3px 0 3px 15px; display:inline; font-size:12px;} +.hdSub li a,.hdSub li a:link,.hdSub li a:visited,.hdSub li a:hover,.hdSub li a:active{ color:#666;} +.hdSub li a,.hdSub li.fn strong,.hdSub li.fn em{float:left; padding:2px 0;*padding:4px 0 0;} + +.hdSub li a:hover{ text-decoration:underline;} +.hdSub li a img{ padding-top:3px;} +.hdSub li.fn{float:right; padding:3px 7px 3px 8px;} +.hdSub li.fn strong{background-position:0 -475px; padding-left:16px;} +.hdSub li.fn a{ color:#66c;float:none;} +.hdSub li.fn a:hover{text-decoration:underline;} +.hdSub li.arrow{padding-right:12px; background-position:right -387px;} + +.hdSub .myGroupsBtn{margin-right: 10px; float:right; display:inline;} + +.flotPl{ position:absolute; visibility:hidden; background:#fff; padding:3px 6px 5px 6px;background:#fff;margin-top:2px;border:#000 solid 1px;left:0;} +.flotPl a{display:block;margin-bottom:1px;width:auto;} + +.Pl_cate,.Pl_hMGm +{background:#fff;border:1px solid #000000;padding:3px 6px 5px 6px;position:absolute;visibility:hidden;margin-top:1px; left:0;} +.Pl_cate a,.Pl_hMGm a +{display:block;margin-bottom:1px;width:auto;} + +.hdCityMenu{ border:#000 1px solid;width:380px;position:absolute; visibility:hidden; } +.hdCityMenu dl,.hdCityMenu dd,.hdCityMenu dd ul{ overflow:hidden;_display:inline-block} +.hdCityMenu dl{background:#efefef;} +.hdCityMenu dt{ float:left;padding:5px 5px 26px; font-weight:bold;} +.hdCityMenu dd{ border-bottom:#ccc 1px dashed;padding:0 0 5px;background:#fff} +.hdCityMenu strong{ float:right;} +.hdCityMenu dd ul li{padding:5px 5px 0; float:left; width:41px;white-space:nowrap;} +.hdCityMenu .fn dt{color:#efefef;} +.hdCityMenu .fn dt,.hdCityMenu .fn dd{ padding:0 5px 5px; border:none;} + +.hdCatM1c {position:absolute; visibility:hidden; top:23px; left:1px; background:#FFF9D7; border:solid 1px #B59B54; margin:0; padding:0; height:auto; width:88px;} +.hdCatM1c a:link,.hdCatM1c a:visited,.hdCatM1c a:hover,.hdCatM1c a:active{display:block; padding:3px 2px 3px 8px; text-decoration:none; zoom:1; color:#333; background:#FFF9D7} +.hdCatM1c a:hover{background:#efefef} +.hdCatM1c a.selected{background:#efefef} + +.hdCatM2c {position:absolute;visibility:hidden; top:23px; left:1px; background:#fff; border:solid 1px #CCC; margin:0; padding:0; height:auto; width:88px;} +.hdCatM2c a:link,.hdCatM2c a:visited,.hdCatM2c a:hover,.hdCatM2c a:active{display:block; padding:3px 2px 3px 8px; text-decoration:none; zoom:1; color:#333; background:#fff} +.hdCatM2c a:hover{background:#efefef} +.hdCatM2c a.selected{background:#efefef} + +/* aside box for dl markup*/ +.asideBox{ border:#ccc 1px solid; margin-bottom:10px} +.asideBox dt{background:#efefef; padding:3px 10px; color:#cc0000; font-size:13px} +.asideBox dd{padding:10px 0 5px 10px} +/*listBox*/ +.listBox{ border-bottom:1px solid #ccc; font-size:13px; padding:10px 0;} +.listBox h3{ color:#c00; font-weight:bold; padding-bottom:3px; zoom:1; overflow:hidden;} +.listBox .con{ padding-left:5px;} + +/* rank box for dl markup*/ +.rankBox{ border:2px solid #FFE8D9; width:226px;} +.rankBox dt{background:#FFE8D9; text-align:center; color:#cc0000; font:bold 14px/1.6 arial;} +.rankBox dd{ padding:0} +.rankBox dd p{background:#FFE8D9; text-align:right; padding:4px 5px 3px 0; font:12px arial;} + + +/* tag box */ +.tagBox{ border-bottom:1px dotted #bcbcbc} +.tagBox h2{border-bottom:1px dotted #bcbcbc; color:#cc0000; font-size:14.8px} +.tagBox dt{color:#cc0000; font-size:13px} +.tagBox dd{padding:5px 0} +.tagBox dd table td{padding:0 5px} + +/*search categroy*/ +.sehBox{} +.hasBorder{ border:1px solid #FB9F78; padding:8px 0 2px 8px; margin-bottom:12px;} +.sehBox dl{margin-bottom:5px;} +.sehBox dl dt{float:left; margin-right:2px; *padding-top:2px;} +.sehBox dl dd{ width:800px; float:left;} +.sehBox dl dd ul{ overflow:hidden; _display:inline-block; } +.sehBox dl dd ul li{ float:left;display:inline; margin-right:7px; line-height:20px;} +.sehBox dl dd ul li.top{ position:relative;} +.sehBox dl dd ul li span{ color:#999;} +.sehBox dl dd ul li a,.sehBox dl dd ul li strong,.sehBox dl dd ul li span{ white-space:nowrap;} +.sehBox .sub{ border:1px solid #C5C5C5; background:#FFFAE4; padding:2px 4px;} +.sehBox .cate{ padding-bottom:3px;} +.iarrowBtm{ width:10px; height:7px; position:absolute;top:17px; left:41%; background-position:-200px -40px;} +/* search list */ +.searchList{width:auto} +.searchList .sort{background:#f93; padding:5px 2px;} +.searchList .sort a, .searchList .sort span{padding-left:5px} + +.searchList dt{position:relative; zoom:1; text-align:right; padding:5px 0px; border-top:2px #ff9f24 solid; height:1.5em;border-bottom:1px dashed #999999;} +.searchList dt .listFn{position:absolute; top:0px; overflow:hidden;_display:inline-block;} +.searchList dt .listFn *{ float:left;} +.searchList dt .listFn span,.searchList dt .listFn strong{ padding-top:6px; margin-right:5px;} +.searchList dt .typer strong{ margin-right:20px;} +.searchList dt .listFn span{ *padding-top:5px;} +.searchList dt .listFn a.B,.searchList dt .listFn a.BL{ margin:4px 10px 0px 0px;} +.searchList dt .listFn strong a.B,.searchList dt .listFn strong a.B:link,.searchList dt .listFn strong a.B:visited,.searchList dt .listFn strong a.B:hover,.searchList dt .listFn strong a.B:active +{ margin:0; padding:0; background:none; color:#333;} +.searchList dt span.typel{left:2px;} +.searchList dt span.typer{ right:0;} +.searchList dt a{padding-right:10px} +.searchList dt strong,.searchList dt em a +{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/arrowtop-old.300cb724a9591eb2d004e3e7a4cb42a6.gif) center top no-repeat; padding-top:5px;float:left;} + +.searchList dd{ zoom:1; padding:10px 0 20px;background:#fff; position:relative; _height:70px; min-height:70px;} +.searchList .detial{ font:13px/1.5 arial; margin-bottom:10px;} +.searchList .shopname{ padding:0 0 3px; height:21px; } +.searchList .mapMark{ position:relative; top:2px; left:1px;} +.searchList .shopname .tip{color:#ccc;} +.searchList .shopname a{font-size:14px; font-weight:bold;} +.searchList .remark{width:211px;float:right} +.searchList .remark li{ clear:both;padding-left:26px;padding-top:3px;} +.searchList .remark li.grade{ float:left; font-weight:bold; padding-left:0px;} +.searchList .grade span{ float:left; width:30px; text-align:center; white-space:nowrap;margin-left:18px; font-family: Tahoma, Geneva, sans-serif;} +.searchList .review{ margin:10px 0;} +.searchList .fn{ position:absolute; bottom:0px;width:100%;border-bottom:1px dashed #999999; text-align:center; height:21px;} +.searchList .fn *{ display:none;} +.searchList .fnon{ position:absolute; bottom:0px;background:#DBE5EC; width:100%;border-bottom:1px solid #84ADFC;text-align:center;height:20px;padding-top:2px;} + + +.rateBox{padding: 15px 30px;} +.rateBox li{float:left;margin: 0 5px;border:1px solid #D9D9DB;border-top: 0;border-left: 0;} +.rateBox li a.send, .rateBox li a.send:hover{background-position: 5px 3px;background-repeat: no-repeat;color:#0065CD;width:65px;height:21px;border:1px solid #ACB9C1;background-color:#D2E4FC;display:block;padding: 8px 0 0 35px;line-height:13px;font-size:13px;} +.rateBox li a.send:hover{background-color:#B9D3F6} +.rateBox_noPop{padding: 5px;} + +.favoriteBox{margin:10px 0 30px 15px;} +.favoriteBox p{margin:8px;} + + +/*follownote module*/ +#followNote,#followNoteAdd{ padding:10px;clear:both;} +#noteTitle,#noteAddTitle{color:#C51100;font-size:14.8px;font-weight:bold; padding-bottom:5px} +#followNote .contList{ padding-bottom:20px;} +#followNote .contList-avatar{ width:70px; text-align:left} +#followNote .contList-avatar img{border:1px solid #ccc;} +#followNote .contList-fn { color:#999} +#followNote .contList-fn .confirm,#followNote .loading{margin-right:5px; padding:1px 5px; color:#cc0000; font-size:12px; background:#FFFFCC; border:1px solid #CCCCCC; display:none;} +#followNote .loading{ display:inline;} +#noteAddTitle{ width:70px; float:left; display:inline;} +#noteAddBody{ float:left; display:inline;} +#noteAddText{ width:480px; height:180px;} +#noteAddEmo,.noteAddEmo{ height:35px; overflow:hidden; zoom:1;} +#noteAddEmo p,.noteAddEmo p{ float:left;padding:3px 12px 2px 2px; cursor:pointer; font-family:Arial} +#noteAdderror,.noteError{ display:none;} + +/* ajax login & reg module */ +.regLoginContent{width:460px;padding-bottom:20px;height:500px;} +.regLoginContent .rlTip{color:#aaa;} +.regLoginContent .tabs{font-family:Arial,"Trebuchet MS", Trebuchet, Verdana, Helvetica, sans-serif;font-size:13px;padding:10px;} +.regLoginContent .tabs h3{font-size:14px;color:#333;} +.regLoginContent .tabs .tabNavigation{list-style:none;margin:0;padding:5px 0 0 4px;border-bottom:1px solid #aaa;height:23px;width:365px;} +.regLoginContent .tabNavigation:after {display:block;clear:both;content: " ";} +.regLoginContent .tabNavigation li {float: left;margin: 0 0 0 1px;min-width: 84px; /* be nice to Opera */width:84px;} +.regLoginContent .tabNavigation a.nosel{color: #6665CB;display:block;padding: 7px 10px 0px 10px !important;padding-top:6px;font-size:12px;margin: 1px 0 0;font-weight: bold;line-height: 1.2;text-align: center;text-decoration: none;white-space: nowrap;outline: 0;} +.regLoginContent .tabNavigation a.selected{position: relative;margin-top: 0;background:#fff;top:0px !important; top:1px;height:16px;color:#000;border-top:1px solid #aaa;border-left:1px solid #aaa;border-right:1px solid #aaa;} +.regLoginContent .mxitem {clear:both;padding:0px 0 0px 10px;} +.regLoginContent .mxitem .mxsubtitle{float:left;padding:5px;text-align:right;width:100px;} +.regLoginContent .mxitem .mxsubtitles{float:left;padding:5px;text-align:right;width:90px;} +.regLoginContent .mxitem .mxinput{padding:5px !important;padding:0px 5px 5px 5px;} +.regLoginContent .mxitem .Info{font-size:12px; color:#333;} +.regLoginContent .mxitem .regvaliinfo{font-size:12px; color:#C51100;display:none;height:15px;padding-left:90px !important;padding-left:0px;height:16px;} +.regLoginContent .mxitem .fv-err{font-size:12px;padding-left:0px;height:16px;} +.regLoginContent .mxitem .fv-def{font-size:12px;padding-left:0px;height:16px;} +.regLoginContent .mxitem .fv-ok{font-size:12px;padding-left:0px;height:16px;} +.regLoginContent .mxitemcenter{padding-left:90px;} +.regLoginContent .loadingmsg{background:#fff url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/spinner-old.04836c514aea7d3d203112128be81fd6.gif) no-repeat scroll 105px center;color:#444;font-size:14px;text-align:center;width:100%;padding:130px 0px;} + +.regLoginContent .tabs .tbt{text-align:right;width:90px;} +.regLoginContent .tabs tr{height:23px;} +.regLoginContent .tabs tr.vali{vertical-align:top;height:27px;} +.regLoginContent .tabs #loginimg{position:relative;top:6px;margin-right:5px;margin-bottom:5px;} +.regLoginContent .tabs #regimg{position:relative;top:6px;margin-right:5px;margin-bottom:5px;} + +/* -------- Agreement --------- */ +.regLoginContent .dpAgreement{height:100px;overflow:auto;padding:2px;border:1px solid #E9E9E9;} +.regLoginContent .dpAgreement h3{font-weight:bold;text-align:center;margin:5px 0px;} +.regLoginContent .dpAgreement p{padding:0px 0px 10px 0px;} +.regLoginContent .adAgreementLogin{width:320px;margin:0px 0px 10px 0px;} + +/* 这里的内容亟待重构,临时修改注册按钮被隐藏的问题 */ +.regLoginContent #reg .adAgreementLogin{height:70px;} + +.regLoginContent .vcenter{vertical-align:top;padding-top:5px;} +.regLoginContent .inpwp{float:left;width:110px;padding-top:5px;} +.regLoginContent .inpimgwp{float:right;width:220px;} + +/* btnMore */ +span.btnMore, +a.btnMore, +a.btnMore:link,a.btnMore:visited +a.btnMore:hover,a.btnMore:active +{background-position:0 -716px; padding-left:8px;text-decoration:underline;cursor:pointer; font-size:13px; color:#999;} + + +/*AW new style*/ +a.GoogleLinkG:link, a.GoogleLinkG:visited, a.GoogleLinkG:hover, a.GoogleLinkG:active{ color:#666; display:block;} +.DPAD .DPADSubject a.BL{ font-size:13px;} +.DPAD .DPADDesc a.GoogleLinkG{ font-size:12px;} +.DPAD .DPADURL a.GoogleLinkG{ font-size:10px;} +/*new style end*/ + +/* old */ +.DPAD{ clear:both;border:solid 1px #f7f7f7;padding:0; margin-bottom:10px;} +.DPAD .DPADTitle{background-color:#f7f7f7;padding:5px 0px 0px 5px;vertical-align:top;color:#999;} +.DPAD .DPADDesc{ clear:both; font-size:12px; margin-left:5px; border-bottom:solid 1px #f7f7f7;} +.DPAD .DPADSubject{font-size:13.8px;padding: 5px 0 5px 0px; margin-left:5px;} + +.DPADLeft{clear:both;width:99%;background-color:#f2f8fc; display:block; } +.DPADLeft .DPADTitle{padding-top:2px;width:100%;vertical-align:bottom; text-align:right; color:#999; position:absolute;} +.DPADLeft .DPADDesc{ clear:both; font-size:12px;padding:0;width:100%;} +.DPADLeft .DPADSubject{font-size:13px;padding: 2px 0 2px 0; font-weight:bold;} + +.DPADURL{padding:0; font-size:10px; margin-bottom:5px;} +.DPADLeftURL {padding:0 0 0 10px; color:#000; font-size:10px;} + +a.HP:Link,a.HP:Visited{color:#00f;text-decoration:underline;display:block;} +a.HP:Hover,a.HP:Active{color:#00f;text-decoration:underline;display:block;} +a.GoogleLink {display:block;} +a.HPURL:Hover,a.HPURL:Active{color:#66CC66;font-size:9px;text-decoration:underline;display:block;} +a.HPURL:Link,a.HPURL:Visited{color:#66CC66;font-size:9px;display:block;} + +.DPADBrandImages{margin-top:10px;} +.DPADBrandImage img{ display:block; margin:0 auto;} +.DPADBrandImage{ margin-bottom:5px;} +/* old end */ + + + + + +/*------------------------------------------------- /@module -----------------------------------------------*/ + + +/*------------------------------------------------- @JS -----------------------------------------------*/ +/* bulletin */ +.Bulletin{zoom:1; position:relative; margin:5px auto; border:1px solid #e0db65; padding:6px 90px 0 16px; height:22px; width:852px; background-color:#feffd7; line-height:14px;} +.Bulletin .icon{float:left; position:relative; top:2px; margin-right:8px; width:11px; height:11px;} +.Bulletin .close{position:absolute; right:13px; top:6px; padding-right:13px; background-position:right -16px; color:#ad865d; top:8px\9;} + + +/*mbox*/ +#mbox-window{zoom:1; background-color:#000; overflow:visible; padding:3px; position:absolute; text-align:left} +#mbox-btn-close{background:transparent url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat 0 0; border:solid 1px #eee; height:15px; width:15px;position:absolute; right:10px; top:12px; } +#mbox-btn-close:hover{ border:solid 1px #000;} +.mbox-loading{background-image:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/spinner-old.04836c514aea7d3d203112128be81fd6.gif); background-position:center; background-repeat:no-repeat} +#mbox-content{background-color:#fff; clear:both; width:100%; height:100%; overflow:hidden;} +.mbox-content-image{overflow:visible} +.mbox-content-image img{display:block} +.mbox-content-iframe{overflow:visible} + +/*prompt*/ +#dp-Box{border:3px solid #000; background:#fff} +#dp-closehandle{ width:15px; height:15px; position:absolute; right:6px; top:6px;border:solid 1px #eee; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat;} +#dp-closehandle:hover{ border:solid 1px #000;} +#dp-title{} +#dp-InBox{} +#dp-control{ text-align:center;} +#dp-control input,#dp-control button{ vertical-align:middle;} + +/*default theme*/ +.DialogTitle{ height:15px; padding:10px; background:#eee; color:#cc0000; font:bold 14.8px arial;} +.DialogContent{color:#000000;font-size:12px;line-height:18px;margin:10px;} +.DialogButtons{margin:10px;text-align:center;} +.DialogButtons input,.DialogButtons button{margin:0 5px;} + + + +/*mtabs*/ +.mtabList a,.mtabList span{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat;} +.mtabList{ border-bottom:3px solid #f94; zoom:1; overflow:hidden;} +.mtabList li{ float:left;margin-right:2px;text-align:center; } +.mtabList a{float:left;padding-left:15px; background-position:0 0; text-decoration:none;} +.mtabList a span{font-size:13px; display:block; line-height:25px;padding-right:15px;background-position:100% 0;cursor:pointer;} +.mtabList li.active a{background-position:0 -25px;} +.mtabList li.active a span{background-position:100% -25px;} + +.mtabPanel{clear:both; overflow:hidden;zoom:1;display:none; } +.mtabPanel.active{ display:block} + +/*mcalendar*/ +.mcalendar{font-size:12px; width:171px; height:197px; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/cal-bg-old.f3bac566f75b491cc0a50f48379b5e49.png) no-repeat; padding:10px 0px 0px 12px} +.mcalendar ul{list-style:none; width:147px; margin:0px; padding:0px; clear:left} +.mcalendar ul li{float:left; width:21px; height:19px; text-align:center; cursor:pointer} +.mcalendar ul li a:link{display:block; width:21px; height:19px; color:#000; text-decoration:none} +.mcalendar ul li a:hover{color:#f94; text-decoration:underline} + +.mcalendar a.mcalendar_selected:link{height:21px; cursor:pointer; color:#f94; text-decoration:none} + +.mcalendar li.mcalendar_invalid{} +.mcalendar li.mcalendar_outrange{color:#333; height:20px; padding-top:1px} + +.mcalendar li.mcalendar_week{color:#f94; height:auto; padding:2px 0 1px 0} + +.mcalendar li.mcalendar_today{height:21px; width:63px; display:block} +.mcalendar li.mcalendar_today a:link{width:63px; display:block; height:18px; padding-top:3px; color:#000} +.mcalendar li.mcalendar_today a:hover{color:#f94} + +.mcalendar li.mcalendar_month{height:21px; width:63px; display:block} +.mcalendar li.mcalendar_month a:link{width:63px; display:block; height:18px; padding-top:3px; color:#000} +.mcalendar li.mcalendar_month a:hover{color:#f94} + +.mcalendar li.mcalendar_year{height:21px; width:63px; display:block} +.mcalendar li.mcalendar_year a:link{width:63px; display:block; height:18px; padding-top:3px; color:#000} +.mcalendar li.mcalendar_year a:hover{color:#f94} + +.mcalendar li.mcalendar_logo{background:transparent; color:#079ddd} + +/*Carousel*/ + +.carousel_shop{position:relative; width:580px;padding:12px 50px; border:1px solid #ccc; background:#F0EFEF;margin-bottom:10px;} +.carousel_shop .previous{ position:absolute; cursor:pointer; width:30px; height:115px; left:0; top:0px; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/prv1-old.2f6640ecd7bc7fc4ad2ca284bc05d44f.gif) no-repeat;} +.carousel_shop .next{position:absolute; cursor:pointer; width:30px; height:115px; right:0; top:0px; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/nxt1-old.a786d4e97dce810f763332ac61140b75.gif) no-repeat;} +.carousel_shop .unable{ background-position:-30px 0; cursor:default} +.carousel_shop .clip{ position:relative; width:580px; height:91px; overflow:hidden;} +.carousel_shop .cont{position:absolute; top:0; width:1720px} +.carousel_shop .cont li{ overflow:hidden; float:left; width:116px;background:#F0EFEF; padding:0; margin:0; border:0} +.carousel_shop .cont li.sitem{ background:#656565;} +.carousel_shop .cont li p{ padding:8px;} + +.carousel_dp{ position:relative; padding:8px 30px; margin-bottom:10px;} +.carousel_dp .previous{ display:none; position:absolute; cursor:pointer; width:26px; height:106px; left:0; top:8px; } +.carousel_dp .next{ display:none; position:absolute; cursor:pointer; width:26px; height:106px; right:0; top:8px; } +.carousel_dp .unable{ background-position:-26px 0; cursor:default} +.carousel_dp .clip{ position:relative; height:106px; overflow:hidden;} +.carousel_dp .cont{position:absolute; top:0; width:17200px;} +.carousel_dp .cont li{ overflow:hidden; float:left; width:127px;background:#fff; padding:0; margin:0; border:0} +.carousel_dp .cont li img{ padding:0 10px;} +.carousel_dp .cont li p{ text-align:center; overflow:hidden} + +.carousel_none .previous,.carousel_none .next{display:none;} +.carousel_none .clip{background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dp-s-bg-old.9283c82722a3f50c7585df033a2451a1.gif) no-repeat; float:left; padding-left:30px} +.carousel_none .cont{ padding:8px 30px 8px 0; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dp-s-bg-old.9283c82722a3f50c7585df033a2451a1.gif) no-repeat 100% 0; float:left;} +.carousel_none .cont li{ overflow:hidden; float:left; width:127px; height:106px;background:#fff; padding:0; margin:0; border:0} +.carousel_none .cont li img{ padding:0 10px;} +.carousel_none .cont li p{ text-align:center; overflow:hidden} + +.DpAdShower{ overflow:hidden; zoom:1; font:12px arial; height:18px;} +.DpAdShower li{ float:left; color:#fff; width:18px; height:18px; line-height:normal; margin:2px 3px; text-align:center; background:#593325; cursor:pointer; } +.DpAdShower li.current{font-weight:bold; background:#ff5a00; padding-left:0} + /*minput*/ + + /* Radios Checkboxes */ +.minputRadiobox{background:transparent url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat left top; vertical-align:middle; overflow:hidden; height:14px; width:15px; display:block; font-size:0} +.minputCheckbox{background:transparent url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat left top; vertical-align:middle; overflow:hidden; height:13px; width:14px; display:block; font-size:0} +.minputChecked{background-position:left bottom} +.minputHidden{display:none} + +/* Selects */ +.minputWrapper{position:relative; height:19px} +.minputWrapper div span{float:left; color:#336699; height:19px; font:12px/19px arial; padding:0px 3px; overflow:hidden;background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat 0 0} +.minputWrapper div a{ float:left; width:21px; height:19px; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/dpui-old.1bf217b4d12dfcf0b5735938c06ff6a4.gif) no-repeat 0 -20px} +.minputWrapper ul{position:absolute; top:18px; left:0; background:#fff; border:solid 1px #CCC; margin:0; padding:0; height:150px; overflow-y:auto; overflow-x:hidden} +.minputWrapper ul a{display:block; padding:5px; text-decoration:none; zoom:1; color:#09C; background:#fff} +.minputWrapper ul a:hover{background:#E1F5FF} +.minputWrapper ul a.selected{background:#EDEDED} + +/*autocomplete*/ +.autocompleter{ border:1px solid windowframe; background:#fff; line-height:25px;} +.autocompleter li{padding:0 7px;} +.autocompleter li p{float:right; color:green;} +.autocompleter .ac_select p{color:#fff;} +.ac_title{ border-bottom:1px dashed #666; line-height:20px; font-family:"Simyou"} +.ac_select{ background:#6666cc; color:#fff; cursor:pointer;} +.ac_close{ text-align:right; font-size:12px} +.ac_page{ overflow:hidden; line-height:20px;zoom:1} +a.ac_page_select:link,a.ac_page_select:hover,a.ac_page_select:active,a.ac_page_select:visited{color:#000; font-size:12px; padding:0 5px} +a.ac_page_normal:link,a.ac_page_normal:hover,a.ac_page_normal:active,a.ac_page_normal:visited{color:#6666cc; font-size:12px; padding:0 5px; text-decoration:underline} + +/*tagSelector*/ +.tagdiv{line-height:16px;margin:3px 0 5px 0;} +.tagtitle{color:#333;margin-right:6px;} +.taglist a{padding:2px 1px 0 1px; text-decoration:none;margin-right:4px; color:#fff;} +.taglist a:link, .taglist a:visited{color:#66c;} +.taglist a:hover, .taglist a:active{color:#FFF;background:#66c;} +.taglist a.tagon,.taglist a.tagon:link,.taglist a.tagon:visited,.taglist a.tagon:active{color:#fff; border-color: #F27E44; background-color: #F93;} + +/*fv*/ +.fv-def{ color:#404;visibility:hidden;} +.fv-ok{ color:Green} +.fv-err{ color:#cc0000} +.fv-bang{ background:#cc0000} +.textareaError{color:#cc0000} + +/*report-panel*/ +.report-panel{ font-family:Arial; background-color:#fff;line-height:20px; padding:10px 0 0 30px; height:68px;} +.report-panel select{ display:block;clip:rect(5 80 20 2); padding:1px;width:220px; line-height:20px; background-color:#fff; float:left;} +.report-panel input{ width:218px;margin:10px 0 0;} +.report-panel .report-help{width:20px;height:20px; display:block; margin-left:5px; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/report-help-old.1743868b8f5b9121a3e96ae35944a7a8.png) no-repeat center center; float:left;} +.report-panel .report-err{ color:red; line-height:20px; height:20px; clear:both;} +.report-panel .report-succ{ color:#333; font-weight:bold; font-size:15px; text-align:center;} + + + +/*star rating*/ +.starRating,.rating .wp +{display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;*margin-right:3px;vertical-align:middle;position:relative; font-size:0px;} +.starRating,.starRating li:hover,.starRating .s1-on,.starRating .s2-on,.starRating .s3-on,.starRating .s4-on,.starRating .s5-on +{ background-image:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/remark-old.c9ee6f98e29b0bfeb0aa0b1f2a4cdcf7.png); background-repeat:repeat-x;height:16px;z-index:1;} + +.rating{height:32px;z-index:0; background-position:0 bottom;-moz-border-radius:3px;-webkit-border-radius: 3px;border-radius: 3px;} +.rating label{ font-size:13px;vertical-align:middle; margin-right:8px; zoom:1;} +.rating .wp{ padding:6px 8px 5px; background:#FEF5C4; border:1px solid #f93;} + +.starRating{ width:80px;background-position:-199px -680px;} +.starRating li{ position:absolute; text-indent:-9999px;cursor:pointer; width:16px;height:16px; z-index:2; } + +.starRating .s1{left:0;} +.starRating .s2{left:16px;} +.starRating .s3{left:32px;} +.starRating .s4{left:48px;} +.starRating .s5{left:64px;} +.starRating .data{ display:none;} +.starRating .info,.starRating li.info:hover{ font-weight:bold; right:-215px; top:-2px; text-indent:0; width:200px; font-size:13px; background:none; cursor:default;color:#666} + +.starRating .hover,.starRating li.hover:hover{color:#f63} +.starRating .error,.starRating li.error:hover{color:#c00} + +.starRating .s1:hover,.starRating .s1-on +{background-position:-200px -520px;width:16px;left:0;} +.starRating .s2:hover,.starRating .s2-on +{background-position:-200px -480px;width:32px;left:0;} +.starRating .s3:hover,.starRating .s3-on +{background-position:-200px -440px;width:48px;left:0;} +.starRating .s4:hover,.starRating .s4-on +{background-position:-200px -360px;width:64px;left:0;} +.starRating .s5:hover,.starRating .s5-on +{background-position:-200px -280px;width:80px;left:0;} + +/*gc*/ +.linkSplit{ color:#ccc;} +/*gc*/ + + + +/* ================================================ NEW DP MAIN-SITE ========================================================== *\ + * 注意事项: + * 1. 主站改版的新样式,不允许继承上面的任何内容 + * 2. 新页面不允许使用除了以上 @reset 层之外的任何定义 + * 3. 新的 @declare 层(clear float, css sprite, inline-block),请在下面重新定义 + * 4. 特别注意自己代码中,是否使用了旧css中的 @tools 选择符 + + * 目录结构: + * 1. 主站改版新的css文件,将放置在 /s/c/ 目录下。g.base中的定义,暂时放在 /s/css/g.base.css 中 + * 2. 新的css sprite文件,将放置在 i/ 目录下,请注意。 + + + * 全局Z-index定义:(旧页面保持不变,开发新页面将以一下定义为准) + * 1. 0-999 基础页面内容元素z-index + * 2. 1000 - 1999 下拉菜单(drop-down),其他非窗体级javascript浮动元素 + * 3. 2000+ Mask shim(default 2000) < Mask(default 2100) < Overlay(default 2200) + */ + + +/* -------------------------------------- @reset -----------------------------------------*/ +body{background-color:#fff;} +/* ------------------------------------ /@reset ------------------------------------------*/ + +/* -------------------------------------- @z-index -----------------------------------------*/ + + +/* hack for ie6-7 ------------------------- + * 设置 .nav-bar的z-index,是为了让搜索建议的浮动层的父级元素(offset parent)比.section拥有更高的flow z-index, + * 涉及到这个问题的还有 .header .s-wrap-inner,以及 c.index.css 中的 .page-home .section-inner + */ + +/** + * 业务要求 drop-menu 要比 drop-panel 更高 + * 由于早年的popup-panel是把 z-index写死为999,所以这里暂时将 z-index 设置为1001,之后全部切换过来之后再修改为550 + */ +.header-bar .hd-menu{z-index:1001} +.pp_quick-nav, .pp_user-center{z-index: 552} + + +.header-bar .drop-menu{z-index:555} + +/** + * 不定义 .header 和 .ep-channels-wrapper 的 z-index,使pp_channels 与 .location 有相同的 offsetParent 堆栈 + */ +/* .header{z-index:500}*/ +.header .nav-bar{z-index:505} +.header .nav{z-index:510} + +.pp_search-suggest{z-index:520} +.pp_channels {z-index:530} +.header .location {z-index:535} +.pp_channels .root-name{z-index:535} +.pp_channels .sub-list{z-index:532} +.pp_ipad-hint{z-index:530} + + + +/* -------------------------------------- @z-index -----------------------------------------*/ + + +/* -------------------------------------- @layout -----------------------------------------*/ + +.header-bar .inner, +.header, +.breadcrumb, +.main, +.secondary, +.footer { width: 960px; margin: 0 auto 10px;} + +.header-bar .inner{margin-bottom:0;} + +.main-top { width: 960px; margin: 0 auto;} + +/*三栏页面布局 默认*/ +.section { float: left; width: 100%; +/* 给section设置min-height很重要,原因不解释 */ +min-height:1px;} + +.section-inner { width: 550px; margin: 0 250px 0 160px; } +.page-home .section-inner{overflow:hidden; zoom:1; } +.aside {} +.aside-left {float: left; width: 150px; margin-left: -960px;} +.aside-right {float:right; width: 240px; margin-left: -240px;} + +/*三栏页面布局 layout-sas 除主页之外的三栏页面,如搜索结果页面等*/ +.page-asa .section-inner { width: 610px; margin: 0 170px 0 160px;} +.page-asa .aside-right { width: 180px; margin-left: -180px;} +.page-asa .section-footer { width: 610px; margin: 0 170px 0 160px;} + +/*两栏页面布局 layout-sa*/ +.page-sa .section { width: 710px; margin-right: 10px;} +.page-sa .section-inner { width: 710px; margin: 0;} +.page-sa .aside-right { width: 240px; margin-left: 0;} + +/*两栏页面布局 layout-as 地图搜索页等,窄版左侧边栏布局*/ +.page-as .section-inner { width: 800px; margin: 0 0 0 160px;} + + + + +/*与旧版并存;将main_s中的13px字号缩小*/ +.main_w .aside { font-size: 12px;} + + +/* ------------------------------------ /@layout ------------------------------------------*/ + + +/* -------------------------------------- @font -----------------------------------------*/ +/* to do: + * 请将全局字体定义放到 .header .section(.main?) .footer中 + */ +.header-bar, .header, .main, .secondary +{ /*font-family: Tahoma, Geneva, sans-serif;*/ + /*font-family: Tahoma, \5b8b\4f53, sans-serif;*/ + font-family: Tahoma, sans-serif; +} +.main { color: #111;} + +.Price { font-family: Helvetica, Arial, sans-serif;} +.inoface{ background-color: #EEE;} + +.btn-type-c +{ font-family: \5FAE\8F6F\96C5\9ED1,\9ED1\4F53,Arial,sans-serif;} + + +/* -------------------------------------- /@font -----------------------------------------*/ + +/* -------------------------------------- @declare --------------------------------------- *\ + * @declare 是提前声明的代码块, + * 我们要求将所有的background-image,clear float,跨浏览器inline-block的定义都提前到这里声明 + */ + +/* ----------- fix float ---------- */ +.Fix:after, +.header .nav-bar:after, +.secondary:after, +.pp_search-suggest li:after, +.desc-list dl:after, +.pop-win .dialog-btns:after, /* pop-win的按钮包裹层 */ +.comment-list-a .content:after, +.aside-right .figure-list .figure:after, +.form-block .tagdiv:after, +.rank-list li div:after, +.header .group-nav:after, +.comment-list-a .comment-list-item:after, +.form-inner:after,.aside .wide-block .block-title:after,.aside .dl-img li:after,.aside_a .dl-img li:after, +.pop-win-inner .form-block:after,.pop-win-inner .form-btn-block:after,.pop-win-inner .form-item-list li:after, +.aside-right .b-tmp-mkt:after,.section .DPMKT-wrapper:after, +.page-asa .section-footer:after,.pp_ipad-hint .ih-wrapper:after,.footer-static .tuan-nav dl:after, +.footer .nav:after +{clear:both; display:block; height:0; content:'\20';} + +.Fix, +.header .nav-bar, +.secondary, +.pp_search-suggest li, +.desc-list dl, +.pop-win .dialog-btns, +.comment-list-a .content, +.aside-right .figure-list .figure, +.form-block .tagdiv, +.rank-list li div, +.header .group-nav, +.comment-list-a .comment-list-item, +.form-inner, +.pop-win-inner .form-block,.pop-win-inner .form-btn-block,.pop-win-inner .form-item-list li, +.aside .wide-block .block-title,.page-main-title,.aside .dl-img li,.aside_a .dl-img li, +.aside-right .b-tmp-mkt,.section .DPMKT-wrapper, +.page-asa .section-footer,.pp_ipad-hint .ih-wrapper,.footer-static .tuan-nav dl, +.footer .nav +{*zoom:1;} + +/* ----------- inline-block ----------- */ +/* +.pp_quick-nav .icon +{ position:relative; display:-moz-inline-box; display:inline-block; *display:inline; zoom:1; *margin-right:3px; vertical-align:middle; font-size:0px;} +*/ + +/* ----------- css sprite ---------- */ +.header-bar, +/* +.header-bar .user-action a, + +.header-bar .user-action a span, +*/ +.header-bar .drop-icon, + +.hd-menu .mi, +.header .loc-btn, +.header .loc-btn .txt, +.header .nav a, +.header .nav strong, +.header .nav-bar, +.header .channel, +.header .chan-btn, + +/* search box */ +.header .s-box, +.header .s-wrap, +.header .s-wrap-inner, +.header .s-box .cate-select, +.header .s-box .s-btn, + +.header .bar-extra, +.pop-panel_list li a, /* pop-panel中的列表元素,目前样式为含有一个小点 */ +/* +.pp_quick-nav .icon, +*/ +.pp_channels .root-item, +.pp_channels .root-name, +.pp_channels .root-name span, +.pp_channels .sub-list li a, + +.pp_quick-nav .icon, +.header .nav .icon, + +.header-bar .nav-search a, +.header-bar .nav-search span, + +.pp_nav-search .form-btn, + +.header-bar .hd-menu .i-mobile, + +.header-bar .switch-new,.trafic-tt .i-new +,.user-login .icon-qq +{ background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/header.d481c4ddeef19708da47f4bc0c3ca0db.png);/*之前的!important有冲突,问题有待呈现*/ background-repeat: no-repeat;} + + +.quick-search .select, +.quick-search .select span, +.btn-fn-a, +.btn-fn-a .form-btn, .btn-fn-a .txt, +.btn-fn-b, +.btn-fn-b .form-btn, .btn-fn-b .txt, +.btn-fn-c, +.btn-fn-c .form-btn, .btn-fn-c .txt, +.btn-fn-d, +.btn-fn-d .form-btn, .btn-fn-d .txt, +.btn-fn-e, +.btn-fn-e .form-btn, .btn-fn-e .txt, +.btn-fn-f, +.btn-fn-f .form-btn, .btn-fn-f .txt, +.btn-fn-g, +.btn-fn-g .form-btn, .btn-fn-g .txt, +.btn-fn-h, +.btn-fn-h .form-btn, .btn-fn-h .txt, + +.comment-list-a .comment-entry blockquote, +.comment-list-a .comment-entry .more, +.bullet-list li, +.bullet-list-c li, +.bullet-list-d li, +.rank-list li, +.aside-right .figure-list li, +.aside-left .figure-list li, +.nav-tab-list, +.nav-tab-list li a, +.nav-tab-list li a span, +.pop-win .close, +.pop-panel .close, +.header .group-nav .pp-trigger, +.pp_channels .root-name span .icon, +.footer-static li.fn-tuan,.pop_carte .photo_infor .photo p i,.pop_carte .photo_infor .chag_infor i,.pop_carte .account_infor .account_person .pri_mail i,.pop_carte .poparrow, +.toTop +,.icon-vip +,.icon-v +,.icon-v-disb +{ background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm.e6a303ce73da2519ad6c43a0a262a13d.png); background-repeat: no-repeat;} + + +.item-rank-rst, +.user-rank-rst, +.rating-wrap ul, +.rating-wrap a:hover, .rating-wrap .active-star, +.user-m-star, +.urr-rank60, +.breadcrumb .note +{ background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/remark.a5fd6ab43c5b823d70baaf61c55756e0.png); background-repeat: no-repeat;} + +.icon-sync-wrapper a +{ background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/sync.icon.a94f7e338cdfe4757af5b126624d7d53.png); background-repeat: no-repeat;} + +/* .pp_ipad-hint .icon,*/ .pp_ipad-hint .close, .pp_ipad-hint .arrow + { background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/mobile-hint.f8962f0ad1e50efa58010487f0a6e510.png); background-repeat: no-repeat;} + + +/* +.aside-right .b-app a { background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/app.b8e59c3a912d553ff8c15e3ae0e21b67.png); background-repeat: no-repeat;} + */ +/* ------------------------------------- /@declare ---------------------------------------- */ + + +/* ------------------------------------------------------- @components ------------------------------------------------------- *\ + * @components 是组件定义的代码块,这是具有高重用性的样式定义 + * 此代码块中的任何定义,"不允许"在其他地方以任何理由直接复写。 + * 允许3中形式的修改:1. 直接在此代码块中修改 2. 增加新的namespace选择符来覆写 3. 元素继承 + */ + +/* ------------------ tools ------------------ */ +/* 清除浮动, 放置一个空的定义,是为了说明 .Fix 是一个组件 (它在css打包压缩时会被YUIcompressor过滤掉) + * 注意:tools中的内容,如果与 @declare块 中的内容相同,也请在上面定义 + */ +.Fix{} +.Hide{display:none;} + +/* ------------------ common ------------------ */ +.Icon { float: right; display: block; text-indent: -9999px;} + +.form-btn{cursor:pointer;} + +.link-dk { color: #333;} +.link-dk-note { color: #999;} + +/* TODO: + * refractor + */ + +.btn-type-a .txt, .btn-type-b .txt{cursor:pointer;} + +.btn-type-a-block .note { line-height: 23px;} +.btn-type-a { display: inline-block; height: 24px; padding: 0 0 0 2px; font-size: 1.2em;} +.btn-type-a .form-btn, .btn-type-a .txt { float: left; height: 24px; margin: 0; padding: 0 15px 3px 13px; *padding: 0 9px 0 7px; font-weight: bold; line-height: 24px; border: none;} +.btn-type-a a.form-btn, .btn-type-a .txt { padding: 0 15px 0 13px; line-height: 24px; line-height: 23px;} + +.btn-type-b { display: inline-block; height: 34px; padding: 0 0 0 2px; font-size: 1.2em;} +.btn-type-b .form-btn, .btn-type-b .txt{ float: left; height: 34px; margin: 0; padding: 0 15px 3px 13px; *padding: 0 9px 0 7px; font-weight: bold; line-height: 34px; border: none;} +.btn-type-b a.form-btn, .btn-type-b .txt{ padding: 0 15px 0 13px; line-height: 32px;} + +.btn-type-c { display: inline-block; height: 48px; padding: 0 0 0 2px; font-size: 22px;} +.btn-type-c .form-btn, .btn-type-c .txt{ float: left; height: 48px; margin: 0; min-width: 94px\9; *min-width: 146px; padding: 0 27px 3px 25px; *padding: 0 7px 0 5px; font-weight: normal; line-height: 48px; border: none;} +.btn-type-c a.form-btn, .btn-type-c .txt{ padding: 0 27px 0 25px; line-height: 46px;} + +.btn-type-d { display: inline-block; height: 20px; padding: 0 0 0 2px; font-size: 12px;} +.btn-type-d .form-btn, .btn-type-d .txt{ float: left; height: 20px; margin: 0; padding: 0 7px 3px 5px; *padding: 0 4px 0 2px; font-weight: normal; line-height: 20px; border: none;} +.btn-type-d a.form-btn, .btn-type-d .txt{ padding: 0 7px 0 5px; line-height: 20px;} + + +.btn-fn-a { background-position: 0 -25px;} +.btn-fn-a .form-btn, .btn-fn-a .txt{ color: #FFF; background-position: right -25px; background-color: #EB6810;} + +.btn-fn-b { background-position: 0 -50px;} +.btn-fn-b .form-btn, .btn-fn-b .txt{ color: #61646E; background-position: right -50px; background-color: #E7E7E7;} +.section .btn-fn-b a:hover { color: #61646E;} + +.btn-fn-c { background-position: 0 -151px;} +.btn-fn-c .form-btn, .btn-fn-c .txt{ color: #FFF; background-position: right -151px; background-color: #EB6810;} + +.btn-fn-d { background-position: 0 -340px;} +.btn-fn-d .form-btn, .btn-fn-d .txt{ color: #61646E; background-position: right -340px; background-color: #E7E7E7;} +.section .btn-fn-d a:hover { color: #61646E;} + + +.btn-fn-e { background-position: 0 -380px;} +.btn-fn-e .form-btn, .btn-fn-e .txt{ color: #FFF; background-position: right -380px; background-color: #EB6810;} + +.btn-fn-f { background-position: 0 -430px;} +.btn-fn-f .form-btn, .btn-fn-f .txt{ color: #61646E; background-position: right -430px; background-color: #E7E7E7;} +.section .btn-fn-f a:hover { color: #61646E;} + +.btn-fn-g { background-position: 0 -480px;} +.btn-fn-g .form-btn, .btn-fn-g .txt{ color: #FFF; background-position: right -480px; background-color: #EB6810;} + +.btn-fn-h { background-position: 0 -505px;} +.btn-fn-h .form-btn, .btn-fn-h .txt{ color: #61646E; background-position: right -505px; background-color: #E7E7E7;} +.section .btn-fn-h a:hover { color: #61646E;} + + +.btn-block .note { float: left;} +.btn-type-a-block .btn-type-a { float: left; margin-right: 15px;} + +.form-btn-static .btn-type-c .form-btn,.form-btn-static .btn-type-c .txt { min-width:146px; padding:0 0 3px;} + +.btn-disabled, +.btn-disabled a { color: #BBB !important;} + +/** + * DESCription LIST 一种典型的左右描述结构, 修改dt与dd的宽度信息,请继承该样式 + * - title: description + * - title2: description2 + * @DPL + * - desc-list的tag在展开前,不显示数目信息 + */ +.desc-list {} +.desc-list dl{ margin-bottom: 6px;} +.desc-list dt{ float: left; margin-right:-10px; width: 60px; color: #999;} +.desc-list dd{ margin-left: 65px; word-wrap:break-word;} + +.desc-list .wide-name dt{width:75px;} +.desc-list .wide-name dd{margin-left:80px;} + +/* .desc-list em { font-weight: bold; color: #C00;} */ +.desc-list span { margin-right: 10px; word-wrap:break-word;} +.desc-list strong { margin-right: 10px;} +.desc-list .extra-tag, .desc-list .count{display:none;} +.desc-list .J_active .extra-tag{display:inline-block;} +.desc-list .J_active .count{display:inline;} +.desc-list .note { color: #999;} +.desc-list dd span.sep { margin: 0 0 0 10px; color: #DEDEDE;} +.desc-list dd .note a { margin-right: 3px;} +.desc-list .no-info { color: #999;} +.desc-list .s-sep { margin: 0 3px;} +.desc-list .trafic-tt{ position:relative;} +.desc-list .trafic-tt .i-new{ position:absolute; right:-6px; top:-7px; display:block; width:23px; height:12px; background-position:-30px -468px; text-indent:-9999px; overflow:hidden;} + + + +/** + * 进度条 + */ +.progress-bar { position: relative; float: left; margin: 1px 8px 0 0; border: 1px solid #F96; width:44px; background: #FFFBF6;} +.progress-bar .bar{ float: left; height: 7px; text-indent: -9999px; background: #F96; overflow: hidden;} +.progress-value{position:relative; float:left; font-size: 10px; color: #C00;} + + +/** + * Star-rating 星级选择,星级选择与原先的结构不同,请注意 + * 与之配合的js module见 /s/j/review.js + */ +.rating-wrap { display: block; float: left; position: relative; top:-2px; width: 89px; height: 20px; margin-right: 5px; padding: 4px 0 0 5px; border: 1px solid #EFE0D7; background: #FFF9F1; z-index: 0;} +.rating-wrap ul { position: relative; width: 85px; height: 16px; background-position: 0 -250px; z-index: 10;} + +/* 不设置li的position,让星星根据ul来定位,避免IE文档流隐式对li设置z-index */ +.rating-wrap li {display:inline;} +.rating-wrap a {zoom:1; position: absolute; left: 0; top: 0; display: block; height: 16px;} + +/* 直接为star设置bg-pos,以免重复定义active和:hover的bg-pos */ +.rating-wrap .five-stars { width: 84px; z-index: 10; background-position: 0 -160px;} +.rating-wrap .four-stars { width: 68px; z-index: 20; background-position: 0 -178px;} +.rating-wrap .three-stars { width: 51px; z-index: 30; background-position: 0 -196px;} +.rating-wrap .two-stars { width: 34px; z-index: 40; background-position: 0 -214px;} +.rating-wrap .one-star { width: 17px; z-index: 50; background-position: 0 -232px;} + +.rating-block .hint { float: left; color:#999;} +.rating-block .active-hint{color:#c00;} +.rating-block .err-hint{color:#e00; font-weight:bold;} + + +/** + * 表单样式声明,尚无法确认其全局程度,暂时写在商户样式表中 + */ +.form-inner { margin-bottom: 20px; padding-bottom: 5px; border-bottom:1px dashed #E4E4E4;} +.form-block .form-cell{ float:left;} + +.form-block .blur { color: #999;} +.form-block .sep { margin: 0 5px 0 0;} +.form-block .rating-wrapper { top: -4px;} +.form-block .form-default { color: #BBB;} +.form-block .form-chk { margin-left: 0; padding-left: 0;} +.form-block .form-txt { width: 257px; height: 17px; margin-right: 5px; padding-left: 2px; border: 1px solid #CCC;} +.form-block .form-txt-l { width: 358px;} +.form-block .form-textarea { width: 598px; margin-right: 5px; font-family: Tahoma, Geneva, sans-serif; border: 1px solid #CCC;}/*为IE6,7重新声明字体;无法继承*/ +.form-block .form-select-sim { position: relative; top: -2px; float: left; width: 96px; height: 21px; /*margin: 2px 5px 8px 0;*/ margin: 2px 5px 0 0; padding: 1px 1px 1px 2px; font-size: 12px; background-position: left -186px; border: 1px solid #A5ACB2; background-image: none;} +.form-block .form-select-sim-a { width: auto;} +.form-block .form-select-sim:hover { cursor: pointer;} +.form-block .form-select-sim span { float: left; height: 23px; padding: 0 32px 0 5px; line-height: 22px; color: #61646E; background-position: right -186px;} +.form-block .form-select-sim:hover span { color: #C00;} +.form-block:after { content:"\20"; display:block; height:0; clear:both;} +.form-block { margin-bottom: 10px; zoom:1;} +.form-block .form-disabled { color: #111; background-color: #F3F3F3;} + +.form-block .note{color: #999;} +.form-block .err, +.form-block .fv-err{color: #C00;} +.form-block .fv-def{color: #999;} +.form-block .fv-err em, .form-block .fv-def em{font-weight:bold;} +.form-block .fv-def em{color:#093;} + +.form-block label strong { color: #333;} +.form-block .label, +.form-block .tagtitle +{ float: left; width: 64px; margin-right: 10px; text-align: right;}/*原宽度为52px,由于“推荐美发师”宽度超出,目前修改为64px,其他相应样式如.form-content-block的margin做12px的调整*/ +.form-block .label em { position: relative; top: 3px; margin: 0 1px; color: #C00;} +.form-block .label .no-require{visibility:hidden;} +.form-block .label-inline { width: 50px;} +.form-block .inline-wrapper { float: left; width: 175px;} +.form-block .form-static-field { float: left; line-height: 24px;} + +.form-content-block:after { content:"\0020"; display:block; height:0; clear:both} +.form-content-block { margin-left: 74px; zoom:1;} +.form-content-context-block { margin-top: -8px; margin-top: -7px\9; _margin-top: -5px;} +.form-block .tagdiv { margin-top: 20px;} +.form-block .tagtitle { margin-right: 0;} +.form-block .taglist { display: block; margin-left: 74px; line-height: 1.5; overflow: hidden; zoom:1;} +.form-block .taglist:after { content:"\0020"; display:block; height:0; clear:both} +.form-block .taglist a { float: left; margin: 0 5px 5px 0; padding: 0 3px; line-height: 17px; border: 1px solid #CCF; background: #EBEBFF; white-space: nowrap;} +.form-block .taglist a:hover { color: #FFF; border-color: #F27E44; background: #F93;} +.form-block .chk-list { width: 550px;} +.form-block .chk-list li { display: inline-block; margin: 0 13px 2px 0;} +.form-block .chk-list span { display: inline-block; margin: 0 13px 0 0;} +.form-block .chk-list .extra-tag{display:none;} +.form-block .J_active .extra-tag{display:inline-block;} +.form-block #J_review-dtags .tagdiv { margin-top: 10px;} +.form-block #J_review-dtags .tagdiv .tagtitle { display: none; /*color: #999;*/} + +.form-block .link-list a { margin-right: 7px; color: #66C;} +.form-block .link-list a:hover { color: #FFF; background: #66C;} +.form-block .average-wrapper { float: left;} +.form-block .average { float: left; width: 73px;} +.form-block .average-plus { width: 56px;} +.form-block .average-note { float: left;} + +.form-block .form-input-s { width: 33px; margin-right: 5px;} +.form-block .form-input-m { width: 127px; margin-right: 5px;} +.form-block .form-input-l { width: 204px; margin-right: 5px;} +.form-submit .btn-type-b { float: left; margin-right: 20px;} +.form-submit .chk-unit { float: left; margin: 10px 15px 0 0;} + +.form-btn-block strong { margin-right: 7px;} + +.chk-unit .form-chk { position: relative; top: -1px;} +.chk-unit label, +.chk-unit .note { position: relative; top: -3px; *top: -2px;} + +.form-note-block { clear: both; float: left; width: 100%; margin-top: 3px;} + +.form-msg-box { float: left; height: 23px; padding: 0 10px; line-height: 23px; line-height: 24px\9; *line-height: 23px; border: 1px solid #FFF; background-color: #FFF;} +.mb-note { color: #888; border-color: #EFE0D7; background-color: #FFF9F1;} +.section .mb-note a { text-decoration: underline; color: #888;} +.section .mb-note a:hover { text-decoration: none; color: #C00; background: none;} +.mb-error { color: #C00; /*border-color: #C00; background-color: #FFEEEE;*/} +/* +.fv-block { margin: -10px 0 15px;} +*/ +.err-tas { /*margin-left: 69px;*/ margin-left: 74px;} +.err-env { /*margin-left: 78px;*/ margin-left: 74px;} +.err-ser { /*margin-left: 78px;*/ margin-left: 74px;} + +.comment-form .form-block { margin-bottom: 11px;} +.comment-form .taglist-block { margin-bottom: 7px;} + +/* +.comment-form .fv-block { margin: 0;} +.comment-form .fv-block .fv-err{ float: left; margin-top: -10px; margin-bottom: 10px;} +*/ + +/* +.comment-form .err-tas, +.comment-form .err-env, +.comment-form .err-ser{ margin-left: 0; padding-left: 74px;} +*/ + + +.comment-form .separated-block { margin-bottom: 16px; padding-bottom: 0; border: none;} +.comment-form .chk-unit-block { margin-bottom: 6px;} +.comment-form .chk-unit-below-block { margin-top: 8px;} +.comment-form .form-last-block { margin-bottom: 20px; padding-bottom: 13px; border-bottom: 1px dashed #DDD;} + +.edit-form .label { width: 75px; text-align: left;} +.edit-form .label span { margin-left: 5px;} +.edit-form .form-content-block { margin-left: 85px;} + + +/* ---------------------------------------- @UI & JS -------------------------------------------*/ + +/* 在页面加载后,会自动lazyload的模块数据容器(textarea) */ +.J_auto-load, + +/* 手工选择是否lazyload的数据容器 */ +.J_lazy-load +{display:none; position:absolute;} + + +/** + * @dpl POPup PANEL + * 悬浮弹出层,默认不可见。较多的情况是js来调用 + */ +.pop-panel{position:absolute; visibility:hidden; border:1px solid #F8CFA5; padding:5px 9px; background:#fff; color: #61646E; } +.pop-panel a{ color: #61646E;} +.pop-panel a:hover{ text-decoration: underline; color: #C00;} +.pop-panel .close { position: absolute; right: 7px; top: 7px; width: 16px; height: 16px; text-indent: -9999px; background-position: -67px -252px;} +.pop-panel .close:hover { background-position: -87px -232px; background-color: #FFF;} + +.pop-panel .title { margin: -5px -9px 15px -9px; padding: 0 9px; line-height: 30px; background: #FAF7EB;} +.pop-panel .title .title-main { display: inline; margin-right: 10px; font-size: 1.2em; color: #C00;} +.pop-panel .title .title-misc { font-size: 12px; color: #111;} +.pop-panel .title a.title-misc { padding: 0 1px; color: #66C;} +.pop-panel .title a.title-misc:hover { color: #FFF; background: #66C;} +.pop-panel .more { text-align: right;} +.pop-panel .more a { color: #66C; background-image:none;} +.pop-panel .more a:hover { color: #FFF; background: #66C;} +.pop-panel p { margin-bottom: 5px; color: #61646E;} + +.pop-panel_list li a{ padding-left: 3px; background-position: -169px -418px; *background-position: -169px -420px;} +.pop-panel_list li a:hover{ background-position: -169px -438px; *background-position: -169px -440px;} + + +/** + * POPup WINdow, 对应于原来的Mbox + * 使用新的样式,请使用DP.mbox(临时) 方法 + */ +.pop-win{position:absolute; zoom:1; background-color:#F8CFA5; overflow:visible; padding:1px; text-align:left; +-moz-box-shadow:1px 1px 8px rgba(0, 0, 0, .2); -webkit-box-shadow:1px 1px 8px rgba(0, 0, 0, .2); box-shadow:1px 1px 8px rgba(0, 0, 0, .2);} + +.pop-win .close{position: absolute; right: 7px; top: 7px; width: 16px; height: 16px; text-indent: -9999px; background-position: -67px -252px;} +.pop-win .close:hover{background-position: -87px -252px; background-color: #FAF7EB;} + +.pop-win .wrap{background-color:#fff; clear:both; width:100%; height:100%; overflow:hidden;} +.pop-win .image-wrap, .mbox-window iframe-wrap{overflow:visible;} + +.pop-win .image-wrap img{display:block;} + +.pop-win .dialog-title{height:28px; padding: 0 10px; font: normal 14px Tahoma; line-height: 28px; color:#C00; background:#FAF7EB;} +.pop-win .dialog-cont{color:#333; font-size:12px; line-height:18px; margin:10px 10px 0 10px; padding-bottom:18px;} +.pop-win .dialog-btns{margin:0 28px 15px 10px;} + +.pop-win .dialog-btns a{float:right; margin-left:5px;} +/* .pop-win .dialog-btns .txt{float:right} */ + +.pop-win .positive-btn{} +.pop-win .negative-btn{} + +/* override */ +.pop-win .comment-form { padding-top:10px; margin:0 10px 0;} +.pop-win .comment-form .label { width: 65px; margin-right: 0; text-align: left;} +.pop-win .comment-form .form-txt, +.pop-win .comment-form .form-textarea { width: 285px; margin: 0;} +.pop-win .tagtitle{ width: 55px; margin-right :0; text-align: left;} +.pop-win .form-block a { color: #66C;} +/* +.pop-win .form-block a:hover { color: #FFF; background: #66C;} +*/ +.pop-win .form-block .tagdiv { margin-top: 15px;} +.pop-win .form-block .taglist { display: block; margin-left: 65px; margin-right:0; line-height: 1.5; zoom:1; overflow: hidden; width:290px;} +.pop-win .form-block .taglist a { margin-bottom: 5px; white-space: nowrap;} + +/*map*/ +.pop-maps{ width:253px; padding:15px 20px 10px 20px;background-color:#fff; border:1px solid #bcbcbc;box-shadow:0 0 6px 2px #bcbcbc; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } +.pop-maps .tips-tit{ margin-bottom:10px;} +.pop-maps .tips-tit h2{ float:left; width:175px; height:20px; overflow:hidden; font-size:14px; font-weight:bold;} +.pop-maps .tips-tit h2 a{color:#66C;} +.pop-maps .tips-tit h2 a:hover { color:#FFF; background-color:#66C;} +.pop-maps .tips-tit span{ float:right;} +.pop-maps .tips-cont p{ position:relative; padding:0 0 5px 35px;} +.pop-maps .tips-cont p span{ position:absolute; left:0; top:0; _margin-left:-32px; color:#999999;} + +/*sync*/ +.sync-wrapper {} +.sync-wrapper a { color:#66C;} +.sync-wrapper a:hover { color:#FFF; background-color:#66C;} + +/*pop-win新结构*/ +.pop-win .dialog-title .title-misc { padding-left: 10px; font-size: 12px; color: #999;} +.pop-win .dialog-title .title-misc a { color: #66C;} +.pop-win .dialog-title .title-misc a:hover { color: #FFF; background: #66C;} +.pop-win-inner { width: 360px; padding: 23px 10px 0;} +.pop-win-inner p { margin-bottom: 3px;} +.pop-win-inner p a { color: #66C;} +.pop-win-inner p a:hover { color: #FFF; background: #66C;} +.pop-win-inner .note { color: #999;} +.pop-win-inner .form-intro { margin-bottom: 17px;} +.pop-win-inner .form-block { margin-bottom: 10px;} +.pop-win-inner .form-block .label { position: relative; top: 3px; top: 4px\9; _top: 2px; width: 60px; margin-right: 9px; text-align: right;} +.pop-win-inner .form-block .form-txt { float: left; width: 281px; _width: 281px; height: 23px; margin: 0; padding: 0 4px; line-height: 23px;} +.pop-win-inner .form-block .form-txt-s { width: 139px;} +.pop-win-inner .form-block .form-textarea { float: left; width: 281px; margin: 0; padding: 2px 4px; line-height: 1.55;} +.pop-win-inner .form-block .form-select { float: left; width: 190px; _width: 190px; height: 25px; margin: 1px 0 0; padding: 3px 2px 3px 0; font-size: 12px; line-height: 24px; border: 1px solid #CCC;} +.pop-win-inner .form-block .form-select-s { width: 100px;} +.pop-win-inner .form-block .form-select-m { width: 125px;} + +.pop-win-inner .form-block .row3fix { height: 55px;} +.pop-win-inner .form-btn-block { margin-top: 20px; padding-left: 69px;} +.pop-win-inner .form-btn-block * { float: left;} +.pop-win-inner .form-btn-block span { margin-right: 15px;} +.pop-win-inner .form-btn-block .fn { margin-top: 3px; margin-top: 5px\0; color: #66C;} +.pop-win-inner .form-btn-block .fn:hover { color: #FFF; background: #66C;} +.pop-win-inner .form-btn-block .btn-type-a a { line-height: 26px\0; *line-height: 25px; _line-height: 24px;} +.pop-win-inner .form-content-block { margin-left: 69px;} +.pop-win-inner .form-item-list { margin-bottom: 20px;} +.pop-win-inner .form-item-list li { margin-bottom: 6px; *margin-bottom: 3px;} +.pop-win-inner .form-item-list li label { float: left; margin-top: 2px\0; *margin-top: 2px;} +.pop-win-inner .form-item-list li input { float: left; margin-right: 7px;} +.pop-win-misc { margin-top: 20px; padding-top: 15px; border-top: 1px dashed #E4E4E4;} +.pop-btn-wrapper span { margin-right: 2px;} +.pop-btn-wrapper .btn-type-a a { line-height: 26px\0; *line-height: 25px; _line-height: 24px;} +.pop-win-inner fieldset { margin-bottom: 20px; padding: 12px 15px 4px; background: #F3F3F3;} + +.pop-msg-box { display: block; margin: -5px -5px -19px; padding: 0; text-align: center; line-height: 22px; border: 1px solid;} +.pop-note-box { display: block; margin: 15px -5px -13px; padding: 2px 7px; text-align: left; line-height: 1.6; color: #999; border: 1px solid #EFE0D7; background-color: #FFF9F1;} +.pop-note-box a { color: #66C;} +.pop-note-box a:hover { color: #FFF; background: #66C;} +.pmb-error { color: #C00; border-color: #FFB6B6; background-color: #FFF2F2;} +.pop-msg-wrapper { padding: 17px 0 29px; text-align: center;} +.pop-msg-wrapper p { margin-bottom: 27px; font-size: 1.2em;} +.pop-msg-wrapper p .pm-mark { margin-right: 20px; padding: 2px 0 2px 25px;;} +.pop-msg-wrapper p a { font-size: 12px;} +.pop-msg-wrapper .pop-note-box { margin: 15px -15px -42px;} +.pop-btn-wrapper { text-align: center;} + +/* ---------------------------------------- /@UI & JS -------------------------------------------*/ + +/* ------------------------------------------------------- /@components ------------------------------------------------------- */ + + + +/* ------------------------------------------------------- @module ---------------------------------------------------------- *\ + * @module 是针对模块的,不具有重用性的样式定义 + * 要强调的一点是,不允许模块间的交叉继承 + */ +.header a, .header-bar a { color: #61646E;} +.header a:hover, .header-bar a:hover{ color: #C00;} +.header-bar a:hover{ text-decoration: underline;} + +/* ---------------- 完全版页头 header-bar ---------------- */ +.header-bar { width: 100%; min-width:960px; height: 30px; background-position: 0 0; background-repeat: repeat-x; overflow:visible;} +.header-bar .inner { line-height: 28px; line-height: 29px\9; color: #999;} + + +/* input color */ +.header input, .header-bar input{color: #bbb;} +.header .focus, .header-bar .focus{color:#333;} + +/* common menu style */ +.hd-menu{ line-height:14px; color: #999; position:relative;} + +.hd-menu .mi, +.header-bar .tagline +{ float:left; padding-left:8px; padding-top:7px; background-position:-169px -451px; padding-top:9px\9;} + +.hd-menu a, +.hd-menu .item +{float:left; padding-right: 7px;} + +.hd-menu .first, +.header .menu .first +{background:none;} + +.header-bar .i-mobile { padding: 7px 0 1px 15px; background-position: -80px -478px;} +.header-bar .i-mobile a { font-weight: bold; color: #F60;} + + + +/* 关于z-index的规定,请看顶部注释 */ +/* header-bar中的下拉菜单 */ +.header-bar .drop-wrap {zoom:1; position: relative; padding-top:3px; margin-right:-1px; padding-left:0;} +.header-bar .drop-menu {zoom:1; position: relative; height:18px; padding: 4px 24px 3px 9px; padding-top:6px\9; height:17px\9;} +.header-bar .drop-menu:hover { text-decoration: none;} +.header-bar .active {padding:3px 23px 3px 8px; border: 1px solid #F8CFA5; border-bottom-color: #FFF; background: #FFF; padding-top:5px\9;} + +.header-bar .drop-icon {display:block; position: absolute; right:7px; top: 5px; width: 13px; height: 13px; background-position: -97px -450px; cursor: pointer;} +.header-bar .active .drop-icon { right:6px; top:4px;} + + +/* user-action ----------- */ +/* simple, full header */ +.header-bar .user-action{ float: left;} +.header-bar .user-signup{ padding-left:4px; background:none;} +.header-bar .user-logged .greeting{ padding-right:0;} +.header-bar .user-action em { color: #C00;} + +.header-bar .i-msg .drop-menu { padding-right: 10px;} +.header-bar .i-msg .active { padding-right: 9px;} +.header-bar .i-msg .drop-menu span { margin-left: 2px; padding: 0 4px; font-size: 11px; color: #FFF; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; background: #E71600;} + + +/* third part header */ +.header .user-action { float: right; margin-left:-100px; color: #DEDEDE;} +.header .user-action .no-devide{background:none;} + + +/* header-bar quick menu */ +.header-bar .quick-menu { float: right; margin-left:-100px;} +/* +.header-bar .quick-menu a em { color: #C00;} +*/ +.header-bar .quick-menu .last{margin-right:0;} + + +.header-bar .tagline{padding-left:0; line-height:14px;} + + +/* ---------------- header-bar 简版页头 ---------------- */ +.header-bar .logo { float: left; height: 30px; margin-right: 23px;} + +.header-bar .nav { float: left; color: #DEDEDE;} + +.header-bar .nav-search {zoom:1; position:relative; margin-top: 5px; padding:0 6px 0 2px; background:none;} +.header-bar .nav-search a { float: left; height: 20px; padding-right:0; padding-left: 2px; background-position: 0 -397px; cursor: pointer;} +.header-bar .nav-search span { float: left; display: block; height: 20px; padding: 0 29px 0 8px; line-height: 18px; line-height: 21px\9; background-position: right -397px;} +.header-bar .nav-search a:hover { text-decoration: none; color: #61646E;} + +.header-bar .nav-search .active{visibility:visible; border-color:#F8CFA5;} + +/* ---------------- /header-bar ---------------- */ + + +/* ---------------- header 页头主体 ---------------- */ +/* .header{position:relative;} */ + +.header .logo { float: left; margin-right: 12px; line-height:0;} +.header .location {float:left;margin:15px 12px 0 0;position:relative} +.header .loc-btn {float:left;padding-left:2px;background-position:0 -181px;cursor:pointer} +.header .loc-btn .txt {float:left;display:block;height:28px;padding:0 36px 0 5px;font-size:1.2em;line-height:28px;background-position:right -181px} +.header .loc-btn:hover {text-decoration:none;color:#61646e} +/* +.header .location { zoom:1; float: left; width:100px; height:30px; overflow:hidden; margin-top:13px; position:relative;z-index:1010;} +.header .loc-btn { display:block; width:65px; height:30px; padding-left:10px; background-color:#fff; overflow:hidden; border-left:1px solid #cccccc; cursor: pointer; position:absolute; } +.header .loc-btn .txt { float:left; margin-top:4px; padding-right:14px; background-position:-115px -475px; color:#333; font-size: 1.2em; } +.header .loc-btn:hover { text-decoration: none; color: #61646E;} +.header .loc-btn-on{border:1px solid #f8cfa5; border-bottom:none; } +.header .loc-btn-guess .txt{ margin-top:-3px;} +.header .location .guess{ display:block; width:100px; position:absolute; left:10px; bottom:-3px;} +.header .location .guess a{ margin:0; padding:0; color: #6666CC;} +.header .location .guess a:hover{ color:#fff; background-color:#6666CC;}*/ + + +/* 2012-03-21 by yilian.luo */ +/*.header .location { zoom:1; float: left; width:100px; height:30px; overflow:hidden; margin-top:13px; position:relative;z-index:1010;} +.header .loc-btn { display:block; width:65px; height:30px; padding-left:10px; background-color:#fff; overflow:hidden; border-left:1px solid #cccccc; cursor: pointer; position:absolute; } +.header .loc-btn .txt { float:left; margin-top:4px; padding-right:14px; background-position:-115px -475px; color:#333; font-size: 1.2em; } +.header .loc-btn:hover { text-decoration: none; color: #61646E;} +.header .loc-btn-on{border:1px solid #f8cfa5; border-bottom:none; } +.header .loc-btn-guess .txt{ margin-top:-3px;} +.header .location .guess{ display:block; width:100px; position:absolute; left:10px; bottom:-3px;} +.header .location .guess a{ margin:0; padding:0; color: #6666CC;} +.header .location .guess a:hover{ color:#fff; background-color:#6666CC;}*/ + +/* 主导航 */ +.header .nav {position: relative; float: left; margin-top: 24px;} +.header .nav li { zoom:1; position:relative; float: left; margin-right: 1px;} +.header .nav a { float: left; padding-left: 2px; border-bottom: 1px solid #FB9B25; background-position: 0 -85px; cursor: pointer;} +.header .nav a:hover { /*background-position: 0 -117px;*/} + +.header .nav strong { float: left; display: block; height: 27px; padding: 0 20px; font-size:1.2em; font-weight: normal; line-height: 27px; background-position: right -85px;} +.header .nav a:hover strong { /*background-position: right -117px;*/} + +.header .nav .this a { border-bottom: 1px solid #F88E03; background-position: 0 -149px;} +.header .nav .this a:hover { text-decoration: none; background-position: 0 -149px;} + +.header .nav .this strong, +.header .nav .this a:hover strong +{ font-weight: bold; color: #fff; background-position: right -149px;} + +.header .nav-bar {position: relative; top: -2px; clear: both; padding-right:2px; height: 50px;/* line-height: 46px;*/ background-position: right -214px;} + +/* channel select */ +.header .channel { float: left; padding-right: 22px; height: 50px; background-position: 0 -214px; /*position: relative; z-index: 1000; position mod for channel in homepage*/ +} +.header .chan-btn{ float: left; margin-top:7px; background-position: 119px -460px; cursor: pointer;} +.header .chan-btn:hover { text-decoration: none;} +.header .channel-opened .chan-btn{background-image:none;} + +.header .chan-btn .txt { float: left; display: block; width: 131px; height: 35px; padding-left:15px; font-size: 1.2em; line-height: 35px; color: #C00;} + + +/* search box */ +.header .s-box { float: left; width:501px; height: 50px; padding-right: 20px; line-height: 48px; background-position: 0 -269px; background-repeat: repeat-x;} +.header .s-box label{ float: left; margin-right: 5px; font-size: 1.2em; line-height: 48px; color: #FFF;} + +.header .s-wrap { float: left; margin-top: 7px; border: solid #FF9D55; border-width: 1px 2px 2px 1px; background-position: 0 -323px; background-repeat: repeat-x;} +.header .s-wrap-inner {zoom:1; /*z-index:50;*/ float:left; position:relative; width: 343px; padding-right: 25px; border: solid #BC7202; border-width: 1px 0 0 1px; background-position: 345px -425px;} + +.header .s-box .cate-select { float: left; height: 29px; margin-right: 5px; padding: 0 13px 0 9px; font-size: 1.2em; line-height: 29px; background-position: right -472px;} +.header .s-box .cate-select:hover { text-decoration: none; color: #61646E;} + +/* no drop-down menu */ +.header .s-box span.cate-select{margin-right:0; background-image:none;} + +/* chrome 9.0-10.0 dev,对placeholder的定位有问题,因此这里限制了input的height */ +.header .s-wrap input { float: left; margin-right:-100px; width: 280px; padding:6px 0; height:17px; font-size: 14px; line-height:17px; border: none; background: none; } + +.header .s-box .s-btn { float: left; width: 65px; height: 36px; margin-top: 6px; padding-bottom: 3px; *padding-bottom: 0; font-size: 1.2em; font-weight: bold; color: #C00; border: none; background-position: -26px -421px; background-color: #FEFCF5; cursor: pointer;} + +.header .bar-extra{float: right; margin-left:-50px; padding:16px 0 0 10px; width:270px; height: 34px; color: #FFF; background-position: 0 -269px; background-repeat: repeat-x; line-height:16px; overflow:hidden;} + +/* popular search keywords */ +/* 设置负margin-left, 和white-space, 对代码健壮性的增强 */ +.header .popular {} + +.header .popular dt, +.header .popular dd, +.header .popular .keyword{float:left;} + +.header .popular dt {width: 60px;} + +/* 设置hidden和a的浮动,自适应隐藏超出长度的标签 */ +.header .popular dd {margin-right:-10px; width: 210px; height:16px; overflow:hidden;} +.header .popular .keyword {display:block; margin-right:8px; text-decoration:underline; color: #FFF; white-space: nowrap; } +.header .popular .keyword:hover { text-decoration:none; color:#fff; } + +.header .group-nav{padding-right:10px;} +.header .group-nav .pp-trigger{float:right; display:block; padding-right:10px; height:20px; color:#fff; background-position:right -228px; background-position:right -230px\9;} + +/* 合作页面头部样式 */ +.header .powered { display: block; float: left; width: 110px; height: 38px; margin-right: 12px;} +.header .powered a { font-weight: bold; color: #66C;} +.header .powered a:hover { color: #FFF; background-color: #66C;} + + +.header .nav .icon, .pp_quick-nav .icon{position:absolute; display:block; width:23px; } + +.header .nav .icon{right:0; top:-5px; height:12px;} +.pp_quick-nav .icon{right:-27px; top:4px; height:9px;} + +.header .nav .i-new, .pp_quick-nav .i-new{background-position:-30px -468px; width:23px; height:12px; right:4px; top:-5px;} +.header .nav .i-hot, .pp_quick-nav .i-hot{background-position:-30px -486px; width:23px; height:12px; right:4px; top:-5px;} +.header .nav .nav-tg{z-index:3;} +.header .nav .i-1yuan{right: -6px;top: -9px;height:16px;width:30px;background-image:none;z-index:30;} + +/* ---------------- /header 页头主体 ---------------- */ + + +/*breadcrumb*/ +.breadcrumb { margin-bottom: 12px; color: #DEDEDE;} +.breadcrumb a { color: #66C;} +.breadcrumb a:hover { color: #FFF; background-color: #66C;} +.breadcrumb span { margin: 0 10px; color: #999;} +.breadcrumb strong { font-weight: normal; color: #111;} +.breadcrumb .note { margin: 0 8px; color: #999;} +.breadcrumb .bc-card { display: inline-block; width: 61px; height: 17px; text-indent: -9999px; background-position: 0 -354px; background-position: 0 -356px\9; _background-position: 0 -354px;} + +.section a { color: #66C;} +.section a:hover { color: #FFF; background-color: #66C;} +.section a.link-dk { color: #333;} +.section a.link-dk:hover { color: #333; background-color: #FFF;} +.section a.link-dk-note { color: #999;} +.section a.link-dk-note:hover { color: #999; background-color: #FFF;} + +.section .block { margin-bottom: 20px;} +.section .block-inner { padding: 0 5px;} +.section .block-title { height: 26px; margin-bottom: 20px; padding: 0 10px 0 12px; font-size: 1.2em; line-height: 26px; color: #C00; background: #F3F3F3;} +.section .block-title strong { float: left; font-weight: normal; line-height: 28px\9; _line-height: 27px;} +.section .block-title h1, +.section .block-title .title-main { display: inline; margin-right: 10px; margin-right: 5px;} +.section .block-title .title-misc { font-size: 12px;} +.section .block-title span.title-misc { margin: 0 10px 0 0; color: #999;} +.section .block-title .more { float: right; margin-top: 5px; margin-top: 7px\9; _margin-top: 6px; padding: 0 1px; font-size: 12px; line-height: 1.2;} +.section .block-title span { margin: 0 8px; color: #DEDEDE;} +.section .block-title em { color: #C00;} +.banner-block a { display: inline-block;} +.banner-block { width: 100%; height: 80px; overflow: hidden;} + + +/*term-list*/ +.term-list-item { float: left; width: 540px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #E4E4E4;} +.term-list-item .term { float: left; width: 54px; font-weight: normal; color: #999;} +.term-list-item .desc { margin-left: 54px;} +/* +.term-list-item .desc li { float: left; width: 65px; margin: 0 15px 2px 0; overflow: hidden;} +*/ +.term-list-item .desc li { float: left; width: 87px; margin: 0 10px 2px 0; overflow: hidden;} +.term-list-item .desc li a { color: #61646E;} +.term-list-item .desc li a:hover { text-decoration: underline; color: #C00; background-color: #FFF;} +.term-list-item .desc li .more { text-decoration: underline; color: #999;} +.term-list-item .desc li .more:hover { text-decoration: none; color: #C00; background-color: #FFF;} +.term-list-item .desc .mid { width: 100px;} +.term-list-item .desc .wide { width: 140px;} +.term-list li.last { border: none;} +.page-sa .popular-nav .term-list-item { width: 700px;} +.page-sa .popular-nav .term-list-item .term { width: 65px;} +.page-sa .popular-nav .term-list-item .desc { margin-left: 65px;} + +/*features-list*/ +.features-list { overflow: hidden; zoom: 1;} +.features-list .thumb { float: left;} +.features-list .thumb .title { margin-top: 6px;} +.features-list .thumb .title a { color: #61646E;} +.features-list .thumb .title a:hover { text-decoration: underline; color: #C00; background: none;} +.features-list .content .leading .title { margin-bottom: 2px; font-size: 1.2em; font-weight: bold;} +.features-list .content .leading p { margin-bottom: 11px; color: #666;} +.features-list .content li { margin-bottom: 4px;} +.features-list .content li a span { margin-right: 5px;} +.features-list-a .thumb { width: 250px; height: 160px; background: #F3F3F3;} +.features-list-a .content { margin-left: 270px; zoom: 1;} +.features-list-b .thumb { width: 135px; margin-right: 20px;} +.features-list-b .thumb a { display: block; width: 135px; /*height: 84px;*/} +.features-list-b .content { /*margin: 0 0 0 155px;*/ float: left;} + +/*comment-list 全局的程度有待判定,目前首页的评论列表作为一种全局组件写在base中*/ +.comment-list-item { float: left; margin-bottom: 25px;} +.comment-list { margin-bottom: 15px;} +.comment-list .last { margin-bottom: 0;} +.comment-list .avatar { float: left; width: 48px; height: 48px; margin-right: 10px;} +.comment-list dt, +.comment-list dd { display: inline;} +.comment-list dt {} +.comment-list dd { margin-right: 5px;} +.comment-list .content { float: left; word-wrap: break-word;} +.comment-list .content .dtnHighlight { /*padding: 3px 2px;*/ padding: 3px 0; color: #C00; background: #FEEADD;} +.comment-list h3, +.comment-list .comment-rst, +.comment-list .comment-entry { float: left;} +.comment-list .comment-entry .comment-type { margin: 0 0 5px -4px; color: #C00;} +.comment-list h3 a { margin-right: 5px;} +.comment-list .comment-rst { margin-bottom: 8px;} +.comment-list .comment-entry { position: relative;} +.comment-list .misc { color: #DEDEDE;} +.comment-list .misc a { margin: 0 5px 0 6px; padding: 0 1px;} +.comment-list .misc a span {} +.comment-list .misc a:hover span { color: #999; background: #FFF;} +.comment-list .misc a.count { margin-left: -5px; color: #999;} +.comment-list .misc a.count:hover { color: #999; background: none;} +.comment-list .misc .note { margin: 0 5px; color: #999;} +.comment-list .misc .first { margin-left: 0;} +.comment-list .misc .countWrapper { margin-right: 5px;} +.comment-list .misc .countWrapper a { margin-right: 0;} +.comment-list .misc .countWrapper span { margin: 0; color: #999;} + +.comment-list-a .comment-list-item { /*float:none; zoom:1;*/ position: relative;} +.comment-list-a .content { float:none; margin-left:58px; width: 480px;} + +.comment-list-a .avatar, .comment-list-a .user-m-star +{ overflow: hidden; cursor: pointer; position: absolute; } + +.comment-list-a .avatar{left:0; top:0;} +.comment-list-a .user-m-star { left: -2px; top: 52px; z-index: 530;} + +.comment-list-a .shop-name { margin-left: 5px;} +.comment-list-a .time { float: right; *margin-top: -18px; color: #999;} +.comment-list-a h3 { margin-bottom: 2px;} +.comment-list-a h3 a { font-weight: bold;} +.comment-list-a h3, +.comment-list-a .comment-rst, +.comment-list-a .comment-entry { width: 480px;} +.comment-list-a .comment-entry blockquote { float: left; width: 400px; padding: 0 0 0 18px; line-height: 1.6; color: #666; background-position: -141px -251px;} +.comment-list-a .comment-entry .more { float: right; position: relative; display: block; width: 60px; height: 38px; background-position: 0 -250px;} +.comment-list-a .comment-entry .more a { position: absolute; right: 10px; bottom: 0; text-decoration: underline; color: #999;} +.comment-list-a .comment-entry .more a:hover { text-decoration: none; color: #C00; background: none;} + +.comment-list-a dt { margin-right: 5px;} +.comment-list-a dd { margin-right: 13px; color: #C00;} + +/* 备份,现要修改为之前主站的老样式 +.comment-list-b .comment-list-item { position: relative; width: 690px; border-top: 48px solid #F3F3F3;} +.comment-list-b .last {} +.comment-list-b .avatar { position: relative; margin-top: -48px; z-index: 510;} +.comment-list-b .avatar-default { width: auto; height: auto; margin-top: 0; cursor: pointer;} +.comment-list-b .content { position: relative; width: 630px; margin-top: -48px; padding-left: 58px; z-index: 500;} +.comment-list-b .user-info, +.comment-list-b .comment-rst, +.comment-list-b .comment-entry { width: 630px;} +.comment-list-b .user-info { float: left; padding: 3px 0 2px;} +.comment-list-b .user-info a { float: left; margin-right: 8px;} +.comment-list-b .user-info .user-rank-rst { margin-top: 2px;} +.comment-list-b .user-info .urr-rank60 { margin-top: 4px;} +.comment-list-b .comment-rst { margin-bottom: 20px;} +.comment-list-b .comment-entry { margin-bottom: 15px;} +.comment-list-b .comment-entry .more { margin: 5px 0 0; text-align: left;} +.comment-list-b .shop-info { clear: both; margin-bottom: 5px; border: none;} +.comment-list-b .shop-info li { margin-bottom: 2px;} +.comment-list-b .shop-info strong { margin-right: 10px; font-weight: normal;} +.comment-list-b .shop-info a { margin-right: 8px; padding: 0 1px;} +.comment-list-b .shop-info .keyword a { color: #C00;} +.comment-list-b .shop-info .keyword a:hover { text-decoration: underline; color: #C00; background: none;} +.comment-list-b .shop-info-misc { margin-bottom: 5px;} +.comment-list-b .shop-info-misc span { display: inline-block; margin-bottom: 5px;} +.comment-list-b .time { margin-right: 5px; color: #999;} +.comment-list-b .shop-name { display: inline;} +.comment-list-b .shop-name a { color: #999;} +.comment-list-b .shop-name a:hover { color: #C00; background: #FFF;} +.comment-list-b .user-m-star { position: absolute; left: -2px; top: 5px; z-index: 530;} +.comment-list-b dt { margin-right: 0;} +.comment-list-b dd { margin-right: 10px;} +*/ + +.comment-list-b .comment-list-item { position: relative; width: 690px; zoom:1;} +.comment-list-b .last {} +.comment-list-b .avatar { float: left; width: 48px; height: 48px; margin-right: 5px;} +.comment-list-b .avatar-default { cursor: pointer;} +.comment-list-b .avatar-default .inoface { float: none; display: block; width: 48px; height: 48px; margin: 0;} +.comment-list-b .content { float: left; width: 630px; z-index: 500;} +.comment-list-b .user-info, +.comment-list-b .comment-rst, +.comment-list-b .comment-entry { width: 622px;} +.comment-list-b .user-info { float: left; margin-bottom: 7px; padding: 3px 0 2px 8px; height: 21px; padding: 4px 0 2px 8px; background: #F3F3F3;} +.comment-list-b .user-info a { float: left; margin-right: 8px;} +.comment-list-b .user-info .user-rank-rst { margin-top: 2px;} +.comment-list-b .user-info .urr-rank60 { margin-top: 4px;} +.comment-list-b .comment-rst { margin: 0 0 13px; padding-left: 8px;} +.comment-list-b .comment-entry { margin: 0 0 15px; padding-left: 8px;} +.comment-list-b .comment-entry .more { display: block; margin: 5px 0 0; text-align: left;} +.comment-list-b .comment-entry-misc { margin: 0 0 6px 8px;} +.comment-list-b .shop-info { clear: both; margin: 0 0 0 8px; border: none;} +.comment-list-b .shop-info li { margin-bottom: 0; line-height: 1.5;} +.comment-list-b .shop-info li a:hover { color: #C00; background: none;} +.comment-list-b .shop-info strong { margin-right: 10px; font-weight: normal;} +.comment-list-b .shop-info span { margin-right: 8px;} +.comment-list-b .shop-info a { /*margin-right: 8px;*/ padding: 0 1px; color: #111;} +.comment-list-b .shop-info .keyword a { color: #C00;} +.comment-list-b .shop-info .keyword a:hover { text-decoration: underline; color: #C00; background: none;} +.comment-list-b .shop-info-misc { margin: 0 0 6px 8px; float:left; width:620px;_display:inline;} +.comment-list-b .shop-info-misc strong { margin-right: 10px; font-weight: normal; color: #777;} +.comment-list-b .shop-info-misc span { display: inline-block; margin-bottom: 0;} +.comment-list-b .shop-info-misc .rTrans { display: block;} +.comment-list-b .misc { float:left; width:622px; padding-left:8px;} +.comment-list-b .user-info .misc{ width:auto;} +.comment-list-b .time { margin-right: 5px; color: #999;} +.comment-list-b .shop-name { display: inline; margin: 0 5px 0 6px; color: #999;} +.comment-list-b .shop-name a { margin: 0; text-decoration: underline; color: #999;} +.comment-list-b .shop-name a:hover { text-decoration: none; color: #C00; background: #FFF;} +.comment-list-b .user-m-star { position: absolute; left: -3px; top: 55px; z-index: 530;} +.comment-list-b dt { margin-right: 5px;} +.comment-list-b dd { margin-right: 13px; color: #C00;} +.comment-list-b dd .note { color: #999;} + + +.comment-list-b-simple .comment-list-item { border: none;} +.comment-list-b-simple .avatar { margin-top: 0;} +.comment-list-b-simple .content { margin-top: 0; padding-left: 0;} +.comment-list-b-simple .user-info { padding: 0 0 2px;} +.comment-list-b-simple .comment-rst { margin-bottom: 7px;} +.comment-list-b-simple .comment-entry { margin-bottom: 5px;} + +.comment-list-c { margin-bottom: 0;} +.comment-list-c .comment-list-item { margin-bottom: 25px;} +.comment-list-c .avatar { float: left; width: 24px; height: 24px; margin-right: 10px;} +.comment-list-c .content { width: 655px;} +.comment-list-c .user-info, +.comment-list-c .user-info { margin-bottom: 3px;} +.comment-list-c .user-info a { float: left; margin-right: 10px;} +.comment-list-c .user-info .user-rank-rst { margin-top: 2px;} +.comment-list-c .time { margin-left: 10px; color: #999;} +.comment-list-c .comment-entry { width: 100%; margin-bottom: 10px;} +.comment-list-c .reply-from { clear: left; margin-bottom: 3px; color: #F90;} + +.comment-list-d { margin-bottom: 0;} +.comment-list-d .comment-list-item { margin-bottom: 25px;} +.comment-list-d .content { width: 630px;} +.comment-list-d .user-info, +.comment-list-d .user-info { margin-bottom: 3px;} +.comment-list-d .user-info a { float: left; margin-right: 10px;} +.comment-list-d .user-info .user-rank-rst { margin-top: 2px;} +.comment-list-d .time { margin-left: 10px; color: #999;} +.comment-list-d .comment-entry { width: 100%; margin-bottom: 20px;} +.comment-list-d .comment-reply { clear: both; margin-bottom: 10px; padding: 7px 10px; border: 1px solid #EFE0D7; background: #FFF9F1;} +.comment-list-d .misc { float: left; margin: -15px 0 15px;} +.comment-list-d .reply-from { margin-bottom: 3px; color: #F90;} + +.comment-list-more { text-align: right;} + + +/*thumb-list*/ +.thumb-list li { float: left; width: 90px; height: 90px; margin-bottom: 20px; text-align: center; overflow: hidden;} +.thumb-list li a { display: block; width: 48px; height: 48px; margin: 0 auto 6px;} +.thumb-list .title { margin-top: 2px;} +.thumb-list .title a { display: inline; width: auto; height: auto; color: #66C;} +.thumb-list .title a:hover { text-decoration: underline; color: #FFF; background: #66C;} +.page-sa .thumb-list li { width: 86px;} +.thumb-list-b li { width: 130px; height: auto; margin-right: 4px; padding: 3px 0 0 3px;} +.thumb-list-b li .thumb-wrapper { position: relative; width: 128px; height: 98px; margin: 0 0 6px; border: 1px solid #DBDBDB; background: #F2F2F2;} +.thumb-list-b li .thumb { position: relative; left: -4px; top: -4px; width: 120px; height: 90px; margin: 0 0 6px; padding: 4px; border: 1px solid #CCC; background: #FFF; _left:-2px;} +.thumb-list-b li .thumb:hover { background-color: #FFF;} +.thumb-list-b li .thumb img {display:block; line-height: 98px;} +.thumb-list-b li .title a:hover { text-decoration: none;} +.thumb-list-c li { height: 90px; overflow: hidden;} +.thumb-list-c li .title a:hover { text-decoration: none;} +.thumb-list-c li em { color: #999;} + +/*item-rank-rst 商铺星级评分结果 全局默认为小号星级图标 12px*12px */ +.item-rank-rst { float: left; width: 64px; height: 12px; margin: 3px 12px 0 0; text-indent: -9999px; overflow: hidden;} +.irr-star0 { background-position: 0 -119px;} +.irr-star5 { background-position: 0 -330px;} +.irr-star10 { background-position: 0 -102px;} +.irr-star20 { background-position: 0 -85px;} +.irr-star30 { background-position: 0 -68px;} +.irr-star35 { background-position: 0 -51px;} +.irr-star40 { background-position: 0 -34px;} +.irr-star45 { background-position: 0 -17px;} +.irr-star50 { background-position: 0 0;} + +/*商户信息中的大号星级图标 16px*16px */ +.shop-info .comment-rst .item-rank-rst { width: 84px; height: 16px;} +.shop-info .comment-rst .irr-star0 { background-position: 0 -250px;} +.shop-info .comment-rst .irr-star5 { background-position: 0 -310px;} +.shop-info .comment-rst .irr-star10 { background-position: 0 -232px;} +.shop-info .comment-rst .irr-star20 { background-position: 0 -214px;} +.shop-info .comment-rst .irr-star30 { background-position: 0 -196px;} +.shop-info .comment-rst .irr-star35 { background-position: 0 -290px;} +.shop-info .comment-rst .irr-star40 { background-position: 0 -178px;} +.shop-info .comment-rst .irr-star45 { background-position: 0 -270px;} +.shop-info .comment-rst .irr-star50 { background-position: 0 -160px;} + +/*user-rank-rst 用户徽章评分结果 更新:统一使用两位数,并增加45及60,分别为空星及钻石*/ +.user-rank-rst { float: left; height: 14px; text-indent: -9999px; background-position: 0 -136px;} +.urr-rank10 { width: 10px;} +.urr-rank20 { width: 24px;} +.urr-rank30 { width: 38px;} +.urr-rank40 { width: 52px;} +.urr-rank45 { width: 66px; background-position: -14px -136px;} +.urr-rank50 { width: 66px;} +.urr-rank60 { width: 13px; height: 12px; background-position: -72px -90px;} + +/*user-m-star 月度之星*/ +.user-m-star { display: block; width: 55px; height: 15px; text-indent: -9999px;} +.ums-1 { background-position: 0 -384px;} +.ums-2 { background-position: 0 -405px;} +.ums-3 { background-position: 0 -426px;} +.ums-4 { background-position: 0 -447px;} +.ums-5 { background-position: 0 -468px;} +.ums-6 { background-position: 0 -489px;} +.ums-7 { background-position: 0 -510px;} +.ums-8 { background-position: 0 -531px;} +.ums-9 { background-position: 0 -552px;} +.ums-10 { background-position: 0 -573px;} +.ums-11 { background-position: 0 -594px;} +.ums-12 { background-position: 0 -615px;} + + +/*figure-list*/ +.figure-list li { clear: both; margin-bottom: 4px;} +.figure-list li p { margin-bottom: 12px; color: #666;} +.figure-list a { color: #66C;} +.figure-list a:hover { color: #FFF; background-color: #66C;} + +.figure-list .figure { zoom:1; position:relative; margin-bottom: 6px;} +.figure-list .figure p { margin-bottom: 0;} + +.figure-list .avatar, +.figure-list .thumb {position:absolute; left:0; top:0;} + +.figure-list .content { margin-left: 55px;} +.figure-list .count { color: #999;} +.figure-list .item-rank-rst, +.figure-list .user-rank-rst { margin-right: 4px;} +.figure-list h4 { margin-bottom: 2px;} +.figure-list h5 { display: inline; margin-right: 8px;} + +/*figure-block +.figure-block .avatar, +.figure-block .thumb { float: left;} +.figure-block .content { margin-left: 55px;} +.figure-block .content a { color: #66C;} +.figure-block .content a:hover { color: #FFF; background-color: #66C;} +*/ + +/*title-list*/ +.title-list a { color: #66C;} +.title-list a:hover { color: #FFF; background-color: #66C;} +.title-list li span { color: #999;} +.title-list li a span { margin-right: 5px; color: #66C;} +.title-list li a:hover span { color: #FFF;} +.title-list li a strong { margin-right: 5px;} + +/*rank-list*/ +.rank-list { margin-top: 5px;} +.rank-list a { color: #66C;} +.rank-list a:hover { color: #FFF; background-color: #66C;} +.rank-list li { clear: both; margin-bottom: 3px; padding-left: 8px; background-position: -135px -264px;} +.rank-list li div { margin-bottom: 9px; color: #999;} +.rank-list li div span { float: left;} + +/*bullet-list*/ +.bullet-list li { padding-left: 8px; background-position: -135px -264px;} +.bullet-list-b li { padding-left: 5px; background-position: -169px -418px; *background-position: -169px -420px;} +.bullet-list-c li { padding-left: 10px; background-position: -134px -542px;} +.bullet-list-d li { padding-left: 10px; background-position: -134px -592px;} + +/*tag-list*/ +.tag-list a { margin-right: 5px; color: #66C;} +.tag-list a:hover { color: #FFF; background-color: #66C;} + +/*raw-block*/ +.raw-block { margin: 0 0 10px; padding: 0; border: none;} +.raw-block .block-title { margin-bottom: 10px; padding: 0 10px; background: none;} +.raw-block .block-title a{color:#CC0000;} +.raw-block .block-title a:hover{ color:#CC0000; background-color:#fff; text-decoration:underline;} +.raw-block .block-inner { padding: 0 10px;} +.page-sa-col .raw-block .block-title, +.page-sa-col .raw-block .block-inner { padding: 0;} + +/*separated-block*/ +.separated-block { padding-bottom: 20px; border-bottom: 1px dashed #E4E4E4;} + +/*more-block*/ +.more-block { text-align: right;} + + +/*nav-tab-list*/ +.nav-tab-list { float: left; width: 100%; border-bottom: 1px solid #DA795B; background-position: 0 -125px; background-repeat: repeat-x;} +.nav-tab-list li { float: left; margin-right: 1px;} +.nav-tab-list li a { float: left; padding-left: 2px; color: #61646E; background-position: 0 -75px; cursor: pointer;} +.nav-tab-list li a span { float: left; display: block; height: 24px; padding: 0 20px; line-height: 23px; background-position: right -75px;} +.nav-tab-list li a:hover { color: #C00;} +.nav-tab-list li a:hover span {} +.nav-tab-list .this a { background-position: 0 -100px;} +.nav-tab-list .this a span { color: #FFF; background-position: right -100px; background-color: #F88E03;} +.nav-tab-list .this a:hover { text-decoration: none;} +.nav-tab-list .this a:hover span { color: #FFF;} +.nav-tab-list .first { padding-left: 0;} + +/*notice-block*/ +.notice-block { padding: 7px 10px; color: #999; border: 1px solid #EFE0D7; background: #FFF9F1;} +.notice-block p { margin-bottom: 2px;} +.notice-block ul { list-style: inside disc;} +.notice-block li { margin-bottom: 2px;} + +/*horiz-list 水平方向带分割线的列表,必要性有待评估*/ +.horiz-list li { display: inline; color: #999;} +.horiz-list .sep { margin: 0 5px; color: #DEDEDE;} + +/*brand-slide-block*/ +.brand-slide-block .DPADBrandImage { float: left; width: 340px;} +.brand-slide-block .even { float: right;} + +/*breadcrumb-sub 内容中使用的面包屑形式*/ +.breadcrumb-sub span { margin: 0 5px; color: #999;} + + +/*aside*/ +.aside {} +.aside .block { margin-bottom: 10px;} +.aside .tab-list { border: solid #F5EEE8; border-width: 1px 1px 0 1px;} +.aside .tab-list li { float: left; width: 74px;} +.aside .tab-list li a { float: left; width: 100%; text-align: center; line-height: 23px; color: #61646E; border-bottom: 1px solid #F5EEE8; outline: none;} +.aside .tab-list li a:hover { color: #C00; /*border-bottom-color: #FFF;*/ background: none;} +.aside .tab-list .active a { color: #C00; border-bottom-color: #FFF;} +.aside .tab-list .active a:hover { color: #C00;} +.aside .tab-list .last { width: 73px; border-left: 1px solid #F5EEE8;} +.aside .tab-single .last { width: 100%; text-align: left; border: none;} +.aside .tab-single li a { float: none; width: auto; margin-left: 5px; text-align: left; border-bottom: none; cursor: default;} +.aside .tab-single li a:hover { color: #333;} + +.aside .tab-panel { display:none; padding: 12px 12px 4px 12px; border: solid #F5EEE8; border-width: 0 1px 1px 1px;} +.aside .tab-panel-on{display:block;} + +.aside .title-list li { margin-bottom: 6px;} +.aside .more { text-align: right;} +.aside .more a { color: #66C;} +.aside .more a:hover { color: #FFF; background-color: #66C;} +.aside .separated-block { margin: 10px auto; padding: 0; border: none;} + +.aside-left .figure-list .content { position: relative; top: -2px; overflow: hidden;} +.aside-left .figure-list li { padding-left: 8px; background-position: -135px -264px;} +.aside-left .figure-list .figure { margin-bottom: 10px; padding-left: 0; height: auto !important; height: 48px; min-height: 48px; background: none;} +.aside-left .figure-list .avatar, +.aside-left .figure-list .thumb { width: 48px; height: 48px;} +.aside-left .figure-list .more { padding-left: 0; background: none;} + +.aside-right .block { padding: 5px 11px; border: 1px solid #E0E0E0;} +.aside-right .block-title { position: relative; margin-bottom: 7px; font-size: 1.2em; color: #C00;} +.aside-right .block-title .note { position: absolute; right: 0; _right: 11px; font-size: .9em; color: #999;} +.aside-right .block-title .title-misc { font-size: 12px;} +.aside-right .block-title .title-misc a { color: #66C;} +.aside-right .block-title .title-misc a:hover { color: #FFF; background-color: #66C;} +.aside-right .tab-list li { float: left; width: 118px;} +.aside-right .tab-list .last { width: 119px; border-left: 1px solid #F5EEE8;} +.aside-right .figure-list { margin-top: 10px;} +.aside-right .figure-list p { color: #666;} +.aside-right .figure-list li { padding-left: 8px; background-position: -135px -264px;} +.aside-right .figure-list .figure { margin-bottom: 15px; padding-left: 0; height: auto !important; height: 48px; min-height: 48px; background: none;} +.aside-right .figure-list .avatar, +.aside-right .figure-list .thumb { width: 48px; height: 48px;} +.aside-right .figure-list .content, +.aside-right .figure-block .content { margin-left: 58px;} +.aside-right .figure-block { padding-top: 10px;} +.aside-right .raw-block .figure-list { margin-top: 0;} +.aside-right .map-wrapper { width: 238px; height: 240px; background: #F3F3F3;} +.aside-right .map-wrapper a:hover{background:none;} +.aside-right .b-blank a:hover { background: none;} + +/* +.aside-right .b-app { margin-bottom: 10px;} +.aside-right .b-app a { display: block; width: 240px; height: 100px; text-indent: -9999px;} +.aside-right .b-app a:hover { background-position: 0 -100px;} +*/ + +/*misc-block*/ +.aside .misc-block .more { text-align: left;} +.aside .misc-block .more a { color: #999;} +.aside .misc-block .more a:hover { color: #C00; background: #FFF;} + +/*wide-block*/ +.aside .wide-block { padding: 0; border: none;} +.aside .wide-block .block-title { margin-bottom: 10px; padding: 0 10px 4px; border-bottom: 1px solid #E0E0E0;} +.aside .wide-block .block-title strong { float: left; font-weight: normal;} +.aside .wide-block .block-title .more { float: right; margin-top: 3px; font-size: .8em; *font-size: 12px; color: #66C;} +.aside .wide-block .block-title .more:hover { color: #FFF; background: #66C;} +/*secondary*/ +.secondary .term-list-item { width: 960px;} + +.aside-right .b-tmp-mkt { padding: 6px 0 9px 11px;} +.aside-right .b-tmp-mkt * { float: left;} +.aside-right .b-tmp-mkt .thumb { width: 30px; height: 16px; margin: 4px 6px 0 0; *margin: 4px 5px 0 0;} +.aside-right .b-tmp-mkt .intro { margin: 3px 6px 0 0; color: #66C;} +.aside-right .b-tmp-mkt .intro:hover { color: #FFF; background-color: #66C;} +.aside-right .b-tmp-mkt .misc { margin-top: 3px; margin-top: 4px\0; *margin-top: 4px; _margin-top: 4px; color: #999;} + + +/*footer*/ +.footer { margin-bottom: 30px; padding-top: 15px; color: #999; border-top: 1px dashed #E4E4E4;} +.footer a { color: #61646E;} +.footer a:hover { text-decoration: underline; color: #C00;} +.footer .sitemap { float: left; width: 300px; margin-right: 20px;} +.footer .sitemap li { margin-bottom: 1px;} +.footer .sitemap a { margin: 0 5px 0 3px;} +.footer .sitemap strong { font-weight: normal;} +.footer .sitemap strong a { margin: 0; color: #999;} +.footer .sitemap strong a:hover { text-decoration: underline; color: #C00;} + +.footer .info { clear: both; padding: 15px 0 5px; text-align: center;} +.footer .info p { margin-bottom: 10px;} +.footer .info p span { margin-right: 10px;} +.footer .info p a { color: #999;} +.footer .info p a:hover { text-decoration: none; color: #999; background-color: #FFF;} +.footer .info p em a { color: #999;} +.footer .info p em a:hover { text-decoration: none; color: #999; background-color: #FFF;} +.footer .info .certify, .footer_w .certify{text-align:center; padding-top: 15px;} + +/*静态简尾*/ +.footer-static { text-align: center; border-top: 1px solid #E0E0E0;} +.footer-static ul { margin-bottom: 10px;} +.footer-static li { display: inline; margin-right: 8px; color: #CCC;} +.footer-static li a { margin-right: 10px; color: #999;} +.footer-static li a:hover { text-decoration: none;} +.footer-static li.fn-tuan { background-position: 41px -674px;} +.footer-static p a { color: #999;} +.footer-static p a:hover { text-decoration: none;} +.footer-static p a.note:hover { color: #999; cursor: default;} + +/*简尾团购导航*/ +.footer-static .tuan-nav { text-align: left;padding: 20px 25px;margin-bottom:20px; color: #999; border: 1px solid #EEE; background: #F4F4F4;display: none} +.footer-static .tuan-nav a { color: #66C;} +.footer-static .tuan-nav a:hover { color: #FFF; background: #66C;} +.footer-static .tuan-nav dl { margin-bottom: 6px;} +.footer-static .tuan-nav dt { float: left; width: 72px;} +.footer-static .tuan-nav dd { float: left; width: 836px;} +.footer-static .tuan-nav dd a { float: left; margin-right: 13px; white-space: nowrap;} +.footer-static .tuan-nav dd a:hover { text-decoration: none;} +.footer-static .tuan-nav p.note { margin-top: 10px;} + +/*主站首页footer新结构 全局性有待后续需求评估*/ +.footer .nav { padding-bottom: 10px; border-bottom: 1px dashed #E4E4E4;} +.footer .nav ul { float: left; width: 310px; padding-left: 10px;} +.footer .nav li { float: left; width: 310px; margin-bottom: 7px; padding-top: 0;} +.footer .nav a { color: #999;} +.footer .nav a:hover { color: #FFF; text-decoration: none; background-color: #999;} +.footer .nav dt,.footer .nav dd { display: inline;} +.footer .nav dt a { color: #66C;} +.footer .nav dt a:hover { color: #FFF; background-color: #66C;} +.footer .nav dd { padding-right: 7px; color: #333;} +.footer .nav dd a { margin-right: 7px;} + + + + +/*新MKT样式 侧边栏*/ +.aside .DPMKT,.aside_a .DPMKT,.aside_e .DPMKT { margin-bottom: 10px;} +.aside .DPMKT-list,.aside_a .DPMKT-list,.aside_e .DPMKT-list { margin: 0; padding: 0;} + +.aside .dl-img a,.aside_a .dl-img a,.aside_e .dl-img a { float: left; width: 100%;} +.aside .dl-img img,.aside_a .dl-img img,.aside_e .dl-img img { display:block; margin:0 auto;} +.aside .dl-img li,.aside_a .dl-img li,.aside_e .dl-img li { margin-bottom: 5px; padding: 0; vertical-align: top;} + +.aside-right .DPMKT,.aside_e .DPMKT { overflow: hidden;} +.aside_e .DPMKT .block { margin-bottom: 11px; padding: 5px 11px; border: 1px solid #E0E0E0;} +.aside_e .DPMKT .block-title { position: relative; margin-bottom: 7px; font-size: 14px; font-weight: normal; color: #C00;} +.aside_e .DPMKT .more { text-align: right;} +.aside_e .DPMKT .more a { color: #66C;} +.aside_e .DPMKT .more a:hover { color: #FFF; background: #66C;} + +/*-新MKT样式 全局 相关团购优惠-*/ +.aside-right .dl-tuan li,.aside_e .dl-tuan li { margin-bottom: 10px; padding-bottom: 10px; font-size: 12px; border-bottom: 1px dashed #E4E4E4;} +.aside-right .dl-tuan .last,.aside_e .dl-tuan .last { margin-bottom: 0; border-bottom: none;} +.aside-right .dl-tuan h4,.aside_e .dl-tuan h4 { margin-bottom: 3px;} +.aside-right .dl-tuan h4 a,.aside_e .dl-tuan h4 a { color: #66C;} +.aside-right .dl-tuan h4 a:hover,.aside_e .dl-tuan h4 a:hover { color: #FFF; background: #66C;} +.aside-right .dl-tuan .info,.aside_e .dl-tuan .info { color: #999;} +.aside-right .dl-tuan .info em,.aside_e .dl-tuan .info em { margin-right: 12px; color: #C00;} +.aside-right .dl-tuan .info em span,.aside_e .dl-tuan .info em span { font-weight: bold;} +.aside-right .dl-tuan .info em .Price,.aside_e .dl-tuan .info em .Price { margin-left: 3px; font-weight: normal;} +.aside-right .dl-tuan .info del,.aside_e .dl-tuan .info del { margin-left: 3px;} +.aside-right .dl-tuan li,.aside_e .dl-tuan li{ background-position: -135px -654px;} +.dl-tuan .img{ padding-left:0;display:none;} +.dl-tuan li.current .img{padding-left:0; display:block;} +.page-asa .aside-right .dl-tuan img{ width:140px; height:87px;} + + + +/*新MKT样式 section*/ +.DPMKT-wrapper,.section .DPMKT-wrapper { margin: 0 -20px 20px 0; overflow: hidden;} +.DPMKT-wrapper .DPMKT,.section .DPMKT{ position: relative; float: left; width: 300px; height: 80px; margin-right: 10px; overflow: hidden;} +.section .DPMKT img {width: 300px; height: 80px;} +.DPMKT .DPMKTShower,.section .DPMKT .DPMKTShower { position: absolute; bottom: 5px; right: 5px;} +.DPMKTSlider,.section .DPMKTSlider{position:absolute;top:0;left:0; width:300px;} +.DPMKTShower li,.section .DPMKTShower li { float:left; color:#fff; width:16px; height:16px; line-height:normal; margin:2px 3px; text-align:center; background:#593325; cursor:pointer; } +.DPMKTShower li.current,.section .DPMKTShower li.current {font-weight:bold; background-color:#ff5a00; padding-left:0} + + +/*同步sync样式 section*/ +.icon-sync-wrapper { display: inline-block;} +.icon-sync-wrapper span { float: left; margin-top: 1px; margin-right: 5px;} +.icon-sync-wrapper a { float: left; margin-right: 5px; width: 18px; height: 18px; text-indent: -9999px;} +.icon-sync-wrapper a.sina-o { background-position: 0 0;} +.icon-sync-wrapper a.sina-u { background-position: 0 -18px;} +.icon-sync-wrapper a.qzone-o { background-position: 0 -36px;} +.icon-sync-wrapper a.qzone-u { background-position: 0 -54px;} +.icon-sync-wrapper a.sohu-o { background-position: 0 -72px;} +.icon-sync-wrapper a.sohu-u { background-position: 0 -90px;} + + +/** + * pop-panel instance, start with 'pp_' + * @inherit .pop-panel + */ + +/* 快捷导航 */ +.pp_quick-nav {top: 28px;} +.header-bar .pp_quick-nav{right:0;} +.pp_quick-nav ul { width: 166px; overflow: hidden;} +.pp_quick-nav li { float: left; width: 75px; margin: 0 8px 3px 0;} +.pp_quick-nav .quick-nav-channels { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed #F5EEE8;line-height:18px;} + +.pp_quick-nav a{float:left; zoom:1; position:relative;} + +/* +.pp_quick-nav .member .icon { background-position: -80px -468px;} +.pp_quick-nav .coupon .icon { background-position: -80px -486px;} +*/ + +/*城市列表*/ +.pp_location { width: 377px; overflow: hidden; left: 0; top: 26px;} +.pp_location dl { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #E4E4E4;} +.pp_location dl.last { margin-bottom: 0; border: none;} +.pp_location dt { float: left; width: 60px; color: #999;} +.pp_location dd { margin-left: 60px; margin-right:-10px; padding-top: 1px\9;} +.pp_location dl.label-free { padding-bottom: 0;} +.pp_location dl.label-free dd { margin-left: 0;} +.pp_location li { float: left; width: 48px; margin: 0 5px 1px 0;} +.pp_location .double{ width: 101px; } +.pp_location .more { float: right; padding: 0 1px; color: #66C;} +.pp_location .more:hover { text-decoration: none; color: #FFF; background: #66C;} + +/*搜索范围*/ +.pp_search-range { border-top:0; padding-top:0; top:28px; left:0;} +.pp_search-range li { margin-bottom: 2px;line-height:18px;} + +/*搜索suggestion*/ +.pp_search-suggest {top:29px; left:0; width: 359px; padding: 5px 4px;background-color:#fff;position:absolute; } +.pp_search-suggest li { padding: 0 8px; color: #333; line-height: 21px; cursor: pointer;} + +.pp_search-suggest .keyword { float: left; margin-right: 8px; font-weight: normal;} +.pp_search-suggest .related {float: left; } +.pp_search-suggest .count { float: right; color: #008000;} + +/* suggest中高亮显示关键字 */ +.pp_search-suggest em{color:#66c;} + +.pp_search-suggest .active { text-decoration: none; color: #FFF; background: #66C;} +.pp_search-suggest .active em, +.pp_search-suggest .active .name, +.pp_search-suggest .active .region, +.pp_search-suggest .active .count +{ color: #FFF;} + + +/** + * 频道导航,包含首页已经展开导航及其他页面未展开的导航 + */ +.pp_channels { width: 138px; padding: 0; border-width: 0 0 2px 1px; top: 41px; left: 5px;} +.pp_channels .root-item { zoom:1; position:relative; width: 139px; height: 34px; background-position: -13px -373px; overflow:visible; +/* @kael: v-align是为ie6-7的一个hack,去除li下面留有的2px像素 */ +vertical-align:middle;} +.pp_channels .root-name { display:block; position:relative; border-top:1px solid #f8cfa5; padding-left: 10px; background-position: -10px -358px; cursor: pointer;} +.pp_channels .root-name span { position: relative; display:block; border-right:1px solid #f8cfa5; padding-left:9px; height:34px; font-size: 1.2em; line-height: 34px; color: #000; background-position: -167px -358px;} +.pp_channels .root-name span .icon { position: absolute; top: 13px; display: block; width: 23px; height: 9px; padding: 0; border: none;} +.pp_channels .root-name .i-icon2 .icon { left: 42px; background-position: 0 -640px;} +.pp_channels .root-name .i-icon4 .icon { left: 72px; background-position: 0 -640px;} + +.pp_channels .active .root-name{ background: #fff;} +.pp_channels .active .root-name span{ color: #C00; border-color:#fff;} + +.pp_channels .no-sub .root-name{} +.pp_channels .no-sub .root-name span{border-color:#fff; background-position:20px -358px; } + +.pp_channels .sub-list{left: 138px; top: -34px; padding:5px 2px 5px 16px; width: 200px; overflow: hidden; _top:-35px;} +.pp_channels .active .sub-list{visibility:visible;} + +.pp_channels .sub-list li{ float: left; width: 83px; margin: 0 10px 5px 0;} +.pp_channels .sub-list .main-cate{width:200px; margin-right:-10px; font-weight:bold;} + +.pp_channels .sub-list a { padding-left: 3px; background-position: -169px -418px; *background-position: -169px -420px;} +.pp_channels .sub-list a:hover { background-position: -169px -438px; *background-position: -169px -440px;} + +/*简头搜索*/ +.pp_nav-search {left:2px; top:18px; width: 240px; height: 26px; padding: 9px;} +.pp_nav-search .form-txt, +.pp_nav-search .form-btn +{float:left; position: relative; } + + +.pp_nav-search .form-txt { margin:0 3px 0 0; width: 175px; height: 18px; border-width: 2px 1px 1px 2px; border-color: #808080 #D4D0C8 #D4D0C8 #808080; background: none;} +.pp_nav-search .form-btn { top: -1px; width: 59px; height: 24px; margin: 0 -20px 0 0; padding: 0 0 3px; *padding-bottom: 0; font-weight: bold; color: #FFF; border: none; background-position: -97px -421px; background-color: #F07B08;} + + +/* 个人中心菜单 */ +.pp_user-center{padding-right:0; width:70px;top:25px;} +.header-bar .pp_user-center{left:0;} +.pp_user-center li { margin-bottom: 3px;} +.pp_user-center li a {float:none;line-height:18px;} + +/* 消息菜单 */ +.pp_msg { padding: 10px 15px; width: 110px; z-index: 552} +.header-bar .pp_msg{left:0; top:28px} +.pp_msg li { margin-bottom: 3px; line-height:1.5;} +.pp_msg strong { margin-right: 7px; color: #C00;} +.pp_msg a { float: none; color: #6666CC; background: none !important;} +.pp_msg li a:hover { background-color:#6666CC !important; color:#fff;} +.pp_msg a.c-gray{ color:#999; text-decoration:underline; width:auto;} +.pp_msg li a.c-gray:hover{ color:#CC0000; background:none !important;} + +.pp_group-nav{width:90px;} +.pp-msg_list{ padding:1px; width:138px;} +.pp-msg_list li { margin-bottom:0;} +.pp-msg_list li a{ width:128px; padding:4px 0 4px 10px; text-align:left; color:#666; display:inline-block; *display:inline; overflow:hidden; zoom:1; vertical-align:middle;} +.pp-msg_list li a:hover{ background-color:#EBEBFF !important; color:#666;text-decoration:none;} + + +/*简型信息弹出样式*/ +.pop-msg-item { float: left; width: auto !important; padding: 20px;} +.pop-msg-item a { color: #66C;} +.pop-msg-item a:hover { color: #FFF; background: #66C;} +.pop-msg-item .dialog-cont { margin: 0;} + + + +.mbox_overlay{position: absolute; top: 0px; left: 0px; width: 100%; background-color: #000; z-index: 1001; zoom: 1; opacity: 0.2;filter: alpha(opacity=20); } + +.pop-login .pop-win-inner{width: 370px;padding-right: 0;} +.pop-login .pop-win-inner .form-block .note{margin-left: 10px;line-height: 23px;} +.pop-login .pop-win-inner .form-block .form-txt{width:190px;color:#000;} +.pop-login .pop-win-inner .form-block .form-default{color:#bbb;} +.pop-login .pop-win-inner .form-block .label{width:60px;} +.pop-login .pop-win-inner .fn{position: relative;top: -25px;margin-left: 10px;color: #66C;} +.pop-login .pop-win-inner .form-content-block{margin-left:0;padding-left:69px;} +.pop-login .pop-win-inner .form-btn-block{padding-left:69px;} + +.pop-report .pop-win-inner{width: auto;} +.pop-report .chk-list{} +.pop-report .chk-list li:after {content:""; display:block; height:0; clear:both;} +.pop-report .chk-list li {margin-bottom: 8px;} +.pop-report .chk-list li .chk-item {margin: 0 5px 0 0;position: relative;top: 3px;} +.pop-report .chk-list label{} +.pop-report .chk-list .form-block .form-txt,.pop-report .chk-list .form-block textarea{display: block;clear: both;float: right;margin-top: 7px;} +.pop-report .chk-list .form-block .form-txt{width: 201px;} +.pop-report .chk-list .form-block textarea{width: 197px;} + +.pp_ipad-hint { width: 190px; padding: 7px 9px 8px; border: 1px solid #F0C36D; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; background: #F9EDBE; box-shadow: 0px 2px 3px rgba(0,0,0,0.3); -moz-box-shadow: 0px 2px 3px rgba(0,0,0,0.3); -webkit-box-shadow: 0px 2px 3px rgba(0,0,0,0.3);} +.pp_ipad-hint a{float:none; display:block; padding-right:0;} +.pp_ipad-hint .ih-wrapper:hover { text-decoration: none; color: #963;} +.pp_ipad-hint .ih-wrapper p { color: #963; font-weight:normal; line-height:1.5;} +.pp_ipad-hint .ih-wrapper .icon { float: left; width: 35px; height: 35px; margin: 3px 7px 0 0; _margin-right: 3px; text-indent: -9999px; background-position: 0 -30px;} +.pp_ipad-hint .ih-wrapper p { *margin-top: 3px; margin-bottom: 0;} +.pp_ipad-hint .ih-wrapper strong { color: #F60;} +.pp_ipad-hint .close { right: 3px; top: 5px; width: 10px; height: 10px; background-position: -21px 0; cursor: pointer; z-index: 50;} +.pp_ipad-hint .close:hover { background-color: #F9EDBE; background-position: -21px 0;} +.pp_ipad-hint .arrow { position: absolute; left: 142px; top: -6px; width: 11px; height: 6px;} + + +/*-- 页头 新版旧版切换链接 --*/ +.switch-old { float: right; margin-right: 129px; padding-top: 7px; padding-top:9px\9;} +.switch-new { float: right; margin-right: 123px; padding: 7px 0 0 29px; padding-top:9px\9; background-position: -144px -518px;} +/*-- /@页头 新版旧版切换链接 --*/ +/*-- 临时调查问卷样式 --*/ +.shop-gallery .pic-survey{ position:absolute; left:0; bottom:-1px;} +.block-title .pic-survey{ float:right; margin:5px 30px 0 0; display:inline; line-height:18px;} +/*-- /@临时调查问卷样式 --*/ +/* ------------------------------------------- /@UI ---------------------------------------------- */ +/* ------------------------------------------- /按钮 --------------------------------------------- */ +.micro-btn,.btn-txt,.micor-btn-disb,.micro-btn-ash,.micro-btn-ashdisb,.micro-btn-shallow,.micro-btn-shallowdisb,.medi-btn,.medi-btn-disb,.medi-btn-ash,.medi-btn-ashdisb,.medi-btn-shallow,.medi-btn-shallowdisb,.big-btn,.big-btn-disb,.big-btn-ash,.big-btn-ashdisb,.big-btn-shallow,.big-btn-shallowdisb,.huge-btn,.huge-btn-disb,.huge-btn-ash,.huge-btn-ashdisb,.huge-btn-shallow,.huge-btn-shallowdisb{background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm.btn.8d6228706fb97ba9c05c807e489c64c6.png) no-repeat; display:inline-block; *display:inline; overflow:hidden;zoom:1;} +.btn-txt{ background-position:0 1px; display:inline-block; *display:inline; overflow:hidden;zoom:1; height:22px; line-height:22px;color:#fff; padding:0 8px 0 10px;overflow:visible; border:0;margin:0; cursor:pointer; font-family:Arial, Helvetica, sans-serif;} +.micro-btn{ background-position:right 1px;padding-right:1px;} +.btn-txt:hover{ background-position:0 -22px;} +.btn-txt:active{ background-position:0 -45px} +.micor-btn-disb{ background-position:right -69px; padding-right:1px;} +.micor-btn-disb button.btn-txt,.micro-btn-ashdisb button.btn-txt,.micro-btn-shallowdisb button.btn-txt{ cursor:default;}/*-disabled-*/ +.micor-btn-disb .btn-txt{ background-position:0 -69px;}/*-disabled-*/ +/*----- 小灰色-----*/ +.micro-btn-ash { background-position:right -91px; padding-right:1px; } +.micro-btn-ash:hover{ background-position:right -114px;} +.micro-btn-ash:active{ background-position:right -137px;} +.micro-btn-ash .btn-txt{ background-position:0 -91px;color:#666;} +.micro-btn-ash .btn-txt:hover{ background-position:0 -114px} +.micro-btn-ash .btn-txt:active{ background-position:0 -137px} +.micro-btn-ashdisb{background-position:right -161px; padding-right:1px;}/*-disabled-*/ +.micro-btn-ashdisb .btn-txt{ background-position:0 -161px; color:#bbb;}/*-disabled-*/ +/* ---------- 小浅色 */ +.micro-btn-shallow{ background-position:right -184px; padding-right:1px;} +.micro-btn-shallow:hover{ background-position:right -207px;} +.micro-btn-shallow:active{ background-position:right -230px;} +.micro-btn-shallow .btn-txt{ background-position:0 -184px;color:#ff6600;} +.micro-btn-shallow .btn-txt:hover{ background-position:0 -207px} +.micro-btn-shallow .btn-txt:active{ background-position:0 -230px} +.micro-btn-shallowdisb{background-position:right -253px; padding-right:1px;}/*-disabled-*/ +.micro-btn-shallowdisb .btn-txt{ background-position:0 -253px; color:#ffb27f;}/*-disabled-*/ + +/*----- 中等大小橙色-----*/ +.medi-btn .btn-txt,.medi-btn-ash .btn-txt,.medi-btn-shallow .btn-txt,.medi-btn-disb .btn-txt,.medi-btn-ashdisb .btn-txt,.medi-btn-shallowdisb .btn-txt{padding:0 13px 0 15px;height:30px; font:bold 12px/30px "Simsun";} +.medi-btn { background-position:right -276px; padding-right:1px; } +.medi-btn:hover{ background-position:right -307px;} +.medi-btn:active{ background-position:right -339px;} +.medi-btn .btn-txt{ background-position:0 -276px;color:#fff; } +.medi-btn .btn-txt:hover{ background-position:0 -307px} +.medi-btn .btn-txt:active{ background-position:0 -339px} +.medi-btn-disb{background-position:right -371px; padding-right:1px;}/*-disabled-*/ +.medi-btn-disb .btn-txt{ background-position:0 -371px; color:#fff; cursor:default;}/*-disabled-*/ +/*----- 中等大小灰色-----*/ +.medi-btn-ash { background-position:right -402px; padding-right:1px; } +.medi-btn-ash:hover{ background-position:right -434px;} +.medi-btn-ash:active{ background-position:right -466px;} +.medi-btn-ash .btn-txt{ background-position:0 -402px;color:#666;} +.medi-btn-ash .btn-txt:hover{ background-position:0 -434px} +.medi-btn-ash .btn-txt:active{ background-position:0 -466px} +.medi-btn-ashdisb{background-position:right -497px; padding-right:1px;}/*-disabled-*/ +.medi-btn-ashdisb .btn-txt{ background-position:0 -497px; color:#bbb; cursor:default;}/*-disabled-*/ +/*----- 中等大小浅色-----*/ +.medi-btn-shallow { background-position:right -528px; padding-right:1px; } +.medi-btn-shallow:hover{ background-position:right -560px;} +.medi-btn-shallow:active{ background-position:right -592px;} +.medi-btn-shallow .btn-txt{ background-position:0 -528px;color:#FF6600;} +.medi-btn-shallow .btn-txt:hover{ background-position:0 -560px} +.medi-btn-shallow .btn-txt:active{ background-position:0 -592px} +.medi-btn-shallowdisb{background-position:right -623px; padding-right:1px;}/*-disabled-*/ +.medi-btn-shallowdisb .btn-txt{ background-position:0 -623px; color:#ffb27f; cursor:default;}/*-disabled-*/ + +/*----- 大橙色-----*/ +.big-btn .btn-txt,.big-btn-ash .btn-txt,.big-btn-shallow .btn-txt,.big-btn-disb .btn-txt,.big-btn-ashdisb .btn-txt,.big-btn-shallowdisb .btn-txt{padding:0 18px 0 20px;height:40px; font: bold 14px/40px "Simsun";} +.big-btn{ background-position:right -654px; padding-right:1px;} +.big-btn:hover{ background-position:right -695px;} +.big-btn:active{ background-position:right -736px;} +.big-btn .btn-txt{ background-position:0 -654px;color:#fff;} +.big-btn .btn-txt:hover{ background-position:0 -695px} +.big-btn .btn-txt:active{ background-position:0 -736px} +.big-btn-disb{background-position:right -777px; padding-right:1px;}/*-disabled-*/ +.big-btn-disb .btn-txt{ background-position:0 -777px; color:#fff; cursor:default;}/*-disabled-*/ + +/*----- 大灰色-----*/ +.big-btn-ash { background-position:right -819px; padding-right:1px; } +.big-btn-ash:hover{ background-position:right -860px;} +.big-btn-ash:active{ background-position:right -901px;} +.big-btn-ash .btn-txt{ background-position:0 -819px;color:#666;} +.big-btn-ash .btn-txt:hover{ background-position:0 -860px} +.big-btn-ash .btn-txt:active{ background-position:0 -901px} +.big-btn-ashdisb{background-position:right -943px; padding-right:1px;}/*-disabled-*/ +.big-btn-ashdisb .btn-txt{ background-position:0 -943px; color:#bbb; cursor:default;}/*-disabled-*/ + +/*----- 大浅色-----*/ +.big-btn-shallow { background-position:right -984px; padding-right:1px; } +.big-btn-shallow:hover{ background-position:right -1025px;} +.big-btn-shallow:active{ background-position:right -1066px;} +.big-btn-shallow .btn-txt{ background-position:0 -984px;color:#ff6600;} +.big-btn-shallow .btn-txt:hover{ background-position:0 -1025px} +.big-btn-shallow .btn-txt:active{ background-position:0 -1066px} +.big-btn-shallowdisb{background-position:right -1108px; padding-right:1px;}/*-disabled-*/ +.big-btn-shallowdisb .btn-txt{ background-position:0 -1108px; color:#ffb27f; cursor:default;}/*-disabled-*/ + +/*----- 超大橙色-----*/ +.huge-btn .btn-txt,.huge-btn-ash .btn-txt,.huge-btn-shallow .btn-txt,.huge-btn-disb .btn-txt,.huge-btn-ashdisb .btn-txt,.huge-btn-shallowdisb .btn-txt{padding:0 30px 0 31px;height:50px; font: bold 22px/50px "Microsoft YaHei";} +.huge-btn{ background-position:right -1149px; padding-right:1px;} +.huge-btn:hover{ background-position:right -1200px;} +.huge-btn:active{ background-position:right -1251px;} +.huge-btn .btn-txt{ background-position:0 -1149px;color:#fff;} +.huge-btn .btn-txt:hover{ background-position:0 -1200px} +.huge-btn .btn-txt:active{ background-position:0 -1251px} +.huge-btn-disb{background-position:right -1301px; padding-right:1px;}/*-disabled-*/ +.huge-btn-disb .btn-txt{ background-position:0 -1301px; color:#fff; cursor:default;}/*-disabled-*/ + +/*----- 超大灰色-----*/ +.huge-btn-ash { background-position:right -1351px; padding-right:1px; } +.huge-btn-ash:hover{ background-position:right -1402px;} +.huge-btn-ash:active{ background-position:right -1453px;} +.huge-btn-ash .btn-txt{ background-position:0 -1351px;color:#666;} +.huge-btn-ash .btn-txt:hover{ background-position:0 -1402px} +.huge-btn-ash .btn-txt:active{ background-position:0 -1453px} +.huge-btn-ashdisb{background-position:right -1504px; padding-right:1px;}/*-disabled-*/ +.huge-btn-ashdisb .btn-txt{ background-position:0 -1504px; color:#bbb; cursor:default;}/*-disabled-*/ + +/*----- 大浅色-----*/ +.huge-btn-shallow { background-position:right -1555px; padding-right:1px; } +.huge-btn-shallow:hover{ background-position:right -1606px;} +.huge-btn-shallow:active{ background-position:right -1657px;} +.huge-btn-shallow .btn-txt{ background-position:0 -1555px;color:#ff6600;} +.huge-btn-shallow .btn-txt:hover{ background-position:0 -1606px} +.huge-btn-shallow .btn-txt:active{ background-position:0 -1657px} +.huge-btn-shallowdisb{background-position:right -1708px; padding-right:1px;}/*-disabled-*/ +.huge-btn-shallowdisb .btn-txt{ background-position:0 -1708px; color:#ffb27f; cursor:default;}/*-disabled-*/ + +/* ------------------------------------------- /@按钮 --------------------------------------------- */ + +/* ------------------------------------------- /名片弹层 --------------------------------------------- */ +.pop_carte .photo_infor .photo p i,.pop_carte .photo_infor .chag_infor i,.pop_carte .account_infor .account_person .pri_mail i{ display:inline-block;} +.pop_carte{ width:341px; position:relative; z-index:99;} +.pop_carte .cartebg_top{ width:341px; height:5px; overflow:hidden; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/cartetopbg.f92cc07cb9e758a3b6bded18a45d1b7c.png); _background:none; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader ( enabled=bEnabled , sizingMethod=sSize , src=http://events.dianping.com/master/cartebg/g.cartetopbg.png);} +.pop_carte .cartebg_botm{ width:341px; height:18px; overflow:hidden; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/cartebotmbg.1bf9f00ab76bd4faba5513a5be03874f.png); _background:none;_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader ( enabled=bEnabled , sizingMethod=sSize , src=http://events.dianping.com/master/cartebg/g.cartebotmbg.png);} +.pop_carte .cartecont{ width:301px; padding:12px 20px 5px 20px; overflow:hidden; zoom:1; position:relative;} +.pop_carte .cartecont:after{ clear:both; display:block; height:0; content:''; visibility:hidden;} +.pop_carte .cartecont .cartebg{ width:341px; height:250px; position:absolute; left:0; top:0; background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/cartecentbg.54159793e941744cfddc966e3cdf8ce5.png); _background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader ( enabled=bEnabled , sizingMethod=sSize , src=http://events.dianping.com/master/cartebg/g.cartecentbg.png); z-index:-1;} +.pop_carte .photo_infor{ float:left; width:106px; position:relative; } +.pop_carte .photo_infor .photo{ width:96px; height:96px; padding:4px; border:1px solid #dddddd; border-bottom:3px solid #eaeaea; overflow:hidden; position:relative;} +.pop_carte .photo_infor .photo p{ width:96px;height:20px; _height:18px; _padding-top:2px;text-align:center;color:#fff; position:absolute; left:4px; bottom:4px; z-index:10; } +.pop_carte .photo_infor .photo p i{ width:9px; height:7px; _height:10px; background-position: -20px -712px;overflow:hidden; } +.pop_carte .photo_infor .photo .friendbg{position:absolute; left:0; bottom:0; width:96px; height:20px; z-index:-1; background-color:#000;filter:Alpha(opacity=40);-moz-opacity:0.4;opacity:0.4; } +.pop_carte .photo_infor .butneare{ padding:10px 0; text-align:center;} +.pop_carte .photo_infor .chag_infor i{width:11px; height:12px; margin-bottom:2px; background-position: -40px -710px;vertical-align:middle;} +.pop_carte .photo_infor .chag_infor a{color:#6666CC;} +.pop_carte .photo_infor .chag_infor a:hover{background-color:#66C; color:#fff;} +.pop_carte .account_infor{ float:right; width:182px;} +.pop_carte .account_infor .account_name{ margin-bottom:2px; zoom:1;} +.pop_carte .account_infor .account_name:after{ clear:both; display:block; height:0; content:''; visibility:hidden;} +.pop_carte .account_infor .account_name a{ float:left; font-size:14px;font-weight:bold;color:#6666CC;} +.pop_carte .account_infor .account_name a:hover{background-color:#66C; color:#fff;} +.pop_carte .account_infor .account_name span{ margin:3px 0 0 5px;_margin:2px 0 0 5px;} +.pop_carte .account_infor .account_person{ margin-bottom:8px;zoom:1;} +.pop_carte .account_infor .account_person:after{ clear:both; display:block; height:0; content:''; visibility:hidden;} +.pop_carte .account_infor .account_person .eara{ float:left; width:105px; color:#999;} +.pop_carte .account_infor .account_person .eara span{ margin-right:8px;} +.pop_carte .account_infor .account_person .pri_mail{ float:right; width:75px; text-align:right;color:#6666CC;} +.pop_carte .account_infor .account_person .pri_mail a{color:#6666CC;} +.pop_carte .account_infor .account_person .pri_mail a:hover{background-color:#66C; color:#fff;} +.pop_carte .account_infor .account_person .pri_mail i{ width:16px; height:11px; margin-bottom:2px;*margin-bottom:0; background-position: 0 -710px;vertical-align:middle; } +.pop_carte .account_infor ul{ width:180px; height:46px;margin-bottom:10px; border:1px solid #eeeeee;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius: 3px; background-color:#f4f4f4;} +.pop_carte .account_infor ul li{ float:left; width:58px;padding:5px 0; text-align:center; color:#666;} +.pop_carte .account_infor ul li a, +.pop_carte .account_infor ul li a:hover{ color:#cc0000; background:none;} +.pop_carte .account_infor ul li strong{ color:#cc0000;} +.pop_carte .account_infor ul li.bodr{ border-left:1px dashed #e3e3e3;border-right:1px dashed #e3e3e3;} +.pop_carte .account_infor .signa{ width:185px; word-wrap:break-word; height:40px; vertical-align:middle; color:#999; overflow:hidden;} +.pop_carte .badge_show{ float:left;width:300px; height:40px; padding-top:5px; zoom:1;} +.pop_carte .badge_show ul:after{ clear:both; display:block; height:0; content:''; visibility:hidden;} +.pop_carte .badge_show li{ float:left; margin-right:5px;} +.pop_carte .poparrow{ display:block; overflow:hidden; position:absolute;z-index:100;} +.pop_carte .arrow-t{ width:15px; height:8px; top:-6px; left:30px; background-position:-70px -710px; } +.pop_carte .arrow-l{ width:10px; height:17px; left:-6px; top:40px;background-position:-90px -710px; } +.pop_carte .arrow-r{ width:10px; height:17px; right:-6px;_right:-7px; top:40px;background-position:-100px -710px;} +.pop_carte .arrow-b{ width:18px; height:10px; bottom:0; left:30px;background-position:-70px -718px; } + + +.pop_carte .pop-delete-box{ width:176px; height:58px; padding:15px 0; background-color:#fff; color:#666; border:1px solid #bababa; text-align:center; position:absolute; top:40px; left:25px; z-index:100;} +.pop_carte .pop-delete-box p{ margin-bottom:10px;} +.pop_carte .pop-delete-box p span{ margin-left:8px;} + +/* ------------------------------------------- /@名片弹层 --------------------------------------------- */ +/* 送鲜花 */ +.countWrapper{ z-index:100; position:relative; zoom:1;} +#pop-send-flowrs{ width:170px; _height:55px; padding:5px 10px; text-align:center; z-index:44; font-size:12px; border:1px solid #eec9a4;border-radius:5px 5px 5px 5px; background-color:#fffceb; position:absolute; top:-75px; left:-65px; } +#pop-send-flowrs .send-flowrw{ margin-bottom:10px; color:#996633;} +#pop-send-flowrs span,#pop-send-flowrs a{ margin:0;} +#pop-send-flowrs a{padding:0 8px 0 10px} +#pop-send-flowrs a:hover{color:#FF6600;} +#pop-send-flowrs i{display:block; width:9px; height:6px;position:absolute; } +#pop-send-flowrs .icon-arow{ background-position:-141px -709px; left:90px; bottom:-6px;_top:65px;} +#pop-send-flowrs .icon-arow-top{background-position:-120px -720px; left:90px; top:-6px;} +.add-flowr{ padding:0 6px 2px 6px; background-color:#ff9966;border-radius:5px 5px 5px 5px; color:#fff; font-size:14px; font-weight:bold; position:absolute; top:-25px; left:10px; } +.add-flowr em{width:0; height:0; line-height:0; font-size:0; border-style:solid;border-width:4px;border-color:#ff9966 transparent transparent; position:absolute; bottom:-8px; left:11px;} + +/*右侧商户信息模块 */ +.main .shop-info-wrap { border: 1px solid #e7e7e7; padding: 12px 15px 15px; width: 208px;} +.shop-info-wrap .shop-info { border: 0 none;} +.shop-info-wrap .shop-info .shop-name { margin-bottom: 5px; width: 208px;} +.shop-info-wrap .shop-info .shop-name a { display: inline-block; font-size: 14px; font-weight: bold;} +.shop-info-wrap .shop-info .comment-rst { margin-bottom: 6px;} +.shop-info-wrap .shop-info .desc-list { margin-bottom: 0; width: 208px; min-height: inherit; } +.shop-info-wrap .shop-info .desc-list dt { width: 36px; margin-right: 0;} +.shop-info-wrap .shop-info .desc-list dd { margin-left: 0;} +.shop-info-wrap .shop-info .desc-list .shop-tag span { margin-right: 3px;} +.shop-info-wrap .shop-info .Price { color: #c00; font-weight: bold; font-size: 14px; line-height: 18px;} +.shop-info-wrap .shop-info .Price span { margin-right: 2px;} +.shop-info-wrap .shop-info .progress-value { font-weight: bold; font-size: 10px; font-family: Tahoma, Arial; -webkit-text-size-adjust:none;} +.shop-info-wrap .shopDeal-Info-address { margin-top: 10px; padding-top: 10px; padding-left: 36px; border-top: 1px dashed #e0e0e0;} +.shop-info-wrap .shopDeal-Info-address dt { margin-left: -36px; _margin-left: -18px;} +.shop-info-wrap .shopDeal-Info-address a, .mycomment-wrap .shopDeal-Info-address span { display: inline; margin: 0; padding: 0; word-wrap: break-word; word-break: break-all;} +.shop-info-wrap .shopDeal-Info-address a { color: #111;} +.shop-info-wrap .shopDeal-Info-address a:hover { background-color: #66c; color: #fff;} +.shop-info-wrap .shop-describe { margin-bottom: 0;} +.shop-info-wrap .shop-info .shop-describe dt { width: 60px;} +.shop-info-wrap .shop-describe dd { word-wrap: break-word; word-break: break-all; } +.shop-info-wrap .shop-info .shop-tag { padding-left: 36px; } +.shop-info-wrap .shop-info .shop-tag dt { margin-left: -36px; _margin-left: -18px;} + + +/* ------------------------------------------- @temp --------------------------------------------- + * 这里放置时效性的,临时的样式 + */ + + +/* ------------------------------------------- /@temp --------------------------------------------- */ + +/* check in to fix merging bug,you can delete this santence later |||| bug appears again damn! */ +/*-----------添加团购图标---------*/ +.igroup{ background-image:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/igroup.315ec8fc7ad0c9467ff7a25e41f5b627.png); width:14px; height:14px; display:inline-block; *display:inline; overflow:hidden; zoom:1; vertical-align:middle;} +/*-----------添加团购图标 end---------*/ + +.form-default{ color:#bbb;} +.focus{ color:#111;} + + +/* 账号风险提示 */ +.account-risk{ padding:20px 0;} +.account-risk .risk-tips{ font-size:14px; color:#666; padding-bottom:20px; line-height:22px; padding-left:20px;} +.account-risk .risk-tips a{ color:#6666CC;} +.account-risk .risk-tips a:hover{ background-color:#6666cc; color:#fff;} +.account-risk .form-btn-block{ text-align:center;} + +/* 收藏弹出层 */ +.win-collect .DialogContent{ padding-top:30px;} +.win-collect #mbox-btn-close,.win-collect #mbox-btn-close:hover{ border:0;} +.collect-succeed{ width:260px; margin:auto; padding:0 0 20px 50px; font-size:14px;} +.collect-succeed .suc-icon{ background:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/shop.mycomment.167a49fab8c89cbbe9a69d5a2768d4da.png) no-repeat 0 -278px; width:42px; height:36px; float:left; margin:2px 0 0 -50px;} +.collect-succeed a{ color:#6666CC;} +.collect-succeed a:hover{ background-color:#6666CC; color:#FFF;} +.collect-succeed .tips{ color:#999; padding-top:5px; font-size:12px;} +.win-collect .succ-btn{ text-align:center; padding-bottom:10px;} + +/*送鲜花 成功提示*/ +.send-flowrs-succ { position: absolute; width: 400px; top: -40px; left: -35px;} +.send-flowrs-succ .pop-main { float: left; padding: 8px 10px; font-size: 12px; border:1px solid #bbb; background-color:#fff; box-shadow: 0 0 5px rgba(0,0,0,0.2); } +.send-flowrs-succ p { color: #339900;} +.send-flowrs-succ .icon-succ-micro { position: relative; top: -1px; *top: 0; width: 16px; height: 16px; margin-right: 7px; background-position: 0 -1981px;display: inline-block; *display: inline; overflow: hidden; zoom: 1; vertical-align: middle;} + +/* 回到顶部 */ +.toTop{ + width: 48px; + height: 49px; + text-indent: -9999px; + position: fixed; + outline: none; + bottom: 10px; + right: 10px; + background-position: 0 -290px; + _position: absolute; + display: block; + z-index: 9999; +} +.toTop:hover{background-position: -48px -290px;} + +.pp_search-suggest .ac-type-spliter{ + border-bottom: 1px dashed #ccc; + padding: 0; + margin: 8px 0; + *margin:0; + height: 0; + line-height: 0; + cursor: default; +} + +.pp_search-suggest .ac-type-title{ + cursor: default; +} + +.pp_search-suggest .ac-type-title .keyword{ + color:#999; +} + +.pp_search-suggest .ac-type-log .remove{ + float: right; + text-align: center; + color:#fff; + display:none; +} +.pp_search-suggest .active .remove{ + display:block; +} + +.pp_search-suggest .ac-shoparound .keyword{ + color:#008000; +} + +.pp_search-suggest .ac-shoparound .keyword strong{ + color:#66c; + font-weight: normal; +} + +.pp_search-suggest .active .keyword{ + color:#fff; +} + +.pp_search-suggest .active .keyword strong{ + color:#fff; +} + +/*免费体验*/ +.aside-right .dl-trial .img:after {clear:both; display:block; height:0; content:'\20';} +.aside-right .dl-trial .img {zoom:1;} +.aside-right .dl-trial li { background: none;} +.aside-right .dl-trial .img { padding-bottom: 5px;} +.aside-right .dl-trial .img a { float: left; width: 140px; height: 87px;} +.page-shop .aside-right .dl-trial .img a { float: left; width: 160px; height: 100px;} + +.page-shop .aside-right .dl-trial h4 { position: relative; left: -8px; padding-left: 8px; background: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm.e6a303ce73da2519ad6c43a0a262a13d.png) no-repeat -135px -654px;} + +/*vip stylus合并至名片弹层 end*/ +.shop-comment .comment-list .pic, .contList-avatar { position: relative;} +.icon-vip { display: block; width: 20px; height: 20px; background-position: 3px -730px;} +.shop-comment .comment-list .icon-vip { position: absolute; top: 34px; left: 34px;} +.contList-avatar .icon-vip { position: absolute; top: 35px; left: 40px;} +.pop-vip { padding: 5px 10px 4px; background-color: #fffceb; border: 1px solid #ececd5; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; color: #555; } +.pop-vip a { color: #66c;} +.my-comment .comment-list { position: relative;} +/*vip stylus合并至名片弹层 end*/ + +/* 团购大促ICON */ +.header .nav .i-promote { width: 27px; height: 19px; top: -9px; background: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/i-prom.5918be6ec43cb9101a39b37f4599ab9c.gif) no-repeat;} + +/* vip icon 名片弹层*/ +.pop_carte .account_infor .account_name .vip { float: left; margin-left: 5px;} +.pop_carte .account_infor .account_name .vip:hover { background-color: transparent;} +.pop_carte .account_infor .account_name .icon-v { float: left; width: 20px; height: 20px; background-position: -40px -730px;} +.pop_carte .account_infor .account_name .icon-v-disb { float: left; width: 20px; height: 20px; background-position: -20px -730px;} + + +/** + * 团卡券订 + */ +.icon-tuan, +.icon-ka, +.icon-quan, +.icon-ding, +.icon-piao, +.icon-song{ + display: inline-block; + *display: inline; + zoom: 1; + + background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm.e6a303ce73da2519ad6c43a0a262a13d.png); + background-repeat: no-repeat; + + width: 14px; + height: 14px; + margin-right: 5px; + *margin-right: 3px; + vertical-align: middle; + position: relative; + font-size: 0px; +} +.icon-tuan{ + background-position: 0 -755px; +} + +.icon-ka{ + background-position: -20px -755px; +} + +.icon-quan{ + background-position: -40px -755px; +} + +.icon-ding{ + background-position: -60px -755px; +} + +.icon-piao{ + background-position: -80px -755px; +} + +.icon-song{ + background-position: -100px -755px; +} +/* 手机不错 */ +.home-mobile{ width:84px; height:32px; float:left; background-image:url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/home-mobile.ba3de49ac36606331d604af286cb9dcd.png); position:absolute; right:205px; top:8px;} + +/*账单*/ +.header .nav .i-bill { background-position: -32px -524px; width: 27px; height: 17px; top: -9px;} + + +/* 提示层 */ +.pop-hint-box .icon-warn, +.pop-hint-box .icon-error, +.pop-hint-box .icon-success, +.pop-hint-box .icon-info, +.pop-hint-box .icon-wait { + background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/comm.e6a303ce73da2519ad6c43a0a262a13d.png); + width: 16px; + height: 16px; + margin-right: 10px; + margin-top: -2px; + display: inline-block; + *display: inline; + overflow: hidden; + zoom: 1; + font-size: 16px; + vertical-align: middle; +} +.pop-hint-box { + position: relative; + background-color: #f8f8f8; + border: 1px solid #bbb; + padding: 15px 25px; + -webkit-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: 0px 2px 3px rgba(0,0,0,0.15); + box-shadow: 0px 2px 3px rgba(0,0,0,0.15); +} +.pop-hint-box .txt { + font-size: 14px; + padding-right: 10px; + color: #555; +} +.pop-hint-box .icon-warn, +.pop-hint-box .icon-error, +.pop-hint-box .icon-success, +.pop-hint-box .icon-info, +.pop-hint-box .icon-wait{ + background-position: 0 0; +} + + +.pop-hint-box .icon-warn { + color: #fdd15d; + background-position: -80px -775px; +} +.pop-hint-box .icon-error { + color: #ff786d; + background-position: -60px -775px; +} +.pop-hint-box .icon-success { + color: #84cb75; + background-position: 0 -775px; +} +.pop-hint-box .icon-info { + color: #64c5fa; + background-position: -20px -775px; +} +.pop-hint-box .icon-wait { + background-image: url("data:image/gif;base64,R0lGODlhEAAQAPeVAO7u7uPj4+np6aqqqoKCgtLS0pWVlb+/v3Fxcdvb2+zs7Obm5snJyfb29uXl5c/Pz+fn5+rq6vX19e3t7cPDw7u7u+jo6Ovr697e3svLy/f39+Dg4OHh4WhoaNnZ2cfHx29vb/v7+9bW1tzc3K6urvn5+Y2NjYWFhbOzs5ubm+/v787OztjY2Lq6utfX1/Dw8Pz8/NDQ0MXFxfLy8s3NzaamppmZmXh4eHR0dGxsbH5+fvHx8d/f34uLi2tra7m5uXl5efj4+MLCwsTExJGRkaGhoXV1dYmJiY+Pj3t7e+Tk5NHR0WpqanZ2dpCQkLGxseLi4qOjo21tbbW1ta+vr/T09Pr6+oSEhP39/Z6enqWlpWlpaaenp93d3by8vIaGhtXV1XNzc7i4uJqampiYmLa2tsHBwX19fYeHh5+fn62trW5ubqCgoHx8fNra2sjIyMzMzLe3t729vX9/f2dnZ52dnfPz88rKysbGxqKiov7+/pKSkrS0tKysrJycnJeXl4iIiKioqNPT03d3d9TU1Hp6eoCAgKurq46OjpOTk6mpqYyMjMDAwJaWlr6+vrCwsHBwcIqKipSUlLKysoODg////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wUmlnaHRzPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvcmlnaHRzLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcFJpZ2h0czpNYXJrZWQ9IkZhbHNlIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjcyQjg1MzlFRURDNjExRTE5MTBDRDgwOTRCREZCQUFGIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjcyQjg1MzlERURDNjExRTE5MTBDRDgwOTRCREZCQUFGIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzMgV2luZG93cyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ1dWlkOjUyODU3NEVFQjYzNkUxMTE5RENDOUQ4ODc4QkYwMDczIiBzdFJlZjpkb2N1bWVudElEPSJ1dWlkOkRBNDhCMDZBQjAzNkUxMTE5RENDOUQ4ODc4QkYwMDczIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEBQoAlQAsAAAAABAAEAAACOMAKwms1GCIjRM77GjQM7ChjEE+tnQAoODCBQkNKz2CtCYHk4kKIlhY8GJghjAIQEjxAVIABAcBqlSSYMgIyiYtNsBoIAAmBw5Y3gC50WQQh4ZWlGzAMOJFjSRJgJjJWOnFiAQeHPzRoePMAqpBWLgQgSEFgbNfM0oowHZEnxMnvryhCoHGigc8VgA60mOPgIYzPnxgkCGChkQmkBAZ80ABgARyDlCQkSFEpQJO9hiwkSXKgCdlKhwQAmGgEANkUrDRMoAKnx9eEmQEUyRLkRoDSKCoEIBqpRIe5IipgGeD5YEBAQAh+QQFCgCVACwAAAAAEAAQAAAI5QArCaykgUEeJybqyGgwsGGGE0AG4UAAQooRCg0rtTB0JsmNiSByMOlwaOCSKwTmtAFiBMEaH1voAAhC0MkXlFfMBIDSAkEHABMm6InR4wgaQA4abgCg4EKEBigQmejBIGOlBhEEWFDBhQgRJwKshoCwwEGEAQbShs1YIoBbAT9s2BizxKoKDDw2RBDhJ0saLRMaNvDgJsGIHUG4FIlSg4SHFzMcxCgggkUXGJXcaOEygASKHwdkZHhQAIyKgSsGqHkypcWBIQxoxFiQEcMUFHEqHKDw4cEFq5WscKDBAA4YC5gHBgQAIfkEBQoAlQAsAAAAABAAEAAACOQAKwmsFCSGmjopAmXQMLChoEY9AJ0goCMJgTcNKw1J5MTEkYkVbxiZNNDDHwN7kPT4QuAMkCZhEDAgGGUMGQONGEBYYEYHDgQgbkhgkSZLihQCGkLBAUJKDiGM8hRhUyBjJS85fDCxIaZGDS0TrELZ0qHDlQoD0gKwGgKA2xkfSJCgksCqhAsKFMzg8QQFnx87GlqBYEFABA1WWpT5UUFIgCoNJnAI4ABCBCyVArTwcoDCBxoFWIzYQFnCQDcHhMhgsKKAiwQYOKjIuODNhwwPCojwgGGG1UowBCTwkADKC8wDAwIAIfkEBQoAlQAsAAAAABAAEAAACOEAKwmsVIJFBTUDphQIMrBhAkVs/NgwQARRogcNK8UIpKVInYlETBz5UmEghz4DuERJM8aAkx5orhDAaCUOFYQDBF0QcAfJCQJzvjTgwAfFk0cTGi44oaNNoTcPxJSZMiJjJQqFgNzIw6BChRYzrDpoYgQHIjgH0obNuAGBWyRgKFAYosSqFylrQGSBgOcDAxoSGsIAwcRHDgohaGSg8YCQgiAlqkwA0GGLkcAXVsQoIMIDhgAQIigAQIfCQCUFwLBIwCPAAgEXJgRuCMCNhxEbAjiwcEGD1UpYdkB4LVtPw4AAIfkEBQoAlQAsAAAAABAAEAAACOEAKwmsFILDHTkVKLgpMbChEjlTnpAYUCNPDRcNK42Q06IMiok1imQZI2OgBTMHvPzgQ2WAFjYpyBgQQfDOECEHHHVRAYBQFBsG9pDRIIDBBxlDZjSM8IcIEhMPusDJwMBBxkpwTPQ4QoLFgwcrJFy1gObLCT8JCqhtcFUJgbd+oIgQ4WLCVSFtzugIpMKDhwQYGA4MkOQGkCQMYGAYgWGDEjshYPwwggBHEwJsZ/DgEMCBhQsAtuQAgSDMm4EAOkMQoABABx9SQFDJWMWChQitOzBpUvKqngY7XuyQRIHtwIAAIfkEBQoAlQAsAAAAABAAEAAACOYAKwmsBEOAixVwlgQIMbChghgM8FA4UEHMjw0NKy2IsSLDh4kV4qCgsmTgC0IFYtBgMORAiylP1AzAQDCBCzAFlkCwMwNDHBIDuBwqsSOBGxYuGjQE0KdGlCIsLHQZkQBAxkoiiqTJUmHBhg08SlxVkGKMjT4CAqgVm9GCgbeHJjhwsKDK1QxInBCZIgGCBQEXGA5csOhIDxMxsFyIcEGBCjEcoBygROAEGiIaKmlQMAFAByZSEDRJooPAlQcDJQCgs8XHGgRGgLSZIyajkDBMcoBAgOPGlQxXKzUYQmaRiToMMg8MCAAh+QQFCgCVACwAAAAAEAAQAAAI4AArCayE5YWSLgkwXIAxsKGdDQk8iCjwAA4NCw0rveDAY4REihk+DOkyUIKSABwwJHBRYAUDGUIOLCAoYIEDlCo0NIBwh8IBLwesNBBgAcKCEg7NVPhRhsOOCxEEVMlYiUcZPijuvFDANQTVF0+okJCzA4BZhhknDFjr5U+Hty2oEoqipQYFM1uY+AgToGGENFnYFPEgwUgOKSBuOFKy4IMBAzZSaAlSScYaEAhw3GhDAI0JIgbIuBhIAkGYJkDOEPjSA8keChk/zLmRRAeBE0cMCKJaSQODPGRSKHpAeWBAACH5BAUKAJUALAAAAAAQABAAAAjkACsJrKSngYoIAiLMwDKwoQYFAiA4CLChCwYVDSs1mKAggoWJG0Z4cAFhIB46ACZcELAgAI8ELMAUmFCpCo4OKCdIsFJCRQIRBWIsCSHEB5MtOUI4FPSARgYBKaTk8FEhYyUBGRh8YBEJBIg1AaxWkTGEwgoTCNJCsbrjgFsabHDgMMLIKoYfLSos+TDoBhBDCxoCQIFiSpm1BAq10QEIjwUBSxQNIPFEjJVKGc7MIXDiCBIDKYrUGKCGx8A4BK6g6eHEwJg0Ubg8yLgCyRETRAzYqBMogdVKQZZQ4TIgjosSDQMCADs="); + _background-image: url(http://si1.s1.dpfile.com/s/c/app/main/i/base-old/loading.29379d7ad5d36991f8f489032e519537.gif); + color: #fdd15d; +} + +.pop-hint-box .pop-hint-main{ + border: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +/*QQ快速登录*/ +.hd-menu .user-login a { + padding-right: 15px; +} +.user-login .login-qq { + position: relative; + padding-left: 16px; + top: -1px\9; +} +.user-login .icon-qq { + position: absolute; + *top: -1px; + left: 0; + display: block; + width: 13px; + height: 14px; + background-position: -70px -525px; +} +.hd-menu .user-signup .split { + display: inline-block; + *display: inline; + zoom: 1; + padding: 0 7px; + color: #ddd; + font-style: normal; +} + diff --git a/template/pc/css/main.css b/template/pc/css/main.css new file mode 100755 index 0000000..2d0be84 --- /dev/null +++ b/template/pc/css/main.css @@ -0,0 +1,19 @@ +body{ + position: relative; + margin: 0 auto; + +} + + +.footer-static { +padding: 20px 0; +min-width: 1000px; +background-color: #ffffff; +text-align: center; +} +.center{ + position: relative; + margin: 0 auto; + width: 1000px; + height: 100%; + } \ No newline at end of file diff --git a/template/pc/index.html b/template/pc/index.html new file mode 100755 index 0000000..826b560 --- /dev/null +++ b/template/pc/index.html @@ -0,0 +1,107 @@ + + + + + + + + + + + +
+
+ + 爱生活,爱点评! + +
+
+ + +
+ +
+ + +
+ + + + + + \ No newline at end of file diff --git a/template/pc/js/jquery.min.js b/template/pc/js/jquery.min.js new file mode 100755 index 0000000..45477c0 --- /dev/null +++ b/template/pc/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v1.8.3 jquery.com | jquery.org/license */ +(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
t
",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
","
"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); diff --git a/template/pc/js/main.js b/template/pc/js/main.js new file mode 100755 index 0000000..e69de29