Compare commits

..

No commits in common. "ad0232ad215697f8ba8027ea4d036e7931145a9f" and "54ce24b7b816c9ed6a2310406d26396f4975c5c8" have entirely different histories.

7 changed files with 911 additions and 1205 deletions

View File

@ -208,7 +208,3 @@ export function getMatchingGameState(game_id) {
export function getMatchingCardTypes() {
return authRequest({ url: '/api/app/matching/card_types', method: 'GET' })
}
export function createMatchingPreorder(issue_id) {
return authRequest({ url: '/api/app/matching/preorder', method: 'POST', data: { issue_id } })
}

View File

@ -27,7 +27,7 @@
{
"path": "pages/cabinet/index",
"style": {
"navigationBarTitleText": "柜"
"navigationBarTitleText": "柜"
}
},
{
@ -141,7 +141,7 @@
},
{
"pagePath": "pages/cabinet/index",
"text": "柜",
"text": "柜",
"iconPath": "static/tab/box.png",
"selectedIconPath": "static/tab/box_active.png"
},

File diff suppressed because it is too large Load Diff

View File

@ -682,7 +682,7 @@ async function onShip() {
<style lang="scss" scoped>
/* ============================================
柯大鸭潮玩 - 柜页面
柯大鸭潮玩 - 柜页面
采用现代卡片式布局统一设计语言
============================================ */

View File

@ -55,7 +55,7 @@
<text class="invite-tag">好礼相送</text>
<text class="invite-title">邀请好友送好礼</text>
</view>
<text class="invite-desc" @tap="copyInviteCode">我的邀请码{{ getInviteCode() || '-' }}点击复制</text>
<text class="invite-desc">全新版本等你来玩奖励拿到手软</text>
</view>
<button class="invite-action-btn invite-share-btn" open-type="share">
<image class="invite-share-icon" src="/static/logo.png" mode="aspectFit"></image>
@ -75,7 +75,7 @@
<text class="invite-tag">好礼相送</text>
<text class="invite-title">邀请好友送好礼</text>
</view>
<text class="invite-desc" @click.stop="copyInviteCode">我的邀请码{{ getInviteCode() || '-' }}点击复制</text>
<text class="invite-desc">全新版本等你来玩奖励拿到手软</text>
</view>
<view class="invite-action-btn">
<text>立即邀请</text>
@ -502,19 +502,6 @@ export default {
const v = this.inviteCode || uni.getStorageSync('invite_code') || (uni.getStorageSync('user_info') || {}).invite_code || ''
return String(v || '').trim()
},
copyInviteCode() {
const code = this.getInviteCode()
if (!code) {
uni.showToast({ title: '暂无邀请码', icon: 'none' })
return
}
uni.setClipboardData({
data: code,
success: () => {
uni.showToast({ title: '邀请码已复制', icon: 'none' })
}
})
},
getInviteSharePath() {
const code = this.getInviteCode()
return code ? `/pages/register/register?invite_code=${encodeURIComponent(code)}` : '/pages/register/register'

View File

@ -46,9 +46,9 @@
<view v-for="(item, index) in order.items" :key="index" class="item-card">
<view class="item-image-wrap">
<image class="item-image" :src="getProductImage(item)" mode="aspectFill" />
<!-- 购买标识 -->
<!-- 中奖标识 -->
<view class="winner-tag" v-if="order.is_winner && order.source_type === 2">
<text class="tag-text">已开启</text>
<text class="tag-text">中奖</text>
</view>
<view class="level-tag" v-if="order.reward_level">
<text class="tag-text">{{ order.reward_level }}</text>

View File

@ -72,7 +72,7 @@
mode="aspectFill"
/>
<view class="image-overlay" v-if="item.is_winner">
<text class="winner-badge">🎉 已开启</text>
<text class="winner-badge">🎉 中奖</text>
</view>
</view>
@ -409,7 +409,7 @@ onReachBottom(() => {
padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
}
/* 顶部 Tab - 与柜页面保持一致 */
/* 顶部 Tab - 与柜页面保持一致 */
.tabs {
position: fixed;
top: 0;