Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Chao Sun
CFFP-HB
Commits
07513fc9
Commit
07513fc9
authored
Jul 19, 2023
by
zeyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化法条摘要配置
parent
eb18c854
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
23 deletions
+38
-23
myPackageA/lawManual/lawManual.vue
+35
-21
pages.json
+1
-1
util/interceptor.ts
+2
-1
No files found.
myPackageA/lawManual/lawManual.vue
View file @
07513fc9
<
template
>
<
template
>
<view
class=
"container"
v-if=
"isShow"
>
<view
class=
"container"
v-if=
"
!
isShow"
>
<view
style=
"position: absolute;width: 60%;left: 20%;top: 50rpx;"
>
<view
style=
"position: absolute;width: 60%;left: 20%;top: 50rpx;"
>
<image
src=
"../../static/lawManual/backGroundImg.png"
mode=
"widthFix"
></image>
<image
src=
"../../static/lawManual/backGroundImg.png"
mode=
"widthFix"
></image>
</view>
</view>
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
<image
src=
"../../static/lawManual/log2.png"
mode=
"widthFix"
></image>
<image
src=
"../../static/lawManual/log2.png"
mode=
"widthFix"
></image>
</view>
</view>
<view
class=
"h1"
>
<view
class=
"h1"
>
CFFP法条摘要
</view>
<!--
<view
class=
"h1"
>
注册家庭财富策划师
注册家庭财富策划师
</view>
</view>
<view
class=
"h1"
>
<view
class=
"h1"
>
...
@@ -18,8 +21,8 @@
...
@@ -18,8 +21,8 @@
</view>
</view>
<view
class=
"h1"
style=
"margin-top: 50rpx;font-weight: 500;"
>
<view
class=
"h1"
style=
"margin-top: 50rpx;font-weight: 500;"
>
法律手册摘要
法律手册摘要
</view>
</view>
-->
<view
class=
"imageBox2"
>
<view
class=
"imageBox2"
style=
"margin-top: 400rpx;"
>
<image
src=
"../../static/lawManual/log3.png"
mode=
"widthFix"
></image>
<image
src=
"../../static/lawManual/log3.png"
mode=
"widthFix"
></image>
</view>
</view>
</view>
</view>
...
@@ -1574,7 +1577,7 @@
...
@@ -1574,7 +1577,7 @@
<view
style=
"background:yellow;"
class=
"bolder"
>
<view
style=
"background:yellow;"
class=
"bolder"
>
保险金信托1.0、2.0设立步骤请咨询CFFP专业财务规划师:
保险金信托1.0、2.0设立步骤请咨询CFFP专业财务规划师:
</view>
</view>
<view
style=
"margin: 50rpx
160rpx
;"
>
<view
style=
"margin: 50rpx
23%
;"
>
<image
mode=
"widthFix"
src=
"../../static/lawManual/lawManual2.png"
/>
<image
mode=
"widthFix"
src=
"../../static/lawManual/lawManual2.png"
/>
</view>
</view>
<view
style=
"text-align: center;color:red"
>
<view
style=
"text-align: center;color:red"
>
...
@@ -1676,8 +1679,13 @@
...
@@ -1676,8 +1679,13 @@
</view>
</view>
<view>
<view>
<uni-popup
ref=
"loginPopup"
>
<uni-popup
ref=
"loginPopup"
>
<view
class=
"popupBox"
>
<view
class=
"loginPopupBox"
>
<view
class=
"loginPopupTitle"
>
登录/注册即可免费查看
</view>
<view
class=
"loginPopupInput"
>
</view>
</view>
</view>
</uni-popup>
</uni-popup>
</view>
</view>
...
@@ -1702,15 +1710,15 @@
...
@@ -1702,15 +1710,15 @@
let
indexList
=
ref
([
'一'
,
'二'
,
'三'
,
'四'
,
'五'
,
'六'
,
'七'
]);
let
indexList
=
ref
([
'一'
,
'二'
,
'三'
,
'四'
,
'五'
,
'六'
,
'七'
]);
let
menuLists
=
ref
([
let
menuLists
=
ref
([
{
id
:
1
,
name
:
'保险法'
,
no
:
2
},
{
id
:
'1'
,
name
:
'保险法'
,
no
:
0
},
{
id
:
2
,
name
:
'民法典婚姻家庭编'
,
no
:
1
},
{
id
:
'2'
,
name
:
'民法典婚姻家庭编'
,
no
:
0
},
{
id
:
3
,
name
:
'民法典继承编'
,
no
:
3
},
{
id
:
'3'
,
name
:
'民法典继承编'
,
no
:
0
},
{
id
:
4
,
name
:
'民法典综合篇'
,
no
:
4
},
{
id
:
'4'
,
name
:
'民法典综合篇'
,
no
:
0
},
{
id
:
5
,
name
:
'公司法'
,
no
:
5
},
{
id
:
'5'
,
name
:
'公司法'
,
no
:
0
},
{
id
:
6
,
name
:
'信托法'
,
no
:
6
},
{
id
:
'6'
,
name
:
'信托法'
,
no
:
0
},
{
id
:
7
,
name
:
'(附):信托新法条-归纳总结'
,
no
:
7
}
{
id
:
'7'
,
name
:
'(附):信托新法条-归纳总结'
,
no
:
0
}
])
])
let
sum1
=
ref
(
1
);
//返回顶部
//返回顶部
const
c_backTop
=
()
=>
{
const
c_backTop
=
()
=>
{
...
@@ -1755,10 +1763,13 @@
...
@@ -1755,10 +1763,13 @@
}
}
//获取权限
//获取权限
const
powerQuery
=
()
=>
{
const
powerQuery
=
()
=>
{
api
.
powerQuery
({
"systemType"
:
"1"
,
"userId"
:
null
,
"sessionId"
:
sessionId
.
value
}).
then
(
res
=>
{
api
.
powerQuery
({
"systemType"
:
"1"
,
"userId"
:
'1'
,
"sessionId"
:
sessionId
.
value
}).
then
(
res
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
powerCodes
.
value
=
res
[
'data'
][
'powerCodes'
];
powerCodes
.
value
=
res
[
'data'
][
'powerCodes'
];
// powerCodes.value=['3','4','5'];
// powerCodes.value=[0];
if
(
powerCodes
.
value
.
includes
(
'0'
)){
powerCodes
.
value
=
menuLists
.
value
.
map
(
item
=>
item
.
id
);
}
let
arr
=
[];
let
arr
=
[];
for
(
let
i
=
0
;
i
<
menuLists
.
value
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
menuLists
.
value
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
powerCodes
.
value
.
length
;
j
++
){
for
(
let
j
=
0
;
j
<
powerCodes
.
value
.
length
;
j
++
){
...
@@ -1774,7 +1785,6 @@
...
@@ -1774,7 +1785,6 @@
arry1
[
0
].
no
=
arry2
[
0
].
no
;
arry1
[
0
].
no
=
arry2
[
0
].
no
;
}
}
showList
.
value
=
arr
;
showList
.
value
=
arr
;
console
.
log
(
showList
.
value
);
if
(
powerCodes
.
value
.
length
>
0
||
powerCodes
.
value
.
includes
(
0
)){
if
(
powerCodes
.
value
.
length
>
0
||
powerCodes
.
value
.
includes
(
0
)){
accessLogSave
(
0
);
accessLogSave
(
0
);
}
}
...
@@ -1828,7 +1838,7 @@
...
@@ -1828,7 +1838,7 @@
}
}
onMounted
(()
=>
{
onMounted
(()
=>
{
// loginPopup.value.open();
document
.
oncontextmenu
=
function
()
{
return
false
}
//屏蔽右键菜单
document
.
oncontextmenu
=
function
()
{
return
false
}
//屏蔽右键菜单
document
.
onpaste
=
function
()
{
return
false
}
//屏蔽粘贴
document
.
onpaste
=
function
()
{
return
false
}
//屏蔽粘贴
document
.
oncopy
=
function
()
{
return
false
}
//屏蔽复制
document
.
oncopy
=
function
()
{
return
false
}
//屏蔽复制
...
@@ -1837,7 +1847,7 @@
...
@@ -1837,7 +1847,7 @@
// let uniPlatform = uni.getSystemInfoSync();
// let uniPlatform = uni.getSystemInfoSync();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
isShow
.
value
=
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
;
isShow
.
value
=
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
;
if
(
isShow
.
value
)
{
if
(
!
isShow
.
value
)
{
init
();
init
();
}
}
})
})
...
@@ -1863,9 +1873,13 @@
...
@@ -1863,9 +1873,13 @@
font-size
:
30
rpx
;
font-size
:
30
rpx
;
letter-spacing
:
1
rpx
;
letter-spacing
:
1
rpx
;
.
p
opupBox
{
.
loginP
opupBox
{
padding
:
330
rpx
32
0
rpx
;
padding
:
330
rpx
4
0
rpx
;
background
:
linear-gradient
(
180deg
,
rgba
(
246
,
232
,
219
,
1
)
0%
,
rgba
(
255
,
255
,
255
,
1
)
100%
);
background
:
linear-gradient
(
180deg
,
rgba
(
246
,
232
,
219
,
1
)
0%
,
rgba
(
255
,
255
,
255
,
1
)
100%
);
.loginPopupTitle{
color
:
rgba
(
17
,
24
,
38
,
1
);
font-size
:
36
rpx
;
}
}
}
.backTopBox
{
.backTopBox
{
...
...
pages.json
View file @
07513fc9
...
@@ -465,7 +465,7 @@
...
@@ -465,7 +465,7 @@
"pages"
:
[{
"pages"
:
[{
"path"
:
"lawManual/lawManual"
,
"path"
:
"lawManual/lawManual"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"CFFP法
律手册
"
"navigationBarTitleText"
:
"CFFP法
条摘要
"
}
}
}]
}]
}],
}],
...
...
util/interceptor.ts
View file @
07513fc9
import
{
baseURL
,
apiURL
,
cffpURL
}
from
"../environments/environment"
;
import
{
baseURL
,
apiURL
,
cffpURL
}
from
"../environments/environment"
;
// 白名单,不需要携带token就允许被访问的接口
// 白名单,不需要携带token就允许被访问的接口
const
whiteApiList
=
[
`
${
apiURL
}
/authorize/obtainToken`
,
`
${
apiURL
}
/authorize/checkToken`
,
`
${
cffpURL
}
/user/loginVerification`
,
`
${
apiURL
}
/appVersion/checkIsUpdate`
];
const
whiteApiList
=
[
`
${
apiURL
}
/authorize/obtainToken`
,
`
${
apiURL
}
/authorize/checkToken`
,
`
${
cffpURL
}
/user/loginVerification`
,
`
${
apiURL
}
/appVersion/checkIsUpdate`
,
`
${
cffpURL
}
/accessLog/accessLogSave`
,
`
${
cffpURL
}
/user/powerQuery`
];
export
const
interceptor
=
()
=>
{
export
const
interceptor
=
()
=>
{
uni
.
addInterceptor
(
'request'
,
{
uni
.
addInterceptor
(
'request'
,
{
...
...
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