Commit edbb5451 authored by 潘永坪's avatar 潘永坪

扫码支付页面开发

parent 680761ef
......@@ -12,7 +12,7 @@
},
onHide: function() {
console.log('App Hide')
}
}
</script>
......@@ -29,6 +29,7 @@
8.页面最外层与里面的第一层为padding:0 12px;
9.css单位为rpx
*/
page{font-size:28rpx;color: #333333;background: #F7F7F7;}
page{font-size:28rpx;color: #333333;background: #F7F7F7;height: 100%;}
view,text,image{box-sizing:border-box;}
.btn{background:linear-gradient(132deg, #ED400C 0%, #FB862C 100%);display: inline-block;color: #FFFFFF;font-size:28rpx;border-radius:8rpx;text-align: center;}
</style>
@font-face {
font-family: "iconfont"; /* Project id 2600842 */
src: url('iconfont.woff2?t=1624262426389') format('woff2'),
url('iconfont.woff?t=1624262426389') format('woff'),
url('iconfont.ttf?t=1624262426389') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-tubiaolunkuo-:before {
content: "\e602";
}
.icon-icon-test:before {
content: "\e601";
}
.icon-fl-renminbi:before {
content: "\e634";
}
.icon-im_huige:before {
content: "\e600";
}
.icon-you:before {
content: "\e74e";
}
......@@ -2,6 +2,7 @@ import Vue from 'vue'
import App from './App'
import request from 'common/request.js'
import "./common/icon/iconfont.css"
Vue.prototype.$request = request
......
......@@ -8,10 +8,10 @@
}
,{
"path" : "pages/payment/payment",
"path" : "pages/orderPayment/orderPayment",
"style" :
{
"navigationBarTitleText": "",
"navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false
}
......@@ -20,7 +20,7 @@
"path" : "pages/login/login",
"style" :
{
"navigationBarTitleText": "",
"navigationBarTitleText": "登录中",
"enablePullDownRefresh": false
}
......@@ -29,7 +29,16 @@
"path" : "pages/paySuccess/paySuccess",
"style" :
{
"navigationBarTitleText": "",
"navigationBarTitleText": "支付成功",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/ourPayment/ourPayment",
"style" :
{
"navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false
}
......
......@@ -73,19 +73,6 @@
},
onLoad() {
let _this=this
//#ifdef MP-WEIXIN
uni.checkSession({
success() {
_this.showBottom=true
},
fail() {
uni.navigateTo({
url:"../login/login"
})
}
})
//#endif
//#ifdef MP-ALIPAY
if(uni.getStorageSync("openid")){
_this.showBottom=true
}else{
......@@ -93,7 +80,6 @@
url:"../login/login"
})
}
//#endif
},
onReady(){
......@@ -104,13 +90,13 @@
lang:'zh_CN',
desc:'登录',
success:(res)=>{
console.log(res);
console.log(res)
},
fail:(res)=>{
console.log(res)
}
})
},
}
}
}
......
......@@ -65,11 +65,11 @@
</text>
</view>
<view class="mainview">
<image src="../../static/img/payment/weixin.png" style="width:70rpx;height:62rpx;" />
<image src="../../static/img/orderPayment/weixin.png" style="width:70rpx;height:62rpx;" />
<view>
微信支付
</view>
<image src="../../static/img/payment/input.png" style="width:32rpx;height: 32rpx;" />
<image src="../../static/img/orderPayment/input.png" style="width:32rpx;height: 32rpx;" />
</view>
</view>
</view>
......@@ -89,7 +89,7 @@
<text href="tel:400-072-0368">
<!-- <img src="@/assets/img/combination/kefu11.png" style="width: 0.31rpx;" /> -->
</text>
<text @click="goPay()">去支付</text>
<text @click="goPay()" :style="{background:background}">去支付</text>
</view>
</view>
</view>
......@@ -115,6 +115,7 @@
package:"",
signType:"",
paySign:"",
background:"",//去支付的背景颜色
}
},
onLoad(option){
......@@ -153,12 +154,23 @@
icon:"none"
})
}
})
},
methods:{
goPay(){//-------------------------------------------------------去支付
if (this.errorMessage) {
uni.showToast({
title:this.errorMessage,
duration:2000,
icon:"none"
})
return
}
this.background="#E6E6E6"
setTimeout(() => {
this.background="f9690e"
}, 1000)
uni.requestPayment({
provider: 'wxpay',
timeStamp:this.timeStamp,
......
<template>
<view class="bigBox">
<view class="top">
<view class="topName">
<text class="topIcon">
<text class="iconfont icon-tubiaolunkuo-"></text>
</text>
<text>重庆胖丁信息技术有限公司</text>
</view>
<view class="topMoney">
<text class="moneyText">支付金额</text>
<view class="moneyNumber">
<text class="iconfont icon-fl-renminbi" style="font-size: 56rpx;"></text>
<text>{{buyMoney}}</text>
<text></text>
</view>
</view>
<view class="topConpon">
</view>
</view>
<view class="middle">
友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。
</view>
<view class="bottom">
<view class="botLeft">
<view>
<text @click="clickNum(1)">1</text>
<text @click="clickNum(2)">2</text>
<text @click="clickNum(3)">3</text>
</view>
<view>
<text @click="clickNum(4)">4</text>
<text @click="clickNum(5)">5</text>
<text @click="clickNum(6)">6</text>
</view>
<view>
<text @click="clickNum(7)">7</text>
<text @click="clickNum(8)">8</text>
<text @click="clickNum(9)">9</text>
</view>
<view>
<text @click="clickNum(0)" style="width: 66.7%;">0</text>
<text @click="clickNum('.')" style="width: 33.3%;">.</text>
</view>
</view>
<view class="botRight">
<view class="rightOne" @click="clickEnter()">
<text class="iconfont icon-im_huige" style="font-size:70rpx;"></text>
</view>
<view class="rightTwo">
<view>立即</view>
<view>支付</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
buyMoney:"", //输入金额
}
},
methods: {
clickNum(i) {//--------------------------------------------------------输入数字
this.buyMoney += i
},
clickEnter(){//--------------------------------------------------------退格
this.buyMoney = this.buyMoney.substr(0, this.buyMoney.length - 1)
}
},
watch: {
buyMoney(val, oldVal) {
if (val == "." && oldVal == "") { //首位数是小数点自动加上0
this.buyMoney = 0 + "."
}
if (val == "0" && oldVal == "") { //首位数是0自动加上小数点
this.buyMoney = 0 + "."
}
if (val.length == 2) { //防止回退之后出现01,02等状况
if (val.substr(0, 1) == 0 && val.substr(1, 2) != ".") {
this.buyMoney = val.substr(1, 2)
}
}
if (isNaN(val) && val != ".") { //出现非数字,输入无效
this.buyMoney = oldVal
}
var x = String(this.buyMoney).indexOf('.') + 1; //小数点的位置
var y = String(this.buyMoney).length - x; //小数的位数
if (y > 2 && x > 0) {
this.buyMoney = oldVal
}
}
}
}
</script>
<style>
.bigBox{background:#f5f5f5;height: 100%;}
.top{background: #FFFFFF;}
.topName{font-size:28rpx;font-weight: bold;padding-top: 50rpx;display: flex;align-items: center;justify-content: center;}
.topIcon{display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#FF8B57;align-items:center;justify-content:center;}
.icon-tubiaolunkuo-{font-size:36rpx;color: #FFFFFF;font-weight: 400;}
.topMoney{padding:80rpx 24rpx 35rpx 24rpx;display: flex;justify-content:space-between;align-items: center;}
.moneyText{color: #FF3C00;font-size:28rpx;font-weight: bold;}
.moneyNumber text:nth-child(2){font-size: 58rpx;font-weight: bold;position: relative;left: -6rpx;}
.moneyNumber text:last-child{animation: dis 1.5s infinite;transition: 1s;width: 1px;height:56rpx;display: inline-block;background: #333333;position: relative;top:8rpx;}
.middle{padding:60rpx 24rpx 0 24rpx;font-size: 22rpx;color: #999999;line-height: 40rpx;}
.bottom{position:absolute;bottom:0;height:40%;background: #FFFFFF;width:100%;display: flex;border-top:1px solid #dddddd;font-size:50rpx;}
.botLeft{width:75%;}
.botLeft view{height:25%;display: flex;border-bottom:1px solid #dddddd;}
.botLeft view:last-child{border:none;}
.botLeft view text{flex:1;height:100%;display:inline-flex;align-items: center;justify-content: center;border-right:1px solid #dddddd;}
.botLeft view:last-child text{flex:initial;}
.botRight{width:25%;}
.rightOne{height: 25%;display: flex;align-items:center;justify-content: center;border-bottom:1px solid #dddddd;}
.rightTwo{height: 75%;border:none;color: #FFFFFF;background: #CCCCCC;display: flex;flex-direction:column;align-items:center;justify-content: center;}
@keyframes dis{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
</style>
//本地存储的数据列表
token
{
"pages": [
"pages/index/index",
"pages/payment/payment",
"pages/orderPayment/orderPayment",
"pages/login/login",
"pages/paySuccess/paySuccess"
"pages/paySuccess/paySuccess",
"pages/ourPayment/ourPayment"
],
"subPackages": [],
"window": {
......
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"0f37":function(e,t,n){"use strict";n.r(t);var r=n("3713");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("63a6");var u,c,f,a,i=n("f0c5"),l=Object(i["a"])(r["default"],u,c,!1,null,null,null,!1,f,a);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};t.default=r},3713:function(e,t,n){"use strict";n.r(t);var r=n("25fe"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},"5f35":function(e,t,n){},"63a6":function(e,t,n){"use strict";var r=n("5f35"),o=n.n(r);o.a},d81f:function(e,t,n){"use strict";(function(e){n("6909");var t=u(n("66fd")),r=u(n("0f37")),o=u(n("1d0e"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default.prototype.$request=o.default,t.default.config.productionTip=!1,r.default.mpType="app";var i=new t.default(f({},r.default));e(i).$mount()}).call(this,n("543d")["createApp"])}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"0f37":function(e,t,n){"use strict";n.r(t);var r=n("3713");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("63a6");var u,f,c,a,i=n("f0c5"),l=Object(i["a"])(r["default"],u,f,!1,null,null,null,!1,c,a);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={onLaunch:function(){},onShow:function(){},onHide:function(){}};t.default=r},3713:function(e,t,n){"use strict";n.r(t);var r=n("25fe"),o=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},"5f35":function(e,t,n){},"63a6":function(e,t,n){"use strict";var r=n("5f35"),o=n.n(r);o.a},d81f:function(e,t,n){"use strict";(function(e){n("6909");var t=u(n("66fd")),r=u(n("0f37")),o=u(n("1d0e"));function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("4dff"),t.default.prototype.$request=o.default,t.default.config.productionTip=!1,r.default.mpType="app";var i=new t.default(c({},r.default));e(i).$mount()}).call(this,n("543d")["createApp"])}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
page{font-size:28rpx;color:#333;background:#f7f7f7}.btn{background:-webkit-linear-gradient(318deg,#ed400c,#fb862c);background:linear-gradient(132deg,#ed400c,#fb862c);display:inline-block;color:#fff;font-size:28rpx;border-radius:8rpx;text-align:center}page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}
\ No newline at end of file
page{font-size:28rpx;color:#333;background:#f7f7f7;height:100%}view,text,image{box-sizing:border-box}.btn{background:-webkit-linear-gradient(318deg,#ed400c,#fb862c);background:linear-gradient(132deg,#ed400c,#fb862c);display:inline-block;color:#fff;font-size:28rpx;border-radius:8rpx;text-align:center}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}page::after{position:fixed;content:'';left:-1000px;top:-1000px;-webkit-animation:shadow-preload .1s;-webkit-animation-delay:3s;animation:shadow-preload .1s;animation-delay:3s}@-webkit-keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}100%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"065f":function(e,n,t){"use strict";t.r(n);var o=t("737f"),c=t.n(o);for(var u in o)"default"!==u&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=c.a},"2bba":function(e,n,t){"use strict";(function(e){t("6909");o(t("66fd"));var n=o(t("c545"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("543d")["createPage"])},"737f":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{title:"胖丁首页"}},onReady:function(){var n=this;e.login({provider:"weixin",success:function(t){if(t.code){var o={code:t.code,source:3};n.$request("wechat/wx/getUserInfoByCode",o).then((function(n){if("00"==n.code){var t=n.data.openid;e.setStorageSync("openid",t)}else e.removeStorageSync("openid"),e.showToast({title:n.message,icon:"none"})})).catch((function(n){e.removeStorageSync("openid")}))}}})},methods:{getUserInfo:function(){e.getUserProfile({lang:"zh_CN",desc:"登录",success:function(e){console.log(e)},fail:function(e){console.log(e)}})}}};n.default=t}).call(this,t("543d")["default"])},c545:function(e,n,t){"use strict";t.r(n);var o=t("ee47"),c=t("065f");for(var u in c)"default"!==u&&function(e){t.d(n,e,(function(){return c[e]}))}(u);t("d9b5");var i,r=t("f0c5"),a=Object(r["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);n["default"]=a.exports},d9b5:function(e,n,t){"use strict";var o=t("e90d"),c=t.n(o);c.a},e90d:function(e,n,t){},ee47:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return o}));var c=function(){var e=this,n=e.$createElement;e._self._c},u=[]}},[["2bba","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"065f":function(n,t,e){"use strict";e.r(t);var o=e("737f"),u=e.n(o);for(var a in o)"default"!==a&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=u.a},"2bba":function(n,t,e){"use strict";(function(n){e("6909");o(e("66fd"));var t=o(e("c545"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},"6a9d":function(n,t,e){"use strict";var o;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return o}));var u=function(){var n=this,t=n.$createElement;n._self._c},a=[]},"737f":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{title:"胖丁首页",showBottom:!1}},onLoad:function(){var t=this;n.getStorageSync("openid")?t.showBottom=!0:n.navigateTo({url:"../login/login"})},onReady:function(){},methods:{getUserInfo:function(){n.getUserProfile({lang:"zh_CN",desc:"登录",success:function(n){console.log(n)},fail:function(n){}})}}};t.default=e}).call(this,e("543d")["default"])},c545:function(n,t,e){"use strict";e.r(t);var o=e("6a9d"),u=e("065f");for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);e("d9b5");var c,i=e("f0c5"),r=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);t["default"]=r.exports},d9b5:function(n,t,e){"use strict";var o=e("e90d"),u=e.n(o);u.a},e90d:function(n,t,e){}},[["2bba","common/runtime","common/vendor"]]]);
\ No newline at end of file
<view class="bottom"><web-view src="https://wx.pangdly.com"></web-view></view>
\ No newline at end of file
<view hidden="{{!(showBottom)}}" class="bottom"><web-view src="https://wx.pangdly.com"></web-view></view>
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"6d77":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return o}));var a=function(){var e=this,n=e.$createElement;e._self._c},c=[]},"9fb8":function(e,n,t){"use strict";t.r(n);var o=t("6d77"),a=t("a824");for(var c in a)"default"!==c&&function(e){t.d(n,e,(function(){return a[e]}))}(c);var u,r=t("f0c5"),i=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=i.exports},a824:function(e,n,t){"use strict";t.r(n);var o=t("bae4"),a=t.n(o);for(var c in o)"default"!==c&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=a.a},bae4:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{}},methods:{},onReady:function(){var n=this;e.login({provider:"weixin",success:function(t){if(t.code){var o={code:t.code,source:3};n.$request("wechat/wx/getUserInfoByCode",o).then((function(n){if("00"==n.code){var t=n.data.openid;e.setStorageSync("openid",t)}else e.removeStorageSync("openid"),e.showToast({title:n.message,icon:"none"})})).catch((function(n){e.removeStorageSync("openid")}))}}})}};n.default=t}).call(this,t("543d")["default"])},d263:function(e,n,t){"use strict";(function(e){t("6909");o(t("66fd"));var n=o(t("9fb8"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("543d")["createPage"])}},[["d263","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"9fb8":function(e,n,t){"use strict";t.r(n);var o=t("b2ee"),a=t("a824");for(var c in a)"default"!==c&&function(e){t.d(n,e,(function(){return a[e]}))}(c);var i,r=t("f0c5"),u=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);n["default"]=u.exports},a824:function(e,n,t){"use strict";t.r(n);var o=t("bae4"),a=t.n(o);for(var c in o)"default"!==c&&function(e){t.d(n,e,(function(){return o[e]}))}(c);n["default"]=a.a},b2ee:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return o}));var a=function(){var e=this,n=e.$createElement;e._self._c},c=[]},bae4:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{}},methods:{},onLoad:function(){e.showLoading({title:"加载中..."});var n=this;e.getProvider({service:"oauth",success:function(t){e.login({provider:t.provider[0],success:function(t){if(t.code){var o={code:t.code,source:3};n.$request("wechat/wx/getUserInfoByCode",o).then((function(n){if("00"==n.code){var t=n.data.openid;e.setStorageSync("openid",t),e.navigateBack({delta:1})}else e.removeStorageSync("openid"),e.showToast({title:n.message,icon:"none"}),e.hideLoading()})).catch((function(n){e.removeStorageSync("openid"),e.hideLoading()}))}}})}})}};n.default=t}).call(this,t("543d")["default"])},d263:function(e,n,t){"use strict";(function(e){t("6909");o(t("66fd"));var n=o(t("9fb8"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("543d")["createPage"])}},[["d263","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"navigationBarTitleText": "",
"navigationBarTitleText": "登录中",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/orderPayment/orderPayment"],{"0d8a":function(e,t,n){"use strict";(function(e){n("6909");a(n("66fd"));var t=a(n("8611"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"223d":function(e,t,n){"use strict";n.r(t);var a=n("4917"),r=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=r.a},"27f6":function(e,t,n){"use strict";var a=n("74b1"),r=n.n(a);r.a},4917:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{merchantName:"",productName:"",orderList:"",unitPrice:"",depositReceived:0,pdDiscountMoney:"",orderNum:"",pdOrderMoney:"",totalMoney:"",errorMessage:"",bodyShow:!1,timeStamp:"",nonceStr:"",package:"",signType:"",paySign:"",background:""}},onLoad:function(t){var n=this,a={orderId:t.orderId,userId:e.getStorageSync("openid"),payType:42};this.$request("orderc/order/findOrderInfo",a).then((function(t){"00"==t.code?(n.bodyShow=!0,n.timeStamp=t.data.timestamp,n.nonceStr=t.data.noncestr,n.package=t.data.package,n.signType=t.data.signType,n.paySign=t.data.sign,n.pdOrderMoney=t.data.pdOrderMoney,n.errorMessage=t.data.errorMessage,n.totalMoney=t.data.totalMoney,n.orderList=t.data.orderList,"undefined"==typeof n.orderList&&(n.orderList="",n.merchantName=t.data.merchantName,n.productName=t.data.productName,n.unitPrice=t.data.unitPrice,n.orderNum=t.data.orderNum,n.depositReceived=t.data.depositReceived,n.pdDiscountMoney=t.data.pdDiscountMoney)):e.showToast({title:t.message,icon:"none"})}))},methods:{goPay:function(){var t=this;this.errorMessage?e.showToast({title:this.errorMessage,duration:2e3,icon:"none"}):(this.background="#E6E6E6",setTimeout((function(){t.background="f9690e"}),1e3),e.requestPayment({provider:"wxpay",timeStamp:this.timeStamp,nonceStr:this.nonceStr,package:this.package,signType:this.signType,paySign:this.paySign,success:function(t){e.redirectTo({url:"../paySuccess/paySuccess"})},fail:function(t){e.showToast({title:t.errMsg,duration:2e3,icon:"none"})}}))}}};t.default=n}).call(this,n("543d")["default"])},6014:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement;e._self._c},o=[]},"74b1":function(e,t,n){},8611:function(e,t,n){"use strict";n.r(t);var a=n("6014"),r=n("223d");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("27f6");var i,d=n("f0c5"),c=Object(d["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);t["default"]=c.exports}},[["0d8a","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"navigationBarTitleText": "",
"navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view><view hidden="{{!(bodyShow)}}" class="middle"><view class="main"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><block wx:if="{{orderList!=''}}"><view class="product"><view><text>{{''+item.merchantName+"("+item.productName+')'}}</text><text><text style="font-size:24rpx;">¥</text>{{item.unitPrice+''}}<text>x</text>{{''+item.orderNum}}<view class="_br"></view><block wx:if="{{item.depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+item.depositReceived}}</text></block></text></view><block wx:if="{{item.pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{item.pdDiscountMoney+''}}</text></view></block></view></block></block><block wx:if="{{orderList==''}}"><view class="product"><view><text>{{''+merchantName+"("+productName+')'}}</text><text style="text-align:right;"><view style="font-size:24rpx;" class="_small">¥</view>{{unitPrice+''}}<text>x</text>{{''+orderNum}}<view class="_br"></view><block wx:if="{{depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+depositReceived}}</text></block></text></view><block wx:if="{{pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{pdDiscountMoney+''}}</text></view></block></view></block><view class="mainP3"><text>实际支付</text><text><text><text style="font-size:28rpx;">¥</text>{{pdOrderMoney+''}}</text></text></view><view class="mainview"><image style="width:70rpx;height:62rpx;" src="../../static/img/payment/weixin.png"></image><view>微信支付</view><image style="width:32rpx;height:32rpx;" src="../../static/img/payment/input.png"></image></view></view></view><view hidden="{{!(bodyShow)}}" class="bottom"><view class="bottomFirst"><text>实付款</text><text><text>¥</text>{{pdOrderMoney+''}}</text></view><view class="bottomLast"><text href="tel:400-072-0368"></text><text data-event-opts="{{[['tap',[['goPay']]]]}}" bindtap="__e">去支付</text></view></view></view>
\ No newline at end of file
<view><view hidden="{{!(bodyShow)}}" class="middle"><view class="main"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><block wx:if="{{orderList!=''}}"><view class="product"><view><text>{{''+item.merchantName+"("+item.productName+')'}}</text><text><text style="font-size:24rpx;">¥</text>{{item.unitPrice+''}}<text>x</text>{{''+item.orderNum}}<view class="_br"></view><block wx:if="{{item.depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+item.depositReceived}}</text></block></text></view><block wx:if="{{item.pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{item.pdDiscountMoney+''}}</text></view></block></view></block></block><block wx:if="{{orderList==''}}"><view class="product"><view><text>{{''+merchantName+"("+productName+')'}}</text><text style="text-align:right;"><view style="font-size:24rpx;" class="_small">¥</view>{{unitPrice+''}}<text>x</text>{{''+orderNum}}<view class="_br"></view><block wx:if="{{depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+depositReceived}}</text></block></text></view><block wx:if="{{pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{pdDiscountMoney+''}}</text></view></block></view></block><view class="mainP3"><text>实际支付</text><text><text><text style="font-size:28rpx;">¥</text>{{pdOrderMoney+''}}</text></text></view><view class="mainview"><image style="width:70rpx;height:62rpx;" src="../../static/img/orderPayment/weixin.png"></image><view>微信支付</view><image style="width:32rpx;height:32rpx;" src="../../static/img/orderPayment/input.png"></image></view></view></view><view hidden="{{!(bodyShow)}}" class="bottom"><view class="bottomFirst"><text>实付款</text><text><text>¥</text>{{pdOrderMoney+''}}</text></view><view class="bottomLast"><text href="tel:400-072-0368"></text><text data-event-opts="{{[['tap',[['goPay']]]]}}" style="{{'background:'+(background)+';'}}" bindtap="__e">去支付</text></view></view></view>
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/ourPayment/ourPayment"],{2296:function(n,t,e){"use strict";e.r(t);var u=e("923c"),r=e("6a16");for(var a in r)"default"!==a&&function(n){e.d(t,n,(function(){return r[n]}))}(a);e("74ec");var c,o=e("f0c5"),f=Object(o["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);t["default"]=f.exports},3778:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={data:function(){return{}},methods:{}};t.default=u},"6a16":function(n,t,e){"use strict";e.r(t);var u=e("3778"),r=e.n(u);for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=r.a},"74ec":function(n,t,e){"use strict";var u=e("9324"),r=e.n(u);r.a},"923c":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return u}));var r=function(){var n=this,t=n.$createElement;n._self._c},a=[]},9324:function(n,t,e){},d410:function(n,t,e){"use strict";(function(n){e("6909");u(e("66fd"));var t=u(e("2296"));function u(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"navigationBarTitleText": "",
"navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view class="bigBox"><view class="top"><view class="topName"><svg class="icon" style="font-size:56rpx;" vue-id="ed07b280-1" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('ed07b280-2')+','+('ed07b280-1')}}" xlink:href="#icon-shangjia" bind:__l="__l"></use></svg><text>重庆胖丁信息技术有限公司</text></view><view class="topMoney"></view><view class="topConpon"></view></view><view class="middle">中</view><view class="bottom"><view class="botLeft"><view><text>1</text><text>2</text><text>3</text></view><view><text>4</text><text>5</text><text>6</text></view><view><text>7</text><text>8</text><text>9</text></view><view><text style="width:66.7%;">0</text><text style="width:33.3%;">.</text></view></view><view class="botRight"><view class="rightOne"><svg class="icon" style="font-size:80rpx;" vue-id="ed07b280-3" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('ed07b280-4')+','+('ed07b280-3')}}" xlink:href="#icon-im_huige" bind:__l="__l"></use></svg></view><view class="rightTwo"><view>立即</view><view>支付</view></view></view></view></view>
\ No newline at end of file
.bigBox{background:#f5f5f5;height:100%}.top{background:#fff}.topName{font-size:28rpx;font-weight:700;padding-top:50rpx;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.bottom{position:absolute;bottom:0;height:40%;background:#fff;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;border-top:1px solid #ddd;font-size:50rpx}.botLeft{width:75%}.botLeft view{height:25%;display:-webkit-box;display:-webkit-flex;display:flex;border-bottom:1px solid #ddd}.botLeft view:last-child{border:none}.botLeft view text{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-right:1px solid #ddd}.botLeft view:last-child text{-webkit-box-flex:initial;-webkit-flex:initial;flex:initial}.botRight{width:25%}.rightOne{height:25%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-bottom:1px solid #ddd}.rightTwo{height:75%;border:none;color:#fff;background:#ccc;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/paySuccess/paySuccess"],{1382:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={data:function(){return{order:""}},onLoad:function(n){this.order=n.order},methods:{}};t.default=u},"232d":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return u}));var r=function(){var n=this,t=n.$createElement;n._self._c},a=[]},ca03:function(n,t,e){"use strict";e.r(t);var u=e("1382"),r=e.n(u);for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=r.a},f016:function(n,t,e){"use strict";e.r(t);var u=e("232d"),r=e("ca03");for(var a in r)"default"!==a&&function(n){e.d(t,n,(function(){return r[n]}))}(a);var c,o=e("f0c5"),f=Object(o["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);t["default"]=f.exports},f4ba:function(n,t,e){"use strict";(function(n){e("6909");u(e("66fd"));var t=u(e("f016"));function u(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])}},[["f4ba","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/paySuccess/paySuccess"],{1382:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={data:function(){return{}},onLoad:function(n){},methods:{}};t.default=u},ca03:function(n,t,e){"use strict";e.r(t);var u=e("1382"),c=e.n(u);for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=c.a},d87c:function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return c})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return u}));var c=function(){var n=this,t=n.$createElement;n._self._c},a=[]},f016:function(n,t,e){"use strict";e.r(t);var u=e("d87c"),c=e("ca03");for(var a in c)"default"!==a&&function(n){e.d(t,n,(function(){return c[n]}))}(a);var r,f=e("f0c5"),o=Object(f["a"])(c["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);t["default"]=o.exports},f4ba:function(n,t,e){"use strict";(function(n){e("6909");u(e("66fd"));var t=u(e("f016"));function u(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])}},[["f4ba","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"navigationBarTitleText": "",
"navigationBarTitleText": "支付成功",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view><web-view src="{{'https://wx.pangdly.com/#/paySuccess?order='+order}}"></web-view></view>
\ No newline at end of file
<view><web-view src="https://wx.pangdly.com/#/paySuccess"></web-view></view>
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/payment/payment"],{"22be":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{orderId:"",merchantName:"",productName:"",orderList:"",unitPrice:"",depositReceived:0,pdDiscountMoney:"",orderNum:"",pdOrderMoney:"",totalMoney:"",errorMessage:"",bodyShow:!1,timeStamp:"",nonceStr:"",package:"",signType:"",paySign:""}},onLoad:function(t){var n=this,a={orderId:t.order,userId:e.getStorageSync("openid"),payType:42};this.$request("orderc/order/findOrderInfo",a).then((function(t){"00"==t.code?(n.bodyShow=!0,n.timeStamp=t.data.timestamp,n.nonceStr=t.data.noncestr,n.package=t.data.package,n.signType=t.data.signType,n.paySign=t.data.sign,n.pdOrderMoney=t.data.pdOrderMoney,n.errorMessage=t.data.errorMessage,n.totalMoney=t.data.totalMoney,n.orderList=t.data.orderList,"undefined"==typeof n.orderList&&(n.orderList="",n.merchantName=t.data.merchantName,n.productName=t.data.productName,n.unitPrice=t.data.unitPrice,n.orderNum=t.data.orderNum,n.depositReceived=t.data.depositReceived,n.pdDiscountMoney=t.data.pdDiscountMoney)):e.showToast({title:t.message,icon:"none"})}))},methods:{goPay:function(){e.requestPayment({provider:"wxpay",timeStamp:this.timeStamp,nonceStr:this.nonceStr,package:this.package,signType:this.signType,paySign:this.paySign,success:function(t){e.redirectTo({url:"paySuccess?orderId=123456"})},fail:function(t){e.showToast({title:t.errMsg,duration:2e3,icon:"none"})}})}}};t.default=n}).call(this,n("543d")["default"])},4423:function(e,t,n){"use strict";n.r(t);var a=n("22be"),r=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=r.a},"619f":function(e,t,n){"use strict";(function(e){n("6909");a(n("66fd"));var t=a(n("6d4e"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"6d4e":function(e,t,n){"use strict";n.r(t);var a=n("9328"),r=n("4423");for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("b37c");var i,d=n("f0c5"),c=Object(d["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);t["default"]=c.exports},8724:function(e,t,n){},9328:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement;e._self._c},o=[]},b37c:function(e,t,n){"use strict";var a=n("8724"),r=n.n(a);r.a}},[["619f","common/runtime","common/vendor"]]]);
\ No newline at end of file
......@@ -6,8 +6,37 @@
"setting": {
"urlCheck": true,
"es6": true,
"enhance": false,
"postcss": true,
"minified": true
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
},
"compileType": "miniprogram",
"libVersion": "",
......@@ -15,19 +44,15 @@
"projectname": "uni-pdtravel",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
......
......@@ -224,12 +224,14 @@ var _default =
if (uni.getStorageSync("openid")) {
_this.showBottom = true;
} else {
uni.navigateTo({
url: "../login/login" });
// uni.navigateTo({
// url:"../login/login"
// })
_this.login();
}
},
......@@ -248,6 +250,47 @@ var _default =
console.log(res);
} });
},
login: function login() {//登录
uni.showLoading({
title: '加载中...' });
var _this = this;
uni.getProvider({
service: 'oauth',
success: function success(proRes) {
uni.login({
provider: proRes.provider[0],
success: function success(res) {
if (res.code) {
var data = {
code: res.code,
source: 3 };
_this.$request('wechat/wx/getUserInfoByCode', data).then(function (res) {
if (res.code == '00') {
var openid = res.data.openid;
uni.setStorageSync('openid', openid);
uni.navigateBack({
delta: 1 });
} else {
uni.removeStorageSync('openid');
uni.showToast({
title: res.message,
icon: "none" });
uni.hideLoading();
}
}).catch(function (err) {
uni.removeStorageSync('openid');
uni.hideLoading();
});
}
} });
} });
} } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-alipay/dist/index.js */ 1)["default"]))
......
......@@ -250,6 +250,9 @@ var _default =
},
onLoad: function onLoad(option) {var _this = this;
uni.showToast({
title: uni.getStorageSync("openid") });
var data = {
orderId: option.orderId, //订单Id
userId: uni.getStorageSync("openid"), //用户Id
......
{
"pages": [
"pages/index/index",
"pages/payment/payment",
"pages/orderPayment/orderPayment",
"pages/login/login",
"pages/paySuccess/paySuccess"
"pages/paySuccess/paySuccess",
"pages/ourPayment/ourPayment"
],
"subPackages": [],
"window": {
......@@ -17,6 +18,5 @@
"desc": "请点击确定"
}
},
"usingComponents": {},
"sitemapLocation": "sitemap.json"
"usingComponents": {}
}
\ No newline at end of file
......@@ -10,7 +10,8 @@
/* WEBPACK VAR INJECTION */(function(createApp) {__webpack_require__(/*! uni-pages */ 4);var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 5));
var _request = _interopRequireDefault(__webpack_require__(/*! common/request.js */ 11));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}
var _request = _interopRequireDefault(__webpack_require__(/*! common/request.js */ 11));
__webpack_require__(/*! ./common/icon/iconfont.css */ 12);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}
_vue.default.prototype.$request = _request.default;
......@@ -105,7 +106,7 @@ var _default = {
},
onHide: function onHide() {
console.log('App Hide');
} };exports.default = _default;
/***/ }),
......
......@@ -29,6 +29,43 @@
8.页面最外层与里面的第一层为padding:0 12px;
9.css单位为rpx
*/
page{font-size:28rpx;color: #333333;background: #F7F7F7;}
page{font-size:28rpx;color: #333333;background: #F7F7F7;height: 100%;}
view,text,image{box-sizing:border-box;}
.btn{background:-webkit-linear-gradient(318deg, #ED400C 0%, #FB862C 100%);background:linear-gradient(132deg, #ED400C 0%, #FB862C 100%);display: inline-block;color: #FFFFFF;font-size:28rpx;border-radius:8rpx;text-align: center;}
@font-face {
font-family: "iconfont"; /* Project id 2600842 */
src: url(data:font/woff2;base64,d09GMgABAAAAAAVMAAsAAAAACowAAAT+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDOAqHbIYzATYCJAMYCw4ABCAFhG0HYhv/CCMRJnQyS/aPw9gx/WZcSZZdFdz4r69q6khG4j8HAb33NoukqcDXA8k/gfXRU3Z5CHfvQXYhunQPllGVTO/7dq98MnALYnNqbX8s+IAIkExY+otPmik78lJOkTv+55jx0vcGkn9tc8kIaxzYRgk0oIrLtGu7A70WPDG/B3iGCxN4GwTgQBqlkRUr12yIS892A3sTgEZoF2CXi57durTDuhvQMTiBpTbT7qoRXzBATpOXgTn6x4t8MoQFEkMhnKlu50odOZ6FZddWY//TtFSPGVteHc6XgAEoIKllJtEz3tEZZSaSUDiExTTFgSdbSMiSWZnZtf//JyyiXtksnMR/eaCRCBQGCBNB4USYmkkDspDZ0JAlhOMqRDl+ZSbaUMyjEGswADBLnOMCohqIsQh8FpapMEb/AURQYpzlonVQTpPCyBdI5ij0fo3jMQbD6L0jyGJODlxrL1+j6N8uTuEoIfwcv/WYm4TCBJb5Bch+/K8J5j8S3vhN5i/+djeEjQBkkqLs08OLIq8O5I4BtX4o9RVkvo3pNGRESdFfMC1JBykUy/M36EWcjfnoKxPBITdu8HkOxu4GcOgnKQKQGzuS7BFzolA+RXLLRESR3e1MNIA2fVse5Pgzm4shiAFkHRBl8fEIEfjXwHwwuJikhf0JJA74FIbBVEwSDDAMpRmRPygbiDqib3YbsNFwKLxlWoMc5gYnYyE64/WLU+JAy3lfbxKbRC5eLu3sjPKiO4xoOpmkE8KpRGKT9BircmOcq+dmZPljmUd2nJcVeXpexiivdkyYx9VtWq1tWofbDhx/ngxPtzne1NeKgTHxH9oGVzlSO39ag/B9oeEjGuRfU1SZ2GlfxMJmpn1OkZsdP3g1cg81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ZgBvAG4AdAAKAGkAYwBvAG4AZgBvAG4AdABSAGUAZwB1AGwAYQByAGkAYwBvAG4AZgBvAG4AdABpAGMAbwBuAGYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG4AZgBvAG4AdABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAQIBAwEEAQUBBgEHAA10dWJpYW9sdW5rdW8tCWljb24tdGVzdAtmbC1yZW5taW5iaQhpbV9odWlnZQN5b3UAAAAA) format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-tubiaolunkuo-:before {
content: "\e602";
}
.icon-icon-test:before {
content: "\e601";
}
.icon-fl-renminbi:before {
content: "\e634";
}
.icon-im_huige:before {
content: "\e600";
}
.icon-you:before {
content: "\e74e";
}
......@@ -8173,6 +8173,18 @@ var request = function request() {var url = arguments.length > 0 && arguments[0]
request;exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ }),
/* 12 */
/*!*********************************************************!*\
!*** E:/pangding/uni-pdtravel/common/icon/iconfont.css ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
\ No newline at end of file
{
"navigationBarTitleText": "",
"navigationBarTitleText": "登录中",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
{
"navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view><view hidden="{{!(bodyShow)}}" class="middle"><view class="main"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><block wx:if="{{orderList!=''}}"><view class="product"><view><text>{{''+item.merchantName+"("+item.productName+')'}}</text><text><text style="font-size:24rpx;">¥</text>{{item.unitPrice+''}}<text>x</text>{{''+item.orderNum}}<view class="_br"></view><block wx:if="{{item.depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+item.depositReceived}}</text></block></text></view><block wx:if="{{item.pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{item.pdDiscountMoney+''}}</text></view></block></view></block></block><block wx:if="{{orderList==''}}"><view class="product"><view><text>{{''+merchantName+"("+productName+')'}}</text><text style="text-align:right;"><view style="font-size:24rpx;" class="_small">¥</view>{{unitPrice+''}}<text>x</text>{{''+orderNum}}<view class="_br"></view><block wx:if="{{depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+depositReceived}}</text></block></text></view><block wx:if="{{pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{pdDiscountMoney+''}}</text></view></block></view></block><view class="mainP3"><text>实际支付</text><text><text><text style="font-size:28rpx;">¥</text>{{pdOrderMoney+''}}</text></text></view><view class="mainview"><image style="width:70rpx;height:62rpx;" src="../../static/img/payment/weixin.png"></image><view>微信支付</view><image style="width:32rpx;height:32rpx;" src="../../static/img/payment/input.png"></image></view></view></view><view hidden="{{!(bodyShow)}}" class="bottom"><view class="bottomFirst"><text>实付款</text><text><text>¥</text>{{pdOrderMoney+''}}</text></view><view class="bottomLast"><text href="tel:400-072-0368"></text><text data-event-opts="{{[['tap',[['goPay']]]]}}" bindtap="__e">去支付</text></view></view></view>
\ No newline at end of file
<view><view hidden="{{!(bodyShow)}}" class="middle"><view class="main"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><block wx:if="{{orderList!=''}}"><view class="product"><view><text>{{''+item.merchantName+"("+item.productName+')'}}</text><text><text style="font-size:24rpx;">¥</text>{{item.unitPrice+''}}<text>x</text>{{''+item.orderNum}}<view class="_br"></view><block wx:if="{{item.depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+item.depositReceived}}</text></block></text></view><block wx:if="{{item.pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{item.pdDiscountMoney+''}}</text></view></block></view></block></block><block wx:if="{{orderList==''}}"><view class="product"><view><text>{{''+merchantName+"("+productName+')'}}</text><text style="text-align:right;"><view style="font-size:24rpx;" class="_small">¥</view>{{unitPrice+''}}<text>x</text>{{''+orderNum}}<view class="_br"></view><block wx:if="{{depositReceived}}"><text style="margin-top:15rpx;font-size:22rpx;display:inline-block;color:#f45803;">{{"押金:"+depositReceived}}</text></block></text></view><block wx:if="{{pdDiscountMoney}}"><view class="coupon"><text>券</text><text><text style="font-size:24rpx;">-¥</text>{{pdDiscountMoney+''}}</text></view></block></view></block><view class="mainP3"><text>实际支付</text><text><text><text style="font-size:28rpx;">¥</text>{{pdOrderMoney+''}}</text></text></view><view class="mainview"><image style="width:70rpx;height:62rpx;" src="../../static/img/orderPayment/weixin.png"></image><view>微信支付</view><image style="width:32rpx;height:32rpx;" src="../../static/img/orderPayment/input.png"></image></view></view></view><view hidden="{{!(bodyShow)}}" class="bottom"><view class="bottomFirst"><text>实付款</text><text><text>¥</text>{{pdOrderMoney+''}}</text></view><view class="bottomLast"><text href="tel:400-072-0368"></text><text data-event-opts="{{[['tap',[['goPay']]]]}}" style="{{'background:'+(background)+';'}}" bindtap="__e">去支付</text></view></view></view>
\ No newline at end of file
This diff is collapsed.
{
"navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view class="bigBox"><view class="top"><view class="topName"><text class="topIcon"><text class="iconfont icon-tubiaolunkuo-"></text></text><text>重庆胖丁信息技术有限公司</text></view><view class="topMoney"><text class="moneyText">支付金额</text><view class="moneyNumber"><text class="iconfont icon-fl-renminbi" style="font-size:56rpx;"></text><text>{{buyMoney}}</text><text></text></view></view><view class="topConpon"></view></view><view class="middle">友情提示:请核对以上付款金额、付款商户等信息与交易一致。经您确认支付的金额,商家不会退回亦无赔偿义务。</view><view class="bottom"><view class="botLeft"><view><text data-event-opts="{{[['tap',[['clickNum',[1]]]]]}}" bindtap="__e">1</text><text data-event-opts="{{[['tap',[['clickNum',[2]]]]]}}" bindtap="__e">2</text><text data-event-opts="{{[['tap',[['clickNum',[3]]]]]}}" bindtap="__e">3</text></view><view><text data-event-opts="{{[['tap',[['clickNum',[4]]]]]}}" bindtap="__e">4</text><text data-event-opts="{{[['tap',[['clickNum',[5]]]]]}}" bindtap="__e">5</text><text data-event-opts="{{[['tap',[['clickNum',[6]]]]]}}" bindtap="__e">6</text></view><view><text data-event-opts="{{[['tap',[['clickNum',[7]]]]]}}" bindtap="__e">7</text><text data-event-opts="{{[['tap',[['clickNum',[8]]]]]}}" bindtap="__e">8</text><text data-event-opts="{{[['tap',[['clickNum',[9]]]]]}}" bindtap="__e">9</text></view><view><text data-event-opts="{{[['tap',[['clickNum',[0]]]]]}}" style="width:66.7%;" bindtap="__e">0</text><text data-event-opts="{{[['tap',[['clickNum',['.']]]]]}}" style="width:33.3%;" bindtap="__e">.</text></view></view><view class="botRight"><view data-event-opts="{{[['tap',[['clickEnter']]]]}}" class="rightOne" bindtap="__e"><text class="iconfont icon-im_huige" style="font-size:70rpx;"></text></view><view class="rightTwo"><view>立即</view><view>支付</view></view></view></view></view>
\ No newline at end of file
.bigBox{background:#f5f5f5;height: 100%;}
.top{background: #FFFFFF;}
.topName{font-size:28rpx;font-weight: bold;padding-top: 50rpx;display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-align: center;-webkit-align-items: center;align-items: center;-webkit-box-pack: center;-webkit-justify-content: center;justify-content: center;}
.topIcon{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-right:10rpx;width:50rpx;height:50rpx;border-radius:50%;background:#FF8B57;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;}
.icon-tubiaolunkuo-{font-size:36rpx;color: #FFFFFF;font-weight: 400;}
.topMoney{padding:80rpx 24rpx 35rpx 24rpx;display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align: center;-webkit-align-items: center;align-items: center;}
.moneyText{color: #FF3C00;font-size:28rpx;font-weight: bold;}
.moneyNumber text:nth-child(2){font-size: 58rpx;font-weight: bold;position: relative;left: -6rpx;}
.moneyNumber text:last-child{-webkit-animation: dis 1.5s infinite;animation: dis 1.5s infinite;-webkit-transition: 1s;transition: 1s;width: 1px;height:56rpx;display: inline-block;background: #333333;position: relative;top:8rpx;}
.middle{padding:60rpx 24rpx 0 24rpx;font-size: 22rpx;color: #999999;line-height: 40rpx;}
.bottom{position:absolute;bottom:0;height:40%;background: #FFFFFF;width:100%;display: -webkit-box;display: -webkit-flex;display: flex;border-top:1px solid #dddddd;font-size:50rpx;}
.botLeft{width:75%;}
.botLeft view{height:25%;display: -webkit-box;display: -webkit-flex;display: flex;border-bottom:1px solid #dddddd;}
.botLeft view:last-child{border:none;}
.botLeft view text{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align: center;-webkit-align-items: center;align-items: center;-webkit-box-pack: center;-webkit-justify-content: center;justify-content: center;border-right:1px solid #dddddd;}
.botLeft view:last-child text{-webkit-box-flex:initial;-webkit-flex:initial;flex:initial;}
.botRight{width:25%;}
.rightOne{height: 25%;display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack: center;-webkit-justify-content: center;justify-content: center;border-bottom:1px solid #dddddd;}
.rightTwo{height: 75%;border:none;color: #FFFFFF;background: #CCCCCC;display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack: center;-webkit-justify-content: center;justify-content: center;}
@-webkit-keyframes dis{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
@keyframes dis{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
{
"navigationBarTitleText": "",
"navigationBarTitleText": "支付成功",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
......@@ -4,57 +4,30 @@
"ignore": []
},
"setting": {
"urlCheck": false,
"urlCheck": true,
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minified": true
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wxe678d5240e98a7b8",
"projectname": "uni-pdtravel",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": 0,
"list": [
{
"name": "",
......
......@@ -11,7 +11,14 @@
"list": []
},
"miniprogram": {
"list": []
"list": [
{
"name": "pages/ourPayment/ourPayment",
"pathName": "pages/ourPayment/ourPayment",
"query": "",
"scene": null
}
]
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment