Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 点击哪个就让哪个背景变色

0 votes
343 views
1 answer
    <view class="item" style="{{index==current?'active':''}}" wx:for="{{list.dataList}}" bindtap="changeItem" data-index= ... ({ current: index }) } .active{ background-color: blue; }...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...