小程序
小游戏
企业微信
微信支付
扫描小程序码分享
3 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
提供可复现问题的代码片段
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<navigator-custom title="领新风采"/>
<view class="changeTab">
<view class="tab-item {{item==0 ? 'active':''}}" bindtap="changeItem" data-item="0">风采展示</view>
<view class="tab-item {{item==1 ? 'active':''}}" bindtap="changeItem" data-item="1">领新小课堂</view>
</view>
<swiper current="{{item}}">
<swiper-item>
<scroll-view class="content-info" scroll-y>
<view class="exhibition-title">
<text>年时系马醉流霞</text>
<swiper class='swiperClass' autoplay indicator-color="#a39f99" indicator-active-color="#f49641" interval="3000" duration="1000" previous-margin="30px" next-margin="30px" circular bindchange="bindchange" style='height: {{swiperHeight}}px'>
<block wx:for="{{imgUrls}}" wx:key="{{index}}">
<swiper-item class="slide-item">
<image src="{{item}}" class="slide-image {{swiperIndex == index ? 'active' : 'quiet'}}" mode='aspectFill'>
</image>
</swiper-item>
</block>
</swiper>
</scroll-view>
<include src="lesson.wxml" />
<image class="bg" src="/images/bg_1.png"></image>
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
* 页面相关事件处理函数--监听用户下拉动作
onPullDownRefresh: function () {
* 页面上拉触底事件的处理函数
onReachBottom: function () {
* 用户点击右上角分享
onShareAppMessage: function () {
}
})
margin-left:-140rpx;
text-align: center;
font-size:20rpx;
overflow: hidden;
.content-move{
top:100%;
position: absolute;
-webkit-animation:wordMove 50s both;
-o-animation:wordMove 50s both;
animation:wordMove 50s both;
@keyframes wordMove {
0%{
100%{
top:-100%;
@-webkit-keyframes wordMove {
就是开发者工具里面是可以正常滑动切换页面的额,但是到了手机滑动的时候上面的导航不会跟着变动
什么错误,样式?
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
提供可复现问题的代码片段
<navigator-custom title="领新风采"/>
<view class="changeTab">
<view class="tab-item {{item==0 ? 'active':''}}" bindtap="changeItem" data-item="0">风采展示</view>
<view class="tab-item {{item==1 ? 'active':''}}" bindtap="changeItem" data-item="1">领新小课堂</view>
</view>
<swiper current="{{item}}">
<swiper-item>
<scroll-view class="content-info" scroll-y>
<view class="exhibition-title">
<text>年时系马醉流霞</text>
</view>
<swiper class='swiperClass' autoplay indicator-color="#a39f99" indicator-active-color="#f49641" interval="3000" duration="1000" previous-margin="30px" next-margin="30px" circular bindchange="bindchange" style='height: {{swiperHeight}}px'>
<block wx:for="{{imgUrls}}" wx:key="{{index}}">
<swiper-item class="slide-item">
<image src="{{item}}" class="slide-image {{swiperIndex == index ? 'active' : 'quiet'}}" mode='aspectFill'>
</image>
</swiper-item>
</block>
</swiper>
</scroll-view>
</swiper-item>
<swiper-item>
<include src="lesson.wxml" />
</swiper-item>
</swiper>
<image class="bg" src="/images/bg_1.png"></image>
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
margin-left:-140rpx;
text-align: center;
font-size:20rpx;
overflow: hidden;
}
.content-move{
top:100%;
position: absolute;
-webkit-animation:wordMove 50s both;
-o-animation:wordMove 50s both;
animation:wordMove 50s both;
}
@keyframes wordMove {
0%{
top:100%;
}
100%{
top:-100%;
}
}
@-webkit-keyframes wordMove {
0%{
top:100%;
}
100%{
top:-100%;
}
}
就是开发者工具里面是可以正常滑动切换页面的额,但是到了手机滑动的时候上面的导航不会跟着变动
什么错误,样式?