Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
0369d346
Commit
0369d346
authored
Oct 31, 2020
by
haitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fd
parent
15a88031
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
18 deletions
+24
-18
App.vue
App.vue
+1
-3
manifest.json
manifest.json
+2
-2
pages/order/order.vue
pages/order/order.vue
+19
-11
utils/debug.js
utils/debug.js
+2
-2
No files found.
App.vue
View file @
0369d346
...
...
@@ -6,9 +6,7 @@
},
onLaunch
:
function
()
{
// #ifdef APP-PLUS
let
cID
=
plus
.
push
.
getClientInfo
();
let
cID
=
plus
.
push
.
getClientInfo
();
this
.
cid
=
cID
.
clientid
// console.log(cid)
...
...
manifest.json
View file @
0369d346
...
...
@@ -3,8 +3,8 @@
//
"appid"
:
"__UNI__FC9419E"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"versionName"
:
"1.0.8
7
"
,
"versionCode"
:
18
7
,
"versionName"
:
"1.0.8
8
"
,
"versionCode"
:
18
8
,
"transformPx"
:
false
,
/*
5
+App特有相关
*/
"app-plus"
:
{
...
...
pages/order/order.vue
View file @
0369d346
<
template
>
<!-- 订单列表页面 -->
<view
class=
"content"
>
<view
class=
"fl-fx"
>
<view
class=
"navbar"
>
<view
v-for=
"(item, index) in navListTow"
:key=
"index"
class=
"nav-item"
:class=
"
{current: tabCurrentIndex === index}"
@click="tabClick(index,item)"
>
{{
item
.
status_name
}}
</view>
</view>
<scroll-view
:scroll-x=
"true"
style=
"width: 100vw;"
:scroll-left=
"scrleft"
:scroll-with-animation=
"true"
>
<view
class=
"ali-c"
>
<view
v-for=
"(item, index) in navListTow"
:key=
"index"
class=
"nav-item"
:class=
"
{current: tabCurrentIndex === index}"
@click="tabClick(index,item)"
>
{{
item
.
status_name
}}
</view>
</view>
</scroll-view>
</view>
<view
class=
"orderlist"
>
<orderItemss
@
reload=
"reload"
v-for=
"(item,index) in orderlist"
:index=
'index'
:status=
"status"
:dataorder=
"item"
:key=
"index"
></orderItemss>
</view>
...
...
@@ -46,6 +49,7 @@
is_loading_done
:
false
,
action
:
''
,
isClick
:
true
,
//是否能点击
scrleft
:
0
,
};
},
onLoad
(
options
){
...
...
@@ -212,6 +216,7 @@
},
//顶部tab点击 切换数据
tabClick
(
index
,
item
){
if
(
this
.
isClick
){
this
.
tabCurrentIndex
=
index
;
this
.
page
=
0
;
...
...
@@ -219,6 +224,7 @@
this
.
isshowall
=
true
;
this
.
is_loading_done
=
false
,
this
.
status
=
item
.
status
;
this
.
scrleft
=
index
*
45
;
this
.
eleOrderListfun
();
}
},
...
...
@@ -292,14 +298,16 @@
}
.navbar
{
width
:
100vw
;
display
:
flex
;
height
:
80upx
;
line-
height
:
80upx
;
padding
:
0
10upx
;
background
:
#fff
;
box-shadow
:
0
1px
10upx
rgba
(
0
,
0
,
0
,.
06
);
position
:
relative
;
z-index
:
10
;
.nav-item
{
min-width
:
160upx
;
flex
:
1
;
display
:
flex
;
justify-content
:
center
;
...
...
utils/debug.js
View file @
0369d346
...
...
@@ -5,8 +5,8 @@ module.exports = {
isdebug
:
false
,
//正式
//
isdebug:true,//测试
//
isdebug:false,//正式
isdebug
:
true
,
//测试
...
...
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