Applet in real-time changes in the value of a variable in a way that only data binding
<view class="container detail-container">
<view class="detail-header-box"></view>
<view class="fixed-btns-box">
<view class="fixed-cart">
<image src="../../imgs/icon/[email protected]"></image>
</view>
</view>
<view class="detail-topic-img">
<image src="{{product.main_img_url}}" model="aspectFit"></image>
</view>
<view class="cart-box">
<view class="product-counts"></view>
<view class="middle-border"></view>
<view class="add-cart-btn"></view>
</view>
<view clsaa="basic-info-box"></view>
<view class="detail-bottom-box"></view>
</view>
Picker Components
<picker range="{{countArr}}" value=>
<view>
<text class="counts-tips">数量</text>
<text class="counts-data">{{productCounts}}</text>
<image class="counts-icon" src="../../imgs/icon/[email protected]"></image>
</view>
</picker>