优化:已知问题
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.content{
|
||||
img{
|
||||
margin: 12px;
|
||||
margin: 12px auto;
|
||||
max-width: 80%;
|
||||
background-color: #F2FE03;
|
||||
padding: 6px;
|
||||
border-radius: 16px;
|
||||
@@ -6,7 +6,7 @@ import {CmsArticle} from "@/api/cms/cmsArticle/model"
|
||||
import {View, RichText} from '@tarojs/components'
|
||||
// import Line from "@/components/Gap";
|
||||
import {getCmsArticle} from "@/api/cms/cmsArticle";
|
||||
import './detail.css';
|
||||
import './detail.scss';
|
||||
|
||||
function Detail() {
|
||||
const {params} = useRouter();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
.content{
|
||||
img{
|
||||
margin: 12px;
|
||||
margin: 12px auto;
|
||||
max-width: 80%;
|
||||
background-color: #F2FE03;
|
||||
padding: 6px;
|
||||
border-radius: 16px;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<meta name="format-detection" content="telephone=no,address=no">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="white">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
|
||||
<title>bszx-react</title>
|
||||
<title></title>
|
||||
<script><%= htmlWebpackPlugin.options.script %></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -26,7 +26,7 @@ const Page = () => {
|
||||
navItems?.map((item, index) => (
|
||||
<div
|
||||
key={item.navigationId || index}
|
||||
className={'flex flex-col justify-center items-center'}
|
||||
className={'flex flex-col justify-start items-center'}
|
||||
onClick={() => Taro.navigateTo({url: `/${item.model}/index?id=${item.navigationId}`})}
|
||||
>
|
||||
<Image
|
||||
@@ -40,7 +40,7 @@ const Page = () => {
|
||||
src={item.icon}
|
||||
mode="aspectFill"
|
||||
/>
|
||||
<div className={'mt-2 text-gray-700'} style={{fontSize: '15px'}}>
|
||||
<div className={'mt-2 text-gray-700'} style={{fontSize: '14px'}}>
|
||||
{item?.title}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
12
src/photo/detail.scss
Normal file
12
src/photo/detail.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
.content{
|
||||
img {
|
||||
margin: 12px auto;
|
||||
max-width: 80%;
|
||||
background-color: #F2FE03;
|
||||
padding: 6px;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
|
||||
margin-bottom: 40px !important;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import Taro from '@tarojs/taro'
|
||||
// 显示html富文本
|
||||
import {View, RichText} from '@tarojs/components'
|
||||
import Line from "@/components/Gap";
|
||||
import './detail.scss'
|
||||
import {getCmsArticle} from "@/api/cms/cmsArticle";
|
||||
|
||||
function Detail() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// 租户ID
|
||||
export const TenantId = 10556;
|
||||
// 接口地址
|
||||
export const BaseUrl = 'https://cms-api.websoft.top/api';
|
||||
export const BaseUrl = 'http://182.90.229.54:10048/api';
|
||||
// 当前版本
|
||||
export const Version = 'v3.0.8';
|
||||
// 版权信息
|
||||
|
||||
@@ -7,10 +7,10 @@ export const TEMPLATE_ID = 10556;
|
||||
export const SERVER_API_URL = 'https://server.gxwebsoft.com/api';
|
||||
// export const SERVER_API_URL = 'http://127.0.0.1:8000/api';
|
||||
// 服务接口
|
||||
export const APP_API_URL = 'https://cms-api.websoft.top/api';
|
||||
export const APP_API_URL = 'http://182.90.229.54:10048/api';
|
||||
// export const APP_API_URL = 'http://127.0.0.1:9000/api';
|
||||
// WSS
|
||||
export const WSS_API_URL = 'wss://cms-api.websoft.top/api';
|
||||
export const WSS_API_URL = 'ws://182.90.229.54:10048/api';
|
||||
/**
|
||||
* 保存用户信息到本地存储
|
||||
* @param token
|
||||
|
||||
Reference in New Issue
Block a user