fix: make content api

This commit is contained in:
zzc
2026-02-06 09:42:56 +08:00
parent 99aa89a5c2
commit cee6ef9f91
6 changed files with 18 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
<NavBar title="" :transparent="true" color="#ffd700" />
<!-- 顶部提示条 -->
<!-- <view class="top-banner" v-if="inviterName">
<view class="top-banner" v-if="inviterName">
<image
class="avatar-icon"
v-if="inviterAvatar"
@@ -14,7 +14,7 @@
>你的好友 {{ inviterName }} 正在测试2026新年运势</text
>
</view>
<view class="top-banner" v-else>
<!-- <view class="top-banner" v-else>
<text class="banner-icon"></text>
<text class="banner-text">2026 灵马贺岁 · 开启你的新年好运</text>
</view> -->

View File

@@ -115,7 +115,6 @@
<script setup>
import { ref, onUnmounted, computed } from "vue";
import { getDeviceInfo } from "@/utils/system";
import { onLoad, onShow, onShareAppMessage } from "@dcloudio/uni-app";
import { abilityCheck } from "@/api/system.js";
import { drawFortune } from "@/api/fortune.js";
@@ -166,7 +165,7 @@ onShareAppMessage(async () => {
getRewardByShare();
return {
title: "马年运势我已经抽过了,你的会是什么?",
path: `${cardId.value ? `/pages/fortune/detail?shareToken=${shareToken}` : `/pages/fortune/index?shareToken=${shareTokenRes.shareToken}`}`,
path: `${cardId.value ? `/pages/fortune/detail?shareToken=${shareToken}` : `/pages/fortune/index?shareToken=${shareToken}`}`,
imageUrl:
"https://file.lihailezzc.com/resource/cfed2edbfa19250b836a87a4bbf0d5ad.png",
};