提交 cbc842b3 编写于 作者: study夏羽's avatar study夏羽

新增qq群

上级 f2f16963
...@@ -37,7 +37,14 @@ ...@@ -37,7 +37,14 @@
<template v-for="item in currentQQGroup"> <template v-for="item in currentQQGroup">
<div v-if="!item.state" :key="item.number"> <div v-if="!item.state" :key="item.number">
{{ item.prefix }}{{ item.number }} &nbsp; {{ item.prefix }}{{ item.number }} &nbsp;
<a <a v-if="QQOfUnicloud"
target="_blank"
style="text-decoration: underline"
href="https://qm.qq.com/cgi-bin/qm/qr?k=ez84UYIZgPKpTvrXD8GINUr62u8CF96x&jump_from=webapi"
>
点此加入
</a>
<a v-else
target="_blank" target="_blank"
style="text-decoration: underline" style="text-decoration: underline"
href="https://qm.qq.com/cgi-bin/qm/qr?k=Gb87Oy7TJlDj29YVLZmc3FPGXWv4GMdZ&jump_from=webapi" href="https://qm.qq.com/cgi-bin/qm/qr?k=Gb87Oy7TJlDj29YVLZmc3FPGXWv4GMdZ&jump_from=webapi"
...@@ -86,6 +93,9 @@ ...@@ -86,6 +93,9 @@
currentQQGroup() { currentQQGroup() {
return [...(this.currentConfig.qq_group || [])].reverse(); return [...(this.currentConfig.qq_group || [])].reverse();
}, },
QQOfUnicloud(){
return this.mainNavBarText == 'uniCloud'? true : false
}
}, },
}; };
</script> </script>
......
...@@ -41,8 +41,14 @@ export default { ...@@ -41,8 +41,14 @@ export default {
}, },
{ {
"number": "641753405", "number": "641753405",
"state": 0, "state": 1,
attendance: 1000,
"prefix": "群4" "prefix": "群4"
}, },
{
"number": "806429316",
"state": 0,
"prefix": "群5"
}
] ]
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册