<uni-list class="plan" v-for="(plan, index) in yesterdayAibhPlansList.plans_list" :key="plan.id"> <uni-list-item :title="plan.pth_sentence.title" :note="plan.pth_lesson.title" :rightText="'创建计划:'+ plan.plan_make_time + '前'" @click="toPracticePage(plan, 'yesterday')" l...
看文档需要在uni-list-item 中增加link 有效代码 <uni-list><uni-list-itemtitle="关于我们"showArrow@click="gotoPage()"link></uni-list-item><uni-list-itemtitle="联系客服"note="9:00-21:00"showArrow@click="handleDialog()"></uni-list-item></uni-list> 增加后问题解决...
index) in itemList":key="index"><templatev-slot:body><view@click="goItem(item.id)"v-if="item.id==5"style="border-radius: 20rpx; min-height:160rpx;margin-top:20rpx;width:690rpx;margin-left:30rpx;margin-right:30rpx;background: #ffeeee;display: flex;flex-direction: row;"><imagesty...
<viewclass="item-background-style"v-for="(item,idx) in itemImagesList":key="idx"v-if="idx%2==0"> <!-- 左边的 --> <viewclass="item-images-style"@click="getImageItem(itemImagesList[idx])"> <image:src="itemImagesList[idx].url"></image> </view> <!-- 右边的 --> <viewcla...
{item.stats}}</view></view></view></view></view></view></view><viewclass="cardcont"><viewclass="circle"@click="clickTest">上班打卡</view></view></view></template>exportdefault{data(){return{productList:[{image:'https://img-cdn-qiniu.dcloud.net.cn/uploads/example/product1....
clickId: "", // 点击左侧菜单右侧菜单滑动 currentIndex: 0, // 点击左侧添加样式 topList: [], } }, onReady() { this.getNodesInfo(); }, methods: { setClickId(index) { this.clickId = "cur" + index; this.currentIndex = index; ...
itemStyle菜单item的样式String | Object{ height: '44px' }- scrollable菜单是否可滚动Booleantruefalse current当前选中标签的索引String | Number0- keyName从list元素对象中读取的键名Stringname- #Events 事件名说明回调参数版本 click点击标签时触发index: 标签索引值,item: 传入的其他值- ...
uniapp ios14无法触发click pages.json里面配置: condition启动模式配置:启动模式配置,仅在开发期间生效,用于模拟直达页面的场景,如小程序转发后,用户点击所打开的页面 "condition":{ "current":0, "list":[ { "name":"新闻页", "path":"subpages/news/news",...
问题描述 [问题描述:尽可能简洁清晰地把问题描述清楚] 微信小程序端uni-list、uni-list-item使用v-for循环渲染报错 但是不使用v-for循环渲染不报错。 其他端正常【H5、Android下通过】 复现步骤 [复现问题的步骤] demo如下 <template> <view> <!-- 在v-for循环中使用会报错
dialogClick: function(res) { console.log('点击了dialog') }, // 选择 btnChoiceClick: function(position) { var _this = this // _this.choiceIndex = position _this.isShowChoice = false _this.currentItemValue = _this.choiceList[position].name ...