<view class="page">
    <view class="page-bd">
        <view class="goods">
            <view class="tabs" bindtap="changeTab">
                <view class="tab {{selected === index ? 'active' : ''}}" data-name="{{item}}" wx:for="{{tabs}}">{{item}}</view>
            </view>
            <view class="details">
                <view class="cards">
                    <view class="card" wx:for="{{goods}}" bindtap="toDetail" data-id="{{item.id}}">
                        <image class="goods-img" src="{{item.photo}}"></image>
                        <view class="card-name">{{item.name}}</view>
                        <view class="price">￥{{item.price}}</view>
                    </view>
                    <!-- <view class="card">
                        <image class="goods-img" src="/img/demo/order-img.png"></image>
                        <view class="card-name">婴儿抱娃神器</view>
                        <view class="price">￥79.00</view>
                    </view> -->
                </view>
            </view>
        </view>
    </view>
</view>