优化:已知问题
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
.content{
|
.content{
|
||||||
img{
|
img{
|
||||||
margin: 12px;
|
margin: 12px auto;
|
||||||
|
max-width: 80%;
|
||||||
background-color: #F2FE03;
|
background-color: #F2FE03;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
@@ -6,7 +6,7 @@ import {CmsArticle} from "@/api/cms/cmsArticle/model"
|
|||||||
import {View, RichText} from '@tarojs/components'
|
import {View, RichText} from '@tarojs/components'
|
||||||
// import Line from "@/components/Gap";
|
// import Line from "@/components/Gap";
|
||||||
import {getCmsArticle} from "@/api/cms/cmsArticle";
|
import {getCmsArticle} from "@/api/cms/cmsArticle";
|
||||||
import './detail.css';
|
import './detail.scss';
|
||||||
|
|
||||||
function Detail() {
|
function Detail() {
|
||||||
const {params} = useRouter();
|
const {params} = useRouter();
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
.content{
|
.content{
|
||||||
img{
|
img{
|
||||||
margin: 12px;
|
margin: 12px auto;
|
||||||
|
max-width: 80%;
|
||||||
background-color: #F2FE03;
|
background-color: #F2FE03;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no,address=no">
|
<meta name="format-detection" content="telephone=no,address=no">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="white">
|
<meta name="apple-mobile-web-app-status-bar-style" content="white">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
|
||||||
<title>bszx-react</title>
|
<title></title>
|
||||||
<script><%= htmlWebpackPlugin.options.script %></script>
|
<script><%= htmlWebpackPlugin.options.script %></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ const Page = () => {
|
|||||||
navItems?.map((item, index) => (
|
navItems?.map((item, index) => (
|
||||||
<div
|
<div
|
||||||
key={item.navigationId || index}
|
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}`})}
|
onClick={() => Taro.navigateTo({url: `/${item.model}/index?id=${item.navigationId}`})}
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
@@ -40,7 +40,7 @@ const Page = () => {
|
|||||||
src={item.icon}
|
src={item.icon}
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
/>
|
/>
|
||||||
<div className={'mt-2 text-gray-700'} style={{fontSize: '15px'}}>
|
<div className={'mt-2 text-gray-700'} style={{fontSize: '14px'}}>
|
||||||
{item?.title}
|
{item?.title}
|
||||||
</div>
|
</div>
|
||||||
</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富文本
|
// 显示html富文本
|
||||||
import {View, RichText} from '@tarojs/components'
|
import {View, RichText} from '@tarojs/components'
|
||||||
import Line from "@/components/Gap";
|
import Line from "@/components/Gap";
|
||||||
|
import './detail.scss'
|
||||||
import {getCmsArticle} from "@/api/cms/cmsArticle";
|
import {getCmsArticle} from "@/api/cms/cmsArticle";
|
||||||
|
|
||||||
function Detail() {
|
function Detail() {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// 租户ID
|
// 租户ID
|
||||||
export const TenantId = 10556;
|
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';
|
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 = 'https://server.gxwebsoft.com/api';
|
||||||
// export const SERVER_API_URL = 'http://127.0.0.1:8000/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';
|
// export const APP_API_URL = 'http://127.0.0.1:9000/api';
|
||||||
// WSS
|
// 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
|
* @param token
|
||||||
|
|||||||
Reference in New Issue
Block a user