Commit c1f482a2 by 李伟康

提交

1 parent 111d6342
import { preReleaseAppId } from '~/config' import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease'] const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 1
/** /**
* *
...@@ -8,7 +9,6 @@ const target = ['ip', 'dev', 'uat', 'prod', 'preRelease'] ...@@ -8,7 +9,6 @@ const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
2测试 2测试
3生产 3生产
*/ */
// const index = 1
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
// console.log(systemInfo); // console.log(systemInfo);
...@@ -17,7 +17,6 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -17,7 +17,6 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false const manual = false
const release = false const release = false
let index = 2
// 判断小程序环境 // 判断小程序环境
// develop:开发版(正常开发工具,测试时) // develop:开发版(正常开发工具,测试时)
......
...@@ -26,6 +26,7 @@ Page({ ...@@ -26,6 +26,7 @@ Page({
couponsList: [] couponsList: []
}, },
onLoad(options) { onLoad(options) {
console.log(options)
if (options) { if (options) {
let para = { let para = {
id: options.id id: options.id
...@@ -157,8 +158,8 @@ Page({ ...@@ -157,8 +158,8 @@ Page({
}) })
return return
} }
wx.navigateTo({ wx.p.router.go('/packageMine/pages/coupon/detail/detail', {
url: '/packageMine/pages/coupon/detail/detail?item=' + temp item
}) })
}, },
setNaviTitle(title) { setNaviTitle(title) {
......
...@@ -73,7 +73,7 @@ Page({ ...@@ -73,7 +73,7 @@ Page({
}) })
}, },
onLoad(options) { onLoad(options) {
let couponInfo = JSON.parse(options.item) let couponInfo = options.item
this.getDetailData(couponInfo.id) this.getDetailData(couponInfo.id)
this.setData({ this.setData({
couponInfo couponInfo
......
<view class="navigation-bar"> <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> </view>
<block wx:if="{{user_box_style}}"> <block wx:if="{{user_box_style}}">
<view class="layout mine"> <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!