[更新]
This commit is contained in:
2
app.js
2
app.js
@@ -11,7 +11,7 @@ var qqmapsdk;
|
||||
App({
|
||||
onLaunch(e) {
|
||||
// 获取打开场景值
|
||||
this.globalData.scene = e.scene
|
||||
// this.globalData.scene = e.scene
|
||||
|
||||
// 沃支付是否开启
|
||||
api.index.woPayment().then(res=>{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</view>
|
||||
|
||||
<view class="rightsNumber">
|
||||
<image class="rightsGoods-img" src="{{detail.cover}}" mode="aspectFill"></image>
|
||||
<image class="rightsGoods-img" src="{{detail.goods_cover}}" mode="aspectFill"></image>
|
||||
<view class="rightsGoods">
|
||||
<view class="nowrap rightsGoods-text">
|
||||
{{detail.title}}
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
</view>
|
||||
|
||||
<view style="padding-top: {{barHeight + 45}}px">
|
||||
<view class="cashierTips">
|
||||
<!-- <view class="cashierTips">
|
||||
<image src="/static/img/cashierTips_icon.png" mode="aspectFill"></image>注:推荐使用沃支付,可在享优惠!
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cashierCont">
|
||||
<view class="cashierCont-title">
|
||||
<!-- <view class="cashierCont-title">
|
||||
<text>支付类型</text>线上支付
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cashierCont-price">
|
||||
<view class="cashierCont-price-title">
|
||||
付款金额
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad (options) {
|
||||
if(getApp().globalData.scene === 1155 && options.type === "shareLogin"){
|
||||
wx.switchTab({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}
|
||||
// if(getApp().globalData.scene === 1155 && options.type === "shareLogin"){
|
||||
// wx.switchTab({
|
||||
// url: '/pages/index/index',
|
||||
// })
|
||||
// }
|
||||
|
||||
// 获取用户信息和二维码
|
||||
wx.$api.user.myshare('mini','','pages/index/index?type=shareLogin').then(res=>{
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
<image src="/static/img/code_icon_00.png"></image>
|
||||
微信好友
|
||||
</button>
|
||||
<view class="codeShare-label" bindtap="shareShow">
|
||||
<!-- <view class="codeShare-label" bindtap="shareShow">
|
||||
<image src="/static/img/code_icon_01.png"></image>
|
||||
朋友圈
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="codeShare-label" bindtap="removeSaveImg" hover-class="none">
|
||||
<image src="/static/img/code_icon_02.png"></image>
|
||||
生成海报
|
||||
|
||||
@@ -50,8 +50,6 @@ Page({
|
||||
openid : options.openid || '',
|
||||
orderType : options.orderType
|
||||
})
|
||||
|
||||
console.log(getApp().globalData.shareObj)
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -275,7 +273,6 @@ Page({
|
||||
}
|
||||
|
||||
if(shareObj.type == 'shareGoods' && shareObj.goodsId == right_id){
|
||||
console.log(22222)
|
||||
newParent = shareObj.userId
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
</view>
|
||||
|
||||
<view class="rightsNumber">
|
||||
<image class="rightsGoods-img" src="{{detail.cover}}" mode="aspectFill"></image>
|
||||
<image class="rightsGoods-img" src="{{detail.goods_cover}}" mode="aspectFill"></image>
|
||||
<view class="rightsGoods">
|
||||
<view class="nowrap rightsGoods-text">
|
||||
{{detail.title}}
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
<image src="/static/img/code_icon_00.png"></image>
|
||||
微信好友
|
||||
</button>
|
||||
<view class="codeShare-label" bindtap="shareShow">
|
||||
<!-- <view class="codeShare-label" bindtap="shareShow">
|
||||
<image src="/static/img/code_icon_01.png"></image>
|
||||
朋友圈
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="codeShare-label" bindtap="removeSaveImg" hover-class="none">
|
||||
<image src="/static/img/code_icon_02.png"></image>
|
||||
生成海报
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
<image src="/static/img/code_icon_00.png"></image>
|
||||
微信好友
|
||||
</button>
|
||||
<view class="codeShare-label" bindtap="shareShow">
|
||||
<!-- <view class="codeShare-label" bindtap="shareShow">
|
||||
<image src="/static/img/code_icon_01.png"></image>
|
||||
朋友圈
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="codeShare-label" bindtap="removeSaveImg" hover-class="none">
|
||||
<image src="/static/img/code_icon_02.png"></image>
|
||||
生成海报
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</view>
|
||||
|
||||
<view class="rightsNumber">
|
||||
<image class="rightsGoods-img" src="{{rightData.cover}}" mode="aspectFill"></image>
|
||||
<image class="rightsGoods-img" src="{{rightData.goods_cover}}" mode="aspectFill"></image>
|
||||
<view class="rightsGoods">
|
||||
<view class="nowrap rightsGoods-text">
|
||||
{{rightData.title}}
|
||||
|
||||
@@ -4,30 +4,36 @@
|
||||
"ignore": []
|
||||
},
|
||||
"setting": {
|
||||
"bundle": false,
|
||||
"userConfirmedBundleSwitch": false,
|
||||
"urlCheck": true,
|
||||
"scopeDataCheck": false,
|
||||
"coverView": true,
|
||||
"es6": true,
|
||||
"enhance": true,
|
||||
"postcss": true,
|
||||
"compileHotReLoad": false,
|
||||
"lazyloadPlaceholderEnable": false,
|
||||
"preloadBackgroundData": false,
|
||||
"minified": true,
|
||||
"autoAudits": false,
|
||||
"newFeature": false,
|
||||
"uglifyFileName": false,
|
||||
"uploadWithSourceMap": true,
|
||||
"useIsolateContext": true,
|
||||
"coverView": true,
|
||||
"nodeModules": false,
|
||||
"enhance": true,
|
||||
"autoAudits": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"uglifyFileName": false,
|
||||
"checkInvalidKey": true,
|
||||
"checkSiteMap": true,
|
||||
"uploadWithSourceMap": true,
|
||||
"compileHotReLoad": false,
|
||||
"lazyloadPlaceholderEnable": false,
|
||||
"useMultiFrameRuntime": true,
|
||||
"useApiHook": true,
|
||||
"useApiHostProcess": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"packNpmManually": false,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"enableEngineNative": false,
|
||||
"useIsolateContext": true,
|
||||
"userConfirmedBundleSwitch": false,
|
||||
"packNpmManually": false,
|
||||
"packNpmRelationList": [],
|
||||
"minifyWXSS": true,
|
||||
"showES6CompileOption": false
|
||||
|
||||
Reference in New Issue
Block a user