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
98f9177d
Commit
98f9177d
authored
Oct 15, 2020
by
home
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxh
parent
3d12313d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
9 deletions
+53
-9
pages/index/index.vue
pages/index/index.vue
+53
-9
No files found.
pages/index/index.vue
View file @
98f9177d
...
...
@@ -5,18 +5,25 @@
<!-- @tap="demoaudio" -->
<view
class=
"tit"
>
店铺名称:
{{
storeinfo
.
shop_name
}}
</view>
<!--
{{
shop
.
shop_name
}}
-->
<view
class=
"jiu"
>
<view
class=
"jiu"
>
<view
class=
"jiu_01"
>
<view
@
tap=
"saoma"
>
<view><image
class=
"img"
src=
"/static/icon/1.png"
mode=
""
></image></view>
<view>
扫码入库
</view>
</view>
</view>
<view
class=
"jiu_01"
>
<navigator
url=
"/pages/notice/notice"
>
<view><image
class=
"img"
src=
"/static/icon/newsicon.png"
mode=
""
></image></view>
<view>
消息通知
</view>
</navigator>
</view>
<view
class=
"jiu_01"
>
<navigator
url=
"/pages/user/tongji/tongji"
>
<view><image
class=
"img"
src=
"/static/icon/zijinicons.png"
mode=
""
></image></view>
<view>
商户资金管理
</view>
</navigator>
<view
class=
"jiu_01"
>
<navigator
url=
"/pages/user/tongji/tongji"
>
<view><image
class=
"img"
src=
"/static/icon/zijinicons.png"
mode=
""
></image></view>
<view>
商户资金
</view>
</navigator>
</view>
<view
class=
"jiu_01 "
>
<navigator
url=
"/pages/user/mingxi/mingxi"
>
...
...
@@ -213,7 +220,18 @@
<view>
外卖配送费设置
</view>
</view>
</navigator>
</view>
</view>
<view
class=
"jiu_max "
>
<navigator
url=
"/pages/deliveryCost/deliveryCost"
>
<view
class=
"jiu_min"
>
<view><image
class=
"img"
src=
"/static/icon/1.png"
mode=
""
></image></view>
<view>
扫一扫
</view>
</view>
</navigator>
</view>
</view>
<view
class=
"BH"
></view>
...
...
@@ -291,7 +309,33 @@
// #endif
},
1000
)
},
methods
:
{
methods
:
{
saoma
(
e
){
uni
.
scanCode
({
success
:
res
=>
{
uni
.
request
({
//app_id:qkkbptetyohxoiod app_secret:Wkp2a3NiNjAzTFJLRmwrZXN3QW1jZz09
url
:
'
https://www.mxnzp.com/api/barcode/goods/details
'
,
//仅为示例,并非真实接口地址。
data
:
{
barcode
:
res
.
result
,
needImg
:
true
,
app_id
:
'
qkkbptetyohxoiod
'
,
app_secret
:
'
Wkp2a3NiNjAzTFJLRmwrZXN3QW1jZz09
'
},
method
:
'
GET
'
,
success
:
(
results
)
=>
{
let
messageArr
=
[]
console
.
log
(
results
);
uni
.
navigateTo
({
url
:
'
/pages/addEditEleProduct/addEditEleProduct
'
})
}
})
}
});
},
jump
(){
uni
.
navigateTo
({
url
:
'
/pages/edit/pro_manage/pro_manage?money_type=
'
+
this
.
money_type
+
'
&
'
+
'
activity_type=
'
+
this
.
activity_type
...
...
@@ -424,7 +468,7 @@
}
.jiu_01
{
width
:
33
%
;
width
:
25
%
;
text-align
:
center
;
padding
:
30upx
20upx
30upx
;
box-sizing
:
border-box
;
...
...
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