45 lines
2.0 KiB
Plaintext
45 lines
2.0 KiB
Plaintext
<!--pages/store/index.wxml-->
|
|
<view>
|
|
<view class="flex flex-center primary-bg padding">
|
|
<view class="white">
|
|
我的阳光值 {{points}}
|
|
</view>
|
|
<view class="ml-16" style="color: orange;">
|
|
<button class="avatar-wrapper" open-type="share">邀请好友获取更多兑换币</button>
|
|
</view>
|
|
</view>
|
|
<view class="grid margin">
|
|
<view wx:for="{{list}}">
|
|
<view class="white-bg row">
|
|
<image style="width: 100%; border-top-left-radius: 16rpx; border-top-right-radius: 16rpx;" src="{{item.imgList[0].url}}" mode="aspectFill"></image>
|
|
<view style="background-color: #C35D4B;margin-top: -10rpx; padding: 8rpx;" class="font-12 white">需要 {{item.points}} 阳光值</view>
|
|
<view style="padding: 0 16rpx;" class="mt-16">
|
|
<view class="font-14 w400">
|
|
{{item.name}}
|
|
</view>
|
|
<view class="mt-5">
|
|
<t-tag shape="round" size="small">{{item.tag}}</t-tag>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-center mb-16 mt-16" style="padding-bottom: 32rpx;">
|
|
<t-button size="small" style="width: 90%;" shape="round" theme="primary" wx:if="{{item.status === 0}}" bind:tap="goInfo" data-id="{{item.id}}">立即领养(付邮)</t-button>
|
|
<t-button size="small" style="width: 90%;" shape="round" theme="danger" wx:if="{{item.status === 1}}" bind:tap="goShare" data-item="{{item}}">获取资格</t-button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- share -->
|
|
<t-popup visible="{{visible}}" placement='bottom' bind:tap="goShare">
|
|
<view >
|
|
<view class="flex flex-center padding">仅差一步,带走 {{current.name}}</view>
|
|
<view>
|
|
<image src="https://res.catter.cn/pub/2025/12/08/20251208112039694.png" style="width: 100vw; height: 75vw;"></image>
|
|
</view>
|
|
<view class="flex flex-center flex-col mt-32 mb-32">
|
|
<t-button theme="primary" shape="round" style="width: 70%;" icon="logo-wechat-stroke" open-type="share" >转发给微信好友</t-button>
|
|
|
|
</view>
|
|
</view>
|
|
</t-popup>
|
|
</view> |