Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c1f482a2
authored
Jul 18, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
111d6342
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
api/env/index.js
packageEquity/pages/directional/directional.js
packageMine/pages/coupon/detail/detail.js
pages/tab/mine/index.wxml
api/env/index.js
View file @
c1f482a
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:开发版(正常开发工具,测试时)
...
...
packageEquity/pages/directional/directional.js
View file @
c1f482a
...
...
@@ -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
)
{
...
...
packageMine/pages/coupon/detail/detail.js
View file @
c1f482a
...
...
@@ -73,7 +73,7 @@ Page({
})
},
onLoad
(
options
)
{
let
couponInfo
=
JSON
.
parse
(
options
.
item
)
let
couponInfo
=
options
.
item
this
.
getDetailData
(
couponInfo
.
id
)
this
.
setData
({
couponInfo
...
...
pages/tab/mine/index.wxml
View file @
c1f482a
<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">
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment