miniprogram: 用永平版本替换(含超级个体、会员详情、提现等)
- 来源: 一场soul的创业实验-永平/soul/miniprogram - 新增: addresses/agreement/privacy/withdraw-records 等页面 - 新增: components/icon, utils/chapterAccessManager, readingTracker - 删除: 上传脚本、部署说明等冗余文件 - 同步永平最新结构和功能 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,36 +2,54 @@
|
||||
<view class="page">
|
||||
<view class="nav-bar" style="padding-top: {{statusBarHeight}}px;">
|
||||
<view class="nav-back" bindtap="goBack"><text class="back-icon">‹</text></view>
|
||||
<text class="nav-title">VIP会员</text>
|
||||
<text class="nav-title">卡若创业派对</text>
|
||||
<view class="nav-placeholder-r"></view>
|
||||
</view>
|
||||
<view style="height: {{statusBarHeight + 44}}px;"></view>
|
||||
|
||||
<!-- VIP状态卡片 -->
|
||||
<!-- 会员状态 -->
|
||||
<view class="vip-hero {{isVip ? 'vip-hero-active' : ''}}">
|
||||
<view class="vip-hero-icon">👑</view>
|
||||
<text class="vip-hero-title" wx:if="{{!isVip}}">开通VIP年度会员</text>
|
||||
<text class="vip-hero-title gold" wx:else>VIP会员</text>
|
||||
<text class="vip-hero-tag">卡若创业派对</text>
|
||||
<text class="vip-hero-title">加入卡若的<text class="gold">创业派对</text>会员</text>
|
||||
<text class="vip-hero-sub" wx:if="{{isVip}}">有效期至 {{expireDateStr}}(剩余{{daysRemaining}}天)</text>
|
||||
<text class="vip-hero-sub" wx:else>¥{{price}}/年 · 365天全部权益</text>
|
||||
<text class="vip-hero-sub" wx:else>专属会员尊享权益</text>
|
||||
</view>
|
||||
|
||||
<!-- 权益列表 -->
|
||||
<!-- 内容权益 -->
|
||||
<view class="rights-card">
|
||||
<text class="rights-title">会员权益</text>
|
||||
<view class="rights-list">
|
||||
<view class="rights-item" wx:for="{{rights}}" wx:key="*this">
|
||||
<text class="rights-check">✓</text>
|
||||
<text class="rights-text">{{item}}</text>
|
||||
<text class="rights-section-title">内容权益</text>
|
||||
<view class="rights-item" wx:for="{{contentRights}}" wx:key="title">
|
||||
<view class="rights-check-wrap"><text class="rights-check">✓</text></view>
|
||||
<view class="rights-info">
|
||||
<text class="rights-title">{{item.title}}</text>
|
||||
<text class="rights-desc">{{item.desc}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 购买按钮 -->
|
||||
<view class="buy-section" wx:if="{{!isVip}}">
|
||||
<!-- 社交权益 -->
|
||||
<view class="rights-card">
|
||||
<text class="rights-section-title">社交权益</text>
|
||||
<view class="rights-item" wx:for="{{socialRights}}" wx:key="title">
|
||||
<view class="rights-check-wrap"><text class="rights-check">✓</text></view>
|
||||
<view class="rights-info">
|
||||
<text class="rights-title">{{item.title}}</text>
|
||||
<text class="rights-desc">{{item.desc}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 价格区 + 购买按钮 -->
|
||||
<view class="buy-area" wx:if="{{!isVip}}">
|
||||
<view class="price-row">
|
||||
<text class="price-original">¥{{originalPrice}}</text>
|
||||
<text class="price-current">¥{{price}}</text>
|
||||
<text class="price-unit">/年</text>
|
||||
</view>
|
||||
<button class="buy-btn" bindtap="handlePurchase" disabled="{{purchasing}}">
|
||||
{{purchasing ? '处理中...' : '立即开通 ¥' + price}}
|
||||
{{purchasing ? '处理中...' : '¥' + price + ' 加入创业派对'}}
|
||||
</button>
|
||||
<text class="buy-sub">加入卡若创业派对,获取创业资讯与优质人脉资源</text>
|
||||
</view>
|
||||
|
||||
<!-- VIP资料填写(仅VIP可见) -->
|
||||
|
||||
Reference in New Issue
Block a user