frontend_h5/treegitee/unpackage/dist/dev/mp-weixin/pages/my/index.wxml

1 line
3.2 KiB
Plaintext
Raw Normal View History

2024-06-17 15:25:46 +08:00
<block wx:if="{{istrue}}"><view class="plr30"><view class="t1 flex_between flex_items mt30 pos"><view class="flex_start flex_items"><image style="width:128rpx;height:128rpx;" src="{{imgUrl+'tx.png'}}"></image><view class="flex_column ml30 mt10"><text class="f32 bold" style="color:#333;">{{phone}}</text><view class="mt20 f18 f-center plr20" style="color:#F5373A;height:42rpx;line-height:42rpx;background:#FFFFFF;border-radius:21rpx;border:1rpx solid #F5373A;"><text>{{"积分:"+integral}}</text></view></view></view><view data-event-opts="{{[['tap',[['goprize',['$event']]]]]}}" class="flex_column flex_items pos" style="z-index:1;" bindtap="__e"><image style="width:42rpx;height:58rpx;" src="{{imgUrl+'qd.png'}}" mode></image><view class="f-center f16" style="color:#fff;width:94rpx;height:30rpx;background:linear-gradient(180deg, #FCAA64 0%, #FD7A39 100%);border-radius:15rpx;">我的奖品</view></view><image class="abs" style="width:587rpx;height:587rpx;z-index:0;right:-166rpx;top:-122rpx;" src="{{imgUrl+'gb.png'}}" mode></image></view><view class="t22 mt50 pos plr30 ptb20 flex_column" style="z-index:1;"><text class="f32 bold" style="color:#fff;">我的活动</text><view class="mt20 flex_start flex_items" style="overflow-x:auto;width:100%;"><block wx:for="{{hotlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getp',['$0','$1'],[[['hotlist','',index,'id']],[['hotlist','',index,'active_type']]]]]]]}}" class="p20 mr20 f-center" style="background:#FFFFFF;border-radius:16rpx;" bindtap="__e"><image style="width:116rpx;height:112rpx;" src="{{item.banner}}" mode="aspectFit"></image><view class="f24 one" style="color:#F53A3A;">{{item.active_name}}</view></view></block></view></view><view class="flex_column plr20 mt40" style="background:#FFFFFF;box-shadow:0rpx 8rpx 20rpx 0rpx rgba(0,0,0,0.06);border-radius:20rpx;"><view class="mt40 f32 bold" style="color:#003A6E;">购买记录</view><block wx:if="{{$root.g0!=0}}"><view class="pos" style="z-index:1;"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="flex_between flex_items mt30 pb30 bbe9s mt30"><view class="flex_start"><image style="width:108rpx;height:108rpx;border:12rpx;" src="{{imgUrl+'tu.png'}}" mode></image><view class="flex_column ml30" style="height:108rpx;"><view class="f28 three" style="color:#1a1a1a;width:360rpx;">{{item.product_name}}</view><view class="flex_start flex_items"><view class="mt20 flex_start f22 ml10" style="width:320rpx;"><text>{{item.create_time}}</text><text style="color:#FE714D;">{{"-"+item.integral+"积分"}}</text></view><view data-event-opts="{{[['tap',[['goorder',['$0'],[[['list','',index,'product_id']]]]]]]}}" class="flex_center flex_items mt10" style="width:134rpx;height:54rpx;background:linear-gradient(270deg, #F43139 0%, #FF9843 100%);border-radius:316rpx;margin-left:40rpx;" bindtap="__e"><text class="f24" style="color:#FFF;">查看详情</text></view></view></view></view></view></block></view></block><block wx:else><view class="flex_center flex_items f24" style="color:#888;height:600rpx;width:100%;"><text>--暂无数据--</text></view></block></view><ywatermark vue-id="4a180d5e-1" info="原创内容,禁止转载" bind:__l="__l"></ywatermark></view></block>