SilentLittleCat 7 years ago
parent
commit
1ca015ea95
2 changed files with 14 additions and 15 deletions
  1. 11 11
      .idea/workspace.xml
  2. 3 4
      data/template/3_diy_group_group.tpl.php

+ 11 - 11
.idea/workspace.xml

xqd xqd xqd xqd xqd xqd
@@ -26,10 +26,10 @@
       <file leaf-file-name="3_diy_group_group.tpl.php" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/data/template/3_diy_group_group.tpl.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="663">
-              <caret line="1418" column="30" lean-forward="false" selection-start-line="1418" selection-start-column="30" selection-end-line="1418" selection-end-column="30" />
+            <state relative-caret-position="694">
+              <caret line="1418" column="119" lean-forward="true" selection-start-line="1418" selection-start-column="119" selection-end-line="1418" selection-end-column="119" />
               <folding>
-                <marker date="1525621274777" expanded="true" signature="18830:18842" ph="..." />
+                <marker date="1525621401131" expanded="true" signature="18830:18842" ph="..." />
               </folding>
             </state>
           </provider>
@@ -220,12 +220,12 @@
       <workItem from="1525181078381" duration="610000" />
       <workItem from="1525227575525" duration="11054000" />
       <workItem from="1525275777043" duration="4000" />
-      <workItem from="1525612433789" duration="6520000" />
+      <workItem from="1525612433789" duration="6645000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="22408000" />
+    <option name="totallyTimeSpent" value="22533000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
@@ -326,7 +326,7 @@
         <state relative-caret-position="43679">
           <caret line="1407" column="16" lean-forward="false" selection-start-line="1407" selection-start-column="8" selection-end-line="1407" selection-end-column="16" />
           <folding>
-            <marker date="1525621274777" expanded="true" signature="18830:18842" ph="..." />
+            <marker date="1525621401131" expanded="true" signature="18830:18842" ph="..." />
           </folding>
         </state>
       </provider>
@@ -394,7 +394,7 @@
         <state relative-caret-position="43679">
           <caret line="1407" column="16" lean-forward="false" selection-start-line="1407" selection-start-column="8" selection-end-line="1407" selection-end-column="16" />
           <folding>
-            <marker date="1525621274777" expanded="true" signature="18830:18842" ph="..." />
+            <marker date="1525621401131" expanded="true" signature="18830:18842" ph="..." />
           </folding>
         </state>
       </provider>
@@ -404,7 +404,7 @@
         <state relative-caret-position="23901">
           <caret line="769" column="151" lean-forward="false" selection-start-line="769" selection-start-column="149" selection-end-line="769" selection-end-column="151" />
           <folding>
-            <marker date="1525621274777" expanded="true" signature="18830:18842" ph="..." />
+            <marker date="1525621401131" expanded="true" signature="18830:18842" ph="..." />
           </folding>
         </state>
       </provider>
@@ -640,10 +640,10 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/data/template/3_diy_group_group.tpl.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="663">
-          <caret line="1418" column="30" lean-forward="false" selection-start-line="1418" selection-start-column="30" selection-end-line="1418" selection-end-column="30" />
+        <state relative-caret-position="694">
+          <caret line="1418" column="119" lean-forward="true" selection-start-line="1418" selection-start-column="119" selection-end-line="1418" selection-end-column="119" />
           <folding>
-            <marker date="1525621274777" expanded="true" signature="18830:18842" ph="..." />
+            <marker date="1525621401131" expanded="true" signature="18830:18842" ph="..." />
           </folding>
         </state>
       </provider>

+ 3 - 4
data/template/3_diy_group_group.tpl.php

xqd xqd
@@ -1404,7 +1404,7 @@ EOF;
         function updatecinemaattach(aid, url, attachurl) {
             // $('activityaid').value = aid;
             // console.log(aid, 'now');
-            $('activityattach_image').innerHTML = '<img src="' + attachurl + '/' + url + '" class="spimg" />';
+            $('activityattach_image').innerHTML = '<img width="200px" src="' + attachurl + '/' + url + '" class="spimg" />';
             ATTACHORIMAGE = 1;
         }
 
@@ -1415,9 +1415,8 @@ EOF;
 
         function bannernew_upload(aid, url) {
             $('bannernew_url').value = 'data/attachment/forum/' + url;
-            html = '<img src="' + attachurl + '/' + url + '" class="spimg" />';
-            console.log(html);
-            sgjQuery('#bannernew_image').html(html);
+            attachurl = 'data/attachment/forum';
+            $('bannernew_image').innerHTML = '<img width="200px" src="' + attachurl + '/' + url + '" class="spimg" />';
             ATTACHORIMAGE = 1;
         }