- 来源: 一场soul的创业实验-永平/soul/miniprogram - 新增: addresses/agreement/privacy/withdraw-records 等页面 - 新增: components/icon, utils/chapterAccessManager, readingTracker - 删除: 上传脚本、部署说明等冗余文件 - 同步永平最新结构和功能 Co-authored-by: Cursor <cursoragent@cursor.com>
79 lines
3.4 KiB
Plaintext
79 lines
3.4 KiB
Plaintext
<!--VIP会员页-->
|
||
<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">卡若创业派对</text>
|
||
<view class="nav-placeholder-r"></view>
|
||
</view>
|
||
<view style="height: {{statusBarHeight + 44}}px;"></view>
|
||
|
||
<!-- 会员状态 -->
|
||
<view class="vip-hero {{isVip ? 'vip-hero-active' : ''}}">
|
||
<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>专属会员尊享权益</text>
|
||
</view>
|
||
|
||
<!-- 内容权益 -->
|
||
<view class="rights-card">
|
||
<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="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 + ' 加入创业派对'}}
|
||
</button>
|
||
<text class="buy-sub">加入卡若创业派对,获取创业资讯与优质人脉资源</text>
|
||
</view>
|
||
|
||
<!-- VIP资料填写(仅VIP可见) -->
|
||
<view class="profile-card" wx:if="{{isVip}}">
|
||
<text class="profile-title">会员资料(展示在创业老板排行)</text>
|
||
<view class="form-group">
|
||
<text class="form-label">姓名</text>
|
||
<input class="form-input" placeholder="您的真实姓名" value="{{profile.name}}" bindinput="onNameInput"/>
|
||
</view>
|
||
<view class="form-group">
|
||
<text class="form-label">项目名称</text>
|
||
<input class="form-input" placeholder="您的项目/公司名称" value="{{profile.project}}" bindinput="onProjectInput"/>
|
||
</view>
|
||
<view class="form-group">
|
||
<text class="form-label">联系方式</text>
|
||
<input class="form-input" placeholder="微信号或手机号" value="{{profile.contact}}" bindinput="onContactInput"/>
|
||
</view>
|
||
<view class="form-group">
|
||
<text class="form-label">一句话简介</text>
|
||
<input class="form-input" placeholder="简要描述您的业务" value="{{profile.bio}}" bindinput="onBioInput"/>
|
||
</view>
|
||
<button class="save-btn" bindtap="saveProfile">保存资料</button>
|
||
</view>
|
||
|
||
<view class="bottom-space"></view>
|
||
</view>
|