Commit 890cf235 authored by 潘永坪's avatar 潘永坪

Merge remote-tracking branch 'remotes/origin/zhoucong' into develop

# Conflicts:
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/myVlog/myVlog.js.map
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/photoAlbum/photoAlbum.js.map
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/scenicList/scenicList.js.map
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/share/share.js.map
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/vlogIndex/vlogIndex.js.map
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/vlogList/vlogList.js.map
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/vlog/vlogface/vlogface.js.map
parents 18a83bff 4fa464e9
......@@ -9,8 +9,7 @@
node_modules/
.node_modules/
.eslintcache
unpackage/dist/build/
unpackage/dist/dev/
unpackage/
# python
*.pyc
......@@ -256,6 +256,17 @@
}
}
,{
"path" : "pages/vlog/myVlogPhotos/myVlogPhotos",
"style" :
{
"navigationBarTitleText": "我的vlog照片",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor":"#ffffff",
"navigationBarTextStyle": "black"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
......
<template>
<view class="content">
<view class="" style="display: flex;margin-top: 40rpx;">
<u-section title="精彩瞬间" :right="false" color="#303133" ></u-section>
<text style="font-size: 24rpx;color: #ccc;margin-left: 30rpx;">MOMENT</text>
</view>
<image src="../../../static/img/vlog/icon/fengexian.png" mode="" style="width: 100%;height: 15rpx;"></image>
<view class="row">
<view class="item" v-for="(item,index) in list" :key="index" @click="pushImg(item)">
<image :src="item.thumbImageUrl" mode=""></image>
<u-icon class="icon" name="checkmark-circle-fill" color="#2979FF" size="50"></u-icon>
<view class="price">
<text class="text1">¥123</text>
<text class="text2">¥123</text>
</view>
</view>
</view>
<view class="bottom" >
<view class="price">
<text class="text1">¥123</text>
<text class="text2">¥123</text>
</view>
<view class="btnn">
提交订单
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list:[],//相片列表
checkImg:"",//选中的图片
}
},
onLoad(){//代替 vue 里面的 created
this.getPhotoData()
},
onReady() {//代替 vue 里面的 mounted
},
methods: {
pushImg(item){//添加相片到订单
// this.checkImg=item.thumbImageUrl
},
getPhotoData(){//获取用户vlog图片
this.$request("wechatUser/myPage/getVlogRecord", {
openid: uni.getStorageSync("openid"),
productType:1
}).then(res => {
console.log(res.data);
if (res.code === "00") {
this.list=res.data
}else{
uni.showModal({
title: '提示',
content: res.message,
showCancel: false,
})
}
})
}
}
}
</script>
<style lang="scss" scoped>
.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;
.row{display: flex;width: 100%;justify-content: space-between;flex-wrap: wrap;padding-bottom: 100rpx;
.item{width: 48%;height: 220rpx;position: relative;margin-bottom: 20rpx;
image{width: 100%;height: 100%;border-radius: 10rpx;}
.icon{position: absolute;top: 5rpx;right: 5rpx;}
.price{position: absolute;bottom: 10rpx;right: 10rpx;font-weight: bold;
.text1{font-size: 24rpx; text-decoration: line-through;color: #ccc;}
.text2{font-size: 32rpx;color: #EE520E;margin-left: 10rpx;}
}
}
}
.bottom{border-top: 1rpx solid #e8e8e8;background-color: #fff; position: fixed;bottom: 0;width: 100%;height: 100rpx;right: 0;line-height: 100rpx;font-size: 32rpx;font-weight: bold;border-top-left-radius: 10rpx;border-top-right-radius: 10rpx;z-index: 10;
.btnn{float: right;width: 200rpx;background-color: #FFE600;border-radius: 10rpx;text-align: center;}
.price{font-weight: bold;float: left;padding-left: 20rpx;
.text1{font-size: 24rpx; text-decoration: line-through;color: #ccc;}
.text2{font-size: 32rpx;color: #EE520E;margin-left: 10rpx;}
}
}
}
</style>
\ No newline at end of file
<template>
<view class="content">
<view class="item">
<view class="item" style="padding: 20rpx 0;height: 220rpx;">
<image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<view class="title">
<text>我的VLOG照片</text>
<navigator url="../productDetails/productDetails" class="btnn" style="margin-top: 40rpx;">
<view>我的VLOG照片</view>
<navigator url="../myVlogPhotos/myVlogPhotos" class="btnn" style="margin-top: 50rpx;">
<view>点击查看</view>
</navigator>
</view>
</view>
<block>
<block v-for="(item,index) in list" :key="index">
<view class="item">
<image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<image :src="item.imgUrl"></image>
<view class="title">
<text>欢乐集</text>
<text>{{item.name}}</text>
<view style="margin: 15rpx 0;">
<text class="noprice">¥88</text>
<text class="price">¥88</text>
<text class="noprice">¥{{item.originalPrice}}</text>
<text class="price">¥{{item.sellingPrice}}</text>
</view>
<navigator url="../productDetails/productDetails" class="btnn">
<navigator :url="'../productDetails/productDetails?id='+item.id+'&name='+item.name" class="btnn">
<view>开始制作</view>
</navigator>
</view>
</view>
<view class="item">
<image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<view class="title">
<text>心语摆台</text>
<view style="margin: 15rpx 0;">
<text class="noprice">¥88</text>
<text class="price">¥88</text>
</view>
<navigator url="../productDetails/productDetails" class="btnn">
<view>开始制作</view>
</navigator>
<view class="guige" v-if="item.priceStockList[0].standardName">
规格:{{item.priceStockList[0].standardName || ""}}
</view>
</view>
</block>
......@@ -44,25 +33,45 @@
export default {
data() {
return {
list:[],//商品列表
}
},
onLoad(){//代替 vue 里面的 created
this.getList()
},
onReady() {//代替 vue 里面的 mounted
},
methods: {
getList(){//获取商品列表
this.$request("scenic/user/product/findProductList", {
openid: uni.getStorageSync("openid"),
productType:4,
type:4
}).then(res => {
if (res.code === "00") {
this.list=res.data.list
}else{
uni.showModal({
title: '提示',
content: res.message,
showCancel: false,
})
}
})
}
}
}
</script>
<style lang="scss" scoped>
.content{padding: 0 20rpx;box-sizing: border-box;margin: 0 auto;
.item{display: flex;justify-content: space-between;padding: 20rpx 0;height: 220rpx;
.item{display: flex;justify-content: space-between;padding: 40rpx 0;height: 260rpx;position: relative;
image{width: 48%;height: 100%; border-radius: 10rpx;}
.title{width: 48%;height: 100%;text-align: center;font-weight: bold;
.btnn {display: inline-block;border-radius: 15rpx;background-color: #FFE600;font-weight: bold;padding: 15rpx 20rpx;}
}
.guige{position: absolute;bottom: 0;left: 13%;color: #999999;}
}
}
.noprice{font-size: 24rpx; text-decoration: line-through;color: #ccc;}
.price{font-size: 32rpx;color: #DE6F26;margin-left: 10rpx;}
.price{font-size: 32rpx;color: #EE520E;margin-left: 10rpx;}
</style>
\ No newline at end of file
<template>
<view class="content">
<view class="content">
<view class="item">
<image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
<image :src="productVo.priceStockList[0].imgList[0].url"></image>
<view class="title" style="padding-top: 35rpx;">
<text>规格:24张</text>
<text>规格:{{productVo.priceStockList[0].standardName || ""}}</text>
<view style="margin-top: 30rpx;">
<text class="noprice">¥88</text>
<text class="price">¥88</text>
<text class="noprice">¥{{productVo.priceStockList[0].originalPrice || ""}}</text>
<text class="price">¥{{productVo.priceStockList[0].sellingPrice || ""}}</text>
</view>
</view>
</view>
<view class="" style="display: flex;">
<u-section title="模板选择" :right="false" color="#303133" ></u-section><text style="font-size: 24rpx;color: #ccc;margin-left: 30rpx;">Template Selection</text>
<u-section title="模板选择" :right="false" color="#303133"></u-section><text style="font-size: 24rpx;color: #ccc;margin-left: 30rpx;">Template Selection</text>
</view>
<image src="../../../static/img/vlog/icon/fengexian.png" mode="" style="width: 100%;height: 15rpx;"></image>
<view style="display: flex;justify-content: space-around;margin-top: 20rpx;">
......@@ -20,7 +20,7 @@
</view>
<view v-if="current===0">
<view class="cover">
<view class="coverItem" v-for="(item,index) in coverList" :key="index">
<view class="coverItem" v-for="(item,index) in imgList2" :key="index">
<image class="img" :src="item.url" mode="" @click="changeCover(item.url)"></image>
<u-icon v-if="cover===item.url" class="icon" name="checkmark-circle-fill" color="#2979FF" size="50"></u-icon>
</view>
......@@ -28,115 +28,197 @@
</view>
<view class="" v-else>
<view class="cover">
<view class="coverItem" v-for="(item,index) in insidePagesList" :key="index">
<view class="coverItem" v-for="(item,index) in imgList3" :key="index">
<image class="img" :src="item.url" mode="" @click="changeinsidePages(item.url)"></image>
<u-icon v-if="insidePages===item.url" class="icon" name="checkmark-circle-fill" color="#2979FF" size="50"></u-icon>
</view>
</view>
</view>
<view style="display: flex;margin-top: 30rpx;">
<u-section title="详细参数" :right="false" color="#303133" ></u-section><text style="font-size: 24rpx;color: #ccc;margin-left: 30rpx;">Parameters</text>
<u-section title="详细参数" :right="false" color="#303133"></u-section><text style="font-size: 24rpx;color: #ccc;margin-left: 30rpx;">Parameters</text>
</view>
<image src="../../../static/img/vlog/icon/fengexian.png" mode="" style="width: 100%;height: 15rpx;"></image>
<view class="parameter">
<view class="parameterItem">
<view>产品品牌:</view>
<view>产品名称:</view>
<view>产品规格:</view>
<view>内页数量:</view>
<view>入册数量:</view>
<view>内页尺寸:</view>
</view>
<view class="parameterItem">
<view>相册工艺:</view>
<view>产品封面:</view>
<view>内页材质:</view>
<view>装订方式:</view>
<view>产品配送:</view>
</view>
</view>
<image :src="item.url" mode="widthFix" v-for="(item,index) in imgList1" :key="index" style="width: 100%;border-radius: 10rpx;"></image>
<view class="bottom" @click="beginMaking">
上传照片制作
</view>
</view>
</template>
<script>
export default {
data() {
return {
current: 0,//封面内页切换
cover:"",//封面
coverList:[
{url:"https://cdn.uviewui.com/uview/swiper/1.jpg"},
{url:"https://cdn.uviewui.com/uview/swiper/2.jpg"},
{url:"https://cdn.uviewui.com/uview/swiper/3.jpg"},
],//封面列表
insidePages:"",//内页
insidePagesList:[
{url:"https://cdn.uviewui.com/uview/swiper/1.jpg"},
{url:"https://cdn.uviewui.com/uview/swiper/2.jpg"},
{url:"https://cdn.uviewui.com/uview/swiper/3.jpg"}
],//内页列表
list:[
{name:"封面"},
{name:"内页"}
],
}
},
onLoad(){//代替 vue 里面的 created
uni.setNavigationBarTitle({title:"欢乐集"})
},
onReady() {//代替 vue 里面的 mounted
},
methods: {
changeCover(url){//选择封面
this.cover=url
export default {
data() {
return {
productVo:{},//产品详情
imgList1:[],//详情列表
imgList2:[],//封面列表
imgList3:[],//内页列表
current: 0, //封面内页切换
cover: "", //封面
insidePages: "", //内页
}
},
changeinsidePages(url){//选择内页
this.insidePages=url
onLoad(option) { //代替 vue 里面的 created
uni.setNavigationBarTitle({
title: option.name
})
this.getDetails(option.id)
},
beginMaking(){
if(this.cover===""){
return uni.showModal({title: '提示',content: '请选择封面',});
}
if(this.insidePages===""){
return uni.showModal({title: '提示',content: '请选择内页',});
}
this.$u.route({
url:'pages/vlog/uploadPictures/uploadPictures',
params:{
cover:this.cover,
insidePages:this.insidePages
onReady() { //代替 vue 里面的 mounted
},
methods: {
getDetails(id) { //获取商品详情
this.$request("scenic/user/product/findChoseProductInfo", {
productId: id,
openid: uni.getStorageSync("openid")
}).then(res => {
if (res.code === "00") {
this.productVo=res.data.productVo
res.data.productVo.imgList.forEach(item=>{
if(item.location===5){
this.imgList1.push(item)
}
if(item.location===6){
this.imgList2.push(item)
}
if(item.location===8){
this.imgList3.push(item)
}
})
} else {
uni.showModal({
title: '提示',
content: res.message,
showCancel: false,
})
}
})
},
changeCover(url) { //选择封面
this.cover = url
},
changeinsidePages(url) { //选择内页
this.insidePages = url
},
beginMaking() {
if (this.cover === "") {
return uni.showModal({
title: '提示',
content: '请选择封面',
});
}
})
if (this.insidePages === "") {
return uni.showModal({
title: '提示',
content: '请选择内页',
});
}
this.$u.route({
url: 'pages/vlog/uploadPictures/uploadPictures',
params: {
cover: this.cover,
insidePages: this.insidePages
}
})
}
}
}
}
</script>
<style lang="scss" scoped>
.content{padding: 0 20rpx;box-sizing: border-box;margin-bottom:100rpx;text-align: center;
.item{display: flex;justify-content: space-between;padding: 30rpx 20rpx 20rpx 20rpx;
image{width: 48%;height: 220rpx; border-radius: 10rpx;}
.title{width: 48%;height: 220rpx;padding-top: 10rpx;margin-top: 20rpx;}
}
.noprice{font-size: 24rpx; text-decoration: line-through;color: #ccc;}
.price{font-size: 32rpx;color: #DE6F26;margin-left: 10rpx;}
.cover{display: flex;flex-wrap: wrap;justify-content: space-between;
.coverItem{width: 48.5%;height: 200rpx; position: relative;padding-top: 20rpx;
.img{width: 100%;height: 100%;border-radius: 10rpx;}
.icon{position: absolute;top: 25rpx;right: 5rpx;}
.content {
padding: 0 20rpx;
box-sizing: border-box;
margin-bottom: 100rpx;
text-align: center;
.item {
display: flex;
justify-content: space-between;
padding: 30rpx 20rpx 20rpx 20rpx;
image {
width: 48%;
height: 220rpx;
border-radius: 10rpx;
}
.title {
width: 48%;
height: 220rpx;
padding-top: 10rpx;
margin-top: 20rpx;
}
}
.parameter{display: flex;justify-content: space-between;
.parameterItem{width: 50%;text-align: left;color: #ccc;
view{margin: 10rpx 0;}
.noprice {
font-size: 24rpx;
text-decoration: line-through;
color: #ccc;
font-weight: bold;
}
.price {
font-size: 32rpx;
color: #DE6F26;
margin-left: 10rpx;
font-weight: bold;
}
.cover {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.coverItem {
width: 48.5%;
height: 220rpx;
position: relative;
padding-top: 20rpx;
.img {
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.icon {
position: absolute;
top: 25rpx;
right: 5rpx;
}
}
}
.bottom{position: fixed;bottom: 0;width: 100%;height: 100rpx;background-color:#FFE600;right: 0;line-height: 100rpx;font-size: 32rpx;font-weight: bold;border-top-left-radius: 10rpx;border-top-right-radius: 10rpx;}
.bottom {
position: fixed;
bottom: 0;
width: 100%;
height: 100rpx;
background-color: #FFE600;
right: 0;
line-height: 100rpx;
font-size: 32rpx;
font-weight: bold;
border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx;
}
}
.btnn {
background-color: #ECF4FF;
width: 25%;
height: 60rpx;
line-height: 60rpx;
font-size: 26rpx;
}
.active {
background-color: #2979FF;
color: #fff;
}
.noactive {
color: #2979FF;
}
.btnn{background-color: #ECF4FF;width: 25%;height: 60rpx;line-height: 60rpx;font-size: 26rpx;}
.active{background-color: #2979FF;color: #fff;}
.noactive{color: #2979FF;}
</style>
\ No newline at end of file
</style>
......@@ -44,7 +44,7 @@
})
},
methods: {
error(e){//视频播放出错触发函数
error(e){//视频播放出错
uni.showModal({content: e.target.errMsg,showCancel: false})
},
}
......
......@@ -109,13 +109,6 @@
})
},
fail: err => {
uni.showModal({
title: '提示',
content: err,
showCancel:false,
});
uni.hideLoading();
//拒绝授权时显示
if (err.errMsg === 'saveVideoToPhotosAlbum:fail auth deny') {
......@@ -127,10 +120,7 @@
//打开权限设置
uni.openSetting({
success: setting => {
if (setting
.authSetting[
'scope.writePhotosAlbum'
]) {
if (setting.authSetting['scope.writePhotosAlbum']) {
uni.showModal({
title: '提示',
content: '获取权限成功,再次点击下载即可保存',
......@@ -152,12 +142,6 @@
})
},
fail: err => { //下载失败
uni.showModal({
title: '提示',
content: "123"+ err,
showCancel:false,
});
uni.hideLoading();
if (err.errMsg == 'downloadFile:fail createDownloadTask:fail url not in domain list') {
uni.showToast({
......
......@@ -32,7 +32,7 @@
<view>不遮挡面部</view>
</view>
</view>
<u-button type="success" size="medium" @click="takePhoto">开始识别</u-button>
<!-- <u-button type="success" size="medium" @click="takePhoto">开始识别</u-button> -->
</view>
</template>
......@@ -69,10 +69,10 @@
title: '提示',
content: '视频合成中,请在1~2分钟后在我的VLOG视频集中查看',
showCancel:false,
success(res) {
if (res.confirm) {
that.$u.route("pages/vlog/vlogIndex/vlogIndex")
}
success() {
uni.navigateTo({
url:"../vlogIndex/vlogIndex"
})
}
});
}else{
......@@ -80,10 +80,10 @@
title: '提示',
content: '请先在打卡点录制素材',
showCancel:false,
success(res) {
if (res.confirm) {
that.$u.route("pages/vlog/vlogIndex/vlogIndex")
}
success() {
uni.navigateTo({
url:"../vlogIndex/vlogIndex"
})
}
});
}
......
(my["webpackJsonp"]=my["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("dbd1");var u,a,c,f,i=n("f0c5"),l=Object(i["a"])(r["default"],u,a,!1,null,null,null,!1,c,f);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={onLaunch:function(t){var n=t.path;e.setStorageSync("enterOptions",t);var r=e.getStorageSync("token");r||-1!=n.indexOf("pages/ourPayment/ourPayment")||setTimeout((function(){e.navigateTo({url:"/pages/login/login"})}),300),t.query&&t.query.qrCode?e.setStorageSync("alipayQrCode",t.query.qrCode):e.removeStorageSync("alipayQrCode")},onShow:function(){},onHide:function(){}};t.default=n}).call(this,n("c11b")["default"])},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},d81f:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");var t=c(n("66fd")),r=c(n("0f37")),o=c(n("cd04")),u=c(n("1d0e"));n("48bb");var a=c(n("a87e"));function c(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 i(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){l(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 l(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.$commonjs=a.default,t.default.prototype.$request=u.default,t.default.use(o.default),t.default.config.productionTip=!1,r.default.mpType="app";var d=new t.default(i({},r.default));e(d).$mount()}).call(this,n("c11b")["createApp"])},dbd1:function(e,t,n){"use strict";var r=n("def2"),o=n.n(r);o.a},def2:function(e,t,n){}},[["d81f","common/runtime","common/vendor"]]]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<view><web-view src="{{outUrl}}"></web-view></view>
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/combination/combiChoose/combiChoose"],{"6fba":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},d=[]},7426:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");r(n("66fd"));var t=r(n("8e4c"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("c11b")["createPage"])},"8e4c":function(e,t,n){"use strict";n.r(t);var r=n("6fba"),o=n("f9bd");for(var d in o)"default"!==d&&function(e){n.d(t,e,(function(){return o[e]}))}(d);var a,c=n("f0c5"),i=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],a);t["default"]=i.exports},f4ec:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{enterUrl:"",outUrl:""}},onLoad:function(t){if(this.enterUrl=e.getStorageSync("alipayQrCode"),this.enterUrl){var n=this.getUrlKey("channelId"),r=this.getUrlKey("companyId"),o=this.getUrlKey("merchantId"),d=this.getUrlKey("groupId"),a=this.getUrlKey("groupChannelId"),c=this.getUrlKey("pageType"),i=e.getStorageSync("openid"),u=e.getStorageSync("token"),l=e.getStorageSync("createUserId"),s=e.getStorageSync("userId");1==c?this.outUrl="https://wx.pangdly.com/#/combiChoose?channelId="+n+"&merchantId="+o+"&groupId="+d+"&groupChannelId="+a+"&companyId="+r+"&pdOpenid="+i+"&pdToken="+u+"&pdCreateUserId="+l+"&pdUserId="+s:e.navigateTo({url:"../distributionCombiChoose/distributionCombiChoose?channelId="+n+"&merchantId="+o+"&groupId="+d+"&groupChannelId="+a+"&companyId="+r+"&pdOpenid="+i})}else{var p=t.channelId,g=t.companyId,f=t.merchantId,h=t.groupId,I=t.groupChannelId,y=t.thirdOpenid,m=t.touristType,b=e.getStorageSync("openid"),U=e.getStorageSync("token"),S=e.getStorageSync("createUserId"),C=e.getStorageSync("userId"),v="https://wx.pangdly.com/#/combiChoose?thirdOpenid="+y+"&touristType="+m;this.outUrl=v+"&channelId="+p+"&merchantId="+f+"&groupId="+h+"&groupChannelId="+I+"&companyId="+g+"&pdOpenid="+b+"&pdToken="+U+"&pdCreateUserId="+S+"&pdUserId="+C}},methods:{getUrlKey:function(e){return(new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""}}};t.default=n}).call(this,n("c11b")["default"])},f9bd:function(e,t,n){"use strict";n.r(t);var r=n("f4ec"),o=n.n(r);for(var d in r)"default"!==d&&function(e){n.d(t,e,(function(){return r[e]}))}(d);t["default"]=o.a}},[["7426","common/runtime","common/vendor"]]]);
\ No newline at end of file
<view><web-view src="{{outUrl}}"></web-view></view>
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/combination/distributionCombiChoose/distributionCombiChoose"],{"171f":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},d=[]},"552d":function(e,t,n){"use strict";n.r(t);var r=n("7744"),o=n.n(r);for(var d in r)"default"!==d&&function(e){n.d(t,e,(function(){return r[e]}))}(d);t["default"]=o.a},"564a":function(e,t,n){"use strict";n.r(t);var r=n("171f"),o=n("552d");for(var d in o)"default"!==d&&function(e){n.d(t,e,(function(){return o[e]}))}(d);var a,i=n("f0c5"),c=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],a);t["default"]=c.exports},"5eb9":function(e,t,n){"use strict";(function(e){n("6909"),n("921b");r(n("66fd"));var t=r(n("564a"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("c11b")["createPage"])},7744:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{enterUrl:"",outUrl:""}},onLoad:function(t){if(this.enterUrl=e.getStorageSync("alipayQrCode"),this.enterUrl){var n=this.getUrlKey("channelId"),r=this.getUrlKey("companyId"),o=this.getUrlKey("merchantId"),d=this.getUrlKey("groupId"),a=this.getUrlKey("groupChannelId"),i=this.getUrlKey("pageType"),c=e.getStorageSync("openid"),u=e.getStorageSync("token"),s=e.getStorageSync("createUserId"),l=e.getStorageSync("userId");1==i?e.navigateTo({url:"../combiChoose/combiChoose?channelId="+n+"&merchantId="+o+"&groupId="+d+"&groupChannelId="+a+"&companyId="+r+"&pdOpenid="+c}):this.outUrl="https://wx.pangdly.com/#/distributionCombiChoose?channelId="+n+"&merchantId="+o+"&groupId="+d+"&groupChannelId="+a+"&companyId="+r+"&pdOpenid="+c+"&pdToken="+u+"&pdCreateUserId="+s+"&pdUserId="+l}else{var p=t.channelId,g=t.companyId,h=t.merchantId,f=t.groupId,I=t.groupChannelId,y=t.thirdOpenid,m=t.touristType,b=e.getStorageSync("openid"),U=e.getStorageSync("token"),C=e.getStorageSync("createUserId"),S=e.getStorageSync("userId"),v="https://wx.pangdly.com/#/distributionCombiChoose?thirdOpenid="+y+"&touristType="+m;this.outUrl=v+"&channelId="+p+"&merchantId="+h+"&groupId="+f+"&groupChannelId="+I+"&companyId="+g+"&pdOpenid="+b+"&pdToken="+U+"&pdCreateUserId="+C+"&pdUserId="+S}},methods:{getUrlKey:function(e){return(new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""}}};t.default=n}).call(this,n("c11b")["default"])}},[["5eb9","common/runtime","common/vendor"]]]);
\ No newline at end of file
<view><view class="bottom"><web-view src="{{outUrl}}"></web-view></view></view>
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/index/index"],{"065f":function(n,t,e){"use strict";e.r(t);var r=e("737f"),u=e.n(r);for(var c in r)"default"!==c&&function(n){e.d(t,n,(function(){return r[n]}))}(c);t["default"]=u.a},"2a03":function(n,t,e){"use strict";var r;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return c})),e.d(t,"a",(function(){return r}));var u=function(){var n=this,t=n.$createElement;n._self._c},c=[]},"2bba":function(n,t,e){"use strict";(function(n){e("6909"),e("921b");r(e("66fd"));var t=r(e("c545"));function r(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("c11b")["createPage"])},"737f":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{outUrl:""}},onLoad:function(){var t=n.getStorageSync("openid"),e=n.getStorageSync("token"),r=n.getStorageSync("createUserId"),u=n.getStorageSync("userId");this.outUrl="https://wx.pangdly.com/#/home?pdOpenid="+t+"&pdToken="+e+"&pdCreateUserId="+r+"&pdUserId="+u},methods:{getUserInfo:function(){n.getUserProfile({lang:"zh_CN",desc:"登录",success:function(n){console.log(n)},fail:function(n){}})}}};t.default=e}).call(this,e("c11b")["default"])},c545:function(n,t,e){"use strict";e.r(t);var r=e("2a03"),u=e("065f");for(var c in u)"default"!==c&&function(n){e.d(t,n,(function(){return u[n]}))}(c);e("d9b5");var o,a=e("f0c5"),f=Object(a["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);t["default"]=f.exports},d9b5:function(n,t,e){"use strict";var r=e("e90d"),u=e.n(r);u.a},e90d:function(n,t,e){}},[["2bba","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/login/login"],{"2fd5":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement;e._self._c},a=[]},"9fb8":function(e,t,n){"use strict";n.r(t);var o=n("2fd5"),r=n("a824");for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var c,i=n("f0c5"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);t["default"]=u.exports},a824:function(e,t,n){"use strict";n.r(t);var o=n("bae4"),r=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},bae4:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{}},methods:{},onLoad:function(){var t=this;e.getProvider({service:"oauth",success:function(n){e.login({provider:n.provider[0],success:function(o){if(o.code){var r="";"weixin"==n.provider[0]?r=3:"alipay"==n.provider[0]&&(r=4);var a={code:o.code,source:r};t.$request("wechat/wx/getUserInfoByCode",a).then((function(n){if("00"==n.code){var o=n.data.openid;e.setStorageSync("openid",o);var a=n.data.userId||"",c={openid:o,source:r,userId:a};t.$request("wechatUser/login/findWxUserAndLogin",c).then((function(t){if("00"==t.code){var n=t.data.token||"";e.setStorageSync("token",n);var o=t.data.personId||"";e.setStorageSync("createUserId",o);var r=t.data.userId||"";e.setStorageSync("userId",r);var a=e.getStorageSync("enterOptions"),c="";for(var i in a.query)c+="&"+i+"="+a.query[i];c=c.substr(1),n&&e.redirectTo({url:"/"+a.path+"?"+c})}else e.showToast({title:t.message,icon:"none"})})).catch((function(t){e.showToast({title:"登录失败",icon:"none"})}))}else e.showToast({title:n.message,icon:"none"})})).catch((function(t){e.showToast({title:"登录失败",icon:"none"})}))}}})}})}};t.default=n}).call(this,n("c11b")["default"])},d263:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");o(n("66fd"));var t=o(n("9fb8"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("c11b")["createPage"])}},[["d263","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"defaultTitle": "",
"pullRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view><web-view src="{{outUrl}}"></web-view></view>
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/my/order/electronicTicket/electronicTicket"],{"30cc":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{outUrl:""}},onLoad:function(t){var n=e.getStorageSync("openid"),r=e.getStorageSync("token"),c=e.getStorageSync("createUserId"),u=e.getStorageSync("userId");this.outUrl="https://wx.pangdly.com/#/unusedDetail?id="+t.orderId+"&pdOpenid="+n+"&pdToken="+r+"&pdCreateUserId="+c+"&pdUserId="+u},methods:{}};t.default=n}).call(this,n("c11b")["default"])},"5d30":function(e,t,n){"use strict";n.r(t);var r=n("30cc"),c=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=c.a},e895:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return r}));var c=function(){var e=this,t=e.$createElement;e._self._c},u=[]},eeb6:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");r(n("66fd"));var t=r(n("f85e"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("c11b")["createPage"])},f85e:function(e,t,n){"use strict";n.r(t);var r=n("e895"),c=n("5d30");for(var u in c)"default"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);var o,a=n("f0c5"),d=Object(a["a"])(c["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],o);t["default"]=d.exports}},[["eeb6","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/orderPayment/orderPayment"],{"0d8a":function(e,t,r){"use strict";(function(e){r("6909"),r("921b");n(r("66fd"));var t=n(r("8611"));function n(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,r("c11b")["createPage"])},"223d":function(e,t,r){"use strict";r.r(t);var n=r("4917"),a=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},"27f6":function(e,t,r){"use strict";var n=r("74b1"),a=r.n(n);a.a},"36b6":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var a=function(){var e=this,t=e.$createElement;e._self._c},o=[]},4917:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{merchantName:"",productName:"",orderList:"",unitPrice:"",depositReceived:0,pdDiscountMoney:"",orderNum:"",pdOrderMoney:"",totalMoney:"",errorMessage:"",bodyShow:!1,timeStamp:"",nonceStr:"",package:"",signType:"",paySign:"",background:"",orderId:""}},onLoad:function(t){var r=this;this.orderId=t.orderId;var n={orderId:this.orderId,userId:e.getStorageSync("openid"),payType:42};this.$request("orderc/order/findOrderInfo",n).then((function(t){"00"==t.code?(r.bodyShow=!0,r.timeStamp=t.data.timestamp,r.nonceStr=t.data.noncestr,r.package=t.data.package,r.signType=t.data.signType,r.paySign=t.data.sign,r.pdOrderMoney=t.data.pdOrderMoney,0==r.pdOrderMoney&&-1==t.data.subOrderType&&e.navigateTo({url:"../my/order/electronicTicket/electronicTicket?orderId="+r.orderId}),r.errorMessage=t.data.errorMessage,r.totalMoney=t.data.totalMoney,r.orderList=t.data.orderList,"undefined"==typeof r.orderList&&(r.orderList="",r.merchantName=t.data.merchantName,r.productName=t.data.productName,r.unitPrice=t.data.unitPrice,r.orderNum=t.data.orderNum,r.depositReceived=t.data.depositReceived,r.pdDiscountMoney=t.data.pdDiscountMoney)):e.showToast({title:t.message,icon:"none"})}))},methods:{goPay:function(){var t=this,r=this;this.errorMessage?e.showToast({title:this.errorMessage,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.navigateTo({url:"../my/order/electronicTicket/electronicTicket?orderId="+r.orderId})},fail:function(t){e.showToast({title:t.errMsg,icon:"none"})}}))}}};t.default=r}).call(this,r("c11b")["default"])},"74b1":function(e,t,r){},8611:function(e,t,r){"use strict";r.r(t);var n=r("36b6"),a=r("223d");for(var o in a)"default"!==o&&function(e){r.d(t,e,(function(){return a[e]}))}(o);r("27f6");var d,i=r("f0c5"),c=Object(i["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],d);t["default"]=c.exports}},[["0d8a","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/ourPayment/ourPayment"],{2296:function(o,e,n){"use strict";n.r(e);var t=n("6d90"),a=n("6a16");for(var i in a)"default"!==i&&function(o){n.d(e,o,(function(){return a[o]}))}(i);n("9dd6");var c,s=n("f0c5"),r=Object(s["a"])(a["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],c);e["default"]=r.exports},3778:function(o,e,n){"use strict";(function(o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){n.e("components/orderCoupon").then(function(){return resolve(n("5503"))}.bind(null,n)).catch(n.oe)},a={components:{orderCoupon:t},data:function(){return{enterUrl:"",buyMoney:"",companyId:"",merchantId:"",name:"",payType:"",paySign:"",signType:"",timeStamp:"",nonceStr:"",package:"",orderInfo:"",flag:"",couponData:"",chooseCouponObj:"",savedMoney:0,ableConpon:"",orderSource:8,background:"",spaceBackground:"",payBackground:"#1dce2e",leftList:[{child:[{text:1,background:""},{text:2,background:""},{text:3,background:""}]},{child:[{text:4,background:""},{text:5,background:""},{text:6,background:""}]},{child:[{text:7,background:""},{text:8,background:""},{text:9,background:""}]},{child:[{text:0,background:""},{text:".",background:""}]}],orderId:""}},onLoad:function(e){this.enterUrl=o.getStorageSync("alipayQrCode"),this.payType=33,this.enterUrl?(this.merchantId=this.getUrlKey("merchantId"),this.companyId=this.getUrlKey("companyId")):(this.merchantId=e.merchantId,this.companyId=e.companyId),o.getStorageSync("openid")?(this.openid=o.getStorageSync("openid"),this.merchantId?this.init():this.initTwo(),this.initCoupon()):this.login()},methods:{login:function(){var e=this;o.getProvider({service:"oauth",success:function(n){o.login({provider:n.provider[0],success:function(t){if(t.code){var a="";"weixin"==n.provider[0]?a=3:"alipay"==n.provider[0]&&(a=4);var i={code:t.code,source:a};e.$request("wechat/wx/getUserInfoByCode",i).then((function(n){if("00"==n.code){e.openid=n.data.openid,o.setStorageSync("openid",e.openid),e.merchantId?e.init():e.initTwo(),e.initCoupon();var t=n.data.userId||"",i=n.data.openid||"",c={openid:i,source:a,userId:t};e.$request("wechatUser/login/findWxUserAndLogin",c).then((function(e){if("00"==e.code){var n=e.data.token||"";o.setStorageSync("token",n);var t=e.data.personId||"";o.setStorageSync("createUserId",t);var a=e.data.userId||"";o.setStorageSync("userId",a)}else o.showToast({title:e.message,icon:"none"})})).catch((function(e){o.showToast({title:"登录失败",icon:"none"})}))}else o.showToast({title:n.message,icon:"none"})})).catch((function(e){o.showToast({title:"登录失败",icon:"none"})}))}}})}})},getUrlKey:function(o){return(new RegExp("[?|&]"+o+"=([^&;]+?)(&|#|;|$)").exec(decodeURIComponent(this.enterUrl))||[,""])[1].replace(/\+/g,"%20")||""},clickNum:function(o,e,n){var t=this;this.buyMoney+=o,this.leftList[e].child[n].background="#dddddd",setTimeout((function(){t.leftList[e].child[n].background=""}),200),clearTimeout(this.flag),this.flag=setTimeout((function(){t.initCoupon()}),1500)},clickEnter:function(){var o=this;this.buyMoney=this.buyMoney.substr(0,this.buyMoney.length-1),this.spaceBackground="#dddddd",setTimeout((function(){o.spaceBackground=""}),200),clearTimeout(this.flag),this.flag=setTimeout((function(){o.initCoupon()}),1500)},couponChoose:function(o){this.chooseCouponObj=o,this.savedMoney=this.chooseCouponObj.savedMoney||0},showCoupon:function(){this.$refs.orderCoupon.showCoupon()},init:function(){var e=this,n={merchantId:this.merchantId,companyId:this.companyId};o.showLoading({title:"加载中",mask:!0}),this.$request("scenic/order/findCodePayInfo",n).then((function(n){o.hideLoading(),"00"==n.code?e.name=n.data.name:o.showToast({title:n.message,icon:"none"})})).catch((function(e){o.hideLoading()}))},initTwo:function(){var e=this,n={id:this.companyId};o.showLoading({title:"加载中",mask:!0}),this.$request("user/company/detail",n).then((function(n){o.hideLoading(),"00"==n.code?e.name=n.data.companyVo.companyName:o.showToast({title:n.message,icon:"none"})})).catch((function(e){o.hideLoading()}))},initCoupon:function(){var o=this,e=[];this.chooseCouponObj="",this.ableConpon="";var n={money:parseFloat(this.buyMoney)||0,merchantId:this.merchantId,companyId:this.companyId,orderSource:this.orderSource,openid:this.openid};this.$request("wechatUser/myPage/usableCouponList",n).then((function(n){if("00"==n.data.code){o.couponData=n.data.data;var t=n.data.data.masterSlaveCouponList;if(t.length>0){t.forEach((function(o){e.push(o.savedMoney)}));var a=Math.max.apply(null,e),i=t.filter((function(o){return o.savedMoney==a}));if(1==i.length)o.chooseCouponObj=i[0];else{var c=i.findIndex((function(o){return 1==o.createSource}));o.chooseCouponObj=c>-1?i[c]:i[0]}o.savedMoney=o.chooseCouponObj.savedMoney}else n.data.data.unusableCouponList.length>0&&n.data.data.unusableCouponList.forEach((function(e,n){1==e.isProduct&&(o.ableConpon=e)}))}}))},clickPay:function(){var e=this;if(parseFloat(this.buyMoney)){var n=[];""!=this.chooseCouponObj&&(n=this.chooseCouponObj.slaveList.length>0?[{couponId:this.chooseCouponObj.slaveCouponId,isMerchant:this.chooseCouponObj.slaveCreateSource,myCouponId:this.chooseCouponObj.slaveId,couponType:this.chooseCouponObj.couponType,couponPrice:this.chooseCouponObj.savedMoney}]:[{couponId:this.chooseCouponObj.couponId,isMerchant:this.chooseCouponObj.createSource,myCouponId:this.chooseCouponObj.id,couponType:this.chooseCouponObj.couponType,couponPrice:this.chooseCouponObj.savedMoney}]);var t={companyId:this.companyId,merchantId:this.merchantId,userId:this.openid,orderMoney:parseFloat(this.buyMoney),payType:this.payType,orderSource:this.orderSource,couponList:n};this.payBackground="#cccccc",this.$request("orderc/order/codePay",t).then((function(n){if(setTimeout((function(){e.payBackground="#1dce2e"}),1e3),"00"==n.code){if(n.data.errorMessage)return void o.showToast({title:n.data.errorMessage,icon:"none"});e.orderId=n.data.id,e.signType=n.data.signType,e.paySign=n.data.sign,e.timeStamp=n.data.timestamp,e.nonceStr=n.data.noncestr,e.package=n.data.package,e.orderInfo=n.data.payInfo||"",e.goPay()}else o.showToast({title:n.message,icon:"none"})})).catch((function(o){e.payBackground="#1dce2e"}))}else o.showToast({title:"请输入正确金额",icon:"none"})},goPay:function(){var e=this;o.requestPayment({provider:"alipay",orderInfo:this.orderInfo,success:function(n){o.redirectTo({url:"../paySuccess/paySuccess?orderId="+e.orderId})},fail:function(e){o.showToast({title:e.errMsg,icon:"none"})}})}},watch:{buyMoney:function(o,e){"."==o&&""==e&&(this.buyMoney="0."),"0"==o&&""==e&&(this.buyMoney="0."),2==o.length&&0==o.substr(0,1)&&"."!=o.substr(1,2)&&(this.buyMoney=o.substr(1,2)),isNaN(o)&&"."!=o&&(this.buyMoney=e);var n=String(this.buyMoney).indexOf(".")+1,t=String(this.buyMoney).length-n;t>2&&n>0&&(this.buyMoney=e),parseFloat(this.buyMoney)?this.payBackground="#1dce2e":this.payBackground="#cccccc"}}};e.default=a}).call(this,n("c11b")["default"])},"6a16":function(o,e,n){"use strict";n.r(e);var t=n("3778"),a=n.n(t);for(var i in t)"default"!==i&&function(o){n.d(e,o,(function(){return t[o]}))}(i);e["default"]=a.a},"6d90":function(o,e,n){"use strict";var t;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return t}));var a=function(){var o=this,e=o.$createElement,n=(o._self._c,""!=o.chooseCouponObj&&o.savedMoney>0?parseFloat(o.savedMoney.toFixed(2)):null);o.$mp.data=Object.assign({},{$root:{m0:n}})},i=[]},"7f8b":function(o,e,n){},"9dd6":function(o,e,n){"use strict";var t=n("7f8b"),a=n.n(t);a.a},d410:function(o,e,n){"use strict";(function(o){n("6909"),n("921b");t(n("66fd"));var e=t(n("2296"));function t(o){return o&&o.__esModule?o:{default:o}}o(e.default)}).call(this,n("c11b")["createPage"])}},[["d410","common/runtime","common/vendor"]]]);
\ No newline at end of file
(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["pages/paySuccess/paySuccess"],{1382:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{outUrl:""}},onLoad:function(t){var n=e.getStorageSync("openid"),r=e.getStorageSync("token"),c=e.getStorageSync("createUserId"),u=e.getStorageSync("userId");this.outUrl="https://wx.pangdly.com/#/paySuccess?orderId="+t.orderId+"&pdOpenid="+n+"&pdToken="+r+"&pdCreateUserId="+c+"&pdUserId="+u},methods:{}};t.default=n}).call(this,n("c11b")["default"])},c3e6:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return r}));var c=function(){var e=this,t=e.$createElement;e._self._c},u=[]},ca03:function(e,t,n){"use strict";n.r(t);var r=n("1382"),c=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=c.a},f016:function(e,t,n){"use strict";n.r(t);var r=n("c3e6"),c=n("ca03");for(var u in c)"default"!==u&&function(e){n.d(t,e,(function(){return c[e]}))}(u);var a,o=n("f0c5"),d=Object(o["a"])(c["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],a);t["default"]=d.exports},f4ba:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");r(n("66fd"));var t=r(n("f016"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("c11b")["createPage"])}},[["f4ba","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"pages": [
"pages/index/index",
"pages/orderPayment/orderPayment",
"pages/vlog/orderPay/orderPay",
"pages/login/login",
"pages/paySuccess/paySuccess",
"pages/ourPayment/ourPayment",
"pages/scenic/scenic",
"pages/hotel/hotel",
"pages/restaurant/restaurant",
"pages/nearby/nearby",
"pages/travelOne/travelOne",
"pages/travelTwo/travelTwo",
"pages/special/special",
"pages/dingzhi/dingzhi",
"pages/combination/combiChoose/combiChoose",
"pages/my/order/electronicTicket/electronicTicket",
"pages/combination/distributionCombiChoose/distributionCombiChoose",
"pages/vlog/vlogIndex/vlogIndex",
"pages/vlog/vlogface/vlogface",
"pages/vlog/scenicList/scenicList",
"pages/vlog/vlogList/vlogList",
"pages/vlog/photoAlbum/photoAlbum",
"pages/vlog/share/share",
"pages/vlog/myVlog/myVlog",
"pages/vlog/product/product",
"pages/vlog/productDetails/productDetails",
"pages/vlog/uploadPictures/uploadPictures",
"pages/vlog/u-avatar-cropper/u-avatar-cropper",
"pages/vlog/pictureFormat/pictureFormat"
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#192033",
"backgroundColor": "#F8F8F8"
},
"permission": {
"scope.userLocation": {
"desc": "请点击确定"
}
},
"uniStatistics": {
"enable": true
},
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}
\ 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("dbd1");var u,a,f,c,i=n("f0c5"),l=Object(i["a"])(r["default"],u,a,!1,null,null,null,!1,f,c);t["default"]=l.exports},"25fe":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={onLaunch:function(t){var n=t.path;e.setStorageSync("enterOptions",t);var r=e.getStorageSync("token");r||-1!=n.indexOf("pages/ourPayment/ourPayment")||setTimeout((function(){e.navigateTo({url:"/pages/login/login"})}),300)},onShow:function(){},onHide:function(){}};t.default=n}).call(this,n("543d")["default"])},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},d81f:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");var t=f(n("66fd")),r=f(n("0f37")),o=f(n("cd04")),u=f(n("1d0e"));n("48bb");var a=f(n("a87e"));function f(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 i(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){l(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 l(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.$commonjs=a.default,t.default.prototype.$request=u.default,t.default.use(o.default),t.default.config.productionTip=!1,r.default.mpType="app";var d=new t.default(i({},r.default));e(d).$mount()}).call(this,n("543d")["createApp"])},dbd1:function(e,t,n){"use strict";var r=n("def2"),o=n.n(r);o.a},def2:function(e,t,n){}},[["d81f","common/runtime","common/vendor"]]]);
\ 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(n,t,e){"use strict";e.r(t);var o=e("737f"),r=e.n(o);for(var u in o)"default"!==u&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=r.a},"2a03":function(n,t,e){"use strict";var o;e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var r=function(){var n=this,t=n.$createElement;n._self._c},u=[]},"2bba":function(n,t,e){"use strict";(function(n){e("6909"),e("921b");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"])},"737f":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{outUrl:""}},onLoad:function(){var t=n.getStorageSync("openid"),e=n.getStorageSync("token"),o=n.getStorageSync("createUserId"),r=n.getStorageSync("userId");this.outUrl="https://wx.pangdly.com/#/home?pdOpenid="+t+"&pdToken="+e+"&pdCreateUserId="+o+"&pdUserId="+r},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("2a03"),r=e("065f");for(var u in r)"default"!==u&&function(n){e.d(t,n,(function(){return r[n]}))}(u);e("d9b5");var c,a=e("f0c5"),f=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);t["default"]=f.exports},d9b5:function(n,t,e){"use strict";var o=e("e90d"),r=e.n(o);r.a},e90d:function(n,t,e){}},[["2bba","common/runtime","common/vendor"]]]);
\ No newline at end of file
<view><view class="bottom"><web-view src="{{outUrl}}"></web-view></view></view>
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/login/login"],{"2fd5":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement;e._self._c},a=[]},"9fb8":function(e,t,n){"use strict";n.r(t);var o=n("2fd5"),r=n("a824");for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var c,i=n("f0c5"),u=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);t["default"]=u.exports},a824:function(e,t,n){"use strict";n.r(t);var o=n("bae4"),r=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},bae4:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{}},methods:{},onLoad:function(){var t=this;e.getProvider({service:"oauth",success:function(n){e.login({provider:n.provider[0],success:function(o){if(o.code){var r="";"weixin"==n.provider[0]?r=3:"alipay"==n.provider[0]&&(r=4);var a={code:o.code,source:r};t.$request("wechat/wx/getUserInfoByCode",a).then((function(n){if("00"==n.code){var o=n.data.openid;e.setStorageSync("openid",o);var a=n.data.userId||"",c={openid:o,source:r,userId:a};t.$request("wechatUser/login/findWxUserAndLogin",c).then((function(t){if("00"==t.code){var n=t.data.token||"";e.setStorageSync("token",n);var o=t.data.personId||"";e.setStorageSync("createUserId",o);var r=t.data.userId||"";e.setStorageSync("userId",r);var a=e.getStorageSync("enterOptions"),c="";for(var i in a.query)c+="&"+i+"="+a.query[i];c=c.substr(1),n&&e.redirectTo({url:"/"+a.path+"?"+c})}else e.showToast({title:t.message,icon:"none"})})).catch((function(t){e.showToast({title:"登录失败",icon:"none"})}))}else e.showToast({title:n.message,icon:"none"})})).catch((function(t){e.showToast({title:"登录失败",icon:"none"})}))}}})}})}};t.default=n}).call(this,n("543d")["default"])},d263:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");o(n("66fd"));var t=o(n("9fb8"));function o(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["d263","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/orderPayment/orderPayment"],{"0d8a":function(e,t,r){"use strict";(function(e){r("6909"),r("921b");n(r("66fd"));var t=n(r("8611"));function n(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,r("543d")["createPage"])},"223d":function(e,t,r){"use strict";r.r(t);var n=r("4917"),a=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},"27f6":function(e,t,r){"use strict";var n=r("74b1"),a=r.n(n);a.a},"36b6":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var a=function(){var e=this,t=e.$createElement;e._self._c},o=[]},4917:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{merchantName:"",productName:"",orderList:"",unitPrice:"",depositReceived:0,pdDiscountMoney:"",orderNum:"",pdOrderMoney:"",totalMoney:"",errorMessage:"",bodyShow:!1,timeStamp:"",nonceStr:"",package:"",signType:"",paySign:"",background:"",orderId:""}},onLoad:function(t){var r=this;this.orderId=t.orderId;var n={orderId:this.orderId,userId:e.getStorageSync("openid"),payType:42};this.$request("orderc/order/findOrderInfo",n).then((function(t){"00"==t.code?(r.bodyShow=!0,r.timeStamp=t.data.timestamp,r.nonceStr=t.data.noncestr,r.package=t.data.package,r.signType=t.data.signType,r.paySign=t.data.sign,r.pdOrderMoney=t.data.pdOrderMoney,0==r.pdOrderMoney&&-1==t.data.subOrderType&&e.navigateTo({url:"../my/order/electronicTicket/electronicTicket?orderId="+r.orderId}),r.errorMessage=t.data.errorMessage,r.totalMoney=t.data.totalMoney,r.orderList=t.data.orderList,"undefined"==typeof r.orderList&&(r.orderList="",r.merchantName=t.data.merchantName,r.productName=t.data.productName,r.unitPrice=t.data.unitPrice,r.orderNum=t.data.orderNum,r.depositReceived=t.data.depositReceived,r.pdDiscountMoney=t.data.pdDiscountMoney)):e.showToast({title:t.message,icon:"none"})}))},methods:{goPay:function(){var t=this,r=this;this.errorMessage?e.showToast({title:this.errorMessage,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.navigateTo({url:"../my/order/electronicTicket/electronicTicket?orderId="+r.orderId})},fail:function(t){e.showToast({title:t.errMsg,icon:"none"})}}))}}};t.default=r}).call(this,r("543d")["default"])},"74b1":function(e,t,r){},8611:function(e,t,r){"use strict";r.r(t);var n=r("36b6"),a=r("223d");for(var o in a)"default"!==o&&function(e){r.d(t,e,(function(){return a[e]}))}(o);r("27f6");var d,i=r("f0c5"),c=Object(i["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],d);t["default"]=c.exports}},[["0d8a","common/runtime","common/vendor"]]]);
\ No newline at end of file
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/paySuccess/paySuccess"],{1382:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{outUrl:""}},onLoad:function(t){var n=e.getStorageSync("openid"),r=e.getStorageSync("token"),u=e.getStorageSync("createUserId"),a=e.getStorageSync("userId");this.outUrl="https://wx.pangdly.com/#/paySuccess?orderId="+t.orderId+"&pdOpenid="+n+"&pdToken="+r+"&pdCreateUserId="+u+"&pdUserId="+a},methods:{}};t.default=n}).call(this,n("543d")["default"])},c3e6:function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}));var u=function(){var e=this,t=e.$createElement;e._self._c},a=[]},ca03:function(e,t,n){"use strict";n.r(t);var r=n("1382"),u=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=u.a},f016:function(e,t,n){"use strict";n.r(t);var r=n("c3e6"),u=n("ca03");for(var a in u)"default"!==a&&function(e){n.d(t,e,(function(){return u[e]}))}(a);var c,o=n("f0c5"),d=Object(o["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],c);t["default"]=d.exports},f4ba:function(e,t,n){"use strict";(function(e){n("6909"),n("921b");r(n("66fd"));var t=r(n("f016"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])}},[["f4ba","common/runtime","common/vendor"]]]);
\ No newline at end of file
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ 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