This commit is contained in:
zhangmanman
2021-08-13 17:34:53 +08:00
parent 8f7cc986c2
commit 01eedb0b82
11 changed files with 38 additions and 35 deletions

2
app.js
View File

@@ -11,7 +11,7 @@ var qqmapsdk;
App({ App({
onLaunch(e) { onLaunch(e) {
// 获取打开场景值 // 获取打开场景值
this.globalData.scene = e.scene // this.globalData.scene = e.scene
// 沃支付是否开启 // 沃支付是否开启
api.index.woPayment().then(res=>{ api.index.woPayment().then(res=>{

View File

@@ -27,7 +27,7 @@
</view> </view>
<view class="rightsNumber"> <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="rightsGoods">
<view class="nowrap rightsGoods-text"> <view class="nowrap rightsGoods-text">
{{detail.title}} {{detail.title}}

View File

@@ -5,13 +5,13 @@
</view> </view>
<view style="padding-top: {{barHeight + 45}}px"> <view style="padding-top: {{barHeight + 45}}px">
<view class="cashierTips"> <!-- <view class="cashierTips">
<image src="/static/img/cashierTips_icon.png" mode="aspectFill"></image>注:推荐使用沃支付,可在享优惠! <image src="/static/img/cashierTips_icon.png" mode="aspectFill"></image>注:推荐使用沃支付,可在享优惠!
</view> </view> -->
<view class="cashierCont"> <view class="cashierCont">
<view class="cashierCont-title"> <!-- <view class="cashierCont-title">
<text>支付类型</text>线上支付 <text>支付类型</text>线上支付
</view> </view> -->
<view class="cashierCont-price"> <view class="cashierCont-price">
<view class="cashierCont-price-title"> <view class="cashierCont-price-title">
付款金额 付款金额

View File

@@ -19,11 +19,11 @@
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad (options) { onLoad (options) {
if(getApp().globalData.scene === 1155 && options.type === "shareLogin"){ // if(getApp().globalData.scene === 1155 && options.type === "shareLogin"){
wx.switchTab({ // wx.switchTab({
url: '/pages/index/index', // url: '/pages/index/index',
}) // })
} // }
// 获取用户信息和二维码 // 获取用户信息和二维码
wx.$api.user.myshare('mini','','pages/index/index?type=shareLogin').then(res=>{ wx.$api.user.myshare('mini','','pages/index/index?type=shareLogin').then(res=>{

View File

@@ -25,10 +25,10 @@
<image src="/static/img/code_icon_00.png"></image> <image src="/static/img/code_icon_00.png"></image>
微信好友 微信好友
</button> </button>
<view class="codeShare-label" bindtap="shareShow"> <!-- <view class="codeShare-label" bindtap="shareShow">
<image src="/static/img/code_icon_01.png"></image> <image src="/static/img/code_icon_01.png"></image>
朋友圈 朋友圈
</view> </view> -->
<view class="codeShare-label" bindtap="removeSaveImg" hover-class="none"> <view class="codeShare-label" bindtap="removeSaveImg" hover-class="none">
<image src="/static/img/code_icon_02.png"></image> <image src="/static/img/code_icon_02.png"></image>
生成海报 生成海报

View File

@@ -50,8 +50,6 @@ Page({
openid : options.openid || '', openid : options.openid || '',
orderType : options.orderType orderType : options.orderType
}) })
console.log(getApp().globalData.shareObj)
}, },
/** /**
@@ -275,7 +273,6 @@ Page({
} }
if(shareObj.type == 'shareGoods' && shareObj.goodsId == right_id){ if(shareObj.type == 'shareGoods' && shareObj.goodsId == right_id){
console.log(22222)
newParent = shareObj.userId newParent = shareObj.userId
} }

View File

@@ -55,7 +55,7 @@
</view> </view>
<view class="rightsNumber"> <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="rightsGoods">
<view class="nowrap rightsGoods-text"> <view class="nowrap rightsGoods-text">
{{detail.title}} {{detail.title}}

View File

@@ -23,10 +23,10 @@
<image src="/static/img/code_icon_00.png"></image> <image src="/static/img/code_icon_00.png"></image>
微信好友 微信好友
</button> </button>
<view class="codeShare-label" bindtap="shareShow"> <!-- <view class="codeShare-label" bindtap="shareShow">
<image src="/static/img/code_icon_01.png"></image> <image src="/static/img/code_icon_01.png"></image>
朋友圈 朋友圈
</view> </view> -->
<view class="codeShare-label" bindtap="removeSaveImg" hover-class="none"> <view class="codeShare-label" bindtap="removeSaveImg" hover-class="none">
<image src="/static/img/code_icon_02.png"></image> <image src="/static/img/code_icon_02.png"></image>
生成海报 生成海报

View File

@@ -11,10 +11,10 @@
<image src="/static/img/code_icon_00.png"></image> <image src="/static/img/code_icon_00.png"></image>
微信好友 微信好友
</button> </button>
<view class="codeShare-label" bindtap="shareShow"> <!-- <view class="codeShare-label" bindtap="shareShow">
<image src="/static/img/code_icon_01.png"></image> <image src="/static/img/code_icon_01.png"></image>
朋友圈 朋友圈
</view> </view> -->
<view class="codeShare-label" bindtap="removeSaveImg" hover-class="none"> <view class="codeShare-label" bindtap="removeSaveImg" hover-class="none">
<image src="/static/img/code_icon_02.png"></image> <image src="/static/img/code_icon_02.png"></image>
生成海报 生成海报

View File

@@ -45,7 +45,7 @@
</view> </view>
<view class="rightsNumber"> <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="rightsGoods">
<view class="nowrap rightsGoods-text"> <view class="nowrap rightsGoods-text">
{{rightData.title}} {{rightData.title}}

View File

@@ -4,30 +4,36 @@
"ignore": [] "ignore": []
}, },
"setting": { "setting": {
"bundle": false,
"userConfirmedBundleSwitch": false,
"urlCheck": true, "urlCheck": true,
"scopeDataCheck": false,
"coverView": true,
"es6": true, "es6": true,
"enhance": true,
"postcss": true, "postcss": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"preloadBackgroundData": false, "preloadBackgroundData": false,
"minified": true, "minified": true,
"autoAudits": false,
"newFeature": false, "newFeature": false,
"uglifyFileName": false, "coverView": true,
"uploadWithSourceMap": true,
"useIsolateContext": true,
"nodeModules": false, "nodeModules": false,
"enhance": true, "autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true, "useMultiFrameRuntime": true,
"useApiHook": true, "useApiHook": true,
"useApiHostProcess": false, "useApiHostProcess": false,
"showShadowRootInWxmlPanel": true, "babelSetting": {
"packNpmManually": false, "ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false, "enableEngineNative": false,
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"showES6CompileOption": false "showES6CompileOption": false