1
0

activitymsg.wxml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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;border: 1px solid #d1cfcf;">
  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;">{{activityobj.title}}</view>
  10. </view>
  11. <view hidden="{{true}}" class="posterimgbox" >
  12. <image mode="widthFix" src="{{activityobj.poster}}"></image>
  13. </view>
  14. <view hidden="{{datashow==false}}" class="contentbox " style="padding-top: {{top*1+hgt*1+12}}px;">
  15. <mp-html content="{{activityobj.content}}" />
  16. </view>
  17. <view wx:if="{{datashow==true&&activityobj.show==1&&activityobj.timestate!=2}}" class="footer clearfix fontfpr">
  18. <button open-type="share" class="sharebtnbox pull-left fontr28 tcenter">
  19. <view class="inline-block clearfix">
  20. <image class="pull-left" src="{{imgUrl}}xcx/aaa/ashare.png"></image>
  21. <view class="pull-left colorA4B9C9 fontfpr fontr24 text">分享</view>
  22. </view>
  23. </button>
  24. <!-- wx:if="{{activityobj.type==1}}" -->
  25. <view wx:if="{{activityobj.is_activity!=1}}" class="pull-right">
  26. <button wx:if="{{canIUseGetUserProfile&&!loginFlag}}" class="footrightbtn fontfpr" loading="{{loading}}" disabled="{{loading}}" bindtap="getUserProfile">立即报名</button>
  27. <button wx:if="{{!canIUseGetUserProfile&&!loginFlag}}" open-type="getUserInfo" loading="{{loading}}" disabled="{{loading}}" class="footrightbtn fontfpr" bindgetuserinfo="getUserInfoTap">立即报名</button>
  28. <button wx:if="{{loginFlag&&phoneFlag}}" loading="{{loading}}" disabled="{{loading}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap" class="footrightbtn fontfpr">立即报名</button>
  29. <button wx:if="{{loginFlag&&!phoneFlag}}" bindtap="bindfun" loading="{{loading}}" disabled="{{loading}}" class="footrightbtn fontfpr">立即报名</button>
  30. </view>
  31. <view wx:if="{{activityobj.is_activity==1}}" class="pull-right">
  32. <button bindtap="lookimgtap" class="footrightbtn fontfpr" style="background:#249efb;color: #fff;">报名二维码</button>
  33. </view>
  34. </view>
  35. <van-calendar show="{{ show }}" color="#249efb" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:close="onClose" bind:confirm="onConfirm" />
  36. <mustlogin loginFlag="{{loginFlag}}" orgname="{{companyobj.company_name}}" logo="{{companyobj.logo}}" mobileflag="{{phoneFlag}}" phoneflag="{{true}}" typenum="{{0}}" id="loginbox" bind:cancelPhone="cancelGetPhone" bind:run="unreadMsg"></mustlogin>
  37. <view wx:if="{{qrcodeflag}}" bindtap="closeqrcodetap" class="qrcodelayer">
  38. <view catchtap="dothis" class="qrcodebox">
  39. <view class="qrcodetit">报名成功确认到店二维码</view>
  40. <image bindtap="closeqrcodetap" class="codecloseimg" src="/img/orderclose.png"></image>
  41. <view class="qrcodeimgbox">
  42. <image src="{{qrcode}}"></image>
  43. </view>
  44. <view class="save">截图保存二维码到店使用</view>
  45. </view>
  46. </view>