articleshare.wxml 6.7 KB

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