Commit 362748d1 by zeyang

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

2. 登录 勾选隐私协议错误
3. 轮播图跳转逻辑错误
parent b55b9aa5
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
</template> </template>
<script> <script>
export default{ export default {
props:['carouselList'], props: ['carouselList'],
data(){ data() {
return { return {
indicatorDots: true, indicatorDots: true,
autoplay: true, autoplay: true,
...@@ -20,16 +20,22 @@ ...@@ -20,16 +20,22 @@
duration: 500, duration: 500,
} }
}, },
name:'carousel', name: 'carousel',
components:{}, components: {},
mounted(){ mounted() {
console.log(this.carouselList)
}, },
methods:{ methods: {
jumpUrl(url){ jumpUrl(url) {
if(!url){ if (!url) {
return false 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 // #ifdef H5
window.location.href = url; window.location.href = url;
// #endif // #endif
...@@ -40,13 +46,16 @@ ...@@ -40,13 +46,16 @@
}) })
//#endif //#endif
} }
}
} }
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.swiper{ .swiper {
height:228rpx; height: 228rpx;
} }
</style> </style>
\ No newline at end of file
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</view> </view>
</form> </form>
<view class="agree" v-if="loginType!='resetpw'"> <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>已阅读并同意</text>
<text class="file" @click="getFile(1)">服务协议</text> <text class="file" @click="getFile(1)">服务协议</text>
<text></text> <text></text>
...@@ -104,6 +104,9 @@ ...@@ -104,6 +104,9 @@
} }
}, },
methods: { methods: {
c_agreeFlag(){
this.agreeFlag=!this.agreeFlag;
},
rpsdlogin(){ rpsdlogin(){
this.loginType= 'codelogin' this.loginType= 'codelogin'
}, },
......
<template> <template>
<view class="pad"> <view class="pad">
<!--搜索组件--> <!--搜索组件-->
<search :isSearch="1" @send="getCourseList"></search> <search :isSearch="1" :userId = "userId" @send="getCourseList"></search>
<!--轮播组件--> <!--轮播组件-->
<view class="banner"> <view class="banner">
<view class="uni-margin-wrap"> <view class="uni-margin-wrap">
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
cffpCourseInfos:[], cffpCourseInfos:[],
currentPage:'courselist', currentPage:'courselist',
fileUploadItemCFFPList:[], fileUploadItemCFFPList:[],
queryName:null queryName:null,
userId: uni.getStorageSync('cffp_userId'),
} }
}, },
name:'courselist', 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