Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
096c917d
Commit
096c917d
authored
Jun 09, 2021
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into dev
parents
67313c5f
41fcf4c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
.env.js
.env.js
+2
-2
detail.vue
src/pages/order/detail.vue
+4
-2
No files found.
.env.js
View file @
096c917d
(
function
()
{
let
NODE_ENV
=
'test'
;
// dev:开发环境 | test:测试环境 | prod:生产环境
let
ENV_VAR
=
null
;
let
VERSION_NUMBER
=
'1.3.3'
;
//版本号
//小程序是否审核通过,参数配置在ucenter库version表,对应版本号的is_audit设置为1,将显示学习视频
let
VERSION_NUMBER
=
'1.3.3'
;
//版本号
//小程序是否审核通过,参数配置在ucenter库version表,对应版本号的is_audit设置为1,将显示学习视频
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
if
(
NODE_ENV
===
'dev'
)
{
ENV_VAR
=
require
(
'./.env.dev.js'
);
...
...
src/pages/order/detail.vue
View file @
096c917d
<
template
>
<view
class=
"order-wrap"
>
<u-navbar
:title=
"title"
title-color=
"#FFFFFF"
title-size=
"32"
back-icon-color=
"#FFFFFF"
:background=
"background"
:border-bottom=
"false"
></u-navbar>
<view
class=
"header"
v-if=
"order.currentOverTime && showTimeOut"
>
<u-navbar
:title=
"title"
title-color=
"#FFFFFF"
title-size=
"32"
back-icon-color=
"#FFFFFF"
:background=
"background"
:border-bottom=
"false"
title-bold
></u-navbar>
<view
class=
"header"
v-if=
"order.currentOverTime && showTimeOut
|| loading
"
>
<image
class=
"bottom-tag-view"
:src=
"tagImage"
></image>
<!-- 倒计时 -->
<view
class=
"title"
>
...
...
@@ -167,6 +167,7 @@
timeout
:
false
,
timestamp
:
0
,
showFile
:
false
,
// 显示查看业务文件
loading
:
true
}
},
onLoad
(
option
)
{
...
...
@@ -344,6 +345,7 @@
'orderId'
:
self
.
orderId
};
self
.
$u
.
api
.
orderDetail
(
data
,
self
.
orderId
).
then
((
res
)
=>
{
this
.
loading
=
false
if
(
res
.
code
==
200
)
{
self
.
order
=
res
.
data
this
.
getCurrentBtn
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment