确认订单页面及收银台页面调整
This commit is contained in:
@@ -10,8 +10,8 @@ import router from '../router'
|
|||||||
|
|
||||||
// 基础配置
|
// 基础配置
|
||||||
const config = {
|
const config = {
|
||||||
apiUrl : 'http://api.gl.shangkelian.cn/api/', // 正式环境
|
// apiUrl : 'http://api.gl.shangkelian.cn/api/', // 正式环境
|
||||||
// apiUrl : 'http://api.zh.shangkelian.cn/api/', // 大健康调试环境,目前没有任何数据无法正常显示,所以需要使用该环境,最后会删除
|
apiUrl : 'http://api.zh.shangkelian.cn/api/', // 大健康调试环境,目前没有任何数据无法正常显示,所以需要使用该环境,最后会删除
|
||||||
timeout : 60000
|
timeout : 60000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
"path": "pages/order/index",
|
"path": "pages/order/index",
|
||||||
"name": "Order",
|
"name": "Order",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单",
|
"navigationBarTitleText": "我的订单",
|
||||||
"navigationBarBackgroundColor": "#FFFFFF",
|
"navigationBarBackgroundColor": "#FFFFFF",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,104 +1,121 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<oct-pay
|
<oct-pay :price="price" :payNo="payNo" color="#34CE98" price-color="#e6576b" :payPlatform="platform"
|
||||||
:price="price"
|
@onPay="pay" />
|
||||||
:payNo="payNo"
|
</view>
|
||||||
color="#34CE98"
|
|
||||||
price-color="#e6576b"
|
|
||||||
:payPlatform="platform"
|
|
||||||
@onPay="pay"
|
|
||||||
/>
|
|
||||||
</view>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { wxPAY, alPAY } from '@/apis/interfaces/pay'
|
import {
|
||||||
export default {
|
wxPAY,
|
||||||
data() {
|
alPAY
|
||||||
return {
|
} from '@/apis/interfaces/pay'
|
||||||
payNo : "",
|
export default {
|
||||||
price : "",
|
data() {
|
||||||
platform: ['wxpay', 'alipay']
|
return {
|
||||||
}
|
payNo: "",
|
||||||
},
|
price: "",
|
||||||
mounted() {
|
platform: ['dtpay']
|
||||||
this.payNo = this.$Route.query.orderNo
|
}
|
||||||
this.price = Number(this.$Route.query.price).toFixed(2)
|
},
|
||||||
},
|
mounted() {
|
||||||
methods: {
|
this.payNo = this.$Route.query.orderNo
|
||||||
pay(e){
|
this.price = Number(this.$Route.query.price).toFixed(2)
|
||||||
uni.getProvider({
|
},
|
||||||
service: 'payment',
|
methods: {
|
||||||
success: res => {
|
pay(e) {
|
||||||
if(res.provider.findIndex(val => val === e.platform) < 0){
|
if (e.platform === 'dtpay') return this.getDTPAY(e.platform);
|
||||||
switch (e.platform){
|
uni.getProvider({
|
||||||
case 'wxpay':
|
service: 'payment',
|
||||||
uni.showToast({
|
success: res => {
|
||||||
title: '支付失败,您暂未安装微信',
|
if (res.provider.findIndex(val => val === e.platform) < 0) {
|
||||||
icon : 'none'
|
switch (e.platform) {
|
||||||
})
|
case 'wxpay':
|
||||||
break;
|
uni.showToast({
|
||||||
case 'alipay':
|
title: '支付失败,您暂未安装微信',
|
||||||
uni.showToast({
|
icon: 'none'
|
||||||
title: '支付失败,您暂未安装支付宝',
|
})
|
||||||
icon : 'none'
|
break;
|
||||||
})
|
case 'alipay':
|
||||||
break;
|
uni.showToast({
|
||||||
}
|
title: '支付失败,您暂未安装支付宝',
|
||||||
return
|
icon: 'none'
|
||||||
}
|
})
|
||||||
if(e.platform === 'wxpay') this.getWXPAY(e.platform)
|
break;
|
||||||
if(e.platform === 'alipay') this.getALPAY(e.platform)
|
}
|
||||||
}
|
return
|
||||||
})
|
}
|
||||||
},
|
if (e.platform === 'wxpay') this.getWXPAY(e.platform)
|
||||||
getALPAY(payType){
|
if (e.platform === 'alipay') this.getALPAY(e.platform)
|
||||||
alPAY(this.payNo).then(res => {
|
|
||||||
this.callPay(res, payType)
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getWXPAY(payType){
|
getDTPAY(){
|
||||||
wxPAY(this.payNo).then(res => {
|
console.log('dt 支付。。。')
|
||||||
let config = JSON.parse(res)
|
uni.showModal({
|
||||||
this.callPay(config, payType)
|
title:'当前DT积分不足',
|
||||||
})
|
content:'不能支付该订单,是否放弃当前支付',
|
||||||
},
|
confirmText:'立即充值',
|
||||||
callPay(orderInfo, payType){
|
confirmColor:"#34CE98",
|
||||||
uni.requestPayment({
|
cancelText:'放弃支付',
|
||||||
provider: payType,
|
cancelColor:"#666666",
|
||||||
orderInfo,
|
success: (res) => {
|
||||||
success: payRes => {
|
if(res.confirm){
|
||||||
uni.showModal({
|
|
||||||
title: '支付成功',
|
}else{
|
||||||
content: '订单已支付,我们将尽快为您安排发货,可在订单管理查询订单动态',
|
uni.navigateBack();
|
||||||
showCancel:false,
|
}
|
||||||
success:onRes => {
|
}
|
||||||
if(onRes.confirm){
|
})
|
||||||
if(this.$Route.query.oepnType === 'order'){
|
},
|
||||||
this.$store.commit('setRefresh', 1)
|
getALPAY(payType) {
|
||||||
}
|
alPAY(this.payNo).then(res => {
|
||||||
this.$Router.back()
|
this.callPay(res, payType)
|
||||||
}
|
})
|
||||||
}
|
},
|
||||||
})
|
getWXPAY(payType) {
|
||||||
},
|
wxPAY(this.payNo).then(res => {
|
||||||
fail: payErr => {
|
let config = JSON.parse(res)
|
||||||
if(payErr.errCode == '-100'){
|
this.callPay(config, payType)
|
||||||
uni.showToast({
|
})
|
||||||
title: '支付被取消',
|
},
|
||||||
icon : 'none'
|
callPay(orderInfo, payType) {
|
||||||
})
|
uni.requestPayment({
|
||||||
}else{
|
provider: payType,
|
||||||
uni.showToast({
|
orderInfo,
|
||||||
title: payErr.errMsg,
|
success: payRes => {
|
||||||
icon : 'none'
|
uni.showModal({
|
||||||
})
|
title: '支付成功',
|
||||||
}
|
content: '订单已支付,我们将尽快为您安排发货,可在订单管理查询订单动态',
|
||||||
}
|
showCancel: false,
|
||||||
})
|
success: onRes => {
|
||||||
}
|
if (onRes.confirm) {
|
||||||
}
|
if (this.$Route.query.oepnType === 'order') {
|
||||||
}
|
this.$store.commit('setRefresh', 1)
|
||||||
|
}
|
||||||
|
this.$Router.back()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
fail: payErr => {
|
||||||
|
if (payErr.errCode == '-100') {
|
||||||
|
uni.showToast({
|
||||||
|
title: '支付被取消',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: payErr.errMsg,
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<image class="order-cover" :src="item.items[0].cover" mode="aspectFill"></image>
|
<image class="order-cover" :src="item.items[0].cover" mode="aspectFill"></image>
|
||||||
<view class="order-title">{{item.items[0].title}}</view>
|
<view class="order-title">{{item.items[0].title}}</view>
|
||||||
<view class="order-count">
|
<view class="order-count">
|
||||||
<view class="order-price"><text>¥</text>{{item.items[0].price}}</view>
|
<view class="order-price">{{item.items[0].price}}<text class="type">DT积分</text></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
@@ -44,12 +44,12 @@
|
|||||||
<view class="block info-box">
|
<view class="block info-box">
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<view class="label">订单备注</view>
|
<view class="label">订单备注</view>
|
||||||
<textarea class="info-textarea" v-model="remark" placeholder="订单备注"></textarea>
|
<textarea class="info-textarea" v-model="remark" placeholder="请输入备注"></textarea>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<view class="order-footer">
|
<view class="order-footer">
|
||||||
<view class="total">总计:<text>¥{{total}}</text></view>
|
<view class="total">总计:<text>{{total}} <text class="type">DT积分</text></text></view>
|
||||||
<button class="btn" @click="subOrder">确认订单</button>
|
<button class="btn" @click="subOrder">确认订单</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -217,13 +217,17 @@
|
|||||||
padding-left: $margin;
|
padding-left: $margin;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
.order-price{
|
.order-price{
|
||||||
font-size: 30rpx;
|
font-size: 32rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $text-price;
|
color: $text-price;
|
||||||
&>text{
|
&>text{
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.type{
|
||||||
|
font-size: 22rpx;
|
||||||
|
padding-left: 6rpx;
|
||||||
|
}
|
||||||
.order-sum{
|
.order-sum{
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
@@ -289,6 +293,10 @@
|
|||||||
font-size: $title-size-lg;
|
font-size: $title-size-lg;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
.type{
|
||||||
|
font-size: 22rpx;
|
||||||
|
padding-left: 6rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.btn{
|
.btn{
|
||||||
margin-left: $margin;
|
margin-left: $margin;
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- 订单 -->
|
<!-- 订单 -->
|
||||||
<view class="order-box">
|
<view class="order-box">
|
||||||
<view class="order-box-item" @click="onBtn('Order', { index: 4 })">
|
<view class="order-box-item" @click="onBtn('Order', { index: 0 })">
|
||||||
<image class="icon" src="@/static/user/order_icon_04.png" mode="widthFix" />
|
<image class="icon" src="@/static/user/order_icon_04.png" mode="widthFix" />
|
||||||
<view class="title">我的订单</view>
|
<view class="title">我的订单</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
BIN
uni_modules/oct-pay/.DS_Store
vendored
Normal file
BIN
uni_modules/oct-pay/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -30,6 +30,15 @@
|
|||||||
<radio value="alipay" :checked="payIndex === 0" :color="color" />
|
<radio value="alipay" :checked="payIndex === 0" :color="color" />
|
||||||
</label>
|
</label>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="radio--item" v-if="pay === 'dtpay'">
|
||||||
|
<label class="radio-flex">
|
||||||
|
<view class="radio--text">
|
||||||
|
<image class="radio--icon" src="../../static/dtpay.png" mode="widthFix"></image>
|
||||||
|
DT积分
|
||||||
|
</view>
|
||||||
|
<radio value="alipay" :checked="payIndex === 0" :color="color" />
|
||||||
|
</label>
|
||||||
|
</view>
|
||||||
</block>
|
</block>
|
||||||
</radio-group>
|
</radio-group>
|
||||||
<!-- 提交支付 -->
|
<!-- 提交支付 -->
|
||||||
@@ -77,7 +86,8 @@
|
|||||||
payPlatform: {
|
payPlatform: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: ()=> {
|
default: ()=> {
|
||||||
return ["wxpay", "alipay"]
|
return ["dtpay"];
|
||||||
|
// return ["wxpay", "alipay","dtpay"];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 支付编号
|
// 支付编号
|
||||||
@@ -170,7 +180,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
&>.footer{
|
&>.footer{
|
||||||
margin-top: $margin;
|
margin-top: $margin * 4;
|
||||||
.footer--pay{
|
.footer--pay{
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
line-height: 90rpx;
|
line-height: 90rpx;
|
||||||
|
|||||||
BIN
uni_modules/oct-pay/static/dtpay.png
Normal file
BIN
uni_modules/oct-pay/static/dtpay.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
2
unpackage/dist/dev/app-plus/__uniappscan.js
vendored
2
unpackage/dist/dev/app-plus/__uniappscan.js
vendored
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
|||||||
var isReady=false;var onReadyCallbacks=[];
|
var isReady=false;var onReadyCallbacks=[];
|
||||||
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
||||||
var __uniConfig = {"pages":["pages/auth/auth","pages/auth/role","pages/life/life","pages/store/index","pages/user/index","pages/setting/setting","pages/store/goods","pages/store/buy","pages/order/index","pages/order/details","pages/address/index","pages/address/edit","pages/pay/pay","pages/store/list","pages/store/meals","pages/store/search","pages/refund/index","pages/account/integral","pages/account/dt","pages/account/recharge","pages/vip/vip","pages/vip/agreement","pages/store/shop/shopDetail","pages/store/shop/shopList"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"ZH健康","navigationBarBackgroundColor":"#F3F6FB","backgroundColorTop":"#F3F6FB","backgroundColorBottom":"#F3F6FB"},"tabBar":{"borderStyle":"white","selectedColor":"#34CE98","list":[{"iconPath":"static/tabBar/tabBar_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","pagePath":"pages/life/life","text":"共力人生"},{"iconPath":"static/tabBar/tabBar_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","pagePath":"pages/store/index","text":"DT商城"},{"iconPath":"static/tabBar/tabBar_03.png","selectedIconPath":"static/tabBar/tabBar_show_03.png","pagePath":"pages/user/index","text":"我的"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"ZH-HEALTH","compilerVersion":"3.3.11","entryPagePath":"pages/auth/auth","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
var __uniConfig = {"pages":["pages/auth/auth","pages/auth/role","pages/life/life","pages/store/index","pages/user/index","pages/setting/setting","pages/store/goods","pages/store/buy","pages/order/index","pages/order/details","pages/address/index","pages/address/edit","pages/pay/pay","pages/store/list","pages/store/meals","pages/store/search","pages/refund/index","pages/account/integral","pages/account/dt","pages/account/recharge","pages/vip/vip","pages/vip/agreement","pages/store/shop/shopDetail","pages/store/shop/shopList"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"ZH健康","navigationBarBackgroundColor":"#F3F6FB","backgroundColorTop":"#F3F6FB","backgroundColorBottom":"#F3F6FB"},"tabBar":{"borderStyle":"white","selectedColor":"#34CE98","list":[{"iconPath":"static/tabBar/tabBar_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","pagePath":"pages/life/life","text":"共力人生"},{"iconPath":"static/tabBar/tabBar_02.png","selectedIconPath":"static/tabBar/tabBar_show_02.png","pagePath":"pages/store/index","text":"DT商城"},{"iconPath":"static/tabBar/tabBar_03.png","selectedIconPath":"static/tabBar/tabBar_show_03.png","pagePath":"pages/user/index","text":"我的"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"ZH-HEALTH","compilerVersion":"3.3.11","entryPagePath":"pages/auth/auth","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
||||||
var __uniRoutes = [{"path":"/pages/auth/auth","meta":{"isQuit":true},"window":{"navigationBarTitleText":"登录","navigationStyle":"custom"}},{"path":"/pages/auth/role","meta":{},"window":{"navigationBarTitleText":"角色创建","navigationBarBackgroundColor":"#FFF","titleNView":{"buttons":[{"text":"退出登录","fontSize":"14","width":"80px","color":"#34CE98"}]}}},{"path":"/pages/life/life","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"共力人生","navigationStyle":"custom"}},{"path":"/pages/store/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"DT商城","enablePullDownRefresh":true,"titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"float":"right","text":"","fontSrc":"/static/iconfont.ttf","color":"#000","fontSize":"20px"}]}}},{"path":"/pages/user/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom"}},{"path":"/pages/setting/setting","meta":{},"window":{"navigationBarTitleText":"设置中心","navigationBarBackgroundColor":"#34CE98","navigationBarTextStyle":"white"}},{"path":"/pages/store/goods","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"详情","titleNView":{"backgroundColor":"#FFFFFF","type":"transparent"}}},{"path":"/pages/store/buy","meta":{},"window":{"navigationBarTitleText":"确认订单","enablePullDownRefresh":false}},{"path":"/pages/order/index","meta":{},"window":{"navigationBarTitleText":"订单","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":false}},{"path":"/pages/order/details","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/address/index","meta":{},"window":{"navigationBarTitleText":"收货地址"}},{"path":"/pages/address/edit","meta":{},"window":{"navigationBarTitleText":"编辑","enablePullDownRefresh":false}},{"path":"/pages/pay/pay","meta":{},"window":{"navigationBarTitleText":"收银台","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/store/list","meta":{},"window":{"navigationBarTitleText":"商品","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true}},{"path":"/pages/store/meals","meta":{},"window":{"navigationBarTitleText":"套餐","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true}},{"path":"/pages/store/search","meta":{},"window":{"navigationBarTitleText":"搜索","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/refund/index","meta":{},"window":{"navigationBarTitleText":"退换货","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/account/integral","meta":{},"window":{"navigationBarTitleText":"共力值","navigationBarBackgroundColor":"#34CE98","navigationBarTextStyle":"white"}},{"path":"/pages/account/dt","meta":{},"window":{"navigationBarTitleText":"DT积分","navigationBarBackgroundColor":"#34CE98","backgroundColorTop":"#34CE98","navigationBarTextStyle":"white","titleNView":{"buttons":[{"text":"充值","width":"60","fontSize":"14","fontWeight":"bold"}]}}},{"path":"/pages/account/recharge","meta":{},"window":{"navigationBarTitleText":"DT积分充值","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/vip/vip","meta":{},"window":{"navigationBarTitleText":"共力会员","navigationBarBackgroundColor":"#242430","navigationBarTextStyle":"white","backgroundColorTop":"#242430"}},{"path":"/pages/vip/agreement","meta":{},"window":{"navigationBarTitleText":"共力会员协议"}},{"path":"/pages/store/shop/shopDetail","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/store/shop/shopList","meta":{},"window":{"navigationBarTitleText":"更多店铺","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true}}];
|
var __uniRoutes = [{"path":"/pages/auth/auth","meta":{"isQuit":true},"window":{"navigationBarTitleText":"登录","navigationStyle":"custom"}},{"path":"/pages/auth/role","meta":{},"window":{"navigationBarTitleText":"角色创建","navigationBarBackgroundColor":"#FFF","titleNView":{"buttons":[{"text":"退出登录","fontSize":"14","width":"80px","color":"#34CE98"}]}}},{"path":"/pages/life/life","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"共力人生","navigationStyle":"custom"}},{"path":"/pages/store/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"DT商城","enablePullDownRefresh":true,"titleNView":{"backgroundColor":"#FFFFFF","buttons":[{"float":"right","text":"","fontSrc":"/static/iconfont.ttf","color":"#000","fontSize":"20px"}]}}},{"path":"/pages/user/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom"}},{"path":"/pages/setting/setting","meta":{},"window":{"navigationBarTitleText":"设置中心","navigationBarBackgroundColor":"#34CE98","navigationBarTextStyle":"white"}},{"path":"/pages/store/goods","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"详情","titleNView":{"backgroundColor":"#FFFFFF","type":"transparent"}}},{"path":"/pages/store/buy","meta":{},"window":{"navigationBarTitleText":"确认订单","enablePullDownRefresh":false}},{"path":"/pages/order/index","meta":{},"window":{"navigationBarTitleText":"我的订单","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":false}},{"path":"/pages/order/details","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false}},{"path":"/pages/address/index","meta":{},"window":{"navigationBarTitleText":"收货地址"}},{"path":"/pages/address/edit","meta":{},"window":{"navigationBarTitleText":"编辑","enablePullDownRefresh":false}},{"path":"/pages/pay/pay","meta":{},"window":{"navigationBarTitleText":"收银台","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/store/list","meta":{},"window":{"navigationBarTitleText":"商品","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true}},{"path":"/pages/store/meals","meta":{},"window":{"navigationBarTitleText":"套餐","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true}},{"path":"/pages/store/search","meta":{},"window":{"navigationBarTitleText":"搜索","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/refund/index","meta":{},"window":{"navigationBarTitleText":"退换货","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/account/integral","meta":{},"window":{"navigationBarTitleText":"共力值","navigationBarBackgroundColor":"#34CE98","navigationBarTextStyle":"white"}},{"path":"/pages/account/dt","meta":{},"window":{"navigationBarTitleText":"DT积分","navigationBarBackgroundColor":"#34CE98","backgroundColorTop":"#34CE98","navigationBarTextStyle":"white","titleNView":{"buttons":[{"text":"充值","width":"60","fontSize":"14","fontWeight":"bold"}]}}},{"path":"/pages/account/recharge","meta":{},"window":{"navigationBarTitleText":"DT积分充值","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/vip/vip","meta":{},"window":{"navigationBarTitleText":"共力会员","navigationBarBackgroundColor":"#242430","navigationBarTextStyle":"white","backgroundColorTop":"#242430"}},{"path":"/pages/vip/agreement","meta":{},"window":{"navigationBarTitleText":"共力会员协议"}},{"path":"/pages/store/shop/shopDetail","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/store/shop/shopList","meta":{},"window":{"navigationBarTitleText":"更多店铺","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true}}];
|
||||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});
|
||||||
|
|||||||
8911
unpackage/dist/dev/app-plus/app-service.js
vendored
8911
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
3783
unpackage/dist/dev/app-plus/app-view.js
vendored
3783
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
BIN
unpackage/dist/dev/app-plus/uni_modules/oct-pay/static/dtpay.png
vendored
Normal file
BIN
unpackage/dist/dev/app-plus/uni_modules/oct-pay/static/dtpay.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
4
unpackage/dist/dev/app-plus/view.css
vendored
4
unpackage/dist/dev/app-plus/view.css
vendored
File diff suppressed because one or more lines are too long
8
unpackage/dist/dev/app-plus/view.umd.min.js
vendored
8
unpackage/dist/dev/app-plus/view.umd.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user