|
@@ -6,27 +6,27 @@
|
|
|
<!-- 填写表框 -->
|
|
|
<div class="cover_input">
|
|
|
<span class="title">联名邀请,免费测评专注力</span>
|
|
|
- <input
|
|
|
+ <input
|
|
|
placeholder='请输入学校名称'
|
|
|
- v-model="school"
|
|
|
+ v-model="school"
|
|
|
@input="textControl($event,'sch')"
|
|
|
placeholder-style="font-size: 28rpx;color: #B0784F;"/>
|
|
|
|
|
|
- <input
|
|
|
+ <input
|
|
|
placeholder='请输入学生'
|
|
|
- v-model="student"
|
|
|
+ v-model="student"
|
|
|
@input="textControl($event,'stu')"
|
|
|
placeholder-style="font-size: 28rpx;color: #B0784F;"/>
|
|
|
|
|
|
<button class="cu-btn btn" @click="joint_test">免费测评</button>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<!-- 滚动 -->
|
|
|
<div class="cover_scroll">
|
|
|
- <swiper
|
|
|
+ <swiper
|
|
|
class="swiper"
|
|
|
easing-function="linear"
|
|
|
- :circular="circular"
|
|
|
+ :circular="circular"
|
|
|
:indicator-dots="indicatorDots"
|
|
|
:autoplay="autoplay"
|
|
|
:interval="interval"
|
|
@@ -54,8 +54,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { addJoint, getJoint } from "../../requests/competition";
|
|
|
-import Toast from "../../../static/vant/toast/toast";
|
|
|
+import {addJoint, getJoint} from "../../../requests/competition";
|
|
|
|
|
|
var $this;
|
|
|
export default {
|
|
@@ -91,8 +90,8 @@ export default {
|
|
|
title: "请输入中文名",
|
|
|
icon: "error",
|
|
|
})
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
} else{
|
|
|
let $joint = {
|
|
|
phone: wx.getStorageSync("phone"),
|
|
@@ -129,7 +128,7 @@ export default {
|
|
|
close_pop() {
|
|
|
$this.show = false;
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// textControl($e,watch) {
|
|
|
// console.log($e)
|
|
|
// const value = $e.mp.detail.value
|
|
@@ -141,7 +140,7 @@ export default {
|
|
|
// icon: "error",
|
|
|
// })
|
|
|
// watch == "sch" ? $this.school = "" : $this.student = ""
|
|
|
- // }
|
|
|
+ // }
|
|
|
// },
|
|
|
},
|
|
|
mounted() {
|
|
@@ -266,4 +265,4 @@ input {
|
|
|
/* .swiper-item{
|
|
|
height:90rpx !important;
|
|
|
} */
|
|
|
-</style>
|
|
|
+</style>
|