摘要: 1.主要代码 movies.wxml文件 <navigator url='/movieDetail/movieDetail?index={{item}}' wx:for='{{moviesArr}}' wx:key='index'> <view class='moviesContainer'> <i 阅读全文
posted @ 2021-03-29 18:53 李起桉 阅读(262) 评论(0) 推荐(0)
摘要: 1.主要代码 detail.wxml文件 <view class='detailContainer'> <image class='headImg' src='{{isMusicPlay?detailObj.music.coverImgUrl:detailObj.detail_img}}'></im 阅读全文
posted @ 2021-03-29 18:33 李起桉 阅读(1370) 评论(0) 推荐(0)
摘要: 1.主要代码 list.wxml文件 采用import引入list-template.wxml,使用swiper实现轮播,indicator-dots用于显示面板指示点,indicator-active-color用于当前选中的指示点颜色。wx:for用于遍历。 <!--pages/list/lis 阅读全文
posted @ 2021-03-29 17:11 李起桉 阅读(472) 评论(0) 推荐(0)
摘要: 1.主要代码实现 index.wxml文件 <view class='indexContainer'> <image class='avatar' src='{{userInfo.avatarUrl}}'></image> <button bindgetuserinfo='handleGetUser 阅读全文
posted @ 2021-03-29 16:42 李起桉 阅读(520) 评论(0) 推荐(0)