Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
1612b8bf
Commit
1612b8bf
authored
Jan 11, 2022
by
柳士祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'nativehome_tst' of
http://code.mayi888.com/chengmo/mayi-mp-shop
into nativehome_tst
parents
43443090
5d18e796
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
15 deletions
+47
-15
src/components/basicTool/wo-timeout/index.vue
+4
-2
src/pages/home/index.vue
+8
-0
src/pages/login/index.vue
+2
-2
src/pages/wo/improveInformation/index.vue
+11
-3
src/pages/wo/showPassCheck/index.vue
+17
-3
src/pages/wo/vehicleApplication/index.vue
+2
-2
src/pages/wo/verification/index.vue
+1
-1
src/pages/wo/writeInformation/index.vue
+2
-2
No files found.
src/components/basicTool/wo-timeout/index.vue
View file @
1612b8bf
...
@@ -55,8 +55,10 @@ export default {
...
@@ -55,8 +55,10 @@ export default {
let
month
=
(
new
Date
().
getMonth
()
+
1
)
<
10
?
'0'
+
(
new
Date
().
getMonth
()
+
1
):(
new
Date
().
getMonth
()
+
1
);
let
month
=
(
new
Date
().
getMonth
()
+
1
)
<
10
?
'0'
+
(
new
Date
().
getMonth
()
+
1
):(
new
Date
().
getMonth
()
+
1
);
let
day
=
new
Date
().
getDate
()
<
10
?
'0'
+
new
Date
().
getDate
():
new
Date
().
getDate
();
let
day
=
new
Date
().
getDate
()
<
10
?
'0'
+
new
Date
().
getDate
():
new
Date
().
getDate
();
let
today
=
`
${
year
}
/
${
month
}
/
${
day
}
00:00:00`
;
let
today
=
`
${
year
}
/
${
month
}
/
${
day
}
00:00:00`
;
console
.
log
(
today
,
'------------58'
)
// console.log(today,'------------58')
let
ts
=
new
Date
(
this
.
endTime
).
getTime
()
-
new
Date
(
today
).
getTime
();
//计算剩余的毫秒数
// let ts = new Date(this.endTime).getTime() - new Date(today).getTime(); //计算剩余的毫秒数
let
ts
=
new
Date
(
this
.
endTime
).
getTime
()
-
new
Date
().
getTime
();
//计算剩余的毫秒数
console
.
log
(
ts
,
'------60----ts'
)
ts
=
parseInt
(
ts
/
1000
/
60
/
60
/
24
,
10
);
//计算剩余的天数
ts
=
parseInt
(
ts
/
1000
/
60
/
60
/
24
,
10
);
//计算剩余的天数
console
.
log
(
ts
,
'----------------------59'
)
console
.
log
(
ts
,
'----------------------59'
)
return
ts
;
return
ts
;
...
...
src/pages/home/index.vue
View file @
1612b8bf
...
@@ -278,6 +278,7 @@ export default {
...
@@ -278,6 +278,7 @@ export default {
})
})
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
,
'---------home----options'
)
log
.
info
(
'--------on--------------load'
)
log
.
info
(
'--------on--------------load'
)
//进页面存储需要绑定的信息
//进页面存储需要绑定的信息
if
(
options
.
userId
||
options
.
spokesmanRelId
)
{
if
(
options
.
userId
||
options
.
spokesmanRelId
)
{
...
@@ -293,10 +294,17 @@ export default {
...
@@ -293,10 +294,17 @@ export default {
if
(
res
.
data
.
code
==
'200'
){
if
(
res
.
data
.
code
==
'200'
){
this
.
page
=
res
.
data
.
data
.
pageUri
;
this
.
page
=
res
.
data
.
data
.
pageUri
;
let
paramsObj
=
JSON
.
parse
(
res
.
data
.
data
.
scene
);
let
paramsObj
=
JSON
.
parse
(
res
.
data
.
data
.
scene
);
if
(
paramsObj
.
spokesmanRelId
){
wx
.
setStorage
({
key
:
"becomeInfo"
,
data
:
JSON
.
stringify
(
paramsObj
)
});
}
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'sellerId'
,
paramsObj
.
sellerId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'sellerId'
,
paramsObj
.
sellerId
);
log
.
info
(
res
.
data
.
data
,
'getShareSceneRecord'
)
log
.
info
(
res
.
data
.
data
,
'getShareSceneRecord'
)
console
.
log
(
res
.
data
.
data
,
'----getShareSceneRecord'
)
log
.
info
(
wx
.
getStorageSync
(
"openid"
))
log
.
info
(
wx
.
getStorageSync
(
"openid"
))
log
.
info
(
333333
)
log
.
info
(
333333
)
if
(
wx
.
getStorageSync
(
"openid"
))
{
if
(
wx
.
getStorageSync
(
"openid"
))
{
...
...
src/pages/login/index.vue
View file @
1612b8bf
...
@@ -245,9 +245,9 @@ export default {
...
@@ -245,9 +245,9 @@ export default {
log
.
info
(
'存入openid失败'
,
e
)
log
.
info
(
'存入openid失败'
,
e
)
}
}
log
.
info
(
this
.
$store
.
state
.
mixid
,
'mixid------230'
)
log
.
info
(
this
.
$store
.
state
.
mixid
,
'mixid------230'
)
//冬奥会
测试赛
(mixid=CL)定制一键登录直接返回不用手机号
//冬奥会
赛区通行
(mixid=CL)定制一键登录直接返回不用手机号
let
isCertified
=
false
;
let
isCertified
=
false
;
// this.mpApp.globalData.shopInfo.outCode正式环境提审
测试赛
项目 这个值后台改为1 审核通过改为空
// this.mpApp.globalData.shopInfo.outCode正式环境提审
赛区通行
项目 这个值后台改为1 审核通过改为空
if
(
this
.
$store
.
state
.
mixid
==
'CL'
&&
this
.
mpApp
.
globalData
.
shopInfo
.
outCode
==
''
)
{
if
(
this
.
$store
.
state
.
mixid
==
'CL'
&&
this
.
mpApp
.
globalData
.
shopInfo
.
outCode
==
''
)
{
isCertified
=
res
.
data
.
data
.
isCertified
==
'true'
isCertified
=
res
.
data
.
data
.
isCertified
==
'true'
if
(
isCertified
&&
res
.
data
.
data
.
sessionId
)
{
if
(
isCertified
&&
res
.
data
.
data
.
sessionId
)
{
...
...
src/pages/wo/improveInformation/index.vue
View file @
1612b8bf
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<image
<image
v-else
v-else
mode=
"aspectFill"
mode=
"aspectFill"
src=
"http://
mayi-newshop.oss-cn-shanghai.aliyuncs.com/public/jpeg/9e733736-3e9d-48d1-82a8-96d21ee014df.jpe
g"
src=
"http://
cdn.mayi888.com/public/png/4660508a-ee25-4872-a3a8-da10a0fbaab1.pn
g"
alt=
""
alt=
""
></image>
></image>
</div>
</div>
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</div>
</div>
<div
class=
"cell flex"
>
<div
class=
"cell flex"
>
<div
class=
"label"
>
<div
class=
"label"
>
<p>
身份
</p>
<p>
人员类别
</p>
</div>
</div>
<div
class=
"text"
>
<div
class=
"text"
>
<p>
{{
userInfo
.
identity
}}
</p>
<p>
{{
userInfo
.
identity
}}
</p>
...
@@ -67,7 +67,15 @@
...
@@ -67,7 +67,15 @@
</div>
</div>
<div
class=
"cell flex"
>
<div
class=
"cell flex"
>
<div
class=
"label"
>
<div
class=
"label"
>
<p>
就餐权限
</p>
<p>
住宿地点
</p>
</div>
<div
class=
"text"
>
<p>
{{
userInfo
.
accommodation
}}
</p>
</div>
</div>
<div
class=
"cell flex"
>
<div
class=
"label"
>
<p>
用餐权限
</p>
</div>
</div>
<div
class=
"text"
>
<div
class=
"text"
>
<p>
{{
userInfo
.
diningPlace
?
'有'
:
'无'
}}
</p>
<p>
{{
userInfo
.
diningPlace
?
'有'
:
'无'
}}
</p>
...
...
src/pages/wo/showPassCheck/index.vue
View file @
1612b8bf
...
@@ -10,15 +10,24 @@
...
@@ -10,15 +10,24 @@
<div
class=
"cont"
>
<div
class=
"cont"
>
<div
class=
"main flex"
>
<div
class=
"main flex"
>
<div
class=
"title flex"
>
<div
class=
"title flex"
>
<div
class=
"title-left flex"
>
<div
class=
"img"
>
<div
class=
"img"
>
<image
<image
mode=
"widthFix"
mode=
"widthFix"
src=
"http://mayi-newshop.oss-cn-shanghai.aliyuncs
.com/public/png/9462ce53-792c-4607-ab7c-1875bed2d3ba.png"
src=
"http://cdn.mayi888
.com/public/png/9462ce53-792c-4607-ab7c-1875bed2d3ba.png"
alt=
""
alt=
""
></image>
></image>
</div>
</div>
<p>
{{
userInfo
.
company
}}
</p>
<p>
{{
userInfo
.
company
}}
</p>
</div>
</div>
<div
class=
"img"
>
<image
mode=
"widthFix"
src=
"http://cdn.mayi888.com/public/png/92ba7c1a-2ab9-4ff9-9ed4-aba4e219ca58.png"
alt=
""
></image>
</div>
</div>
<div
class=
"userImg"
>
<div
class=
"userImg"
>
<image
<image
v-if=
"userInfo.headPortraitUrl"
v-if=
"userInfo.headPortraitUrl"
...
@@ -44,7 +53,7 @@
...
@@ -44,7 +53,7 @@
</div>
</div>
<div
class=
"time"
v-if=
"updateTime"
>
{{
updateTime
}}
</div>
<div
class=
"time"
v-if=
"updateTime"
>
{{
updateTime
}}
</div>
</div>
</div>
<div
class=
"explain"
>
相约北京系列冬季体育赛事张家口赛区组委会
</div>
<div
class=
"explain"
>
张家口市冬奥会城市运行和环境建设管理指挥部
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -71,7 +80,7 @@ export default {
...
@@ -71,7 +80,7 @@ export default {
computed
:
{},
computed
:
{},
onReady
()
{
onReady
()
{
console
.
log
(
"---onready"
);
console
.
log
(
"---onready"
);
wx
.
setNavigationBarTitle
({
title
:
"
测试赛通行证
"
});
wx
.
setNavigationBarTitle
({
title
:
"
赛区通行
"
});
},
},
onLoad
()
{
onLoad
()
{
console
.
log
(
"---onLoad"
);
console
.
log
(
"---onLoad"
);
...
@@ -228,10 +237,15 @@ export default {
...
@@ -228,10 +237,15 @@ export default {
}
}
.title
{
.title
{
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
width
:
100%
;
width
:
100%
;
.title-left{
align-items
:
center
;
}
.img
{
.img
{
width
:
30px
;
width
:
30px
;
height
:
36px
;
height
:
36px
;
flex-shrink
:
0
;
}
}
p
{
p
{
margin-left
:
10px
;
margin-left
:
10px
;
...
...
src/pages/wo/vehicleApplication/index.vue
View file @
1612b8bf
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<div
class=
"time"
v-if=
"updateTime"
>
{{
updateTime
}}
</div>
<div
class=
"time"
v-if=
"updateTime"
>
{{
updateTime
}}
</div>
</div>
</div>
<div
class=
"changeVehicleText"
@
click=
"changeVehicle"
>
更换车辆
</div>
<div
class=
"changeVehicleText"
@
click=
"changeVehicle"
>
更换车辆
</div>
<div
class=
"explain"
>
相约北京系列冬季体育赛事张家口赛区组委会
</div>
<div
class=
"explain"
>
张家口市冬奥会城市运行和环境建设管理指挥部
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -49,7 +49,7 @@ export default {
...
@@ -49,7 +49,7 @@ export default {
computed
:
{},
computed
:
{},
onReady
()
{
onReady
()
{
console
.
log
(
"---onready"
);
console
.
log
(
"---onready"
);
wx
.
setNavigationBarTitle
({
title
:
"
测试赛通行证
"
});
wx
.
setNavigationBarTitle
({
title
:
"
赛区通行
"
});
},
},
onLoad
()
{
onLoad
()
{
console
.
log
(
"---onLoad"
);
console
.
log
(
"---onLoad"
);
...
...
src/pages/wo/verification/index.vue
View file @
1612b8bf
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"val"
>
{{
userInfo
.
company
}}
</div>
<div
class=
"val"
>
{{
userInfo
.
company
}}
</div>
</div>
</div>
<div
class=
"cell flex"
>
<div
class=
"cell flex"
>
<div
class=
"label"
>
身份
</div>
<div
class=
"label"
>
人员类别
</div>
<div
class=
"val"
>
{{
userInfo
.
identity
}}
</div>
<div
class=
"val"
>
{{
userInfo
.
identity
}}
</div>
</div>
</div>
<div
class=
"cell flex"
>
<div
class=
"cell flex"
>
...
...
src/pages/wo/writeInformation/index.vue
View file @
1612b8bf
<
template
>
<
template
>
<!-- 冬奥会
测试赛
填报资料 -->
<!-- 冬奥会
赛区通行
填报资料 -->
<div
class=
"writeInformation"
>
<div
class=
"writeInformation"
>
<div
class=
"info flex"
>
<div
class=
"info flex"
>
<i
class=
"iconfont icon-gantanhao"
></i>
<i
class=
"iconfont icon-gantanhao"
></i>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</div>
</div>
<div
class=
"btm"
>
<div
class=
"btm"
>
<p
class=
"btm-info"
>
<p
class=
"btm-info"
>
本次操作遵守国家相关法律法规,采集信息仅用于
测试赛
相关核验查询
本次操作遵守国家相关法律法规,采集信息仅用于
赛区通行
相关核验查询
</p>
</p>
<div
class=
"btn"
:class=
"
{ btn1: onInput }" @click="next">下一步
</div>
<div
class=
"btn"
:class=
"
{ btn1: onInput }" @click="next">下一步
</div>
</div>
</div>
...
...
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