作者 lfx

3.0

正在显示 41 个修改的文件 包含 1890 行增加542 行删除
... ... @@ -2,24 +2,47 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="f0d9b964-cf91-4edd-b12d-273162753deb" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/controller/Experts.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/controller/Huiyuan.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/controller/Invitation.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/controller/Online.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/controller/Standard.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/controller/Talent.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/experts/detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/experts/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/experts/op.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/experts/op_detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/huiyuan/detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/huiyuan/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/invitation/detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/invitation/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/invitation/release.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/online/detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/online/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/standard/detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/standard/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/talent/detail.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/talent/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/talent/initiate_1.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/application/api/view/talent/initiate_2.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/public/static/js/scroll.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/admin/view/experts/add.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/admin/view/experts/add.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/admin/view/experts/edit.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/admin/view/experts/edit.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/controller/Login.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/controller/Login.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/experts/detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/experts/detail.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/controller/Green.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Green.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/controller/International.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/International.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/controller/News.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/News.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/view/green/list.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/view/green/list.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/view/international/detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/view/international/detail.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/view/international/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/view/international/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/view/layout/default.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/view/layout/default.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/api/view/news/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/view/news/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/common/controller/Frontend.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/controller/Frontend.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/controller/About.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/controller/About.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/experts/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/experts/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/experts/op_detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/experts/op_detail.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/index/about.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/index/about.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/index/contact_me.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/index/contact_me.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/invitation/release.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/invitation/release.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/talent/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/talent/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/invitation/detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/invitation/detail.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/talent/initiate_1.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/talent/initiate_1.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/index/view/talent/initiate_2.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/index/view/talent/initiate_2.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/statis/bootstrap/bootstrap.min.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/statis/bootstrap/bootstrap.min.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/statis/css/index.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/statis/css/index.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/statis/css/public.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/statis/css/public.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/statis/image/logo_icon (1).png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/statis/image/logo_icon.png" beforeDir="false" afterPath="$PROJECT_DIR$/public/statis/image/logo_icon.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/static/css/index.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/static/css/index.css" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
... ... @@ -29,6 +52,9 @@
</component>
<component name="ComposerSettings" doNotAsk="true" synchronizationState="SYNCHRONIZE">
<pharConfigPath>$PROJECT_DIR$/composer.json</pharConfigPath>
<execution>
<executable />
</execution>
</component>
<component name="DatabaseView">
<option name="SHOW_INTERMEDIATE" value="true" />
... ... @@ -44,113 +70,9 @@
<expand />
<select />
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/application/index/view/experts/detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1045">
<caret line="55" column="61" selection-start-line="55" selection-start-column="61" selection-end-line="55" selection-end-column="61" />
<folding>
<element signature="n#style#0;n#div#3;n#div#2;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/public/statis/css/public.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="190">
<caret line="10" column="8" selection-start-line="10" selection-start-column="8" selection-end-line="10" selection-end-column="8" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/application/index/view/experts/op_detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="551">
<caret line="29" column="53" selection-start-line="29" selection-start-column="53" selection-end-line="29" selection-end-column="53" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/application/index/view/experts/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="798">
<caret line="42" column="16" selection-start-line="42" selection-start-column="16" selection-end-line="44" selection-end-column="22" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>model3_Img</find>
<find>model3_mode2</find>
<find>.model3_mode2</find>
<find>model3_Txt2</find>
<find>model3_Ttx5</find>
<find>.model_Box4 ul li</find>
<find>.model4_Box h1</find>
<find>.model4_Box a</find>
<find>.model6 .model4_Box h1</find>
<find>top_itemTxt</find>
<find>.top_itemTxt a</find>
<find>model3_Box</find>
<find>.world_Txt</find>
<find>about_model</find>
<find>world_Txt2</find>
<find>model4_Box</find>
<find>.release_file input</find>
<find>.experts_opTxt</find>
<find>experts_opTxt</find>
<find>.release_op</find>
<find>.model5_List ul li</find>
<find>.model3_Box2 ul li:hover .model3_Txt2</find>
<find>.news_Txt2</find>
<find>.model4_right</find>
<find>.experts_right</find>
<find>experts_Con</find>
<find>form</find>
<find>model_List</find>
<find>不存在</find>
<find>5701</find>
</findStrings>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/public/statis/css/base.css" />
<option value="$PROJECT_DIR$/application/index/view/login/login.html" />
<option value="$PROJECT_DIR$/application/index/view/index/index.html" />
<option value="$PROJECT_DIR$/application/index/view/layout/default.html" />
<option value="$PROJECT_DIR$/application/index/view/experts/op.html" />
<option value="$PROJECT_DIR$/application/index/view/news/index.html" />
<option value="$PROJECT_DIR$/application/index/view/experts/index.html" />
<option value="$PROJECT_DIR$/public/statis/css/index.css" />
<option value="$PROJECT_DIR$/application/index/controller/Login.php" />
<option value="$PROJECT_DIR$/application/index/view/index/about.html" />
<option value="$PROJECT_DIR$/application/index/view/index/contact_me.html" />
<option value="$PROJECT_DIR$/application/index/view/talent/index.html" />
<option value="$PROJECT_DIR$/application/index/view/talent/initiate_1.html" />
<option value="$PROJECT_DIR$/application/index/view/talent/initiate_2.html" />
<option value="$PROJECT_DIR$/application/index/view/invitation/release.html" />
<option value="$PROJECT_DIR$/public/statis/bootstrap/bootstrap.min.css" />
<option value="$PROJECT_DIR$/application/index/view/experts/detail.html" />
<option value="$PROJECT_DIR$/application/admin/view/experts/add.html" />
<option value="$PROJECT_DIR$/application/admin/view/experts/edit.html" />
<option value="$PROJECT_DIR$/application/index/view/experts/op_detail.html" />
<option value="$PROJECT_DIR$/public/statis/css/public.css" />
</list>
</option>
</component>
<component name="PhpWorkspaceProjectConfiguration">
<include_path>
<path value="$PROJECT_DIR$/vendor/paragonie/random_compat" />
... ... @@ -185,158 +107,9 @@
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php70" />
</include_path>
</component>
<component name="ProjectFrameBounds" extendedState="7">
<option name="x" value="423" />
<option name="y" value="8" />
<option name="width" value="1400" />
<option name="height" value="1000" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="admin" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="admin" type="462c0819:PsiDirectoryNode" />
<item name="controller" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="controller" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="experts" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="international" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="invitation" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="login" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="news" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="online" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="application" type="462c0819:PsiDirectoryNode" />
<item name="index" type="462c0819:PsiDirectoryNode" />
<item name="view" type="462c0819:PsiDirectoryNode" />
<item name="talent" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
<item name="statis" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
<item name="statis" type="462c0819:PsiDirectoryNode" />
<item name="bootstrap" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="menhu" type="b2602c69:ProjectViewProjectNode" />
<item name="menhu" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
<item name="statis" type="462c0819:PsiDirectoryNode" />
<item name="css" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
<component name="ProjectId" id="1VPu7jpu3u6b4OFQ4v0sMyvg8M5" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<ConfirmationsSetting value="2" id="Add" />
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="true" />
... ... @@ -345,13 +118,18 @@
<property name="WebServerToolWindowPanel.toolwindow.show.date" value="false" />
<property name="WebServerToolWindowPanel.toolwindow.show.permissions" value="false" />
<property name="WebServerToolWindowPanel.toolwindow.show.size" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/public/static/js" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="settings.editor.selected.configurable" value="vcs.Git" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\Users\LIAO\Desktop\menhu\public\statis\image" />
<recent name="F:\lfx\menhu\public\static\js" />
<recent name="F:\lfx\menhu\application\api\view\experts" />
<recent name="F:\lfx\menhu\application\api\view" />
<recent name="F:\lfx\menhu\application\api\controller" />
<recent name="F:\lfx\menhu\application\api\view\standard" />
</key>
</component>
<component name="RunDashboard">
... ... @@ -394,247 +172,22 @@
<workItem from="1577080362681" duration="2639000" />
<workItem from="1577087211645" duration="2569000" />
<workItem from="1577147681086" duration="1221000" />
<workItem from="1577166886366" duration="11589000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="26202000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="7" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.29744136" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="8" />
<window_info anchor="bottom" id="File Transfer" order="9" visible="true" weight="0.3286334" />
<window_info anchor="bottom" id="Database Changes" order="10" />
<window_info anchor="bottom" id="Terminal" order="11" />
<window_info anchor="bottom" id="Event Log" order="12" side_tool="true" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" id="Remote Host" order="3" visible="true" weight="0.23987207" />
<window_info anchor="right" id="Database" order="4" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/application/index/view/common/sidenav.html">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/common/script.html">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/common/meta.html">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/new/detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="399">
<caret line="21" column="7" selection-start-line="21" selection-start-column="7" selection-end-line="21" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/statis/css/base.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-323">
<caret line="89" selection-start-line="89" selection-end-line="89" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../99999/application/index/view/international/index.html" />
<entry file="file://$PROJECT_DIR$/../99999/application/index/view/invitation/release.html" />
<entry file="file://$PROJECT_DIR$/application/index/view/layout/default.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="282">
<caret line="33" column="81" selection-start-line="33" selection-start-column="81" selection-end-line="33" selection-end-column="81" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/index/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="931">
<caret line="49" column="79" selection-start-line="49" selection-start-column="50" selection-end-line="49" selection-end-column="79" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/experts/op.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="646">
<caret line="34" column="61" selection-start-line="34" selection-start-column="61" selection-end-line="34" selection-end-column="61" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/online/index.html">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="30" selection-start-column="30" selection-end-column="30" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/invitation/index.html">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/public/statis/css/index.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="5928">
<caret line="312" column="32" selection-start-line="312" selection-start-column="32" selection-end-line="312" selection-end-column="32" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/index/contact_me.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="604">
<caret line="34" column="67" selection-start-line="34" selection-start-column="67" selection-end-line="34" selection-end-column="67" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/index/about.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="603">
<caret line="41" column="63" selection-start-line="41" selection-start-column="3" selection-end-line="41" selection-end-column="63" />
<folding>
<element signature="n#style#0;n#h1#0;n#div#2;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/statis/image/logo_icon.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/application/index/controller/Login.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="437">
<caret line="71" column="13" selection-start-line="71" selection-start-column="13" selection-end-line="71" selection-end-column="13" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/login/login.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="19">
<caret line="58" column="31" selection-start-line="58" selection-start-column="31" selection-end-line="58" selection-end-column="31" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/international/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="342">
<caret line="18" column="76" selection-start-line="18" selection-start-column="65" selection-end-line="18" selection-end-column="76" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/news/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="817">
<caret line="43" column="14" selection-start-line="43" selection-start-column="14" selection-end-line="43" selection-end-column="14" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/talent/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="551">
<caret line="29" column="72" selection-start-line="29" selection-start-column="72" selection-end-line="29" selection-end-column="72" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_HOME_DIR$/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external/lib.webworker.d.ts">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="196">
<caret line="739" column="4" selection-start-line="739" selection-start-column="4" selection-end-line="739" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/talent/initiate_1.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="319">
<caret line="70" column="18" lean-forward="true" selection-start-line="64" selection-start-column="12" selection-end-line="70" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/talent/initiate_2.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="490">
<caret line="71" column="18" lean-forward="true" selection-start-line="65" selection-start-column="11" selection-end-line="71" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/invitation/release.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="437">
<caret line="68" column="9" lean-forward="true" selection-start-line="68" selection-start-column="9" selection-end-line="68" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/statis/bootstrap/bootstrap.min.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="160">
<caret line="5705" column="25" selection-start-line="5705" selection-start-column="25" selection-end-line="5705" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/admin/view/experts/edit.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="17" column="122" selection-start-line="17" selection-start-column="122" selection-end-line="17" selection-end-column="122" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/admin/view/experts/index.html">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/application/admin/view/experts/add.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="266">
<caret line="14" selection-start-line="14" selection-end-line="19" selection-end-column="10" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/experts/detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1045">
<caret line="55" column="61" selection-start-line="55" selection-start-column="61" selection-end-line="55" selection-end-column="61" />
<folding>
<element signature="n#style#0;n#div#3;n#div#2;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/experts/op_detail.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="551">
<caret line="29" column="53" selection-start-line="29" selection-start-column="53" selection-end-line="29" selection-end-column="53" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/index/view/experts/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="798">
<caret line="42" column="16" selection-start-line="42" selection-start-column="16" selection-end-line="44" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../新建文本文档(1).txt">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1026" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/statis/css/public.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="190">
<caret line="10" column="8" selection-start-line="10" selection-start-column="8" selection-end-line="10" selection-end-column="8" />
</state>
</provider>
</entry>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
</component>
</project>
\ No newline at end of file
... ...
<?php
namespace app\api\controller;
use app\common\controller\Frontend;
use think\Request;
class experts extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = '';
public function index()
{
$param=Request::instance()->param();
if(Request::instance()->isAjax()){
if($param['pid']==31 || $param['pid']==11){
$list=self::$model::experts(31,10);
return self::$model::js($list,200);
}else{
$list=self::$model::experts(32,10);
return self::$model::js($list,200);
}
}else{
$menu=self::$model::menu(11);
$this->assign("left",$menu);
$this->assign("pid",$param['pid']);
return view("experts/index");
}
}
public function detail()
{
$param=Request::instance()->param();
$news=\app\admin\model\Experts::where($param)->find();
$this->assign("news",$news);
if($news['style']==31){
return $this->view->fetch();
}else{
return view("experts/op_detail");
}
}
public function save()
{
$user=session("user");
if($user==null){
return self::$model::js("请先登录",200);
}
$param=Request::instance()->param();
$param['user_id']=$user['id'];
$news=\app\admin\model\ExpertsMessage::create($param);
if($news){
return self::$model::js("提交成功",200);
}else{
return self::$model::js("提交失败",500);
}
}
}
\ No newline at end of file
... ...
... ... @@ -38,6 +38,9 @@ class Green extends Frontend
{
$param=Request::instance()->param();
$list=self::$model::green($param['pid'],$param,12);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("list",$list);
$this->assign("pid",$param['pid']);
return view("green/list");
... ...
<?php
namespace app\api\controller;
use app\common\controller\Frontend;
use think\Request;
class Huiyuan extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = '';
public function index()
{
$param=Request::instance()->param();
$menu=self::$model::menu(43);
$list=self::$model::huiyuan($param['pid'],10);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("left",$menu);
$this->assign("list",$list);
$this->assign("pid",$param['pid']);
return $this->view->fetch();
}
public function detail()
{
$param=Request::instance()->param();
$news=\app\admin\model\Huiyuan::where($param)->find();
$this->assign("news",$news);
return $this->view->fetch();
}
}
\ No newline at end of file
... ...
... ... @@ -17,6 +17,9 @@ class International extends Frontend
$param=Request::instance()->param();
$menu=self::$model::menu(8);
$list=self::$model::international($param['pid']);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("left",$menu);
$this->assign("list",$list);
$this->assign("pid",$param['pid']);
... ...
<?php
namespace app\api\controller;
use app\common\controller\Frontend;
use think\Request;
class Invitation extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = '';
public function index()
{
$param=Request::instance()->param();
$menu=self::$model::menu(9);
$list=self::$model::invitation($param['pid'],10);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("pid",$param['pid']);
$this->assign("left",$menu);
$this->assign("list",$list);
return $this->view->fetch();
}
public function detail()
{
$param=Request::instance()->param();
$news=\app\admin\model\Invitation::where($param)->where("status",1)->find();
$this->assign("news",$news);
return $this->view->fetch();
}
public function release()
{
$param=Request::instance()->param();
if(Request::instance()->isPost()){
$res=\app\admin\model\Invitation::create($param);
return self::$model::js("提交成功",200);
}
$style=\app\index\service\Index::menu(9);
$this->assign("style",$style);
return $this->view->fetch();
}
}
\ No newline at end of file
... ...
... ... @@ -19,10 +19,14 @@ class News extends Frontend
$param=Request::instance()->param();
$menu=self::$model::menu(6);
$list=self::$model::news($param['pid'],10);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$pid=Menu::where(['id'=>$param['pid']])->find()['pid'];
$this->assign("left",$menu);
$this->assign("list",$list);
$this->assign("pid",$pid);
$this->assign("pid1",$param['pid']);
return $this->view->fetch();
}
public function detail()
... ...
<?php
namespace app\api\controller;
use app\common\controller\Frontend;
use think\Request;
class Online extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = '';
public function index()
{
$param=Request::instance()->param();
$menu=self::$model::menu(10);
$list=self::$model::online($param['pid'],10);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("left",$menu);
$this->assign("pid",$param['pid']);
$this->assign("list",$list);
return $this->view->fetch();
}
public function detail()
{
$param=Request::instance()->param();
$news=\app\admin\model\Online::where($param)->find();
$this->assign("news",$news);
return $this->view->fetch();
}
}
\ No newline at end of file
... ...
<?php
namespace app\api\controller;
use app\common\controller\Frontend;
use think\Request;
class Standard extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = '';
public function index()
{
$param=Request::instance()->param();
$menu=self::$model::menu(42);
$list=self::$model::standard($param['pid'],10);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("left",$menu);
$this->assign("pid",$param['pid']);
$this->assign("list",$list);
return $this->view->fetch();
}
public function detail()
{
$param=Request::instance()->param();
$news=\app\admin\model\Standard::where($param)->find();
$this->assign("news",$news);
return $this->view->fetch();
}
}
\ No newline at end of file
... ...
<?php
namespace app\api\controller;
use app\admin\model\Style;
use app\common\controller\Frontend;
use think\Request;
class Talent extends Frontend
{
protected $noNeedLogin = '*';
protected $noNeedRight = '*';
protected $layout = '';
public function index()
{
$param=Request::instance()->param();
$menu=self::$model::menu(12);
$list=self::$model::talent($param['pid'],10);
if(Request::instance()->isAjax()){
return self::$model::js($list,200);
}
$this->assign("left",$menu);
$this->assign("list",$list);
$this->assign("pid",$param['pid']);
return $this->view->fetch();
}
public function detail()
{
$param=Request::instance()->param();
$news=\app\admin\model\Talent::where($param)->where("status",1)->find();
$this->assign("news",$news);
return $this->view->fetch();
}
public function initiate_1()
{
$param=Request::instance()->param();
if(Request::instance()->isPost()){
$param['status']=2;
$res=\app\admin\model\Talent::create($param);
return self::$model::js("提交成功",200);
}
$style=Style::where("style",$param['style'])->select();
$this->assign("style",$style);
return $this->view->fetch();
}
public function initiate_2()
{
$param=Request::instance()->param();
if(Request::instance()->isPost()){
$param['status']=2;
$res=\app\admin\model\Talent::create($param);
return self::$model::js("提交成功",200);
}
$style=Style::where("style",$param['style'])->select();
$this->assign("style",$style);
return $this->view->fetch();
}
}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name='title'}专家在线-问答{/block}
{block name="content"}
<style>
.swiper-container {
margin: 0 0.4rem;
box-sizing: border-box;
}
.swiper-button-next,
.swiper-button-prev {
width: 0.24rem;
height: 0.24rem;
background-size: 0.24rem 0.24rem;
top: 0.88rem;
}
.swiper-button-next {
right: 0.1rem;
background-image: url('/static/image/you_img.png');
}
.swiper-button-prev {
left: 0.1rem;
background-image: url('/static/image/zuo_img.png');
}
</style>
<div class="Box">
<!-- 专家在线 -->
<div class="exports_Mask">
<div class="exports_Con">
<div class="exports_ConTxt">向{$news.name}提问</div>
<div class="export_ConLi">
<p class="exports_ConTxt2">*</p>
<textarea placeholder="请输入问题" name="question" id="" cols="30" rows="10"></textarea>
</div>
<div class="export_ConLi" style="margin-top:0.32rem;">
<div class="export_ConLi2">
<p class="exports_ConTxt2">*</p>
<input id="ex_textarea" name="expert_id" value="{$news.id}" type="hidden" class="experts_input1">
<input type="text" name="name" placeholder="请输入姓名">
</div>
<div class="export_ConLi3">
<p class="exports_ConTxt2">*</p>
<input type="text" name="tel" placeholder="请输入手机号">
</div>
</div>
<div class="release_btn experts_maskBtn" style="margin:0.98rem auto 0rem;">提交</div>
</div>
</div>
<!-- 内容 -->
<div class="list_DBox">
<div class="experts_dBox">
<h1 class="list_DTit">{$news.name}</h1>
<div class="experts_Box2">
<div class="experts_Img2"><img src="/static/image/zaixianhuida_icon.png" alt=""></div>
<p>在线回答</p>
</div>
</div>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
<!-- 图片 -->
<div class="list_DImg">
<img src="{$news.image}" alt="">
</div>
<!-- 轮播 -->
<div class="world_Dbox">
<div class="swiper-container">
<div class="swiper-wrapper">
{foreach(:explode(",",$news['images']) as $image)}
<div class="swiper-slide">
<div class="world_DImg"><img src="{$image}" alt=""></div>
</div>
{/foreach}
</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
</div>
<script>
var swiper = new Swiper('.swiper-container', {
pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
slidesPerView: 4,
paginationClickable: true,
spaceBetween: 4,
});
$('.experts_Box2').click(function() {
$('.exports_Mask').show();
});
$('.exports_Mask').click(function() {
$('.exports_Mask').hide();
});
$('.exports_Con').click(function(event) {
event.stopPropagation();
if ($('.exports_Con').css('display') == "block") {
$('.exports_Mask').show();
} else {
$('.exports_Mask').hide();
}
});
$('.experts_btn').click(function () {
$(".experts_mask").show();
});
$(".experts_maskCon").click(function(event) {
event.stopPropagation(); //不在派发事件
$('.experts_mask').show();
});
$('.experts_mask').click(function () {
$('.experts_mask').hide();
});
// 提交
$('.experts_maskBtn').click(function () {
var data=$("#myform").serialize();
if($('#ex_textarea').val() == ''){
w('请输入问题')
}else if($('#ex_name').val() ==''){
w('请输入姓名')
}else if($('#ex_phone').val() ==''){
w('请输入手机号')
}else{
ajax("/index/experts/save",data,"post",function (res) {
w(res.msg);
},"");
}
})
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name='title'}专家在线{/block}
{block name="content"}
<div class="Box">
<div class="list_nav">
{foreach $left as $le}
<div class="list_navLi">
<p class="{$pid==$le['id']?'list_active':''} list_navTxt" data-style="{$le.id}">{$le.title}</p>
</div>
{/foreach}
</div>
<div>
<div class="experts_List" style="display: block">
<!-- 专家在线--列表 -->
<ul id="experts_List1">
</ul>
</div>
<div class="experts_List">
<ul id="experts_List2">
</ul>
</div>
</div>
</div>
<script>
var pid="{$pid}";
var html="";
$('.list_navLi').click(function() {
$(".list_navdown").show();
var index = $(this).index();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
$('.experts_List').eq(index).show().siblings().hide();
pid=$(this).find('p').data('style');
page=1;
var data={'pid':pid,'page':1};
html="";
if(pid==31 || pid==11){
$("#experts_List1").html("");
ajax1(data);
}else{
$("#experts_List2").html("");
ajax2(data);
}
});
function ajax1(data) {
ajax("/api/experts/index",data,"post",function (res) {
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var mum=msg.length;
for(var i=0;i<mum;i++){
var res=msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var name="";
if(res['name']!=""){
name=res['name'];
}
var desc="";
if(res['desc']!=""){
desc=res['desc'];
}
html+=' <li>'+
' <div class="experts_Img"><img src='+image+' alt=""></div>'+
' <div class="experts_Box">'+
' <h2 class="one-txt-cut">'+name+'</h2>'+
' <p class="txt-cut">'+desc+'</p>'+
' </div>'+
' <a href="/api/experts/detail?id='+res["id"]+'" style="margin-left:auto">'+
' <div class="experts_Box2">'+
' <div class="experts_Img2"><img src="/static/image/zaixianjiaoliu_icon.png" alt=""></div>'+
' <p>在线交流</p>'+
' </div>'+
' </a>'+
' </li>';
}
$("#experts_List1").html(html);
},"false");
}
function ajax2(data) {
ajax("/api/experts/index",data,"post",function (res) {
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var name="";
if(res['name']!=""){
name=res['name'];
}
var desc="";
if(res['desc']!=""){
desc=res['desc'];
}
html+=' <li>'+
' <div class="experts_Txt one-txt-cut">'+name+'</div>'+
' <div class="experts_Box3">'+
' <p class="experts_Txt2 txt-cut">'+desc+'</p>'+
' <div class="experts_Box4">'+
' <p class="experts_Txt3">'+res['createtime']+'</p>'+
' <a href="/api/experts/detail?id='+res["id"]+'" class="experts_Txt4">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#experts_List2").html(html);
},"false");
}
//上拉加载
var page = 1;
var data_status = true;
function get_data(page) {
var data = {
page: page,
pid:pid
};
if(pid==31 || pid==11){
ajax1(data);
}else{
ajax2(data);
}
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
mui.toast('已经到底了!', {
duration: 1600,
type: 'div'
})
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name='title'}专家观点{/block}
{block name="content"}
<div class="max-width">
<!-- 当前位置 -->
<div class="current">
<a href="">首页</a>
<span>></span>
<a href="">{$title['title']}</a>
</div>
<!-- 内容 -->
<div class="experts_Con clearfix">
<div class="news_nav">
{foreach $left as $le}
{if($le.id==$pid)}
<h1 class="news_Txt">{$le.title}</h1>
{/if}
{/foreach}
<ul>
{foreach $left as $le}
<a href="/index/experts/index?pid={$le.id}">
<li class="clearfix">
<p class="news_Txt2 one-txt-cut">{$le.title}</p>
</li>
</a>
{/foreach}
</ul>
</div>
<div class="news_List">
<ul>
{foreach($list as $l) }
<li class="clearfix">
<div class="experts_opTxt one-txt-cut">{$l.name}</div>
<div class="news_Box2">
<p class="news_Txt5 tender_Txt txt-cut">{$l.desc}</p>
</div>
<div class="news_Txt6">{$l.createtime}</div>
<a href="/index/experts/detail?id={$l.id}" class="news_Txt7">[详情]</a>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}专家观点--详情{/block}
{block name="content"}
<div class="Box">
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.name}</h1>
<p class="list_DTime">{$news.experts_name}</p>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
</div>
</div>
{/block}
\ No newline at end of file
... ...
... ... @@ -20,4 +20,73 @@
</ul>
</div>
</div>
<script>
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/green/getList",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/green/index?id='+res['id']+'&pid={$pid}">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#huiyuan_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.title}</h1>
<p class="list_DTime">{$news.createtime}</p>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
</div>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<div class="Box">
<div class="list_nav">
{foreach $left as $le}
<div class="list_navLi">
<a href="/api/huiyuan/index?pid={$le.id}">
<p class="{$pid==$le['id']?'list_active':''} list_navTxt">{$le.title}</p>
</a>
</div>
{/foreach}
</div>
<!-- 列表 -->
<div class="list_item">
<ul>
{foreach($list as $l) }
<li id="huiyuan_List2">
<div class="list_Img"><img src="{$l.image}" alt=""></div>
<div class="list_Box">
<div class="list_Txt txt-cut">{$l.title}</div>
<div class="list_Box2">
<p class="list_Txt2 ">{$l.createtime}</p>
<a class="list_Txt3" href="/api/huiyuan/detail?id={$l.id}">[详情]</a>
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
<script>
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/huiyuan/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/huiyuan/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#huiyuan_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}国际交流-详情{/block}
{block name="title1"}{/block}
{block name="content"}
<style>
... ... @@ -30,18 +30,18 @@
background-image: url('/static/image/zuo_img.png');
}
</style>
<!-- 当前位置 -->
<div class="backNav">
<div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>
<div class="back_nav">
<a href="/api/index/index">首页</a>
<span>></span>
<a href="/api/international/index?pid=8">国际交流</a>
<span>></span>
<a href="">详情</a>
</div>
<div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>
</div>
<!-- &lt;!&ndash; 当前位置 &ndash;&gt;-->
<!-- <div class="backNav">-->
<!-- <div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>-->
<!-- <div class="back_nav">-->
<!-- <a href="/api/index/index">首页</a>-->
<!-- <span>></span>-->
<!-- <a href="/api/international/index">国际交流</a>-->
<!-- <span>></span>-->
<!-- <a href="">详情</a>-->
<!-- </div>-->
<!-- <div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>-->
<!-- </div>-->
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.title}</h1>
... ...
... ... @@ -6,14 +6,14 @@
{foreach $left as $v}
<div class="list_navLi">
<a href="/api/international/index?pid={$v.id}">
<p class="{$pid==$v['id']?'list_active':''} list_navTxt">{$v.title}</p>
<p class="{$pid==$v['id']?'list_active':''} list_navTxt" >{$v.title}</p>
</a>
</div>
{/foreach}
</div>
<!-- 列表 -->
<div class="list_item">
<ul>
<ul id="international_List2">
{foreach $list as $v}
<li>
<div class="list_Img"><img src="{$v.image}" alt=""></div>
... ... @@ -31,9 +31,75 @@
</div>
</div>
<script>
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/international/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
' <div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/international/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#international_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
mui.toast('已经到底了!', {
duration: 1600,
type: 'div'
})
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}招标信息-详情{/block}
{block name="content"}
<div class="Box">
<!-- 当前位置 -->
<!-- <div class="backNav">-->
<!-- <div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>-->
<!-- <div class="back_nav">-->
<!-- <a href="/api/index/index">首页</a>-->
<!-- <span>></span>-->
<!-- <a href="/api/invitation/index?pid=">招标信息</a>-->
<!-- <span>></span>-->
<!-- <a href="">详情</a>-->
<!-- </div>-->
<!-- <div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>-->
<!-- </div>-->
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.title}</h1>
<p class="list_DTime">{$news.createtime}</p>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
<!-- 图片 -->
<div class="list_DImg">
<img src="{$news.image}" alt="">
</div>
</div>
</div>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<div class="Box">
<!-- 发起招标 -->
<a href="/api/invitation/release">
<div class="tender_hair">
<div class="tender_hairImg"><img src="/static/image/icon19.png" alt=""></div>
<p class="tender_hairTxt">发起招标</p>
</div>
</a>
<div class="list_nav">
{foreach $left as $le}
<div class="list_navLi">
<a href="/api/invitation/index?pid={$le.id}">
<p class="{$pid==$le['id']?'list_active':''} list_navTxt">{$le.title}</p>
</a>
</div>
{/foreach}
</div>
<!-- 列表 -->
<div class="list_item">
<ul id="invitation_List2">
{foreach($list as $l) }
<li>
<div class="list_Img"><img src="{$l.image}" alt=""></div>
<div class="list_Box">
<div class="list_Txt txt-cut">{$l.title}</div>
<div class="list_Box2">
<p class="list_Txt2 ">{$l.createtime}</p>
<a href="/api/invitation/detail?id={$l.id}" class="list_Txt3" href="">[详情]</a>
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
<script>
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/invitation/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/invitation/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#invitation_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}发起招标{/block}
{block name="title1"}{/block}
{block name="content"}
<div class="Box">
<!-- 当前位置 -->
<div class="backNav">
<div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>
<div class="back_nav">
<a href="/api/index/index">首页</a>
<span>></span>
<a href="/api/invitation/index?pid=9">招标招商</a>
<span>></span>
<a href="">发布招标</a>
</div>
<div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>
</div>
<div class="tender_hairBox">
<h1 class="tender_rTxt">发起招聘</h1>
<div class="tender_rBox">
<form id="form">
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<select name="" id="" class="release_op">
<option value="">请选择类型</option>
{foreach $style as $s}
<option value="">{$s.title}</option>
{/foreach}
</select>
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<input type="text" name="title" class="release_input" placeholder="请输入标题">
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<textarea placeholder="请输入内容" name="content" id="" cols="30" rows="10" class="release_textarea"></textarea>
</div>
<input type="hidden" name="image" id="image">
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<div class="release_file">
<input type="file" name="file" onchange="sc(this)">
<div class="release_fileImg"><img src="/static/image/icon20.png" alt="" ></div>
</div>
</div>
</form>
<div class="release_btn">提交</div>
</div>
</div>
</div>
<script>
function sc(e){
var data = new FormData($('#form')[0]);
c(data);
$.ajax({
url: "/admin/ajax/upload",
type: 'POST',
data: data,
dataType: 'JSON',
cache: false,
processData: false,
contentType: false
}).done(function(ret){
if(ret['code']==1){
$("#image").val(ret.data.url);
$('.release_fileImg').find('img').attr('src',ret.data.url)
w('上传成功');
}else{
w('上传失败');
}
});
}
$(".release_btn").on("click",function () {
var data=$("#form").serialize();
if($(".release_op option:selected").text() == '请选择类型'){
w('请选择类型');
}else if($('.release_input').val() == ''){
w('请输入标题');
}else if($('.release_textarea').val() ==''){
w('请输入内容');
}else{
ajax("/index/invitation/release",data,"post",function (res) {
w(res.msg);
},"");
}
})
</script>
{/block}
\ No newline at end of file
... ...
... ... @@ -12,6 +12,7 @@
<script src="/static/js/jquery.js"></script>
<script src="/static/js/swiper.min.js"></script>
<title>{block name='title'}{$title['title']|default=''}{/block}</title>
<script src="/static/js/scroll.js"></script>
<script src="/statis/js/include.js"></script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=d6PnuoA0EWXbee3HpVP84MT2GsflcVQk"></script>
... ... @@ -32,6 +33,10 @@
<a href="/api/index/index">首页</a>
<span>></span>
<a href="{$title['url']|default=''}?pid={$title['id']|default=''}">{$title['title']|default=''}</a>
{if( $title['status']==1)}
<span>></span>
<a href="">详情</a>
{/if}
</div>
{if(session('login'))}
<div class="backNav_Img2"><img src="{:session('user')['image']==''?'/statis/image/touxiang_imh.png':session('user')['image']}" alt=""></div>
... ...
... ... @@ -15,7 +15,7 @@
</div>
<!-- 列表 -->
<div class="list_item">
<ul>
<ul id="news_List2">
{foreach $list as $v}
<li>
<div class="list_Img"><img src="{$v.image}" alt=""></div>
... ... @@ -56,5 +56,72 @@
}
},"false");
}
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid1}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/news/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/news/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#news_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
... ...
{extend name="layout/default"}
{block name="content"}
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.title}</h1>
<p class="list_DTime">{$news.createtime}</p>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
</div>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<div class="Box">
<div class="list_nav">
{foreach $left as $le}
<div class="list_navLi">
<a href="/api/online/index?pid={$le.id}">
<p class="{$pid==$le['id']?'list_active':''} list_navTxt">{$le.title}</p>
</a>
</div>
{/foreach}
</div>
<!-- 列表 -->
<div class="list_item">
<ul id="online_List2">
{foreach($list as $l) }
<li>
<div class="list_Img"><img src="{$l.image}" alt=""></div>
<div class="list_Box">
<div class="list_Txt txt-cut">{$l.title}</div>
<div class="list_Box2">
<p class="list_Txt2 ">{$l.createtime}</p>
<a class="list_Txt3" href="/api/online/detail?id={$l.id}">[详情]</a>
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
<script>
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/online/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/online/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#online_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.title}</h1>
<p class="list_DTime">{$news.createtime}</p>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
<a href="/index/news/down?url={$news.downfile}" class="list_downLoad">
<div class="list_downLoadBox">
<div class="list_downLoadImg"><img src="/static/image/fujian_icon.png" alt=""></div>
<p class="list_downLoadTxt">附件下载</p>
</div>
</a>
</div>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<div class="Box">
<div class="list_nav">
{foreach $left as $le}
<div class="list_navLi">
<a href="/api/standard/index?pid={$le.id}">
<p class="{$pid==$le['id']?'list_active':''} list_navTxt">{$le.title}</p>
</a>
</div>
{/foreach}
</div>
<!-- 列表 -->
<div class="list_item">
<ul id="standard_List2">
{foreach($list as $l) }
<li>
<div class="list_Img"><img src="{$l.image}" alt=""></div>
<div class="list_Box">
<div class="list_Txt txt-cut">{$l.title}</div>
<div class="list_Box2">
<p class="list_Txt2 ">{$l.createtime}</p>
<a class="list_Txt3" href="/api/standard/detail?id={$l.id}">[详情]</a>
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
<script>
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/standard/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/standard/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#standard_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="content"}
<div class="Box">
<!-- 内容 -->
<div class="list_DBox">
<h1 class="list_DTit">{$news.title}</h1>
<p class="list_DTime">{$news.createtime}</p>
<!-- 富文本 -->
<div class="list_Dtext">
{$news.content}
</div>
</div>
</div>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}人才服务{/block}
{block name="content"}
<div class="Box">
<div class="talentBox">
<a href="/api/talent/initiate_1?style=0">
<div class="talent_hair">
<div class="tender_hairImg"><img src="/static/image/icon21.png" alt=""></div>
<p class="tender_hairTxt">发起求职</p>
</div>
</a>
<a href="/api/talent/initiate_2?style=1">
<div class="talent_hair">
<div class="tender_hairImg"><img src="/static/image/icon22.png" alt=""></div>
<p class="tender_hairTxt">发起招聘</p>
</div>
</a>
</div>
<div class="list_nav">
{foreach $left as $le}
<div class="list_navLi">
<a href="/api/talent/index?pid={$le.id}">
<p class="{$pid==$le['id']?'list_active':''} list_navTxt">招聘信息</p>
</a>
</div>
{/foreach}
</div>
<!-- 列表 -->
<div class="list_item">
<ul id="talent_List2">
{foreach($list as $l) }
<li>
<div class="list_Img"><img src="{$l.image}" alt=""></div>
<div class="list_Box">
<div class="list_Txt txt-cut">{$l.title}</div>
<div class="list_Box2">
<p class="list_Txt2 ">{$l.createtime}</p>
<a class="list_Txt3" href="/api/talent/detail?id={$l.id}">[详情]</a>
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</div>
<script>
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
//上拉加载
var page = 2;
var data_status = true;
var pid="{$pid}";
$('.list_navLi').click(function() {
$(".list_navdown").show();
$(this).find('.list_navTxt').addClass('list_active').parents('.list_navLi').siblings().find('.list_navTxt').removeClass('list_active');
});
function ajax2(data) {
ajax("/api/talent/index",data,"post",function (res) {
var html="";
if(page==res.msg.last_page){
data_status=false;
}else{
data_status=true;
}
var msg=res.msg.data;
var num=msg.length;
for(var i=0;i<num;i++) {
var res = msg[i];
var image="";
if(res['image']!=""){
image=res['image'];
}
var title="";
if(res['title']!=""){
title=res['title'];
}
var createtime="";
if(res['createtime']!=""){
createtime=res['createtime'];
}
html+='<li>'+
' <div class="list_Img"><img src='+image+' alt=""></div>'+
' <div class="list_Box">'+
'<div class="list_Txt txt-cut">'+title+'</div>'+
' <div class="list_Box2">'+
' <p class="list_Txt2 ">'+createtime+'</p>'+
' <a class="list_Txt3" href="/api/talent/detail?id='+res['id']+'">[详情]</a>'+
' </div>'+
' </div>'+
' </li>';
}
$("#talent_List2").append(html);
},"false");
}
function get_data(page) {
var data = {
page: page,
pid:pid
};
ajax2(data);
};
get_data(page)
//滚动事件触发
window.onscroll = function(ev) {
if (getScrollTop() + getClientHeight() >= getScrollHeight() && data_status) {
// 后台数据调用
if (data_status === true) {
++page;
get_data(page);
}
} else if (getScrollTop() + getClientHeight() >= getScrollHeight() && !data_status) {
w("无更多数据")
}
};
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}发起招聘{/block}
{block name="title1"}{/block}
{block name="content"}
<div class="Box">
<!-- 当前位置 -->
<div class="backNav">
<div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>
<div class="back_nav">
<a href="/api/index/index">首页</a>
<span>></span>
<a href="/api/talent/index?pid=12">人才服务</a>
<span>></span>
<a href="">发布招聘</a>
</div>
<div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>
</div>
<div class="tender_hairBox">
<h1 class="tender_rTxt">发布招聘</h1>
<div class="tender_rBox">
<form id="form">
<div class="release_Li clearfix">
<label for=""><span>*</span>人才类型</label>
<select name="pid" id="pid" class="release_op">
<option value="">请选择类型</option>
{foreach($style as $p)}
<option value="{$p.id}">{$p.name}</option>
{/foreach}
</select>
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<input type="text" name="title" class="release_input" placeholder="请输入标题">
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<textarea placeholder="请输入内容" name="content" id="" cols="30" rows="10" class="release_textarea"></textarea>
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<input type="hidden" class="release_input" name="image" id="image">
<div class="release_file">
<input type="file" name="file" onchange="sc(this)">
<div class="release_fileImg"><img src="/static/image/icon20.png" alt=""></div>
</div>
</div>
</form>
<div class="release_btn">提交</div>
</div>
</div>
</div>
<script>
$('.release_op').change(function () {
$(this).css('color','black')
});
function sc(e){
var data = new FormData($('#form')[0]);
$.ajax({
url: "/admin/ajax/upload",
type: 'POST',
data: data,
dataType: 'JSON',
cache: false,
processData: false,
contentType: false
}).done(function(ret){
if(ret['code']==1){
$("#image").val(ret.data.url);
$('.release_fileImg').find("img").attr('src',ret.data.url);
w('上传成功');
}else{
w('上传失败');
}
});
}
$(".release_btn").on("click",function () {
var data=$("#form").serialize();
if($(".release_op option:selected").text() == '请选择类型'){
w('请选择人才类型');
}else if($('.release_input').val() == ''){
w('请输入标题');
}else if($('.release_textarea').val() ==''){
w('请输入内容');
}else{
ajax("/index/talent/initiate_1",data,"post",function (res) {
w(res.msg);
},"");
}
})
</script>
{/block}
\ No newline at end of file
... ...
{extend name="layout/default"}
{block name="title"}发起求职{/block}
{block name="title1"}{/block}
{block name="content"}
<div class="Box">
<!-- 当前位置 -->
<div class="backNav">
<div class="backNav_Img"><img src="/static/image/icon14.png" alt=""></div>
<div class="back_nav">
<a href="/api/index/index">首页</a>
<span>></span>
<a href="/api/talent/index?pid=12">人才服务</a>
<span>></span>
<a href="">发起求职</a>
</div>
<div class="backNav_Img2"><img src="/static/image/touxiang_img.png" alt=""></div>
</div>
<div class="tender_hairBox">
<h1 class="tender_rTxt">发起求职</h1>
<div class="tender_rBox">
<form id="form">
<div class="release_Li clearfix">
<label for=""><span>*</span>岗位类型</label>
<select name="pid" id="pid" class="release_op">
<option value="">请选择类型</option>
{foreach($style as $p)}
<option value="{$p.id}">{$p.name}</option>
{/foreach}
</select>
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<input type="text" name="title" class="release_input" placeholder="请输入标题">
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<textarea placeholder="请输入内容" name="content" id="" cols="30" rows="10" class="release_textarea"></textarea>
</div>
<div class="release_Li clearfix">
<label for=""><span>*</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
<div class="release_file">
<input type="hidden" class="release_input" name="image" id="image">
<input type="file" name="file" onchange="sc(this)">
<div class="release_fileImg"><img src="/static/image/icon20.png" alt=""></div>
</div>
</div>
</form>
<div class="release_btn">提交</div>
</div>
</div>
</div>
<script>
$('.release_op').change(function () {
$(this).css('color','black')
});
function sc(e){
var data = new FormData($('#form')[0]);
$.ajax({
url: "/admin/ajax/upload",
type: 'POST',
data: data,
dataType: 'JSON',
cache: false,
processData: false,
contentType: false
}).done(function(ret){
if(ret['code']==1){
$("#image").val(ret.data.url);
$('.release_fileImg').find("img").attr('src',ret.data.url);
w('上传成功');
}else{
w('上传失败');
}
});
}
$(".release_btn").on("click",function () {
var data=$("#form").serialize();
if($(".release_op option:selected").text() == '请选择类型'){
w('请选择人才类型');
}else if($('.release_input').val() == ''){
w('请输入标题');
}else if($('.release_textarea').val() ==''){
w('请输入内容');
}else{
ajax("/index/talent/initiate_2",data,"post",function (res) {
w(res.msg);
},"");
}
})
</script>
{/block}
\ No newline at end of file
... ...
... ... @@ -16,7 +16,6 @@ use think\Lang;
use think\Loader;
use think\Request;
use think\Validate;
/**
* 前台控制器基类
*/
... ... @@ -180,6 +179,28 @@ class Frontend extends Controller
}
}
$this->assign("nums",$nums);
$active=Request::instance()->action();
if($active=="detail"){
$index="/index/";
$controller=Request::instance()->controller();
$active="/index";
// $url11=$index.$controller.$active;
$thing=Request::instance()->param()['id'];
$model1111="app\\admin\\model\\".ucfirst($controller);
$res111=$model1111::where("id",$thing)->find();
$menuSub=Menu::where("id",$res111['style'])->find();
$menuSub['url']=$index.$controller.$active."?pid=".$menuSub['id'];
if(!strpos($this->http_style,"Win")){
$server_url=$menuSub['url'];
$server_url=explode("/",$server_url);
$server_url[1]="api";
$server_url=implode("/",$server_url);
$menuSub['url']=$server_url;
}
$menuSub['status']="1";
$this->assign('title', $menuSub);
}
}
/**
... ...
... ... @@ -12,5 +12,6 @@ class About extends Controller
$res=\app\admin\model\About::find();
$this->assign("res",$res);
return view("");
}
}
\ No newline at end of file
... ...
... ... @@ -10,10 +10,9 @@
<div class="experts_Con clearfix">
<div class="news_nav">
{foreach $left as $le}
{if($le.id==$pid)}
<h1 class="news_Txt">{$le.title}</h1>
{/if}
{if($le.id==$pid)}
<h1 class="news_Txt">{$le.title}</h1>
{/if}
{/foreach}
<ul>
{foreach $left as $le}
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="../css/base.css">
<link rel="stylesheet" href="../css/public.css">
<title></title>
</head>
{extend name="layout/default"}
{block name="title"}专家观点--详情{/block}
... ...
... ... @@ -3,7 +3,7 @@
<div class="max-width">
<!-- 当前位置 -->
<div class="current">
<a href="">首页</a>
<a href="/">首页</a>
<span>></span>
<a href="">招商招标</a>
<span>></span>
... ...
{extend name="layout/default"}
{block name="title"}发起招聘{/block}
{block name="content"}
<div class="tender_rCon">
<h1 class="tender_rTxt">发起求职</h1>
<div class="tender_rBox">
<div class="release_Li clearfix">
<form id="form">
<input type="hidden" name="style" value="48">
... ...
{extend name="layout/default"}
{block name="title"}发起求职{/block}
{block name="title1"}{/block}
{block name="content"}
<div class="tender_rCon">
... ...
... ... @@ -1089,7 +1089,7 @@
/* 专家在线 */
.experts_List {
display: none;
margin: 0 0.32rem;
}
... ...
//--------------上拉加载更多---------------
//获取滚动条当前的位置
function getScrollTop() {
var scrollTop = 0;
if(document.documentElement && document.documentElement.scrollTop) {
scrollTop = document.documentElement.scrollTop;
} else if(document.body) {
scrollTop = document.body.scrollTop;
}
return scrollTop;
}
//获取当前可视范围的高度
function getClientHeight() {
var clientHeight = 0;
if(document.body.clientHeight && document.documentElement.clientHeight) {
clientHeight = Math.min(document.body.clientHeight, document.documentElement.clientHeight);
} else {
clientHeight = Math.max(document.body.clientHeight, document.documentElement.clientHeight);
}
return clientHeight;
}
//获取文档完整的高度
function getScrollHeight() {
return Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
}
\ No newline at end of file
... ...