diff --git a/src/assets/super/growth-down.svg b/src/assets/super/growth-down.svg index 6bbeea3..b9536db 100644 --- a/src/assets/super/growth-down.svg +++ b/src/assets/super/growth-down.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/super/growth-flat.svg b/src/assets/super/growth-flat.svg index 50b5484..acb1683 100644 --- a/src/assets/super/growth-flat.svg +++ b/src/assets/super/growth-flat.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/super/growth-up.svg b/src/assets/super/growth-up.svg index 5657f1f..319bcd7 100644 --- a/src/assets/super/growth-up.svg +++ b/src/assets/super/growth-up.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/super/list-detail-hover.svg b/src/assets/super/list-detail-hover.svg new file mode 100644 index 0000000..c5be5a2 --- /dev/null +++ b/src/assets/super/list-detail-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/super/GrowthText.vue b/src/components/super/GrowthText.vue new file mode 100644 index 0000000..2d6aaa6 --- /dev/null +++ b/src/components/super/GrowthText.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/components/super/HoverImage.vue b/src/components/super/HoverImage.vue new file mode 100644 index 0000000..e60427a --- /dev/null +++ b/src/components/super/HoverImage.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index 8e66625..057e708 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -196,13 +196,13 @@ const routes = [{ path: '/super/ranking/detail', name: '详情', component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankDetail.vue'), - props: {pageTitle:'详情',rank_type: 1, type: 'day', showDateSelect: false} + props: {pageTitle:'详情', type: 'day', showDateSelect: false, lookMore:false} }, { path: '/super/ranking/list', name: '列表', component: () => import( /* webpackChunkName: "Ranking" */ '../views/super/Ranking/RankList.vue'), - props: {pageTitle:'排行',} + props: {pageTitle:'详情', showDateSelect: false, lookMore:false} }, ] diff --git a/src/views/Franchise.vue b/src/views/Franchise.vue index 93aaefe..46b66ef 100644 --- a/src/views/Franchise.vue +++ b/src/views/Franchise.vue @@ -226,9 +226,6 @@ export default { sendCode() { if (!this.canSend || this.countdown > 0) return - // 模拟发送验证码 - console.log('发送验证码到:', this.form.phone) - // 开始倒计时 this.countdown = 60 this.timer = setInterval(() => { @@ -238,12 +235,26 @@ export default { } }, 1000) - // 实际项目中这里调用API发送验证码 - // this.$api.sendSmsCode({ phone: this.formData.phone }) + const that = this + this.$http('POST', '/agentnew/ajax_send_verify_code', { + phone: that.form.phone, + }).then(response => { + if (!response.status) { + that.$message.warning(response.info); + }else{ + that.$message.success(response.info); + } + }).catch(error => { + console.error(error, 'error') + }) }, goAddFranchise(){ - console.log(this.form) + if(!this.checked){ + this.$message.warning('请阅读并同意协议'); + return false; + } + const that = this that.$refs.formRef.validate((valid) => { if (valid) { diff --git a/src/views/super/Ranking/Purchase.vue b/src/views/super/Ranking/Purchase.vue index 3ffa44b..2d165fd 100644 --- a/src/views/super/Ranking/Purchase.vue +++ b/src/views/super/Ranking/Purchase.vue @@ -168,6 +168,8 @@ export default { } }, mounted() { + document.title = this.pageTitle + this.currentPage = 1 this.getData() }, diff --git a/src/views/super/Ranking/RankBatchList.vue b/src/views/super/Ranking/RankBatchList.vue index bb409e9..1b13001 100644 --- a/src/views/super/Ranking/RankBatchList.vue +++ b/src/views/super/Ranking/RankBatchList.vue @@ -25,7 +25,7 @@ v-if="(dataRank == 1 || dataRank == 2) && (dataType == 'ver_type' || dataType == 'check_type')" prop="name" :key="selectedType" - :label="type_select[selectedType]"> + :label="type_select[selectedType]" width="200">