Commit 07513fc9 by zeyang

优化法条摘要配置

parent eb18c854
<template>
<view class="container" v-if="isShow">
<view class="container" v-if="!isShow">
<view style="position: absolute;width: 60%;left: 20%;top: 50rpx;">
<image src="../../static/lawManual/backGroundImg.png" mode="widthFix"></image>
</view>
......@@ -11,6 +11,9 @@
<image src="../../static/lawManual/log2.png" mode="widthFix"></image>
</view>
<view class="h1">
CFFP法条摘要
</view>
<!-- <view class="h1">
注册家庭财富策划师
</view>
<view class="h1">
......@@ -18,8 +21,8 @@
</view>
<view class="h1" style="margin-top: 50rpx;font-weight: 500;">
法律手册摘要
</view>
<view class="imageBox2">
</view> -->
<view class="imageBox2" style="margin-top: 400rpx;">
<image src="../../static/lawManual/log3.png" mode="widthFix"></image>
</view>
</view>
......@@ -1574,7 +1577,7 @@
<view style="background:yellow;" class="bolder">
保险金信托1.0、2.0设立步骤请咨询CFFP专业财务规划师:
</view>
<view style="margin: 50rpx 160rpx;">
<view style="margin: 50rpx 23%;">
<image mode="widthFix" src="../../static/lawManual/lawManual2.png" />
</view>
<view style="text-align: center;color:red">
......@@ -1676,8 +1679,13 @@
</view>
<view>
<uni-popup ref="loginPopup">
<view class="popupBox">
<view class="loginPopupBox">
<view class="loginPopupTitle">
登录/注册即可免费查看
</view>
<view class="loginPopupInput">
</view>
</view>
</uni-popup>
</view>
......@@ -1702,15 +1710,15 @@
let indexList= ref(['一','二','三','四','五','六','七']);
let menuLists = ref([
{id:1,name:'保险法',no:2},
{id:2,name:'民法典婚姻家庭编',no:1},
{id:3,name:'民法典继承编',no:3},
{id:4,name:'民法典综合篇',no:4},
{id:5,name:'公司法',no:5},
{id:6,name:'信托法',no:6},
{id:7,name:'(附):信托新法条-归纳总结',no:7}
{id:'1',name:'保险法',no:0},
{id:'2',name:'民法典婚姻家庭编',no:0},
{id:'3',name:'民法典继承编',no:0},
{id:'4',name:'民法典综合篇',no:0},
{id:'5',name:'公司法',no:0},
{id:'6',name:'信托法',no:0},
{id:'7',name:'(附):信托新法条-归纳总结',no:0}
])
let sum1= ref(1);
//返回顶部
const c_backTop = () => {
......@@ -1755,10 +1763,13 @@
}
//获取权限
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']) {
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 =[];
for(let i=0;i<menuLists.value.length;i++){
for(let j=0;j<powerCodes.value.length;j++){
......@@ -1774,7 +1785,6 @@
arry1[0].no=arry2[0].no;
}
showList.value = arr;
console.log(showList.value);
if(powerCodes.value.length>0 || powerCodes.value.includes(0)){
accessLogSave(0);
}
......@@ -1828,7 +1838,7 @@
}
onMounted(() => {
// loginPopup.value.open();
document.oncontextmenu = function () { return false }//屏蔽右键菜单
document.onpaste = function () { return false }//屏蔽粘贴
document.oncopy = function () { return false }//屏蔽复制
......@@ -1837,7 +1847,7 @@
// let uniPlatform = uni.getSystemInfoSync();
var ua = window.navigator.userAgent.toLowerCase();
isShow.value = ua.match(/MicroMessenger/i) == 'micromessenger';
if (isShow.value) {
if (!isShow.value) {
init();
}
})
......@@ -1863,9 +1873,13 @@
font-size: 30rpx;
letter-spacing: 1rpx;
.popupBox {
padding: 330rpx 320rpx;
.loginPopupBox {
padding: 330rpx 40rpx;
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: 36rpx;
}
}
.backTopBox {
......
......@@ -465,7 +465,7 @@
"pages": [{
"path": "lawManual/lawManual",
"style": {
"navigationBarTitleText": "CFFP法律手册"
"navigationBarTitleText": "CFFP法条摘要"
}
}]
}],
......
import {baseURL,apiURL,cffpURL} from "../environments/environment";
// 白名单,不需要携带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 = () => {
uni.addInterceptor('request', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment