Commit a8f481e9 authored by 劳琪峰's avatar 劳琪峰

chore: 更新1015的资源版本v2

parent 62f3c838
......@@ -44,6 +44,7 @@ const inviteBtnProperties = computed(() => {
async function updateInvitationInfo() {
const resp = await fetchInvitationInfo()
console.log('invitationInfo:', resp.data)
return invitationInfo.value = resp.data
}
......
......@@ -49,7 +49,7 @@ const loading = ref(true) // 加载状态
// 邀请相关数据
const shareData = ref({
title: '星妈会超级品牌周来啦!',
imageUrl: 'https://course.feihe.com/momclub-picture/activity/1015/v1/share-image.png',
imageUrl: 'https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png',
path: '/activities/1015/home',
})
......
const version = 'v1'
const version = 'v2'
const baseUrl = 'http://127.0.0.1:8080/activity/1015'
export const getCdnUrl = (path) => `${baseUrl}/${version}/${path}`
......
const version = 'v1'
const version = 'v2'
//const baseUrl = 'http://127.0.0.1:8080/activity/1015'
const baseUrl = 'https://course.feihe.com/momclub-picture/activity/1015'
......
......@@ -14,7 +14,7 @@ export function homeConfig(){
shareConfig: {
title: '星妈会超级品牌周来啦!北纬47°六水香大米上新!',
path: '/activities/1015/home',
imageUrl: 'https://course.feihe.com/momclub-picture/activity/1015/v1/share-image.png',
imageUrl: 'https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png',
},
components: [
{
......
{
"background": {
"image": "https://course.feihe.com/momclub-picture/activity/1015/v1/home/bg.jpg",
"image": "https://course.feihe.com/momclub-picture/activity/1015/v2/home/bg.jpg",
"style": {
"backgroundPosition": {
"y": "calc(4937rpx + 845rpx)"
......@@ -10,7 +10,7 @@
"shareConfig": {
"title": "星妈会超级品牌周来啦!北纬47°六水香大米上新!",
"path": "/activities/1015/home",
"imageUrl": "https://course.feihe.com/momclub-picture/activity/1015/v1/share-image.png"
"imageUrl": "https://course.feihe.com/momclub-picture/activity/1015/v2/share-image.png"
},
"components": [
{
......@@ -23,7 +23,7 @@
"indicatorDots": true,
"items": [
{
"image": "https://course.feihe.com/momclub-picture/activity/1015/v1/home/banner-0.png",
"image": "https://course.feihe.com/momclub-picture/activity/1015/v2/home/banner-0.png",
"mdConfig": {
"pageName": "1015专题活动页面",
"componentName": "banner头图",
......@@ -32,7 +32,7 @@
}
},
{
"image": "https://course.feihe.com/momclub-picture/activity/1015/v1/home/banner-1.png",
"image": "https://course.feihe.com/momclub-picture/activity/1015/v2/home/banner-1.png",
"mdConfig": {
"pageName": "1015专题活动页面",
"componentName": "banner头图",
......
import {useGlobalStore} from "@/stores/global";
const version = 'v1'
const version = 'v2'
export function getCdnUrl(path){
const {baseUrl} = useGlobalStore()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment