Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
pingan-promise
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c8e85a44
authored
Mar 11, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
17c349f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Application/Home/View/default/Index_index.tpl
+1
-1
Application/Home/View/default/layout.tpl
+2
-2
No files found.
Application/Home/View/default/Index_index.tpl
View file @
c8e85a44
{
:
extends
file
=
"layout.tpl"
}
{:block name='projectx'}
{:$projectId=
358
}
{:$projectId=
5
}
{:/block}
// css 文件导入
...
...
Application/Home/View/default/layout.tpl
View file @
c8e85a44
...
...
@@ -72,7 +72,7 @@
</script>
<title>
{:block name='title'}{:/block}
</title>
{:if $projectId
&&
strpos( $smarty.server.HTTP_HOST , 'dev.izhida.cn') !== false}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http
://projectx.dev.izhida.cn
/api/css/rem/{:$rem}/id/{:$projectId}?version=1.0.0"
<link
rel=
"stylesheet"
type=
"text/css"
href=
"http
s://projectx.weitoy.com
/api/css/rem/{:$rem}/id/{:$projectId}?version=1.0.0"
media=
"all"
/>
{:else}
...
...
@@ -90,7 +90,7 @@
<div
class=
"wrap-inner"
>
<div
class=
"font"
>
1
</div>
{:if $projectId
&&
strpos( $smarty.server.HTTP_HOST , 'dev.izhida.cn') !== false}
{:"https://projectx.
dev.izhida.cn
/api/html/id/`$projectId`"|file_get_contents}
{:"https://projectx.
weitoy.com
/api/html/id/`$projectId`"|file_get_contents}
{:else}
{:block name='body'}{:/block}
{:/if}
...
...
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