Commit 362748d1 by zeyang

1. CFFP认证中消息列表没有配置点击事件

2. 登录 勾选隐私协议错误
3. 轮播图跳转逻辑错误
parent b55b9aa5
......@@ -10,9 +10,9 @@
</template>
<script>
export default{
props:['carouselList'],
data(){
export default {
props: ['carouselList'],
data() {
return {
indicatorDots: true,
autoplay: true,
......@@ -20,16 +20,22 @@
duration: 500,
}
},
name:'carousel',
components:{},
mounted(){
console.log(this.carouselList)
name: 'carousel',
components: {},
mounted() {
},
methods:{
jumpUrl(url){
if(!url){
methods: {
jumpUrl(url) {
if (!url) {
return false
}else{
} else {
let index = url.indexOf('/cffp/pages/');
if (index != -1) {
uni.navigateTo({
url: url.substring(index + 5, url.length)
})
} else {
// #ifdef H5
window.location.href = url;
// #endif
......@@ -40,13 +46,16 @@
})
//#endif
}
}
}
}
}
</script>
<style lang="scss">
.swiper{
height:228rpx;
.swiper {
height: 228rpx;
}
</style>
\ No newline at end of file
......@@ -42,7 +42,7 @@
</view>
</form>
<view class="agree" v-if="loginType!='resetpw'">
<label class="radio" @click="agreeFlag=!agreeFlag"><radio :checked="agreeFlag" /></label>
<label class="radio" ><radio @click="c_agreeFlag" :checked="agreeFlag" /></label>
<text>已阅读并同意</text>
<text class="file" @click="getFile(1)">服务协议</text>
<text></text>
......@@ -104,6 +104,9 @@
}
},
methods: {
c_agreeFlag(){
this.agreeFlag=!this.agreeFlag;
},
rpsdlogin(){
this.loginType= 'codelogin'
},
......
<template>
<view class="pad">
<!--搜索组件-->
<search :isSearch="1" @send="getCourseList"></search>
<search :isSearch="1" :userId = "userId" @send="getCourseList"></search>
<!--轮播组件-->
<view class="banner">
<view class="uni-margin-wrap">
......@@ -31,7 +31,8 @@
cffpCourseInfos:[],
currentPage:'courselist',
fileUploadItemCFFPList:[],
queryName:null
queryName:null,
userId: uni.getStorageSync('cffp_userId'),
}
},
name:'courselist',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment