Commit c1f482a2 by 李伟康

提交

1 parent 111d6342
import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 1
/**
*
......@@ -8,7 +9,6 @@ const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
2测试
3生产
*/
// const index = 1
const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync()
// console.log(systemInfo);
......@@ -17,7 +17,6 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false
const release = false
let index = 2
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
......
......@@ -26,6 +26,7 @@ Page({
couponsList: []
},
onLoad(options) {
console.log(options)
if (options) {
let para = {
id: options.id
......@@ -157,8 +158,8 @@ Page({
})
return
}
wx.navigateTo({
url: '/packageMine/pages/coupon/detail/detail?item=' + temp
wx.p.router.go('/packageMine/pages/coupon/detail/detail', {
item
})
},
setNaviTitle(title) {
......
......@@ -73,7 +73,7 @@ Page({
})
},
onLoad(options) {
let couponInfo = JSON.parse(options.item)
let couponInfo = options.item
this.getDetailData(couponInfo.id)
this.setData({
couponInfo
......
<view class="navigation-bar">
<navigation-bar navStyle="background-color: transparent;" bindnavbarReady="navbarReady" page-title="会员中心">会员中心</navigation-bar>
<navigation-bar navStyle="background-color: #F9F7F7;" bindnavbarReady="navbarReady" page-title="会员中心">会员中心</navigation-bar>
</view>
<block wx:if="{{user_box_style}}">
<view class="layout mine">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!