<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no,email=no" />
<title>提交订单页</title>
<link href="css/mui.min.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<link href="css/mui.listpicker.css" rel="stylesheet" />
<link href="css/mui.poppicker.css" rel="stylesheet" />
<style>.mui-poppicker.mui-active{z-index: 1001;}.mui-poppicker.mui-active~.mui-backdrop{ z-index: 1000;}</style>
</head>
<body>
<header class="mui-bar mui-bar-nav">
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
<h1 class="mui-title">提交订单</h1>
</header>
<div class="mui-content transparent">
<div id="orderSubmit" class="order-submit"></div>
</div>
<div class="cart-bottom transparent">
<p class="order-price-total">共<em id="OrderCount">0</em>件,总金额<span id="OrderAmount" data-OrderAmount=""></span></p>
<a class="submit-cart" id="submitBtn">提交订单</a>
</div>
<div id="dcontent" class="dcontent"></div>
<div id="payWayBox" class="screen-box">
<div class="screen-list" id="payWayTeam"></div>
<div class="screen-enter">
<a class="custom-btn" id="payWayChoose">确 定</a>
</div>
</div>
<!--优惠券弹框-->
<div id="dialogCoupon" class='dialog'>
<div class='dialog-title'>
<div class='text'>选择优惠券</div>
<i class='mui-icon mui-icon-closeempty'></i>
</div>
<div class='dialog-content'>
<ul class='coupon-chooselist' id="couponList"></ul>
</div>
</div>
<div id="J_assets_layer" class="cover"></div>
<div class="box1 lh24 steponeee" id="stepone" style="display:none">
<span class="close"></span>
<form>
<h3 class="title_txt cur">请设置支付密码</h3>
<div class="item">
<div>
<input type="password" placeholder="请输入支付密码" value="" id="firstPwd" name="userVo.realName" maxlength="20" class="form-control itxt fl">
</div>
</div>
<div class="item">
<div>
<input type="password" placeholder="请再次输入支付密码" value="" id="secondPwd" name="userVo.realName" maxlength="20" class="form-control itxt fl">
</div>
</div>
<div class="item">
<div>
<a id="submitPwd" class="btn btn-primary">提交</a>
</div>
</div>
</form>
</div>
<script src="js/jquery-1.12.0.min.js" ></script>
<script src="js/mui.min.js"></script>
<script src="js/delayimg.min.js"></script>
<script src="js/app.js"></script>
<script src="js/md5.js"></script>
<script src="js/template.js"></script>
<script src="js/mui.listpicker.js"></script>
<script src="js/mui.poppicker.js"></script>
<script src="js/CommonJS.js"></script>
<script>
mui.init({
swipeBack: true
});
var w,
cartItemId,
skuIdCount,
fightGroup,
shopBranchId,
VirtualProductItems,
isVirtual,
isShopBranch,
orderData,
orderUrl,
payPwd,
integral = 0,
usebalnace = 0,
capital = 0,
couponIds = [],
isCashOnDelivery = false,
pays = {},
mask,
payOrderId,
loadPage,
ws,
integralCanUse = 0,
userkey = himall.getState().userkey,
products,
capitalSwitch = false,
integralSwitch = false,
onlineCodPay,
onlinePay,
RegionId,
IsCashOnDelivery,
userIntegrals,
canIntegralPerMoney,
canCapital,
integralPerMoney,
integralPerMoneyRate,
payWayBox = document.getElementById('payWayBox');
var tagCacheKey = 'tagCacheKey',
sbCacheKey = 'ChoseShopBranch.Value';
himall.immersedSide();
mui.plusReady(function() {
plus.storage.removeItem("remarkList");
plus.storage.removeItem("invoiceList");
ws = plus.webview.currentWebview();
cartItemId = ws.cartItemId;
skuIdCount = ws.skuIdCount;
fightGroup = ws.fightGroup;
VirtualProductItems =ws.VirtualProductItems;
isVirtual=ws.isVirtual||false;
isShopBranch=ws.isShopBranch;
if(cartItemId) {
orderData = {
cartItemIds: cartItemId
};
orderUrl = 'api/Order/GetSubmitByCartModel';
if(isShopBranch){
orderUrl = 'api/BranchOrder/GetSubmitByCartModel';
}
} else if(skuIdCount) {
orderData = JSON.parse(skuIdCount);
orderUrl = 'api/Order/GetSubmitModel';
if(isShopBranch){
orderUrl = 'api/BranchOrder/GetSubmitModel';
}
} else if(fightGroup) {
orderData = JSON.parse(fightGroup);
orderUrl = 'api/Order/GetGroupOrderModel';
}
orderData.userkey = userkey;
loadPage = function(params) {
orderData.couponIds = couponIds.join(',');
w = plus.nativeUI.showWaiting('', {padlock: true});
mui.ajax(URL + orderUrl, {
dataType: 'json',
data: himall.md5Data(orderData),
type: 'get',
timeout: 20000,
success: function(data) {
if(!data.success) {
plus.nativeUI.toast(data.msg);
w.close();
setTimeout(function() {
ws.close('none');
}, 1000);
return;
}
products = data.products;
RegionId = data.Address==null?0:data.Address.RegionId;
IsCashOnDelivery = data.IsCashOnDelivery;
userIntegrals = data.userIntegrals > 0 ? data.userIntegrals : 0;
integralPerMoney = data.userIntegralMaxDeductible;
integralPerMoneyRate = data.integralPerMoneyRate;
canIntegralPerMoney=data.canIntegralPerMoney;
canCapital=data.canCapital;
integralCanUse = integralPerMoney * integralPerMoneyRate;
if(integralCanUse > userIntegrals) {
integralCanUse = userIntegrals;
}
integralCanUse=Math.ceil(integralCanUse);
data.fightGroup = fightGroup; //是否为拼团
data.isVirtual = isVirtual; //是否为虚拟商品
data.isShopBranch = isShopBranch; //是否为门店商品
if(isShopBranch){
shopBranchId = data.shopBranchInfo.Id;
}
//支付方式可选计算
onlineCodPay = '';
onlinePay = '';
var len=0;
for(var i = 0; i < data.products.length; i++) {
var item = data.products[i];
item.skuIdArr = [];
item.countArr = [];
item.productIds = [];
for(var j = 0; j < item.CartItemModels.length; j++) {
item.skuIdArr.push(item.CartItemModels[j].skuId);
item.countArr.push(item.CartItemModels[j].count);
item.productIds.push(item.CartItemModels[j].id);
len+=item.CartItemModels[j].count;
if(item.CartItemModels[j].IsSelf) {
onlineCodPay += '<li><img src="' + item.CartItemModels[j].imgUrl + '"></li>';
} else {
onlinePay += '<li><img src="' + item.CartItemModels[j].imgUrl + '"></li>';
}
}
}
document.getElementById('orderSubmit').innerHTML = template('initData', data);
var OrderAmount = document.getElementById('OrderAmount');
delayimg.init();
OrderAmount.innerText = '¥ ' + data.orderAmount.toFixed(2);
OrderAmount.setAttribute("data-OrderAmount", data.orderAmount.toFixed(2));
document.getElementById('OrderCount').innerText =len;
w.close();
himall.removeClass(document.querySelector('.mui-content'), 'transparent');
himall.removeClass(document.querySelector('.cart-bottom'), 'transparent');
//回显选择的门店信息
if(params){
window.localStorage.removeItem(tagCacheKey);
}
getChooseShop();
//门店是否允许自提
allowSelf();
//回显发票信息和留言
initLeaveMsgAndBill();
CalcPrice();
mui('#useIntegral').switch();
mui('#capitalAmount').switch();
var province = {}, city
没有合适的资源?快使用搜索试试~ 我知道了~
himall3.3 APP和小程序.rar
共818个文件
png:246个
html:124个
js:119个
需积分: 9 17 下载量 120 浏览量
2020-03-22
12:58:22
上传
评论 1
收藏 16.06MB RAR 举报
温馨提示
N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码N0308_Himall3.3源码
资源推荐
资源详情
资源评论
收起资源包目录
himall3.3 APP和小程序.rar (818个子文件)
.confirmed_dependencies 34KB
.confirmed_dependencies 3KB
style.css 164KB
style.css 87KB
mui.min.css 74KB
mui.min.css 67KB
account.css 4KB
account.css 4KB
mui.listpicker.css 2KB
mui.listpicker.css 2KB
mui.poppicker.css 1KB
mui.poppicker.css 1KB
.dependencies 4B
.dependencies 4B
ios开发者账号申请.doc 1.88MB
小程序微信支付配置.doc 1.6MB
腾讯开放平台操作文档.doc 916KB
华为应用市场申请文档.doc 855KB
微信APP支付配置文档.doc 564KB
Himall APP开发客户需要提供资料(最新).doc 466KB
360手机组手上架申请.doc 449KB
微信开放平台操作文档.doc 426KB
小程序在线客服接入以及使用.doc 372KB
百度地图申请文档.doc 280KB
小程序上架发布流程.docx 1.43MB
小程序SSL证书申请及绑定操作.docx 654KB
达达物流配置.docx 499KB
小程序模板消息配置指南.docx 422KB
locating.gif 37KB
loading.gif 381B
blank.gif 49B
blank.gif 49B
order-submit.html 63KB
product-detail.html 46KB
merge-detail.html 41KB
address-edit.html 27KB
cart.html 25KB
seller-product.html 24KB
product.html 24KB
order-detail.html 24KB
store-product-detail.html 23KB
order-list.html 22KB
stores.html 20KB
order-list.html 17KB
user-assets.html 17KB
address-add.html 17KB
store-search.html 16KB
index.html 16KB
search.html 15KB
goods-repertory.html 14KB
goods-deliver.html 14KB
store-tag.html 14KB
usercenter.html 12KB
store-choose-address.html 12KB
store-home.html 12KB
logistics.html 11KB
check-order.html 11KB
order-details.html 11KB
order-refund.html 11KB
reg.html 11KB
order-refund-list.html 10KB
product-detail.html 10KB
integral-home.html 9KB
printSet.html 9KB
verify-record.html 9KB
withdraw-apply.html 9KB
merge-personal-detail.html 9KB
refund-list.html 9KB
merge-personal-list.html 9KB
index.html 9KB
store.html 9KB
order-express.html 9KB
paypwd-forget.html 9KB
store-list.html 9KB
account-nosettled.html 9KB
password-forget.html 8KB
vshop-search.html 8KB
address.html 8KB
user-coupon.html 8KB
account-inout.html 8KB
order-refund-detail.html 8KB
refund-detail.html 8KB
integral-order.html 7KB
verify-detail.html 7KB
vshop.html 7KB
shop-info.html 7KB
forget-password.html 7KB
account-settled.html 7KB
order-evaluate.html 7KB
home.html 7KB
vshop-detail.html 7KB
integral-order-detail.html 7KB
login.html 6KB
bind-phone.html 6KB
message.html 6KB
integral-detail.html 6KB
setRepertory.html 6KB
category.html 6KB
user-favshop.html 6KB
order-choose-store.html 6KB
共 818 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
oXinXie
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python删除数据中的异常值,要删除异常值,必须遵循相同的过程,即使用条目在数据集中的确切位置从数据集中删除条目
- 外部前端开发环境行内式
- 数通初级:VLAN 基础实验使用
- 海洋检测15-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord数据集合集.rar
- Python Turtle模块实现动态烟花效果演示程序
- Python编程实现旋转动态雪花与圣诞树图形模拟
- 海洋垃圾检测55-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
- 按 Fortran 顺序显示 Numpy 数组
- 网络唤醒软件 WakeOnLan Gui.exe 非常实用 好用
- 海洋垃圾检测53-COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功