|
@@ -15,17 +15,7 @@
|
|
|
<div class="btn" @click="tougao">我要投稿</div>
|
|
|
</div>
|
|
|
<div class="bottom_item">
|
|
|
- <div
|
|
|
- class="btn"
|
|
|
- @click="
|
|
|
- () =>
|
|
|
- openShanshipinDetail(
|
|
|
- 'https://ssp.sxtvs.com.cn/wap/waplist.shtml?shareurl=/a/a/w/m/list_1_0.shtml'
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
- 优秀选手
|
|
|
- </div>
|
|
|
+ <div class="btn" @click="openxuanshou">优秀选手</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -93,6 +83,18 @@
|
|
|
</div>
|
|
|
</van-dialog>
|
|
|
|
|
|
+ <van-dialog
|
|
|
+ theme="round-button"
|
|
|
+ confirm-button-text="关 闭"
|
|
|
+ v-model:show="toTC"
|
|
|
+ title="详情"
|
|
|
+ confirm-button-color="#cc0003"
|
|
|
+ >
|
|
|
+ <div class="DetailMain">
|
|
|
+ 5月即将开启,敬请关注!届时,我们将组织标准评委团对线上线下提交的作品进行初评,评选出优秀选手,通过初评的优秀选手将参加现场绘画、书法环节,现场所画作品直接参与专家评审团现场评审,最终选出各类优秀作品,并进行表彰。
|
|
|
+ </div>
|
|
|
+ </van-dialog>
|
|
|
+
|
|
|
<img v-if="showWixin" src="../../assets/img/weixin.jpg" class="Down" />
|
|
|
</div>
|
|
|
</template>
|
|
@@ -118,14 +120,15 @@ const toShanshipin = ref(false);
|
|
|
const toDetail = ref(false);
|
|
|
const total = ref(0);
|
|
|
const showWixin = ref(false);
|
|
|
+const toTC = ref(false);
|
|
|
|
|
|
tot();
|
|
|
window.setInterval(() => tot(), 5000);
|
|
|
|
|
|
function tot() {
|
|
|
getTotalNum().then(r => {
|
|
|
- console.log(r)
|
|
|
- const res = r || {real: 0, unreal: 0}
|
|
|
+ console.log(r);
|
|
|
+ const res = r || { real: 0, unreal: 0 };
|
|
|
total.value = Number(res.real || 0) + Number(res.unreal || 0);
|
|
|
});
|
|
|
}
|
|
@@ -158,6 +161,14 @@ function tougao() {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+function openxuanshou() {
|
|
|
+ getToupiaoUrl().then(r => {
|
|
|
+ const res = r || { linkUrl: '' };
|
|
|
+ if (res.linkUrl) return openShanshipinDetail(res.linkUrl);
|
|
|
+ toTC.value = true;
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
function openShanshipinDetail(url = '') {
|
|
|
const contentId = '',
|
|
|
shareTitle = '',
|