shortcut.wxml 852 Bytes
<view class="comp">
  <view wx:for="{{types}}" wx:key="index" data-data="{{item}}" bindtap="onTapHandler" class="btn point">
    <span class="iconfont {{typeIconMap[item+''] }}"></span>
  </view>
  <view wx:for="{{pics}}" wx:key="index" data-data="{{item}}" bindtap="onTapHandler" class="btn">
    <image mode="aspectFit" src="{{'../../image/shortcut/'+item+'.png'}}" class="pics ani-tada" />
  </view>
  <button class="contact" wx:if="{{contact}}" open-type="contact" show-message-card="true" send-message-title="家有儿孙" end-message-path="/pages/index/index" send-message-img="https://kdcdn.oss-cn-shenzhen.aliyuncs.com/weapp/jyes/assets/logo.jpg" bindcontact="handleContact">
    <!-- <span class="iconfont iconicon-test3 contact"></span> -->
    <image class="img" mode="widthFix" src="../../image/shortcut/contact.png" />
  </button>
</view>