521 lines
27 KiB
HTML
Executable File
521 lines
27 KiB
HTML
Executable File
{{include file="public/header" /}}
|
||
|
||
<!-- header top nav -->
|
||
{{include file="public/header_top_nav" /}}
|
||
|
||
<!-- search -->
|
||
{{include file="public/nav_search" /}}
|
||
|
||
<!-- header nav -->
|
||
{{include file="public/header_nav" /}}
|
||
|
||
<!-- goods category -->
|
||
{{include file="public/goods_category" /}}
|
||
|
||
<!-- 订单确认页面顶部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_top</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_top_data) and is_array($plugins_view_buy_top_data)}}
|
||
{{foreach $plugins_view_buy_top_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- content -->
|
||
<div class="am-container">
|
||
<div class="link-list">
|
||
<!-- 订单确认页面内部顶部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_inside_top</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_inside_top_data) and is_array($plugins_view_buy_inside_top_data)}}
|
||
{{foreach $plugins_view_buy_inside_top_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- 销售型 - 用户地址 -->
|
||
{{if $common_site_type eq 0}}
|
||
<div class="address">
|
||
<div class="control">
|
||
<h3>
|
||
<span>确认收货地址</span>
|
||
<button type="button" class="am-close am-fr mobile-address-close-submit">×</button>
|
||
</h3>
|
||
{{if !empty($user_address_list)}}
|
||
<button class="am-btn am-btn-primary am-btn-xs address-submit-save" type="button" data-url="{{:MyUrl('index/useraddress/saveinfo')}}" data-popup-title="新增地址">使用新地址</button>
|
||
{{/if}}
|
||
</div>
|
||
{{if !empty($user_address_list)}}
|
||
<ul class="address-list">
|
||
{{foreach $user_address_list as $address}}
|
||
<li class="{{if (isset($params['address_id']) and $params['address_id'] eq $address['id']) or (!isset($params['address_id']) and isset($address['is_default']) and $address['is_default'] eq 1) or (count($user_address_list) eq 1)}}address-default{{/if}}" id="data-list-{{$address.id}}" data-value="{{$address.id}}">
|
||
<div class="address-left">
|
||
<div class="user-base">
|
||
{{if !empty($address.alias)}}
|
||
<span class="am-badge am-badge-danger am-radius">{{$address.alias}}</span>
|
||
{{/if}}
|
||
{{if isset($address['is_default']) and $address['is_default'] eq 1}}
|
||
<span class="am-badge am-badge-success am-radius">默认</span>
|
||
{{/if}}
|
||
<span class="address-detail">
|
||
<span class="user">{{$address.name}}</span>
|
||
<span class="phone">{{$address.tel}}</span>
|
||
</span>
|
||
</div>
|
||
<div class="region">
|
||
<span class="province">{{$address.province_name}}</span>
|
||
<span class="city">{{$address.city_name}}</span>
|
||
<span class="dist">{{$address.county_name}}</span>
|
||
<span class="street">{{$address.address}}</span>
|
||
</div>
|
||
</div>
|
||
<div class="address-right">
|
||
<span class="am-icon-angle-right am-icon-md"></span>
|
||
</div>
|
||
<div class="address-operation-btn">
|
||
<a href="javascript:;" class="am-icon-check-circle-o address-default-submit" data-url="{{:MyUrl('index/useraddress/setdefault')}}" data-id="{{$address.id}}" data-view="reload"> 设为默认</a>
|
||
<span class="cut">|</span>
|
||
<a href="javascript:;" class="am-icon-edit address-submit-save" data-url="{{:MyUrl('index/useraddress/saveinfo', ['id'=>$address['id']])}}" data-popup-title="编辑地址"> 编辑</a>
|
||
<span class="cut">|</span>
|
||
<a href="javascript:;" class="am-icon-trash-o address-submit-delete" data-url="{{:MyUrl('index/useraddress/delete')}}" data-id="{{$address.id}}"> 删除</a>
|
||
</div>
|
||
</li>
|
||
{{/foreach}}
|
||
</ul>
|
||
{{else /}}
|
||
<div class="table-no">
|
||
<i class="am-icon-warning"></i>
|
||
<span>没有地址</span>
|
||
<button class="am-btn am-btn-secondary am-btn-xs am-margin-left-sm address-submit-save" type="button" data-url="{{:MyUrl('index/useraddress/saveinfo')}}" data-popup-title="新增地址">使用新地址</button>
|
||
</div>
|
||
{{/if}}
|
||
</div>
|
||
|
||
<!-- 自提点 - 自提地址 -->
|
||
{{elseif $common_site_type eq 2 /}}
|
||
<div class="address extraction-address">
|
||
<div class="control">
|
||
<h3>确认自提点地址</h3>
|
||
{{if !empty($base['address'])}}
|
||
<button type="button" class="am-btn am-btn-default am-btn-secondary am-radius" data-am-modal="{target: '#extraction-address-popup'}">选择地址</button>
|
||
{{/if}}
|
||
</div>
|
||
{{if empty($base['extraction_address'])}}
|
||
<p class="am-text-danger am-text-center am-margin-top-lg">请联系管理员配置自提点地址</p>
|
||
{{else /}}
|
||
<!-- 选中地址 -->
|
||
{{if !empty($base['address'])}}
|
||
<div class="am-panel am-panel-default extraction-default">
|
||
<div class="am-panel-bd extraction-address-item am-cf am-vertical-align">
|
||
<div class="first-icon am-fl am-vertical-align-middle">
|
||
<i class="am-icon-map-marker"></i>
|
||
</div>
|
||
<div class="am-fl am-vertical-align-middle">
|
||
<p>
|
||
{{if !empty($base['address']['alias'])}}
|
||
<span class="am-badge am-badge-secondary am-radius am-margin-right-xs">{{$base.address.alias}}</span>
|
||
{{/if}}
|
||
<span>{{$base.address.name}}</span>
|
||
<span>{{$base.address.tel}}</span>
|
||
</p>
|
||
<p class="address-detail">
|
||
<span>{{$base.address.province_name}}</span>
|
||
<span>{{$base.address.city_name}}</span>
|
||
<span>{{$base.address.county_name}}</span>
|
||
<span>{{$base.address.address}}</span>
|
||
</p>
|
||
</div>
|
||
<div class="address-right">
|
||
<span class="am-icon-angle-right am-icon-md"></span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{{else /}}
|
||
<div class="table-no">
|
||
<i class="am-icon-warning"></i>
|
||
<span>没有地址</span>
|
||
<button type="button" class="am-btn am-btn-default am-btn-secondary am-radius am-margin-left-sm" data-am-modal="{target: '#extraction-address-popup'}">选择地址</button>
|
||
</div>
|
||
{{/if}}
|
||
|
||
<!-- 自提地址选择弹层 -->
|
||
<div class="am-popup" id="extraction-address-popup">
|
||
<div class="am-popup-inner">
|
||
<div class="am-popup-hd">
|
||
<h4 class="am-popup-title">自提点选择</h4>
|
||
<span class="am-close" data-am-modal-close>×</span>
|
||
</div>
|
||
<div class="am-popup-bd">
|
||
<ul class="am-list">
|
||
{{foreach $base.extraction_address as $key=>$address}}
|
||
<li class="extraction-address-item" data-value="{{$key}}">
|
||
<p>
|
||
{{if !empty($address['alias'])}}
|
||
<span class="am-badge am-badge-secondary am-radius am-margin-right-xs">{{$address.alias}}</span>
|
||
{{/if}}
|
||
<span>{{$address.name}}</span>
|
||
<span>{{$address.tel}}</span>
|
||
</p>
|
||
<p class="address-detail">
|
||
<span>{{$address.province_name}}</span>
|
||
<span>{{$address.city_name}}</span>
|
||
<span>{{$address.county_name}}</span>
|
||
<span>{{$address.address}}</span>
|
||
<a class="am-badge am-radius extraction-address-map-submit am-icon-map-marker am-margin-left-sm" data-lng="{{$address.lng}}" data-lat="{{$address.lat}}"> 查看地图</a>
|
||
</p>
|
||
{{if !isset($params['address_id']) or $params['address_id'] neq $key}}
|
||
<button type="button" class="am-btn am-btn-default am-radius" data-value="{{$key}}">选择</button>
|
||
{{/if}}
|
||
</li>
|
||
{{/foreach}}
|
||
</ul>
|
||
<!-- 地图 -->
|
||
<div class="extraction-address-map-container">
|
||
<div class="am-text-center map-inner">
|
||
<span class="map-title">地图位置</span>
|
||
<button type="button" class="am-close am-fr am-close-spin">×</button>
|
||
</div>
|
||
<div id="map"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{{/if}}
|
||
</div>
|
||
{{/if}}
|
||
|
||
<!-- 订单确认页面地址底部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_address_bottom</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_address_bottom_data) and is_array($plugins_view_buy_address_bottom_data)}}
|
||
{{foreach $plugins_view_buy_address_bottom_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- 支付方式 -->
|
||
{{if $common_order_is_booking neq 1}}
|
||
<div class="buy-items business-item payment" data-field="payment_id">
|
||
<h3>选择支付</h3>
|
||
{{if !empty($payment_list)}}
|
||
<ul class="payment-list">
|
||
{{foreach $payment_list as $payment}}
|
||
<li data-value="{{$payment.id}}" class="{{if isset($params['payment_id']) and $params['payment_id'] eq $payment['id']}}selected{{/if}}">
|
||
{{if !empty($payment.logo)}}
|
||
<img src="{{$payment.logo}}" />
|
||
{{/if}}
|
||
<span>{{$payment.name}}</span>
|
||
<i class="icon-active"></i>
|
||
</li>
|
||
{{/foreach}}
|
||
</ul>
|
||
{{/if}}
|
||
{{if empty($payment_list)}}
|
||
<div class="table-no"><i class="am-icon-warning"></i> 没有支付方式</div>
|
||
{{/if}}
|
||
</div>
|
||
{{/if}}
|
||
|
||
<!-- 订单确认页面支付方式底部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_payment_bottom</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_payment_bottom_data) and is_array($plugins_view_buy_payment_bottom_data)}}
|
||
{{foreach $plugins_view_buy_payment_bottom_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- 商品明细 -->
|
||
<div class="buy-items goods-items">
|
||
<h3>商品明细</h3>
|
||
{{if !empty($goods_list)}}
|
||
<table class="am-table">
|
||
<thead>
|
||
<tr>
|
||
<th>商品信息</th>
|
||
<th class="am-hide-sm-only">单价</th>
|
||
<th class="am-hide-sm-only">数量</th>
|
||
<th class="am-hide-sm-only">金额</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
{{foreach $goods_list as $goods}}
|
||
<tr id="data-list-{{$goods.id}}" data-id="{{$goods.id}}" data-goods-id="{{$goods.goods_id}}">
|
||
<td class="base">
|
||
<div class="goods-detail">
|
||
<a href="{{$goods.goods_url}}" target="_blank">
|
||
<img src="{{$goods.images}}">
|
||
</a>
|
||
<div class="goods-base">
|
||
<a href="{{$goods.goods_url}}" target="_blank" class="goods-title">{{$goods.title}}</a>
|
||
{{if !empty($goods.spec)}}
|
||
<ul class="goods-attr">
|
||
{{foreach $goods.spec as $spec}}
|
||
<li>{{$spec.type}}:{{$spec.value}}</li>
|
||
{{/foreach}}
|
||
</ul>
|
||
{{/if}}
|
||
</div>
|
||
</div>
|
||
<div class="wap-base am-show-sm-only">
|
||
{{if $goods['original_price'] gt 0}}
|
||
<span class="original-price">¥{{$goods.original_price}}</span>
|
||
{{/if}}
|
||
<strong class="total-price-content">¥{{$goods.price}}</strong>
|
||
<span class="wap-number">x{{$goods.stock}}</span>
|
||
</div>
|
||
</td>
|
||
<td class="price am-hide-sm-only">
|
||
{{if $goods['original_price'] gt 0}}
|
||
<p class="original-price">¥{{$goods.original_price}}</p>
|
||
{{/if}}
|
||
<p class="line-price">¥{{$goods.price}}</p>
|
||
</td>
|
||
<td class="number am-hide-sm-only">
|
||
{{$goods.stock}} {{$goods.inventory_unit}}
|
||
</td>
|
||
<td class="total-price am-hide-sm-only">
|
||
<strong class="total-price-content">¥{{$goods.total_price}}</strong>
|
||
</td>
|
||
</tr>
|
||
{{/foreach}}
|
||
</tbody>
|
||
</table>
|
||
|
||
<!-- 含运费小计 -->
|
||
<div class="buy-point-discharge">
|
||
<p>
|
||
合计 <span>¥</span><em class="pay-sum">{{$base.total_price}}</em>
|
||
</p>
|
||
</div>
|
||
{{else /}}
|
||
<div class="table-no"><i class="am-icon-warning"></i> 没有商品</div>
|
||
{{/if}}
|
||
</div>
|
||
|
||
<!-- 订单确认页面商品底部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_goods_bottom</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_goods_bottom_data) and is_array($plugins_view_buy_goods_bottom_data)}}
|
||
{{foreach $plugins_view_buy_goods_bottom_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- 留言 -->
|
||
<div class="buy-message">
|
||
<div class="order-extra">
|
||
<div class="order-user-info">
|
||
<div class="memo">
|
||
<label>买家留言:</label>
|
||
<input type="text" title="选填,对本次交易的说明(建议填写已经和卖家达成一致的说明)" placeholder="选填,建议填写和卖家达成一致的说明" class="memo-input">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 订单确认页面用户留言底部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_user_note_bottom</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_user_note_bottom_data) and is_array($plugins_view_buy_user_note_bottom_data)}}
|
||
{{foreach $plugins_view_buy_user_note_bottom_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- 扩展展示数据 -->
|
||
{{if !empty($extension_data)}}
|
||
<ul class="buy-extension-data">
|
||
{{foreach $extension_data as $ext}}
|
||
<li>
|
||
<span class="extension-items-name">{{$ext.name}}</span>
|
||
<span class="am-fr extension-items-tips">{{$ext.tips}}</span>
|
||
</li>
|
||
{{/foreach}}
|
||
</ul>
|
||
{{/if}}
|
||
|
||
<!-- 订单确认页面订单确认信息顶部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_base_confirm_top</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_base_confirm_top_data) and is_array($plugins_view_buy_base_confirm_top_data)}}
|
||
{{foreach $plugins_view_buy_base_confirm_top_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- 基础信息 -->
|
||
<div class="order-nav">
|
||
<div class="pay-confirm">
|
||
<div class="box">
|
||
<div class="base-real-pay">
|
||
<em>实付款:</em>
|
||
<span class="price">
|
||
<span>¥</span>
|
||
<em class="nav-total-price">{{$base.actual_price}}</em>
|
||
</span>
|
||
</div>
|
||
|
||
<!-- 销售模式+自提模式 显示地址 -->
|
||
{{if in_array($common_site_type, [0,2])}}
|
||
<div class="pay-address">
|
||
<div class="buy-footer-address">
|
||
<span class="buy-line-title buy-line-title-type">地址:</span>
|
||
<span class="buy-address-detail">
|
||
{{if !empty($base['address'])}}
|
||
{{$base.address.province_name}} {{$base.address.city_name}} {{$base.address.county_name}} {{$base.address.address}}
|
||
{{else /}}
|
||
...
|
||
{{/if}}
|
||
</span>
|
||
</div>
|
||
<div class="buy-footer-address">
|
||
<span class="buy-line-title">联系人:</span>
|
||
<span class="buy-user">
|
||
{{if !empty($base['address'])}}
|
||
{{$base.address.name}}
|
||
{{else /}}
|
||
...
|
||
{{/if}}
|
||
</span>
|
||
<span class="buy-phone">
|
||
{{if !empty($base['address'])}}
|
||
{{$base.address.tel}}
|
||
{{else /}}
|
||
...
|
||
{{/if}}
|
||
</span>
|
||
</div>
|
||
</div>
|
||
{{/if}}
|
||
</div>
|
||
<form class="am-form form-validation nav-buy" action="{{:MyUrl('index/buy/add')}}" method="post" class="nav-buy" request-type="ajax-fun" request-value="BuySubmitBack" data-site-type="{{$common_site_type}}" data-is-booking="{{$common_order_is_booking}}">
|
||
<input type="hidden" name="goods_id" value="{{if isset($params['goods_id'])}}{{$params.goods_id}}{{else /}}0{{/if}}" />
|
||
<input type="hidden" name="buy_type" value="{{if isset($params['buy_type'])}}{{$params.buy_type}}{{else /}}goods{{/if}}" />
|
||
<input type="hidden" name="stock" value="{{if isset($params['stock'])}}{{$params.stock}}{{else /}}1{{/if}}" />
|
||
<input type="hidden" name="spec" value='{{if isset($params['spec'])}}{{$params.spec}}{{/if}}' />
|
||
<input type="hidden" name="ids" value="{{if isset($params['ids'])}}{{$params.ids}}{{/if}}" />
|
||
<input type="hidden" name="address_id" value="{{if isset($base['address']) and isset($base['address']['id'])}}{{$base.address.id}}{{else /}}{{if isset($params['address_id'])}}{{$params.address_id}}{{else /}}-1{{/if}}{{/if}}" />
|
||
<input type="hidden" name="payment_id" value="{{if isset($params['payment_id'])}}{{$params.payment_id}}{{else /}}0{{/if}}" />
|
||
<input type="hidden" name="user_note" value="" />
|
||
<!-- 订单确认页面提交订单表单内部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_form_inside</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_form_inside_data) and is_array($plugins_view_buy_form_inside_data)}}
|
||
{{foreach $plugins_view_buy_form_inside_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
<div class="go-btn-wrap">
|
||
<button type="submit" class="btn-go btn-loading-example" title="点击此按钮,提交订单" data-am-loading="{loadingText:'处理中...'}">提交订单</button>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 订单确认页面内部底部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_inside_bottom</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_inside_bottom_data) and is_array($plugins_view_buy_inside_bottom_data)}}
|
||
{{foreach $plugins_view_buy_inside_bottom_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 订单确认页面底部钩子 -->
|
||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||
<div class="plugins-tag">
|
||
<span>plugins_view_buy_bottom</span>
|
||
</div>
|
||
{{/if}}
|
||
{{if !empty($plugins_view_buy_bottom_data) and is_array($plugins_view_buy_bottom_data)}}
|
||
{{foreach $plugins_view_buy_bottom_data as $hook}}
|
||
{{if is_string($hook) or is_int($hook)}}
|
||
{{$hook|raw}}
|
||
{{/if}}
|
||
{{/foreach}}
|
||
{{/if}}
|
||
|
||
<!-- map -->
|
||
<script type="text/javascript" src="{{$Think.__MY_HTTP__}}://api.map.baidu.com/api?v=2.0&ak={{:MyC('common_baidu_map_ak')}}"></script>
|
||
|
||
<!-- footer start -->
|
||
{{include file="public/footer" /}}
|
||
<!-- footer end -->
|
||
|
||
<script type="text/javascript">
|
||
// 提交订单回调
|
||
function BuySubmitBack(e)
|
||
{
|
||
if(e.code == 0)
|
||
{
|
||
$.AMUI.progress.done();
|
||
if($(window).width() < 640)
|
||
{
|
||
PromptBottom(e.msg, 'success', null, 50);
|
||
} else {
|
||
PromptCenter(e.msg, 'success');
|
||
}
|
||
setTimeout(function()
|
||
{
|
||
window.location.href = e.data.jump_url;
|
||
}, 1500);
|
||
} else {
|
||
$('form.form-validation').find('button[type="submit"]').button('reset');
|
||
$.AMUI.progress.done();
|
||
if($(window).width() < 640)
|
||
{
|
||
PromptBottom(e.msg, null, null, 50);
|
||
} else {
|
||
PromptCenter(e.msg);
|
||
}
|
||
}
|
||
}
|
||
</script> |