Python 爬虫 遇到的问题(手淘问大家)
大家讲道理
大家讲道理 2017-05-18 10:49:35
0
1
871

我在获取手淘问大家 网页源码的时候 没有关键内容 不知道是哪里错了 请大神指点我

代码如下

import requests
import sys
import re
import pandas
import xlwt
reload(sys)
sys.setdefaultencoding('utf-8')

agent = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.104 Safari/537.36 Core/1.53.2263.400 QQBrowser/9.5.10388.400',
        'Referer':'https://h5.m.taobao.com/wendajia/question.htm?wdjType=1&spm=w-a2141.7631564&itemId=543177969359&ttid=600000%40taobao_android_6.7.3&sourceType=other&suid=c1f2e696-6d34-4b70-8b06-799e0b0e0318&ut_sk=1.VfQZetSloEcDAHYQ1EoMp2Tt_21646297_1494467551850.TaoPassword-WeiXin.windvane&cpp=1&shareurl=true&short_name=h.TzZu7m&cv=YpJRZGEjhKo&sm=64172f&app=chrome',
        'Upgrade-Insecure-Requests':'1',
         }
url = 'https://h5.m.taobao.com/wendajia/question-answer.htm?topicId=90187486618&spm=a3134.7874262.1.i3'
content = requests.get(url,headers=agent)
print content.text

结果:

C:\Python27\python.exe E:/donggu_python/test.py

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>问题详情</title>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no, email=no">
    <meta name="data-spm" content="a3134">
    <meta name="mt-plugins">
    <script src="//g.alicdn.com/mtb/lib-flexible/0.3.2/flexible.js?v=396031064_1823" keeplive=""></script>
    <style>@charset "UTF-8";body,h1,h2,h3,h4,h5,h6,p,ol,ul,button,textarea{margin:0;padding:0;font-size:100%}ol,ul{list-style:none}img{border:0}a{text-decoration:none}*{-webkit-tap-highlight-color:transparent}.animated{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes pulse{from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes pulse{from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@font-face{font-family:'icon';src:url(//at.alicdn.com/t/font_1460511359_3639905.ttf) format("truetype")}@font-face{font-family:'icon2';src:url(data:;base64,AAEAAAAQAQAABAAARkZUTXYVnxAAAAEMAAAAHEdERUYAMgAGAAABKAAAACBPUy8yVxVatAAAAUgAAABWY21hcACN7sMAAAGgAAABUmN2dCAM3/9yAAAJyAAAACRmcGdtMPeelQAACewAAAmWZ2FzcAAAABAAAAnAAAAACGdseWaboRCoAAAC9AAAA8hoZWFkDN9AOQAABrwAAAA2aGhlYQdXA8UAAAb0AAAAJGhtdHgNPgCsAAAHGAAAABRsb2NhATwB5AAABywAAAAMbWF4cAEnCisAAAc4AAAAIG5hbWUOLcEUAAAHWAAAAitwb3N0TAk/QgAACYQAAAA6cHJlcKW5vmYAABOEAAAAlQAAAAEAAAAAzD2izwAAAADU6/4gAAAAANTr/iAAAQAAAA4AAAAYAAAAAAACAAEAAwAEAAEABAAAAAIAAAABA/QB9AAFAAgCmQLMAAAAjwKZAswAAAHrADMBCQAAAgAGAwAAAAAAAAAAAAEQAAAAAAAAAAAAAABQZkVkAEAAeOfwA4D/gABcAz0AQQAAAAEAAAAAAAAAAAADAAAAAwAAABwAAQAAAAAATAADAAEAAAAcAAQAMAAAAAgACAACAAAAAAB45/D//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IAAQEVFBMusCoqLbA/LLEAARQTsCsqLbBALLAtKi2wQSywABZFIyAuIEaKI2E4sSQBFCstsEIssAkjQrBBKy2wQyyyAAA6Ky2wRCyyAAE6Ky2wRSyyAQA6Ky2wRiyyAQE6Ky2wRyyyAAA7Ky2wSCyyAAE7Ky2wSSyyAQA7Ky2wSiyyAQE7Ky2wSyyyAAA3Ky2wTCyyAAE3Ky2wTSyyAQA3Ky2wTiyyAQE3Ky2wTyyyAAA5Ky2wUCyyAAE5Ky2wUSyyAQA5Ky2wUiyyAQE5Ky2wUyyyAAA8Ky2wVCyyAAE8Ky2wVSyyAQA8Ky2wViyyAQE8Ky2wVyyyAAA4Ky2wWCyyAAE4Ky2wWSyyAQA4Ky2wWiyyAQE4Ky2wWyywMCsusSQBFCstsFwssDArsDQrLbBdLLAwK7A1Ky2wXiywABawMCuwNistsF8ssDErLrEkARQrLbBgLLAxK7A0Ky2wYSywMSuwNSstsGIssDErsDYrLbBjLLAyKy6xJAEUKy2wZCywMiuwNCstsGUssDIrsDUrLbBmLLAyK7A2Ky2wZyywMysusSQBFCstsGgssDMrsDQrLbBpLLAzK7A1Ky2waiywMyuwNistsGssK7AIZbADJFB4sAEVMC0AAEu4AMhSWLEBAY5ZuQgACABjILABI0QgsAMjcLAORSAgS7gADlFLsAZTWliwNBuwKFlgZiCKVViwAiVhsAFFYyNisAIjRLMKCQUEK7MKCwUEK7MODwUEK1myBCgJRVJEswoNBgQrsQYBRLEkAYhRWLBAiFixBgNEsSYBiFFYuAQAiFixBgFEWVlZWbgB/4WwBI2xBQBEAAAA) format("truetype")}button{outline:0}button:active{outline:0}#wrapper{position:relative;width:10rem;margin:0 auto;background:#fff;overflow-x:hidden;overflow-y:scroll}.box{background:#f4f4f4}.none{display:none!important}.tip-layer{position:fixed;left:1.12rem;top:1.33333rem;z-index:1002;width:7.76rem;height:9.6rem;background:#fff;border-radius:.13333rem}.tip-layer h3{text-align:center;color:#f50;font-size:.61333rem;height:.88rem;line-height:.88rem;margin-top:.8rem}.tip-layer button{position:absolute;right:-0.24rem;top:-0.24rem;width:.93333rem;height:.93333rem;background:#fff;border:0;border-radius:.93333rem}.tip-layer button:before{font-family:'icon';content:'\e60a';font-size:.6rem;color:#f50;text-align:center;vertical-align:middle;line-height:.93333rem}.tip-layer .pic-pop img{display:block;width:3.17333rem;height:3.05333rem;margin:0 auto;margin-top:.90667rem}.tip-layer .pic-pop p{margin:0 auto;margin-top:.8rem;text-align:left;width:5.68rem;line-height:.72rem;font-size:.42667rem;color:#3e3e3e}.tip-layer .bd{width:6.42667rem;height:7.92rem;padding-bottom:0;margin-top:0;padding:0 .66667rem 0 .66667rem;border-radius:.13333rem;overflow:hidden}.tip-layer .bd ul{margin-top:.69333rem}.tip-layer .bd li{font-size:.42667rem;color:#333;line-height:.66667rem;text-align:left}.tip-layer .bd li b{color:#f50}.tip-layer .bd li img{display:inline-block;width:.50667rem;height:.48rem;vertical-align:middle;margin-left:.08rem}.tip-layer .more{position:absolute;left:0;bottom:0;width:100%;height:1.06667rem;line-height:1.06667rem;text-align:center;border-bottom-left-radius:.13333rem;border-bottom-right-radius:.13333rem;background:#f50;color:#fff;font-size:.45333rem}.toast{position:absolute;z-index:1000;min-width:3.17333rem;height:auto;line-height:.58667rem;padding:.29333rem .34667rem;border-radius:.13333rem;background-color:#fd6417;background-image:linear-gradient(90deg,#ff8000,#ff5000);box-shadow:0 .04rem .08rem rgba(0,0,0,0.2)}.toast i{display:inline-block;width:.73333rem;height:.58667rem;vertical-align:top}.toast p{display:inline-block;font-size:.4rem;color:#fff;padding-right:.48rem;vertical-align:top;max-width:7.6rem;line-height:.58667rem}.toast .close{position:absolute;right:0rem;top:0;width:.77333rem;height:1.17333rem;line-height:1.17333rem;overflow:hidden;border:0;background:0}.toast .close:before{position:absolute;left:0;top:0;content:'\e60a';font-family:'icon';font-size:.42667rem;vertical-align:middle;color:#fff}.toast .arrow{position:absolute;width:1.33333rem;height:.34667rem;overflow:hidden}.toast .arrow b{position:absolute;width:.45333rem;height:.45333rem;border-left:1px solid #ff5b00;background:#ff5b00;-webkit-transform:rotate(-45deg)}#nextTopicLc{width:7.17333rem;height:8.06667rem;left:1.41333rem}#nextTopicLc .bd{width:5.57333rem;height:7.06667rem;padding:0 .8rem 0 .8rem}.arrow-t .arrow{top:-0.32rem}.arrow-t .arrow b{left:50%;top:50%}.arrow-b .arrow{bottom:-0.29333rem}.arrow-b .arrow b{left:0;top:-0.32rem}.mask,.mask1{width:100%;height:26.66667rem;position:fixed;left:0;top:0;z-index:70;background:rgba(0,0,0,0.5)}.mask .loading,.mask1 .loading{position:fixed;top:50%;left:50%;margin-left:-0.4rem}.mask1{display:none;z-index:1001}.hd{overflow:hidden;width:9.36rem;padding:0 .32rem;background:#fff;box-shadow:0 2px 2px #eee}.item-asked{position:relative;height:1.33333rem;border-bottom:solid 1px #eee;padding:.32rem 0}.item-asked .pic{position:absolute;left:0;top:.32rem;width:1.33333rem;height:1.33333rem;border-radius:.13333rem;overflow:hidden}.item-asked p{padding:.08rem 0 .08rem 1.54667rem;font-size:.42667rem;line-height:.58667rem;height:1.17333rem;overflow:hidden;color:#333;margin-right:.8rem}.item-asked p:before{content:"\e603";font-family:'icon';position:absolute;right:0;height:1.17333rem;line-height:1.17333rem;font-size:.58667rem;top:.4rem;color:#5d636e}.ask-info{position:relative;padding:.32rem 0 1.54667rem;position:relative}.ask-info .text{position:relative;line-height:.58667rem;font-size:.45333rem;color:333;padding-left:.64rem;background:url(//gw.alicdn.com/tps/TB1whzPPXXXXXbWaFXXXXXXXXXX-54-54.png) no-repeat scroll 0 .05333rem;background-size:.48rem .48rem}.ask-info .also-num{position:absolute;right:.26667rem;bottom:.53333rem;height:.74667rem;line-height:.74667rem;border:solid 1px #999;font-size:.34667rem;color:#666;background:0;padding:0 .32rem;border-radius:.74667rem}.ask-info .reportBtn{border:1px solid #f50;color:#f50}.ask-info .wanted{color:#f50;border-color:#f50}.ask-info .isPoster{left:0;right:auto;text-align:left;padding:0;border:0;color:#5799dc}.bd{background:#fff;margin-top:.26667rem;padding-bottom:1.33333rem}.bd h3{font-weight:normal;position:relative;font-size:.42667rem;color:#333;line-height:1.14667rem;padding-left:.96rem;height:1.14667rem;border-bottom:solid 1px #eee;background:url(//gw.alicdn.com/tps/TB1J_5JPpXXXXbEXFXXXXXXXXXX-63-63.png) no-repeat scroll .29333rem center;background-size:.48rem .48rem}.no-answer{width:5.09333rem;height:2.96rem;margin:0 auto;margin-top:2.22667rem;margin-bottom:5.33333rem;background:url(//gw.alicdn.com/mt/TB1k2CHLVXXXXcRXVXXXXXXXXXX-382-222.png) no-repeat scroll 0 0;background-size:contain}.answer-item{padding:.45333rem .32rem;width:9.36rem;border-bottom:solid 1px #eee;display:block;max-height:10000px;overflow:hidden}.answer-item .desc{position:relative;overflow:hidden;width:7.86667rem;padding-left:1.09333rem;margin-top:.4rem}.answer-item .desc .text{color:#333;font-size:.42667rem;line-height:.58667rem}.answer-item .desc .compressed{overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:8;display:-webkit-box;-webkit-box-orient:vertical}.answer-item .desc .toggleMore{display:block;padding-top:.4rem;line-height:100%;color:#0e508e;font-size:.37333rem}.answer-item .user-info{position:relative;height:.85333rem}.answer-item .user-info .avatar{width:.85333rem;height:.85333rem;border-radius:.85333rem}.answer-item .user-info .vlevel{float:left;width:.37333rem;height:.37333rem;margin-left:.21333rem}.answer-item .user-info .vlevel img{width:100%;height:100%}.answer-item .user-info .nick{position:absolute;left:1.09333rem;top:0;color:#333}.answer-item .user-info .nick span{float:left;font-size:.37333rem;line-height:.42667rem}.answer-item .user-info .nick .seller,.answer-item .user-info .nick .buyer{float:left;background-image:linear-gradient(90deg,#20e793,#29d089);color:#fff;padding:0 10px;border-radius:.04rem;overflow:hidden;height:.37333rem;line-height:.37333rem;font-size:.26667rem;margin-left:.21333rem;text-align:center}.answer-item .user-info .nick .buyer{background-image:linear-gradient(90deg,#4ad7fe,#0cbaff)}.answer-item .user-info .leifeng{width:1.33333rem;transform:translate(0,-0.05333rem);height:.50667rem;line-height:.50667rem;float:left;margin-left:.16rem}.answer-item .user-info .leifeng img{width:100%;height:100%}.answer-item .user-info .report{font-family:'icon';background:0;border:0;position:absolute;top:0;right:0;font-size:.42667rem;z-index:10;color:#ccc}.answer-item .user-info .report:before{content:'\e601'}.answer-item .user-info .time{position:absolute;left:1.09333rem;top:.45333rem;font-size:.32rem;color:#999}.answer-item .pic-list{width:9rem;overflow:hidden;padding-left:1.09333rem;padding-top:.266667rem}.answer-item .pic-list .pic{float:left;width:2.55rem;height:2.55rem;margin-right:.15rem;margin-bottom:.15rem;background-repeat:no-repeat;background-position:center center;background-size:cover}.answer-item .comment-list{padding-left:1.09333rem}.answer-item .comment-list .more{margin:0;padding:0;border:0;background:0;color:#0e508e;font-size:.37333rem}.answer-item .comment-list .comment{color:333;font-size:.37333rem;line-height:.48rem;max-height:.96rem;padding-top:.13333rem}.answer-item .comment-list .comment span{color:#0e508e;margin-right:.13333rem;margin-bottom:0}.answer-item .comment-list .comment:first-child{border-top:solid .01333rem #eee;padding-top:.24rem}.answer-item .handle .talk,.answer-item .handle .like,.answer-item .handle .comment{background:0;text-align:center;color:#666;min-width:1.41333rem;height:.50667rem;border:1px solid #999;border-radius:.50667rem;line-height:.50667rem;font-size:.26667rem}.answer-item .handle{position:relative;height:.58667rem;margin-top:.26667rem}.animate-pic{position:absolute;top:-2.48rem;right:.08rem;width:2.82667rem;height:2.48rem;background:url(//gw.alicdn.com/mt/TB1EBTjMXXXXXbuXFXXXXXXXXXX-150-131.gif) no-repeat scroll 0 0;background-size:2.82667rem 2.48rem}.answer-item .handle .talk{position:absolute;right:3.76rem}.answer-item .handle .talk:before{content:'\e60b';display:inline-block;font-size:.29333rem;font-family:'icon';padding-right:10px;vertical-align:middle}.answer-item .handle .like{position:absolute;right:0}.answer-item .handle .like:before{display:inline-block;font-size:.29333rem;font-family:'icon';padding-right:10px;vertical-align:middle;content:'\e60c'}.answer-item .handle .comment{position:absolute;right:1.94667rem}.answer-item .handle .comment:before{display:inline-block;font-size:.29333rem;font-family:'icon';padding-right:10px;vertical-align:middle;content:'\e602'}.answer-item .handle .liked{color:#f50;border-color:#f50}.answer-item .handle .liked:before{font-family:'icon2';content:'\e7f0'}@-webkit-keyframes scale{0%{font-size:20px}50%{font-size:40px}100%{font-size:20px}}.answer-item .handle .like.liking{-webkit-animation:scale .5s linear;-webkit-transform-origin:50% 50%}.answer-item:last-child{border:0}.buy-item{width:7.74rem;height:.773333rem;line-height:.773333rem;padding:0 .16rem 0 .2rem;background:#f3f4f8;border-radius:.08rem;margin-top:.24rem;margin-left:1.36rem}.buy-item p{float:left;width:5.3rem;height:.773333rem;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;display:-webkit-box;-webkit-box-orient:vertical;font-size:.346667rem;color:#656766}.buy-item p:before{font-size:.45333rem;font-family:'icon';content:'\e607'}.buy-item span{float:right;color:#ff5501;font-size:.346667rem}.ft{position:fixed;left:50%;width:10rem;margin-left:-5rem;bottom:0;z-index:1001}.input-bar{position:relative;background:#efefef;width:10rem;height:1.33333rem}.input-bar .triggleUpload{position:absolute;left:.24rem;top:0;border:0;background:0;width:.74667rem;height:1.33333rem}.input-bar .triggleUpload:before{content:'\e60d';font-size:.74667rem;font-family:'icon';color:#5f646e}.input-bar .disabledBtn1:before{color:#c4c5c8}.input-bar .uploaded:before{color:#f50}.input-bar .input-text,.input-bar .input-text-long{position:absolute;width:7.01333rem;height:.69333rem;line-height:.69333rem;padding:.05333rem .13333rem;left:1.28rem;top:.26667rem;font-size:.45333rem;background:#fff;border-radius:.13333rem;border:0;overflow-y:scroll;resize:none}.input-bar .disabled{background:#dbdbdb}.input-bar .disabled::-webkit-input-placeholder{color:#999}.input-bar .btn{position:absolute;right:0;top:0;font-size:.42667rem;background:0;border:0;color:#333;line-height:1.33333rem;width:1.33333rem}.input-bar .btn:active{color:#f50}.input-bar .btn.disabledBtn{color:#999}.long-text{height:2.93333rem}.long-text .input-text-long{height:2.4rem}.upload-pic{width:10rem;height:4.88rem;position:relative;background:#eee;overflow:hidden;margin-top:-1px}.upload-pic ul{float:left;height:3.28rem;margin-top:.53333rem}.upload-pic ul li{position:relative;display:block;list-style:none;float:left;width:3.2rem;height:3.2rem;margin-left:.64rem;border:solid 1px #ccc;background-repeat:no-repeat;background-position:center center;background-size:contain}.upload-pic .upload-inner{position:relative;width:10rem;height:3.86667rem;background:#eee;overflow-x:scroll;-webkit-overflow-scrolling:touch}.upload-pic .inner{height:3.81333rem}.upload-pic .del{position:absolute;right:-0.4rem;top:-0.4rem;width:.66667rem;border:0;background:0;height:.93333rem;text-align:center;padding:0;margin:0;text-decoration:none;font-weight:bold;color:rgba(0,0,0,0.5);font-size:.45333rem}.upload-pic .del:before{font-family:'icon';content:'\e609';font-size:.6rem}.upload-pic .add{float:left;width:3.2rem;height:3.2rem;text-align:center;font-size:.8rem;color:#666;margin-left:.64rem;background:0;border:0;border:solid 1px #ccc;margin-top:.53333rem}.upload-pic .add:before{content:'\e608';font-family:'icon'}.upload-pic .btnUploading:before{content:'图片上传中...';font-size:.4rem}.upload-pic .status{text-align:center;position:relative;color:#666;font-size:.32rem;letter-spacing:2px;line-height:1.06667rem;height:1.06667rem;width:100%}.upload-pic .status span{color:#f00}.upload-pic .status .submit-btn{display:block;border:0;position:absolute;line-height:.8rem;height:.8rem;text-decoration:none;background:#2169b3;font-size:.42667rem;text-align:center;color:#fff;top:.13333rem;right:.32rem;width:1.6rem;border-radius:.08rem}.upload-pic .status .submit-btn:active{color:#f50}.upload-bar{border-top:solid 1px #ccc;z-index:20;width:10rem;height:1.6rem;overflow:hidden;background:rgba(255,255,255,0.9);position:relative;display:block;text-indent:1.70667rem;line-height:1.6rem;font-size:.42667rem;color:#333}.upload-bar .pic{position:absolute;width:1.06667rem;height:1.06667rem;left:.32rem;top:.26667rem;background-repeat:no-repeat;background-position:center center;background-size:contain}.upload-bar .num{padding:6px}.upload-bar .del{position:absolute;line-height:1.6rem;font-size:.48rem;top:0;border:0;background:0;right:.53333rem;color:#000}.upload-bar .del:before{content:'\e60a';font-family:'icon';font-size:.53333rem}.loading{margin:.13333rem auto;width:.8rem;height:.32rem;background:url(//gw.alicdn.com/mt/TB1HgoyLFXXXXaHXpXXXXXXXXXX-60-24.gif) no-repeat scroll 0 0;background-size:contain;margin-bottom:1.33333rem}.hideGY,.showGY{display:inline-block;margin:0 .26667rem .26667rem 0;color:#0f0f0f;font-size:0;line-height:0}.hideGY::before,.showGY::before{display:inline-block;content:'';width:.42667rem;height:.42667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHQ0lEQVR4Xu1bWVbbSBR9T5IT+Gp2ELKCOOc02P6KWQFmBY1XEGcFISsIWUFgBTErAL480OfgrABnB/AFGEmvT5UGqkpTSSo56ZP4h0Gq4d26by4j/OYf/M3lhz8A/GHAb45AJRVwO519JGwTYBuQtoD4z1sAWDI8keCCkBb24+MlLhbs/7U+1O1u+0T7RFafALYRoc0mJIIFIt2y9SzyzvDqalF2IW0AaGen7Vn2eyAcAMKW9kIEY/LpS+vf6YX2mPDFp7+7fbThIwD29cbSEgiOnPn0VO99KDaC1G5veS83PgPgYeqkRHcEwJFHgDYg/pX+Hozt1f1QlxFPO73PaMFInYuIvgNAxKotRHyTXI+W5MFQB/RcBvATsPCbcuI/CGAMHo2zFmBs8S2n7xMdyhukpe17B3lUZYC7LzbPI5oHVKdLJDixnx7GaQC6u70BAA0A8R8ZDDqxHx8+5IGeCYC70z0EC7/GExLdAcHIuZqe6NKLvRfQGNmYV3wc8dMbOvPJOHG6TM3QOY8BZ+zyYaBzknzqbnfb8+FIBILZCWd1v5cFQioACeEBzuzH+0Nd+iYE42q0yUDYj54h+CN7NvsS/e11Ou8JrOPob0Z1x4IBTqfcsJb5BMyFcayOBLc2uXtpzEsAwI2dcApE9Kk1nx6V2UDWu0+73SNE/Pj8PKBowsYQndqrh1FVwDkbuCptXMQqyECw6K0KqARAaPCuAXA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3G6kYqWao6YMnu7Js1OE1uYbvJpclrEJkroC/LAf79ulmqNxlKd2iFMo2tTJS/OWaNFJ4Gp0mwpLYHmntRbhAw5r9ShVd6dT4ywEgOtTChNs8BZKFznXz2vTPtmdzp03YmuRu8tSIS0AUkFgFx3Cu0J5RiYLwLQOcFlGxcJzz4XXee6uNgCpghRY2LUIr16p0VSXQi+QhZhK5bzIrWnah6F53NQtYmKaTNoqIA7WEUznHW7fKuq8mpdUEZ7NUQmAImqvQ3jpMoeGuzNiAxJZVop34O+It8sywttaJy+uW0P4WgzIDJZElJoWnq1VM3+orAK5NiFnY3VOvqqvzwujjQBQZBOygpUyhqup63vGACgCwejJl/T1a2FApk3waVg2bBY33PTdRaMMyAShRNisCi9enDbdwTbiBXQjRh70pPQDssarFZ0yY/Morz5rhAHZLlK+pfmzhW+UARIIYuuL8r84wYyli87X56/FJLtIZU646N1GGSC7P+FuMMEtEZw44J5G/T/+JQu09wlwpJtmFwmn83wtAHD9V67FFm2ON0hXDwOdm2VFc63VDeYtFl6GHKl3A6QxRHeIeMQ6x3UE0x27NgaoG2L1OwJit1KDe8mIC/b1N3t1f9H0qYt7+WkA6J5Q0+/9AaBphH/1+f8DwUjpOmPBuvAAAAAASUVORK5CYII=) no-repeat center;background-size:contain;vertical-align:middle}@media screen and (max-width:360px){.hideGY::before,.showGY::before{transform:translateY(-0.02667rem)}}.hideGY i,.showGY i{font-style:normal;display:inline-block;vertical-align:middle;font-size:.37333rem;line-height:normal}.hideGY span,.showGY span{color:#fc3739;display:inline-block;vertical-align:middle;padding:0 .13333rem;font-size:.37333rem;line-height:normal}.hideGY,.no-leifeng{display:none}</style>
</head>

<body data-spm="7874259"><script type="text/javascript" src="//g.alicdn.com/alilog/wlog/0.4.8/??aplus_wap.js,spm_wap.js,spmact_wap.js" async defer></script><script type="text/javascript" id="aplus-sufei" src="//g.alicdn.com/secdev/sufei_data/2.0.4/index.js" async defer></script>
    <p id="wrapper" style="-webkit-overflow-scrolling: touch;">
        <p class="box ask-detail">
            <p class="hd" data-spm="1">
            </p>
            <p class="bd">
                <h3 style="display: none;"></h3>
                <p class="answer-list" data-spm="2">
                </p>
                <p class="loading"></p>
            </p>
        </p>
    </p>

  
    <p class="ft uploaderFt"></p>


    <script type="template" id="hdTpl">
        <p class="item-asked">
            <img src="{pic}" class="pic">
            <p>{title}</p>
        </p>
        <p class="ask-info">
            <p class="text">{topicName}</p>
            <span class="num"></span>
            <button class="also-num {cls}">{sameQuest}</button>
            <button class="also-num isPoster {isMaster}">不想问了</button>
        </p>
        <p style="text-align:right;overflow:hidden;margin-top:-0.2rem">
            <a href="//huodong.m.taobao.com/act/chengyida.html?spm=a1z3i.a4.0.0.d6J1M2" class="{chengyidaEnter}"><span>橙益答</span><i>由方太高端厨电赞助</i></a>
        </p>
    </script>
    <script type="template" id="itemTemplate">
        <p class="user-info">
            <img src="{avatar}" class="avatar" />
            <p class="nick">
                <span>{nick}</span>
                <p class="{typeCls}">{userType}</p>
                <span class="{isLeiFeng}"><img src="//gw.alicdn.com/tps/TB1EOGrPVXXXXcZXXXXXXXXXXXX-170-63.png"></span>
                <span class="vlevel">{levelPic}</span>
            </p>

            <p class="time">{time}</p>
            <button class="report"></button>
        </p>
        <p class="desc">
            <p class="text compressed">{desc}</p>
            <a href="#" class="toggleMore {showMore}">展开全文</a>
        </p>
        <p class="pic-list {isShowPic}">
            {pics}
        </p>
        <p class="comment-list {isShowComment}">
            <button type="button" class="more">查看更多评论</button>
        </p>
        <p class="buy-item {isShowBuyItem}">
            <p>{commentItemTitle}</p>
            <span>¥{commentItemPrice}</span>
        </p>
        <p class="handle">
            <button class="talk {isShowTalk}">聊天</button>
            <button class="comment">{totalComments}</button>
            <button class="like {liked}">{totalLikeText}</button>
        </p>
    </script>
    <!-- 
    <p class="msg">
        据说你是个热心的家伙,且买了这个宝贝,<br>
        可否帮TA解答这个问题呢?
    </p>
    
    <p class="bd">
        <p class="title"><p class="icon">答</p> </p>
        <p class="answer-list" data-spm="2">
            
            <p class="no-answer">
                <img src="//gw.alicdn.com/tps/TB1kcMvKVXXXXa3XXXXXXXXXXXX-750-500.jpg">
            </p>

        </p>
        
    </p> -->
    
    
    <p class="mask" style="display:none;">
        <p class="loading"></p>
    </p>

    <p class="mask1"></p>

    <!-- <p class="animate-pic"></p> -->

    <script type="template" id="publishCompoent">
        <p class="upload-bar" style="display:none;">
            <p class="pic"></p>
            等<span class="num"></span>张图片
            <button class="del"></button>
        </p>
        <p class="input-bar">
            <input class="input-text" placeholder="买过宝贝的人就有机会" style="display:none;"/>
            <textarea class="input-text-long" placeholder="买过宝贝的人就有机会"></textarea>
            <button class="icon triggleUpload"></button>
            <button class="btn publish-btn">发送</button>
        </p>
        <p class="upload-pic" style="display:none;">
            <p class="upload-inner">
                <p class="inner">
                    <ul></ul><button class="add"></button>
                </p>
            </p>
            <p class="status">
                可添加<span>{remainNum}</span>张<button class="submit-btn">发送</button>
            </p>
        </p>
    </script>
    
    
    <!-- <p class="toast arrow-t"></p> -->
    <script type="template" id="toast">
         <i class="{hasIcon}">{icon}</i><p>{txt}</p><button class="close"></button>
         <span class="arrow"><b></b></span>
    </script>
    
    
   


    <!--<script data-mt-variable="pageData" data-mt-type="normal" src="../mock/mock.js"></script>-->

    <script type="text/javascript" keeplive="" src="//g.alicdn.com/mtb/??lib-promise/3.1.1/polyfillB.js,lib-windvane/2.1.8/windvane.js,lib-mtop/2.0.6/mtop.js,/lib-login/1.5.0/login.js,lib-env/1.1.12/env.js,lib-httpurl/1.3.4/httpurl.js,lib-util/0.1.0/util.js,lib-img/0.2.22/img.js,lib-aa/0.0.46/aa.js?v=1734345369_52112"></script>
    <script>window.AskUtil={},window.AskUtil._maokeApp=function(){var e=new lib.httpurl(location.href);return"13"===e.params.dataFrom?(lib&&lib.aa&&(lib.aa.$("body").className+="maoke-app"),!0):!1}(),AskUtil.openWindow=function(e){var t=lib.env.taobaoApp;if(-1==e.indexOf("this_link_is_notAvaild")){lib.env.os;if(t&&"TB"==t.appname&&t.version.gt("4.5.0")&&lib.env.os.isIOS){var n={url:e};window.WindVane.call("Base","openWindow",n,function(e){},function(t){window.location=e})}else window.location=e}},AskUtil.formatTime=function(e){var t=(new Date).getTime();return t-e>864e6?new Date(e).format("yyyy-MM-dd"):t-e>864e5?parseInt((t-e)/24/3600/1e3)+"天前":t-e>36e5?parseInt((t-e)/3600/1e3)+"小时前":t-e>6e4?parseInt((t-e)/60/1e3)+"分钟前":"刚刚"},AskUtil.checkLogin=function(e){var t;return t="string"==typeof e.ret?e.ret:e.ret[0],0===t.indexOf("FAIL_SYS_SESSION_EXPIRED")||0===t.indexOf("ERR_SID_INVALID")||0===t.indexOf("ERRCODE_AUTH_REJECT")||0===t.indexOf("FAIL_SYS_SESSION_EXPIRED")?(lib.login.goLogin({}),!1):!0},AskUtil.getUrlAndSpm=function(e,t){try{var n=window.g_SPM.spm(e);if(n){var o=new lib.httpurl(t);o.params.spm=n,t=o.toString()}return t}catch(i){return t}},AskUtil.mtopRequest=function(e,t,n,o,i){lib.mtop.request({api:e,v:"1.0",ecode:i||"0",data:t},function(e){n&&n(e)},function(e){o&&o(e)})},AskUtil.getStrLength=function(e){for(var t=e,n=0,o=-1,i=0,a=t.length;a>i;i++)o=t.charCodeAt(i),n+=o>0&&128>=o?1:2;return n},AskUtil.goldRecord=function(e,t){!function(){window.goldlog?goldlog.record("/"+e,"","",t):setTimeout(arguments.callee,200)}()},AskUtil.tipToast=function(e,t){if("closed"!=localStorage.getItem("wendajia_"+t.id)){var n='<i class="{hasIcon}">{icon}</i><p>{txt}</p><button class="close"></button><span class="arrow"><b></b></span>',o=lib.aa.template(n,{icon:t.icon,hasIcon:t.icon?"show":"none",txt:t.txt}),i=document.createElement("p");if(i.className="toast "+(t.cls||"arrow-t"),i.setAttribute("id","wendajia_"+t.id),i.innerHTML=o,t.pos)for(var a in t.pos)i.style[a]=t.pos[a];if(t.apos)for(var a in t.apos)i.querySelector(".arrow").style[a]=t.apos[a];return document.querySelector(e).appendChild(i),i.querySelector(".close").addEventListener("click",function(){i.style.display="none";try{localStorage.setItem("wendajia_"+t.id,"closed")}catch(e){}},!1),i}},AskUtil.tipLayer=function(e){if(!this._maokeApp){var t=document.querySelector("#"+e.id);if(t)return void(t.style.display="block");var n=Math.min(window.innerHeight||document.querySelector("#wrapper").getBoundingClientRect().height),o=9.6*window.rem,i='<h3>{title}</h3><p class="bd">{content}</p><a href="{link}" class="more">'+(e.btn||"查看更多")+"</a><button></button>",a=document.createElement("p");a.className="tip-layer",a.id=e.id;var r=lib.aa.template(i,{title:e.title,content:e.content,link:e.link||"//h5.m.taobao.com/ocean/topic.htm?topicId=61506455&wxIsAvailable=true"});a.innerHTML=r,a.style.top=(n-o)/2+"px",e.picPop&&(a.querySelector("h3").style.display="none"),a.querySelector(".more").addEventListener("click",function(t){t.preventDefault(),AskUtil.openWindow(t.currentTarget.getAttribute("href")),a.style.display="none",e.closeCb&&e.closeCb(t)},!1),a.querySelector("button").addEventListener("click",function(t){t.preventDefault(),a.style.display="none",e.closeCb&&e.closeCb(t)},!1),document.querySelector("body").appendChild(a);try{localStorage.setItem(e.id,"true")}catch(l){}return a}},AskUtil.stroge={prefixStr:function(e){return"wendajia_"+e},get:function(e){e=this.prefixStr(e);try{value=JSON.parse(localStorage.getItem(e))}catch(t){localStorage.getItem(e)?value=localStorage.getItem(e):value=null}return value},set:function(e,t){"object"==typeof t&&(t=JSON.stringify(t));try{localStorage.setItem(this.prefixStr(e),t)}catch(n){console&&console.warn("setItem error")}}};</script>

    
    <!-- <script src="./js/publishComponet.js"></script> -->
    <script>!function(t){function e(t,e){this.rawData=t,this.resp=e}function i(t,e){var i="item_"+(new Date).getTime(),a=document.createElement("p");a.className="answer-item",a.id=i,this.el=a,this.resp=e,this.initialize(t)}var a=lib.aa.$,n=lib.aa.delegate,s=lib.aa.template;e.prototype={hasCommonItem:function(){var t=this.rawData.ext,e={};try{if(t=JSON.parse(t),t.item){var i=t.item;i.isShowBuyItem="show",e=i}}catch(a){e.isShowBuyItem="none"}return e},vipLevel:function(){if(1==this.rawData.status)return"";var t=this.rawData.vipLevel,e="",i=["//gw.alicdn.com/tps/TB1xcY3PXXXXXaHaXXXXXXXXXXX-42-42.png","//gw.alicdn.com/tps/TB1yFwvPXXXXXcSXXXXXXXXXXXX-42-42.png","//gw.alicdn.com/tps/TB1tmccPXXXXXbHXVXXXXXXXXXX-42-42.png","//gw.alicdn.com/tps/TB1fJwaPXXXXXcXXVXXXXXXXXXX-42-42.png","//gw.alicdn.com/tps/TB1GNZwPXXXXXc1XXXXXXXXXXXX-42-42.png","//gw.alicdn.com/tps/TB1GSwdPXXXXXagXVXXXXXXXXXX-42-42.png","//gw.alicdn.com/tps/TB1RbQdPXXXXXb2XVXXXXXXXXXX-42-42.png"];return i[t]&&(e='<img src="'+i[t]+'"/>'),e},userStatus:function(){var t=this.rawData,e=t.user;return{userIdStr:e.userIdStr,nick:e.nick,leifeng:"true"===e.leifeng?"leifeng":"no-leifeng",userType:1==t.status?"卖家":"已买",typeCls:1==t.status?"seller":"buyer",avatar:"//wwc.alicdn.com/avatar/getAvatar.do?userIdStr="+e.userIdStr+"&width=160&height=160&type=sns"}},getTime:function(){var t=Number(this.rawData.timeStamp);return AskUtil.formatTime(t)},getPicList:function(){var t=this.rawData.content;if(t){var e="";return t.forEach(function(t){e+='<p class="pic" style="background-image:url('+imgHelper.getNewUrl(t.url)+');"></p>'}),{isShowPic:t.length>0?"show":"none",pics:e}}},_fixUserId:function(t){return"0"===t||void 0===t?-1:t},isShowTalk:function(){var t=this,e=t.rawData.user.userId;if(+t._fixUserId(e)<0)return!1;var i=lib.env.taobaoApp,a=i&&"TB"==i.appname,n=t.resp.topic&&(t._fixUserId(t.resp.topic.creatorUserId)||e);if(!a)return!1;var s=lib.env.os,r=s.isIOS&&i.version.gte("5.7.0")||s.isAndroid&&i.version.gte("5.6.6.17");return e!=n&&a&&r&&"true"==this.resp.isPoster},getData:function(){var t=this,e=this.getPicList(),i=this.hasCommonItem(),a=this.userStatus(),n={isShowComment:"none",isShowTalk:this.isShowTalk()?"show":"none",totalComments:parseInt(this.rawData.totalComments)||"评论",showMore:AskUtil.getStrLength(this.rawData.desc)>288?"show":"none",liked:"true"==this.rawData.liked?"liked":"",isShowPic:e&&e.isShowPic,pics:e&&e.pics,time:this.getTime(),isShowBuyItem:i.isShowBuyItem,commentItemTitle:i.title,commentItemPrice:i.price,commentItemId:i.itemId,userIdStr:a.userIdStr,nick:a.nick,levelPic:this.vipLevel()||"",userType:a.userType,typeCls:a.typeCls,isLeiFeng:a.leifeng,isPoster:"none",avatar:a.avatar,desc:this.rawData.desc,totalLikeText:this.rawData.totalLike>0?this.rawData.totalLike:"感谢"};for(var s in n)t.rawData[s]=n[s];return t.rawData}},i.prototype={initialize:function(t){var i=this,a=new e(t,i.resp);this.data=a.getData(),this.event()},event:function(){var t=this,e=this.el;n(e,".like","click",function(e){t.actionLike(e);var i=document.createEvent("HTMLEvents");i.initEvent("actionClick",!1,!0),i.actionClickTarget=e.target,document.body.dispatchEvent(i)}),n(e,".talk","click",function(e){var i=t.resp.topic,a=t.data.user.userId,n={userId:"0"!==a&&a?a:"2",bizId:"wdj",userName:t.data.nick,itemId:t.data.topicId,itemUrl:location.href+"&userIdStr="+t.data.userIdStr,itemContent:i.topicName};window.WindVane.call("TBAMPChatJsBridge","startChat",n,function(t){},function(t){})}),n(e,".toggleMore","click",function(e){t.toggleMore(e)}),n(e,".report","click",function(e){t.report(e)}),[".avatar",".nick",".time",".handle .comment",".desc .text",".pic-list",".comment-list"].forEach(function(i){n(e,i,"click",function(e){var i=t.data,a="//h5.m.taobao.com/ocean/feedDetail.htm?feedId="+i.feedId+"&topicId="+i.topicId,n=AskUtil.getUrlAndSpm(e.target,a);AskUtil.openWindow(n)})}),n(e,".buy-item","click",function(e){var i="//h5.m.taobao.com/awp/core/detail.htm?id="+t.data.commentItemId,a=AskUtil.getUrlAndSpm(e.target,i);AskUtil.openWindow(a)})},report:function(t){var e=this.data.feedId,i={_index:e,buttons:["举报"]};window.WindVane.call("WVUIActionSheet","show",i,function(t){},function(t){})},toggleMore:function(t){t.preventDefault();var e=t.target,i=this.el.querySelector(".desc .text");i.classList.toggle("compressed"),e.textContent=i.classList.contains("compressed")?"展开全文":"收起文字"},actionLike:function(t){var e=this,i=t.target,a=this.data.totalLike,n=i.classList.contains("liked")?-1:1,s=this.data.feedId,r=this.data.topicId,o=function(t){if("true"==t.data.success){i.classList.toggle("liked");var s=parseInt(a)+n;e.data.totalLike=s,i.textContent=s>0?s:"感谢"}},c=function(t){!AskUtil.checkLogin(t)};AskUtil.mtopRequest("mtop.taobao.bala.like",{topicId:r,feedId:s,action:n},o,c,1)},render:function(){var t=a("#itemTemplate").textContent;console.log(this.data,"this.data");var e=s(t,this.data);return this.el.innerHTML=e,this}},t.CommentModel=e,t.commentView=i}(window);</script>
    <script>!function(e){function t(e,t){if(this.element=e,"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid element.");var o={maxFilesize:6,triggleBtn:".triggleUpload",addMoreBtn:".upload-inner .add",removeAllBtn:".upload-bar .del"};this.options=l(o,t),this.uploadedArr=[],this.init()}var t,o=[].slice,r={}.hasOwnProperty,n=0,i=function(e){var t=++n+"";return e?e+t:t},l=function(e,t){function o(){this.constructor=e}for(var n in t)r.call(t,n)&&(e[n]=t[n]);return o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype,e},a=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,r,n,i,l;if(n=arguments[0],e=2<=arguments.length?o.call(arguments,1):[],this._callbacks=this._callbacks||{},r=this._callbacks[n])for(i=0,l=r.length;l>i;i++)t=r[i],t.apply(this,e);return this},e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var o,r,n,i,l;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(n=i=0,l=r.length;l>i;n=++i)if(o=r[n],o===t){r.splice(n,1);break}return this},e}();l(t,a),t.prototype.Emitter=a,t.prototype.init=function(){var e=this,t=this.options,o=document.querySelector(t.triggleBtn);o.addEventListener("click",function(t){t.preventDefault(),e.emit("clickTrigger",t)},!1);var r=document.querySelector(t.addMoreBtn);r.addEventListener("click",function(t){t.preventDefault(),e.emit("clickAddTrigger",t)},!1);var n=document.querySelector(t.removeAllBtn);n.addEventListener("click",function(t){t.preventDefault(),e.removeAllItem(),e.emit("removeAll",t)},!1),document.addEventListener("WVPhoto.Event.uploadPhotoSuccess",function(t){var o={id:i("picItem_"),url:t.param.resourceURL};e.uploadedArr.push(o),console.log(t,"resssss"),e.emit("singleUploaded",o)}),document.addEventListener("WVPhoto.Event.uploadPhotoFailed",function(e){console.error(e,"uploadPhotoFailed")})},t.prototype._fakeUpload=function(e,t){var o=this;void 0===t&&(t=0),window.WindVane.call("WVCamera","confirmUploadPhoto",{mode:"both",path:e[t].localPath,v:"2.0",bizCode:"tbbala"},function(r){console.log(r,"upload sucss");var n={id:i("picItem_"),url:r.resourceURL};o.uploadedArr.push(n),o.emit("singleUploaded",n),e.length-1>t?o._fakeUpload(e,t+1):o.emit("uploadSuc",r)},function(r){console.log(r,"errrrr"),e.length-1>t?o._fakeUpload(e,t+1):o.emit("uploadSuc",res)})},t.prototype.uploadFiles=function(e){var t=this;t.emit("startUpload",e);var o={mode:"both",type:"0",v:"2.0",bizCode:"tbbala",cameraType:"back",mutipleSelection:"1",maxSelect:Math.max(t.options.maxFilesize-t.uploadedArr.length,0)};window.WindVane.call("WVCamera","takePhoto",o,function(e){console.log(e,"ssssssss"),e.localPath?t._fakeUpload([e]):e.images&&t._fakeUpload(e.images)},function(e){return alert(JSON.stringify(e)+"----v2.00"),console.log(e,"eee"),"HY_RET_PHOTO_CANCLE"==e.ret||"HY_FAILED"==e.ret?void t.emit("uploadCancel",e):void 0})},t.prototype.removeItem=function(e){for(var t=0,o=this.uploadedArr.length;o>t;t++)this.uploadedArr[t].id==e&&this.uploadedArr.splice(t,1);this.emit("remove",e)},t.prototype.removeAllItem=function(){this.uploadedArr=[]},t.prototype.itemlength=function(){return this.uploadedArr.length},t.prototype.piclist=function(){return this.uploadedArr},e.Uploader=t}(window);</script>
    <script>function askDetail(){this.initialize()}var $=lib.aa.$,toast=lib.aa.toast,template=lib.aa.template,delegate=lib.aa.delegate,imgHelper=lib.img({"class":"lib-img",dataSrc:"src",size:"200x200",sharpen:"s150",q:["q75","q50"],enableLazyload:!0,lazyHeight:0,lazyWidth:0,enalbeIOSWifiLoadMore:!1,diffGif:!1,filterDomains:[]}),lc=lib.httpurl(location.href),preventEvent=function(t){t.preventDefault()};askDetail.prototype={initialize:function(){var t=this;t.canloading=!0,this.toastTpl=$("#toast").textContent,this.setHd=!1,this.query(),this.report(),this.pageLoad(),document.addEventListener("TBNaviBar.moreItem.clicked",function(t){if(0==t.param.index){var e={_index:null,buttons:["举报"]};window.WindVane.call("WVUIActionSheet","show",e,function(t){},function(t){})}else 1==t.param.index&&AskUtil.openWindow("//h5.m.taobao.com/wendajia/my.htm","a3134.7766525.native.my")},!1);var e={items:[{icon:"warn",fromNative:"true",iconFont:"true",text:"举报"},{icon:"my",fromNative:"true",iconFont:"true",text:"我的问答"}]};window.WindVane.call("WebAppInterface","setNaviBarMoreItem",e,function(t){},function(t){}),this.lc=new lib.httpurl(location.href),delegate(document.body,".publish-btn","click",function(e){e.preventDefault();var a=e.target.classList;a.contains("disabledBtn")||a.contains("publishing")||t.submitContent(e)}),delegate(document.body,".submit-btn","click",function(e){e.preventDefault();var a=e.target.classList;a.contains("publishing")||t.submitContent(e)}),delegate(document.body,".disabled","touchend",function(t){AskUtil._maokeApp||(AskUtil.goldRecord("stsq.2.1","H1733391"),"true"!=localStorage.getItem("tipDisabledLc")&&($(".mask1").addEventListener("touchmove",preventEvent,!1),AskUtil.tipLayer({id:"tipDisabledLc",title:"抱歉,不能回答哦",content:['<ul><li style="margin-left:-0.5em">【谁能来回答】</li>',"<li>在所有购买过宝贝的淘友中,<b>系统随机抽取</b>1~20位发送回答邀请。</li></ul>",'<ul><li style="margin-left:-0.5em">【想回答怎么办】</li><li>常逛手机淘宝就能提高被邀请的概率, 记得随时注意消息提醒哦!<img src="//gw.alicdn.com/mt/TB12PpGMXXXXXaTaXXXXXXXXXXX-38-36.png"/></li></ul>'].join(""),closeCb:function(){$(".mask1").style.display="none",$(".mask1").removeEventListener("touchmove",preventEvent)}}),$(".mask1").style.display="block"))}),document.body.addEventListener("actionClick",function(t){var e=$("#wendajia_commentLike");e&&(e.style.display="none");t.actionClickTarget;try{localStorage.setItem("wendajia_commentLike","closed")}catch(a){}},!1)},tipToast:function(t,e,a,i,n,o){if("closed"!=localStorage.getItem("wendajia_"+o)){var l=template(this.toastTpl,{icon:t,hasIcon:t?"show":"none",txt:e}),s=document.createElement("p");s.className="toast "+(a||"arrow-t");for(var r in i)s.style[r]=i[r];if(s.innerHTML=l,s.setAttribute("id","wendajia_"+o),n)for(var r in i)s.querySelector(".arrow").style[r]=n[r];return $("#wrapper").appendChild(s),s.querySelector(".close").addEventListener("click",function(){s.style.display="none";try{localStorage.setItem("wendajia_"+o,"closed")}catch(t){}},!1),s}},appendTip:function(t){var e=function(t,e){return e?t/75*window.rem:t/75*window.rem+"px"};if("answer"==this.lc.params.from){var a=$(".answer-item");if(a){var i=a.getBoundingClientRect();this.tipToast("","觉得回答有帮助,不妨感谢TA一下!","",{right:e(35),top:i.height+i.top+"px"},{right:e(50)},"commentLike")}}if(("false"==t.isPoster&&"closed"==localStorage.getItem("wendajia_help")||1!=t.inviteStatus)&&$(".wantSs")){var n=$(".wantSs").getBoundingClientRect().top;this.tipToast("","点击之后,问题有新的答案也会提醒你","",{right:e(35),top:n+e(90,1)+"px"},{right:e(50)},"alsoWant")}if(t.inviteStatus&&1==t.inviteStatus){var o=t.topic&&t.topic.nick,l=this.tipToast("",o+"向你求助,能否帮TA解答一下呢?","arrow-b",{bottom:e(118)},"","help");l&&(l.style.position="fixed",l.style.left=(window.innerWidth-l.getBoundingClientRect().width)/2+"px",l.querySelector(".arrow").style.left=l.getBoundingClientRect().width/2-e(24,1)+"px")}},pageLoad:function(){var t=this,e=$(".loading"),a=lib.aa._throttle(function(){var a=window.innerHeight,i=e.getBoundingClientRect().top;e.style.display="true"==t.hasMore?"block":"none",a+20>i&&t.canloading&&"true"==t.hasMore&&t.query()},600,this);document.addEventListener("touchmove",a,!1),$("#wrapper").addEventListener("scroll",a,!1)},report:function(){document.addEventListener("wv.actionsheet",function(t){var e=t.param.type;if("举报"==e||"我要申诉"==e){var a={action:17,topicId:lc.params.topicId},i=t.param._index;i&&"null"!=i&&(a.feedId=i);var n=function(t){toast("true"==t.data.success?"我要申诉"==e?"提交成功,将在3个工作日内处理":"举报成功!":"我要申诉"==e?"申诉失败!":"举报失败!")},o=function(t){AskUtil.checkLogin(t)&&toast("我要申诉"==e?"申诉失败!":"举报失败!")};AskUtil.mtopRequest("mtop.taobao.ocean.action",a,n,o)}},!1)},render:function(t){var e=this;if(!this.setHd){$(".bd h3").textContent=t.feedCount>0?"共"+t.feedCount+"条回答":"暂无回答",$(".bd h3").style.display="block";var a=t.topic,i=t.seller?"我要申诉":"关注此问题 "+(t.sameQuest||"0"),n=template($("#hdTpl").textContent,{sameQuest:i,isMaster:a&&a.extendTags&&a.extendTags.indexOf("MASK")>-1||"false"===t.isPoster?"none":"",topicName:a&&a.topicName||"",cls:t.seller?"reportBtn":"wantSs",pic:a&&imgHelper.getNewUrl(a.icon),title:t.item&&t.item.title||"",chengyidaEnter:"true"===e.globalRespData.sponsored?"showGY":"hideGY"});$(".hd").innerHTML=n,"true"==a.liked&&$(".hd .also-num").classList.add("wanted"),this.setHd=!0}var o=$("#publishCompoent").textContent,l=lib.aa.template(o,{num:0,piclist:"",remainNum:6});$(".uploaderFt").innerHTML=l;var s=t.list;s&&s.length>0?s.forEach(function(e){var a=new window.commentView(e,t);$(".answer-list").appendChild(a.render().el)}):t.feedCount<=0&&0===s.length&&($(".loading").style.display="none",$(".answer-list").innerHTML='<p class="no-answer"></p>',this.canloading=!1),"false"==t.hasMore&&($(".loading").style.display="none"),imgHelper.fireLazyload(),this.canloading=!0;var r=(t.isInvitedUser,t.inviteStatus),d="",c=$(".input-text-long"),u=($(".input-bar"),$(".triggleUpload")),p=$(".publish-btn");switch(r){case"0":d="被随机邀请的用户才能回答",u.classList.add("disabledBtn1"),p.classList.add("disabledBtn"),c.setAttribute("disabled","disabled"),c.classList.add("disabled");break;case"1":d="你的回答将会匿名显示",u.classList.remove("disabledBtn1"),p.classList.remove("disabledBtn"),c.classList.remove("disabled");break;case"2":d="已超过问题有效期",u.classList.add("disabledBtn1"),p.classList.add("disabledBtn"),c.setAttribute("disabled","disabled"),c.classList.add("disabled");break;default:d="被随机邀请的用户才能回答",u.classList.add("disabledBtn1"),p.classList.add("disabledBtn"),c.setAttribute("disabled","disabled"),c.classList.add("disabled")}c.setAttribute("placeholder",d);var m=+new Date,g=function(){AskUtil.mtopRequest("mtop.taobao.ocean.action",{topicId:lc.params.topicId,action:37},function(t){return"操作失败"===(t.data||{}).message?alert("操作失败"):void window.WindVane.call("WebAppInterface","pop",{},function(t){},function(t){console.log("failure: "+JSON.stringify(t))})},function(t){console.log(t),alert("操作失败")})};document.addEventListener("wv.dialog",function(t){var e=t.param;+e._index===m&&"确定"===e.type&&g()},!1);var f={message:'将不再出现在"我的问答"和收到回答通知',okbutton:"确定",canclebutton:"取消",_index:m};delegate($(".hd"),".item-asked","click",function(e){var a,i=t.item.link,n=t.item.wdjType;if(a=n&&"1"!==n&&"0"!==n?i:"//item.taobao.com/item.htm?id="+t.item.itemId){var o=AskUtil.getUrlAndSpm(e.target,a);AskUtil.openWindow(o.replace(/http[s]*\:\/\//,"//"))}}),delegate($(".hd"),".isPoster","click",function(t){window.WindVane.call("WVUIDialog","confirm",f,function(t){},function(t){console.log("failure: "+JSON.stringify(t)),window.confirm('将不再出现在"我的问答"和收到回答通知')&&g()})}),delegate($(".hd"),".wantSs","click",function(t){if(t.target.className.indexOf("wanted")>-1)return console.log("2123"),void AskUtil.mtopRequest("mtop.taobao.social.like.remove",{targetId:lc.params.topicId,namespace:1004},function(a){return"操作失败"===(a.data||{}).message?alert("操作失败"):(t.target.className=t.target.className.replace(/[\s]*wanted/,""),e.globalRespData.sameQuest=+e.globalRespData.sameQuest-1,void(t.target.textContent="关注此问题 "+e.globalRespData.sameQuest))},function(t){console.log(t)});var a=$("#wendajia_alsoWant");a&&(a.style.display="none");try{localStorage.setItem("wendajia_alsoWant","closed")}catch(t){}t.target.classList.contains("wanted")||e.alsoWant(t)}),delegate($(".hd"),".reportBtn","click",function(a){var i=t.feedId;if("pc"==lc.params.platform){var n={action:17,topicId:lc.params.topicId};i&&(n.feedId=i);var o=function(t){toast("true"==t.data.success?"提交成功,将在3个工作日内处理":"申诉失败!")},l=function(t){toast("申诉失败!")};AskUtil.mtopRequest("mtop.taobao.ocean.action",n,o,l)}else e.reportBtn(i)}),setTimeout(function(){e.appendTip(t)},100),this.renderFt()},calHeight:function(){var t=0;return t+="unfold"==this.keyboradType?2.933:1.333,this.hasPic&&(t+=4.88),this.uploadBar&&(t+=1.6),t*window.rem},listenWinHeight:function(t,e,a){var i=this;lib.env.os.isIOS&&setTimeout(function(){var e=window.innerHeight;t&&window.scrollTo(0,0),$(".ft").style.top=Math.max((a||e)-i.calHeight(),0)+"px"},e)},getPicWh:function(){var t=function(t){var e=new Image;return e.src=t,{w:e.width,h:e.height}},e=this.uploaderInstance.piclist(),a=[];return e.forEach(function(e){var i=t(e.url);a.push({url:e.url,l:i.w,h:i.h})}),a},nextTopic:function(t){},submitContent:function(t){var e=this,a=t.target,i=$(".uploaderFt .input-text-long"),n=i.value;return""==n.trim()?toast("回答文字不能为空"):(a.textContent="发送中",a.classList.add("publishing"),void AskUtil.mtopRequest("mtop.taobao.bala.tag.answer",{topicId:e.lc.params.topicId,content:e.getPicWh(),desc:n,from:e.lc.params.from||""},function(t){if("true"==t.data.success){$(".answer-list .no-answer")&&($(".answer-list .no-answer").style.display="none");var n=new commentView(t.data.data,t.data);$(".answer-list").insertBefore(n.render().el,$(".answer-item")),$(".bd h3").scrollIntoView(),i.value="",e.uploaderInstance.removeAllItem(),$(".input-bar").classList.remove("long-text"),$(".upload-inner ul").innerHTML="",$(".triggleUpload").classList.remove("uploaded"),$(".upload-bar").style.display="none",$(".upload-pic").style.display="none",$(".status span").textContent=6,e.keyboradType="fold",e.hasPic=!1,e.uploadBar=!1,e.listenWinHeight(),e.nextTopic(t.data),AskUtil._maokeApp||"true"==            
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

全部回复(1)
大家讲道理

不想去分析前端js的实现,就用selenium+phantomjs来做吧

http://www.cnblogs.com/luxiao...

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板