You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.4 KiB
Plaintext

9 months ago
<view style='--color--:{{color}}'>
<import src="../../template/couponPackage/package.wxml" />
<import src="../../template/couponItem/item.wxml" />
<import src="../../template/pointProduct/product.wxml" />
<import src="/components/Lucky/index.wxml"></import>
<view>
<view class="hy_coupon_center_title" bindtap="goto" data-url="invitationFriend">
<image src=http://pos.juweiyun.cn/373001/file/wechatApp%E9%82%80%E8%AF%B7%E6%9C%89%E5%A5%96%402x.png"> </image> </view> <view class="hy_coupon_center_lucky_draw {{list.length==0 && listPackage==0 ?'background_while':'' }}" bindtap="goto" data-url="/pages2/member/luckyDraw/luckyDraw">
<image src="http://pos.juweiyun.cn/373001/file/wechatApp%E6%8A%BD%E5%A5%96%20%E6%8B%B7%E8%B4%9D%402x.png"></image>
</view>
<block wx:if="{{listPackage.length>0}}">
<view class="hy_coupon_center_shop">
<view class="hy_coupon_center_shop_content">
<view class="shop_content_title">
卡券商城
<view class="shop_content_title_move" bindtap="goto" data-url="shop?type=1">查看更多
<image src="/images/left.png" />
</view>
</view>
<template is="templateCouponPackage" data="{{listPackage}}"></template>
</view>
</view>
</block>
<block wx:if="{{vipProduct.length>0}}">
<view class="hy_coupon_center_shop">
<view class="hy_coupon_center_shop_content">
<view class="shop_content_title">
会员周边
<view class="shop_content_title_move" bindtap="goto" data-url="shop?type=2">查看更多
<image src="/images/left.png" />
</view>
</view>
<template is="templatePointProduct" data="{{vipProduct}}"></template>
</view>
</view>
</block>
<block wx:if="{{list.length>0}}">
<view class="hy_coupon_center_get_coupon">
<view class="hy_coupon_center_shop_content">
<view class="shop_content_title">
领券中心
<view class="shop_content_title_move" bindtap="goto" data-url="../coupon/couponCenter">查看更多
<image src="/images/left.png" />
</view>
</view>
<template is="couponItem" data="{{list}}"></template>
</view>
</view>
</block>
</view>
<block wx:if="{{list.length==0 && listPackage==0 }}">
<view class="no_card_package">
<image src="/images/no_product.png"></image>
<view class="no_card_package_prompt">暂无商品</view>
</view>
</block>
<template is="lucky" data="{{upWindowList,color,defaultBack}}" wx:if="{{showUpWindow}}"></template>
</view>