Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
ffa38bea
Commit
ffa38bea
authored
Jul 06, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页取单码图片问题
parent
dc6ccf7f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
13 deletions
+3
-13
components/OrderQrCode/index.vue
+1
-1
menuSubPackage/pages/goodsDetail/goodsDetail.vue
+0
-11
orderSubPackage/pages/orderInfo/index.vue
+2
-1
No files found.
components/OrderQrCode/index.vue
View file @
ffa38bea
...
...
@@ -126,7 +126,7 @@ export default {
if
(
this
.
showMask
)
{
this
.
qrCode
=
''
;
}
else
{
this
.
qrCode
=
'
https://t7.baidu.com/it/u=192737963,550444895&fm=218&app=126&size=f242,150&n=0&f=PNG?s=18AAE7177DCBF747466A567D03008078&sec=1656608400&t=2fa7a10f21b5f54a2aefd0fde2db3bb9
'
;
this
.
qrCode
=
''
;
}
},
jsonParse
(
json
)
{
...
...
menuSubPackage/pages/goodsDetail/goodsDetail.vue
View file @
ffa38bea
...
...
@@ -292,8 +292,6 @@ export default {
const
newInfo
=
JSON
.
parse
(
JSON
.
stringify
(
newgoods
))
newInfo
.
category
=
this
.
goodInfo
.
category
// newInfo.skus.map(res=>res.state = '2')
// newInfo.skus[0].state = '2'
this
.
goodInfo
=
{...
newInfo
}
this
.
initInfo
(
this
.
goodInfo
)
...
...
@@ -306,13 +304,6 @@ export default {
Utils
.
getallNum
(
goods
)
uni
.
switchTab
({
url
:
'/pages/menu/menu'
})
}
// return
// const { data } = await Order.checkSku({skuId:goods.skuId})
// else{
// goods.num = this.size;
// Utils.getallNum(goods)
// uni.switchTab({ url: '/pages/menu/menu' })
// }
}
},
async
getallNum
(
e
)
{
...
...
@@ -327,8 +318,6 @@ export default {
const
newInfo
=
JSON
.
parse
(
JSON
.
stringify
(
newgoods
))
newInfo
.
category
=
this
.
goodInfo
.
category
// newInfo.skus.map(res=>res.state = '2')
// newInfo.skus[0].state = '2'
this
.
goodInfo
=
{...
newInfo
}
this
.
initInfo
(
this
.
goodInfo
)
...
...
orderSubPackage/pages/orderInfo/index.vue
View file @
ffa38bea
...
...
@@ -123,7 +123,7 @@ export default {
console
.
log
(
Authorization
)
if
(
orderId
){
if
(
!
Authorization
){
uni
.
switchTab
({
url
:
'/pages/order/order'
}
)
this
.
goBack
(
)
return
}
else
{
oId
=
orderId
...
...
@@ -174,6 +174,7 @@ export default {
return
rpx
*
(
wx
.
getSystemInfoSync
().
windowWidth
/
750
);
},
goBack
(){
console
.
log
(
'退出订单详情'
,
this
.
backFlag
)
if
(
!
this
.
backFlag
){
uni
.
switchTab
({
url
:
'/pages/order/order'
})
}
...
...
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