beforetest.wxml 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <view class="topbox" style="padding-top:{{top}}px;height:{{top*1+hgt*1}}px;">
  2. <view wx:if="{{employeeflag}}" bindtap="goindextap" class="leftindexbox clearfix" style="top: {{top*1+8}}px;border: 1px solid #d1cfcf;">
  3. <image class="leftgoto" src="../../../img/back.png"></image>
  4. <text></text>
  5. <image class="gotoindex" src="../../../img/goindex.png"></image>
  6. <view class="gotoidxbox"></view>
  7. </view>
  8. <view wx:if="{{nextsrc=='decorateoffer'}}" class="fontfpm fontr32 center maintitle titleStyle" style="line-height: 44px;text-align: center;">装修报价</view>
  9. <view wx:if="{{nextsrc=='housestyle'}}" class="fontfpm fontr32 center maintitle titleStyle" style="line-height: 44px;text-align: center;">风格测试</view>
  10. <view wx:if="{{nextsrc=='oldhouserenovation'}}" class="fontfpm fontr32 center maintitle titleStyle" style="line-height: 44px;text-align: center;">老房翻新风格测试</view>
  11. </view>
  12. <view class="testBox" style="padding-top: {{top*1+hgt*1}}px;">
  13. <image wx:if="{{nextsrc=='decorateoffer'}}" class="topBannerImg" src="{{imgUrl}}xcx/pricetopbanner.png" ></image>
  14. <image wx:if="{{nextsrc=='housestyle'|| nextsrc == 'oldhouserenovation'}}" class="topBannerImg" src="{{imgUrl}}xcx/styletestbanner.png" ></image>
  15. <view wx:if="{{nextsrc=='decorateoffer'}}" class="title center">装修报价</view>
  16. <view wx:if="{{nextsrc=='decorateoffer'}}" class="lastTitle center">帮助你轻松获取装修报价</view>
  17. <view wx:if="{{nextsrc=='housestyle'}}" class="title center">风格测试</view>
  18. <view wx:if="{{nextsrc=='oldhouserenovation'}}" class="title center">老房翻新风格测试</view>
  19. <view wx:if="{{nextsrc=='housestyle'}}" class="lastTitle center">帮助你选择适合自己的家装风格。</view>
  20. <view class="joinBox clearfix relative">
  21. <view class="everyview pull-left center relative">
  22. <view class="firstText">参与人数</view>
  23. <view wx:if="{{nextsrc=='housestyle'}}" class="numText">{{toolobj.styleTest.use_number?toolobj.styleTest.use_number:0}}人</view>
  24. <view wx:if="{{nextsrc=='oldhouserenovation'}}" class="numText">{{toolobj.likeTest.share_number?toolobj.likeTest.share_number:0}}人</view>
  25. <view wx:if="{{nextsrc=='decorateoffer'}}" class="numText">{{toolobj.priceCalculation.use_number?toolobj.priceCalculation.use_number:0}}人</view>
  26. </view>
  27. <text></text>
  28. <view class="everyview pull-left center relative">
  29. <view class="firstText">预计耗时</view>
  30. <view class="numText">10秒</view>
  31. </view>
  32. </view>
  33. <view wx:if="{{nextsrc=='decorateoffer'}}" class="textBox">家装承载着我们的生活,每个业主对房子进行装修时,都会面临许多的未知与选择。为了帮您快速预算出装修的报价。您可以试着算一算,10秒就能轻松算出报价。</view>
  34. <button wx:if="{{nextsrc=='decorateoffer'&&loginFlag==false&&phoneFlag==false}}" bindtap="nextrouteTap" class="testBtn" type="button">我要算一算</button>
  35. <!-- <button class="testBtn" wx:if="{{nextsrc=='decorateoffer'&&loginFlag==true}}" open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="getUserInfoTap">我要算一算</button> -->
  36. <button class="testBtn" wx:if="{{nextsrc=='decorateoffer'&&phoneFlag==true}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap">我要算一算</button>
  37. <view wx:if="{{nextsrc=='housestyle'||nextsrc=='oldhouserenovation'}}" class="textBox">家装承载着我们的生活,每个业主对房子进行装修时,都会面临许多的未知与选择。为了帮您更好的选到适合心怡的家装风格。您可以测试并学习一下家装的基本知识。</view>
  38. <button wx:if="{{(nextsrc=='housestyle'||nextsrc=='oldhouserenovation')&&loginFlag==false&&phoneFlag==false}}" bindtap="nextrouteTap" class="testBtn" type="button">我要测一测</button>
  39. <!-- <button class="testBtn" wx:if="{{(nextsrc=='housestyle'||nextsrc=='oldhouserenovation')&&loginFlag==true}}" open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="getUserInfoTap">我要测一测</button> -->
  40. <button class="testBtn" wx:if="{{(nextsrc=='housestyle'||nextsrc=='oldhouserenovation')&&phoneFlag==true}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap">我要测一测</button>
  41. </view>
  42. <view class="footer" wx:if="{{shareidflag==true}}" >
  43. <button class="pull-left footerLeft" open-type="share">裂变获客</button>
  44. </view>