Merge branch 'new-race-mode' into test
This commit is contained in:
@@ -267,17 +267,17 @@ const shareTitle = computed(() => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据对战类型和靶纸尺寸动态返回分享封面图路径,共 4 张图:
|
* 根据对战类型和靶纸尺寸动态返回分享封面图路径,共 4 张图:
|
||||||
* contest_share_20.jpg — 约战/对抗赛 + 20cm 靶
|
* contest_share_20.png — 约战/对抗赛 + 20cm 靶
|
||||||
* contest_share_40.jpg — 约战/对抗赛 + 40cm 靶
|
* contest_share_40.png — 约战/对抗赛 + 40cm 靶
|
||||||
* melee_share_20.jpg — 多人乱斗 + 20cm 靶
|
* melee_share_20.png — 多人乱斗 + 20cm 靶
|
||||||
* melee_share_40.jpg — 多人乱斗 + 40cm 靶
|
* melee_share_40.png — 多人乱斗 + 40cm 靶
|
||||||
*
|
*
|
||||||
* 当 targetSize 未知时默认取 20cm 图。
|
* 当 targetSize 未知时默认取 20cm 图。
|
||||||
*/
|
*/
|
||||||
const shareImage = computed(() => {
|
const shareImage = computed(() => {
|
||||||
const type = room.value.battleType === 2 ? 'melee' : 'contest';
|
const type = room.value.battleType === 2 ? 'melee' : 'contest';
|
||||||
const size = targetSize.value === 40 ? '40' : '20';
|
const size = targetSize.value === 40 ? '40' : '20';
|
||||||
return `https://static.shelingxingqiu.com/shootmini/static/share/${type}_share_${size}.jpg`;
|
return `https://static.shelingxingqiu.com/shootmini/static/share/${type}_share_${size}.png`;
|
||||||
});
|
});
|
||||||
|
|
||||||
onShareAppMessage(() => {
|
onShareAppMessage(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user