<view class="buy">
    <view class="carousel">

        <view class="buylist">
            <image src="{{List.img}}"></image>
            <view class="buylist_center">
                <view>{{List.goods_name}}</view>
                <view class="buylist_guige">{{List.gui_str}}
                </view>
                <view>¥ <p style="color: #fe4005;font-size:36rpx">{{List.goods_price}}</p></view>
            </view>
            <view class="shubox">
                <view class="jian right" bindtap="getJian">
                    <image src="/images/icon_jian1@2x.png"></image>
                </view>
                <view class="boxshu">{{num}}</view>
                <view class="jian left" bindtap="getJia">
                    <image src="/images/icon_jia2@2x.png"></image>
                </view>
            </view>

        </view>

        <!-- <swiper bindchange="chageGoods" class='read_swiper' circular="true" indicator-color="#fff" indicator-dots
            autoplay="{{swiper.autoplay}}" interval duration="{{swiper.duration}}" current="{{swiper.current}}">
            <block wx:for="{{imgUrls}}" wx:key="index">
                <swiper-item>
                    <image src="{{item.img}}" class="slide-image"></image>
                </swiper-item>
            </block>
        </swiper> -->
        <!-- <view class="ingright" bindtap='prevImg' wx:if="{{isright}}">
            <image src="/images/icon_more@2x.png"></image>
        </view>

        <view class="ingleft" bindtap='nextImg' wx:if="{{isleft}}">
            <image src="/images/icon_more@2xl.png"></image>
        </view> -->
    </view>
    <view class="box">
        <!-- <view class="shul">
            <view class="shulname">{{spname}}</view>
            <view class="shubox">
                <view class="jian" bindtap="getJian">
                    <image src="/images/icon_jian1@2x.png"></image>
                </view>
                <view class="boxshu">{{num}}</view>
                <view class="jian" bindtap="getJia">
                    <image src="/images/icon_jia2@2x.png"></image>
                </view>
            </view>
        </view> -->
        <view class="box2">
            <view class="boxList">
                <view class="boxlname">收件人</view>
                <input placeholder-class="input-placeholder" value="{{name}}" bindinput="getName" class="inupt_in"
                    placeholder="请输入收件人姓名"></input>
            </view>
            <view class="boxList">
                <view class="boxlname">联系电话</view>
                <input class="inupt_in" type="number" value="{{phone}}" bindinput="getPhone" maxlength="11"
                    placeholder="请输入联系电话"></input>
            </view>

            <view class="boxList">
                <view class="boxlname">所在地区</view>
                <picker class="inupt_in" mode="region" bindchange="bindRegionChange" value="{{region}}"
                    custom-item="{{customItem}}">
                    <view class="inupt_in pickerBox">
                        <view wx:if="{{address == ''}}" class="picker">
                            请选择所在地区
                        </view>
                        <view wx:else class="picker_selected">{{address}}
                        </view>
                        <image src="/images/icon_small_more@2x.png"></image>
                    </view>
                </picker>
            </view>
            <view class="boxList">
                <view class="boxlname">详细地址</view>
                <input value="{{detailed}}" bindinput="getDetailed" class="inupt_in" placeholder="请输入详细地址"></input>
            </view>
        </view>
        <view class="user_aggre">
            <image bindtap='agree_change' wx:if="{{agree}}" class="user_img" src="/images/icon_s_circle@2x.png"></image>
            <image bindtap='agree_change' wx:else="{{agree}}" class="user_img" src="/images/icon_n_circle@2x.png">
            </image>

            已了解 <span bindtap='agreement'>《用户协议》</span>
        </view>
    </view>
    <view class="bottom">
        <view class="heji">
            <text class="hui"> 合计</text>
            <text class="jge">¥{{zhong}}</text>
            <text wx:if="{{yun==0}}" class="bao">(包邮)</text>
            <text wx:else class="bao">(运费¥{{yun}})</text>
        </view>
        <view wx:if="{{canpay==1}}" bindtap="xiaOrder" class="botton">立即支付</view>
        <view wx:if="{{canpay==0}}" bindtap="" class="botton fade">立即支付</view>
    </view>
</view>