articleshare.wxml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <view class="topbox" style="padding-top:{{top}}px;height:{{top*1+hgt*1}}px;">
  2. <view class="leftindexbox clearfix" style="top: {{top*1+8}}px;">
  3. <image bindtap="golastap" class="leftgoto" src="../../../img/back.png"></image>
  4. <view bindtap="golastap" class="leftitbox"></view>
  5. <text></text>
  6. <image bindtap="goindextap" class="gotoindex" src="../../../img/goindex.png"></image>
  7. <view bindtap="goindextap" class="gotoidxbox"></view>
  8. </view>
  9. <view class="fontfpm fontr32 center maintitle titleStyle" style="line-height: 44px;padding-left:82px;">{{articleObj.title}}</view>
  10. </view>
  11. <!-- <image wx:if="{{loadflag==true}}" style="margin-top:{{top*1+hgt*1}}px;height:{{articleObj.cover_img?'auto':0}};" mode="widthFix" class="bannerImg" src="{{articleObj.cover_img}}"></image> -->
  12. <view wx:if="{{loadflag==true&&!!articleObj.title}}" class="contentBox {{!articlelogin?'hidden':''}}" style="margin-top:{{top*1+hgt*1}}px;height:{{!articlelogin?'45vh':'auto'}};">
  13. <view class="title fontfpr">{{articleObj.title}}</view>
  14. <!-- <view class="tagBox clearfix fontr26 lhr48">
  15. <view class="pull-left companybox">
  16. <image class="pull-left" src="{{companyobj.logo}}"></image>
  17. <view class="pull-left">{{companyobj.company_name}}</view>
  18. </view>
  19. <view wx:if="{{!!articleObj.type}}" class="fontfpm pull-right color9DB6CF">#{{articleObj.type}}#</view>
  20. </view> -->
  21. <!-- 公司信息 -->
  22. <view class="updateBox">
  23. <view class="u-img-box">
  24. <image src="{{companyobj.logo?companyobj.logo:'https://o.nczyzs.com/xcx/aaa/nonedatalogo.png?x-oss-process=image/resize,w_200'}}"></image>
  25. </view>
  26. <view class="flex-sub u-company">
  27. <view class="u-company-name">{{companyobj.company_name}}</view>
  28. <view class="u-company-address">
  29. <view class="{{showAddress?'address-text':'address-text address-ellipsis'}}">地址:{{companyobj.address||'暂未设置'}}
  30. <text hidden="{{!showAddress}}" class="address-show" data-type="hide" bindtap="showAddressName">隐藏</text>
  31. </view>
  32. <block wx:if="{{companyobj.address.length > 16}}">
  33. <text hidden="{{showAddress}}" class="address-show" data-type="show" bindtap="showAddressName">展开</text>
  34. </block>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 公司信息 -->
  39. <view class="line"></view>
  40. <view class="title-tips">详情</view>
  41. <view class="articlebox">
  42. <!-- {{articlelogin==false?'unloginbox':''}} -->
  43. <mp-html content="{{articleObj.contentmsg}}" />
  44. <!-- articlelogin== -->
  45. <view wx:if="{{false}}" class="unloginlayer">
  46. <button wx:if="{{canIUseGetUserProfile&&loginFlag==true}}" class="articlebtn fontfpm center" bindtap="getUserProfile">
  47. <view class="inline-block articleview">
  48. <view class="pull-left">查看全部</view>
  49. <image class="pull-left" src="../../../img/down.png"></image>
  50. </view>
  51. </button>
  52. <button wx:if="{{!canIUseGetUserProfile&&loginFlag==true}}" open-type="getUserInfo" class="articlebtn fontfpm center" bindgetuserinfo="getUserInfoTap">
  53. <view class="inline-block articleview">
  54. <view class="pull-left">查看全部</view>
  55. <image class="pull-left" src="../../../img/down.png"></image>
  56. </view>
  57. </button>
  58. <!-- <button wx:if="{{phoneFlag==true}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap" class="articlebtn fontfpm center">
  59. <view class="inline-block articleview">
  60. <view class="pull-left">查看全部</view>
  61. <image class="pull-left" src="../../../img/down.png"></image>
  62. </view>
  63. </button> -->
  64. </view>
  65. </view>
  66. </view>
  67. <!-- <view wx:if="{{(!!shareobj.headimgurl||!!shareobj.nickname)&&!employeeflag}}" class="footerbox fontr28">
  68. <image class="mineheading pull-left" src="{{shareobj.headimgurl?shareobj.headimgurl:'/img/default.png'}}"></image>
  69. <view class="fontfpr color210605 lhr98 minename pull-left ellipsis">专属客服{{shareobj.nickname}}</view>
  70. <view bindtap="prelookimgtap" class=" pull-left addwxbox">
  71. <image src="../../../img/indexwx.png"></image>
  72. <view class="lhr30 fontfpr color210605">微信咨询</view>
  73. </view>
  74. <view bindtap="callphonetap" class="phonebox pull-right fontr28 colorfff">电话预约</view>
  75. </view> -->
  76. <view class="width100 center deltext fontr36" wx:if="{{loadflag==true&&!articleObj.title}}">此文章已删除!</view>
  77. <!-- 联系销售人员 -->
  78. <block wx:if="{{(!!shareobj.headimgurl||!!shareobj.nickname) && !isBroker}}">
  79. <view class="clientBox" hidden="{{!showAction}}" bindtap="operateBtn">
  80. <view class="clientBox-avatar">
  81. <image src="{{shareobj.headimgurl?shareobj.headimgurl:'/img/default.png'}}"></image>
  82. </view>
  83. <view class="clientBox-text">咨询</view>
  84. </view>
  85. <view class="contactSales" hidden="{{showAction}}">
  86. <view class="contactSales-left">
  87. <image class="left-avatar" src="{{shareobj.headimgurl?shareobj.headimgurl:'/img/default.png'}}"></image>
  88. <view class="left-msg">
  89. <view class="left-name">
  90. <text>{{shareobj.name}}</text>
  91. <image class="nameCard" src="../../../img/nameCard12.png" bindtap="toPageNameCard"></image>
  92. </view>
  93. <view class="left-text">{{companyName}}</view>
  94. </view>
  95. </view>
  96. <view class="contactSales-right">
  97. <view class="right-box1" bindtap="callphonetap">
  98. <image class="rightmobile" src="../../../img/mobile121.png"></image>
  99. <text>电话预约</text>
  100. </view>
  101. <view class="right-box1" bindtap="prelookimgtap">
  102. <image class="rightmobile" src="../../../img/weixin12.png"></image>
  103. <text>微信咨询</text>
  104. </view>
  105. </view>
  106. </view>
  107. </block>
  108. <!-- 联系销售人员 -->
  109. <!-- 经纪人报名 -->
  110. <button wx:if="{{isBroker}}" data-type="broker" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap" class="application">立即报名</button>
  111. <signup dialog="{{showMask}}" phone="{{fPhone}}" agentid="{{agid}}" bind:close="hiddenMaskFunc"></signup>
  112. <mustlogin loginFlag="{{loginFlag}}" orgname="{{companyobj.company_name}}" logo="{{companyobj.logo}}" mobileflag="{{mobileflag}}" phoneflag="{{true}}" typenum="{{0}}" id="loginbox" bind:cancelPhone="cancelGetPhone" bind:run="login"></mustlogin>
  113. <image bindtap="priceshowtap" class="pricebtnimg" src="{{imgUrl}}xcx/aaa/pricebtn.gif"></image>
  114. <calcprice priceflag='{{priceflag}}' bind:run="closepricetap"></calcprice>
  115. <scheme priceflag='{{designPlan}}' rType="Article" curId="{{aid}}" bind:run="closeDesigntap"></scheme>
  116. <mp-dialog title="报错提示" show="{{errorflag}}" bindbuttontap="tapDialogButton" buttons="{{oneButton}}">
  117. <view>{{errorflag?'':errorText}}</view>
  118. </mp-dialog>