parentping.wxml 2.2 KB
<view class="evalute">
  <image src="/img/no.png" mode="widthFix"></image>
  <view class="attentionname">{{title}}</view>
  <view class="attentionlist">
    <view class="attentionlistitem">
      <image src="/img/star.png" wx:if="{{star>=1}}"></image>
      <image src="/img/starkong.png" wx:else></image>
    </view>
    <view class="attentionlistitem">
      <image src="/img/star.png" wx:if="{{star>=2}}"></image>
      <image src="/img/starkong.png" wx:else></image>
    </view>
    <view class="attentionlistitem">
     <image src="/img/star.png" wx:if="{{star>=3}}"></image>
      <image src="/img/starkong.png" wx:else></image>
    </view>
    <view class="attentionlistitem">
      <image src="/img/star.png" wx:if="{{star>=4}}"></image>
      <image src="/img/starkong.png" wx:else></image>
    </view>
    <view class="attentionlistitem">
      <image src="/img/star.png" wx:if="{{star>=5}}"></image>
      <image src="/img/starkong.png" wx:else></image>
    </view>
  </view>
  <view class="attentext">
   {{description}}
  </view>
  <view class="code">
    <view class="codeleft">
      <image src="{{qrcode}}"></image>
    </view>

    <view class="coderight">
      <view class="coderighttop">长按识别二维码</view>
      <view class="coderighttopk">获取你的注意力测验单</view>
    </view>
  </view>
</view>

<view class="sharehai">
  <!-- <view class="shareleft" catchtap="jietu">分享给好友</view> -->
  <view class="shareright" catchtap="savephoto">分享海报</view>
</view>


<!-- 海报 -->
<view class='pp' bindtap="hideceng">
  <view class='imagePathBox' hidden="{{maskHidden == false}}">
    <image src="{{imagePath}}" class='shengcheng'></image>
    <!-- <button class='baocun' bindtap='baocun'>保存图片至相册</button> -->
    <view class="share">
      <!-- <view class="shareleft" catchtap="jietu">分享给好友</view> -->
       <button class="shareleft" catchtap="share" open-type='share'>分享给好友</button>
      <view class="shareright" catchtap="baocun">保存到相册</view>
    </view>
  </view>
  <view hidden="{{maskHidden == false}}" class="mask"></view>
  <view class="canvas-box">
    <canvas style="width:375px;height:603px;position:fixed;top:9999px;border-radius:56rpx" canvas-id="mycanvas" />
  </view>
</view>