Browse Source

Merge branch 'develop' of zhengxifeng/zc100 into master

zhengxifeng 8 months ago
parent
commit
aacef0af20

+ 15
- 2
template/pc/common/include/bottom.htm View File

139
             })
139
             })
140
 
140
 
141
 
141
 
142
-            //
142
+            //_self
143
             $(document).on('click','.loop-item-li',function(){
143
             $(document).on('click','.loop-item-li',function(){
144
+                var aid = $(this).attr('aid');
144
                 var url = $(this).find('a').attr('href');
145
                 var url = $(this).find('a').attr('href');
145
-                window.open(url,'_blank');
146
+
147
+                var $target = $(event.target);
148
+                if ($target.is('a')) {
149
+                    // 如果点击的是a标签,则执行以下代码
150
+                    console.log('链接被点击');
151
+                    // 阻止默认行为,例如不跳转页面
152
+                    //event.preventDefault();
153
+                    // 其他操作...
154
+                    //return false;
155
+                }else{
156
+                    //_self
157
+                    window.open(url,'_blank');
158
+                }
146
             });
159
             });
147
 
160
 
148
         });
161
         });

+ 15
- 6
template/pc/components/detail/new.htm View File

74
 
74
 
75
             <p class="art-tag">所属标签: <a style="background: none;font-size: 15px;" href="https://www.zc10000.com/tag{$tag_number}"  target="_blank" >{$tag_name}</a></p>
75
             <p class="art-tag">所属标签: <a style="background: none;font-size: 15px;" href="https://www.zc10000.com/tag{$tag_number}"  target="_blank" >{$tag_name}</a></p>
76
 
76
 
77
-            <p class="art-tag" style="margin-top:10px;">相关政策文件:
77
+            <p class="art-tag" style="margin-top:10px;">
78
+
79
+                <span style="display: block;float: left;color:#6b7386;">相关政策文件:</span><br/>
78
 
80
 
79
                 <?php
81
                 <?php
80
 
82
 
120
 
122
 
121
 
123
 
122
 
124
 
123
-            <span class="padding">
125
+            <span class="padding" style="display: block;float: left;">
124
 
126
 
125
-             <a class="" href="{$ar_url}" title="{$field.title}" target="_blank">
126
-                 {$temp_title}{$t_end}
127
+                <a class="" href="{$ar_url}" title="{$field.title}" target="_blank">
128
+                 {$temp_title} </a>
129
+                <br/>
130
+                <font style="">{$t_end}</font>
127
                  <?php
131
                  <?php
128
                  /*{$field.title|msubstr=###,0,30,true}**/
132
                  /*{$field.title|msubstr=###,0,30,true}**/
129
                  ?>
133
                  ?>
130
-                        </a>
134
+
131
             </span>
135
             </span>
132
 
136
 
133
 
137
 
136
             {/eyou:sql}
140
             {/eyou:sql}
137
 
141
 
138
 
142
 
139
-                <a href="https://www.zc10000.com/zc" target="_blank" style="font-size: 12px;background: none;color:red;">>>> 查看更多政策文件</a>
140
 
143
 
141
 
144
 
142
 
145
 
153
 
156
 
154
 
157
 
155
 
158
 
159
+
160
+            <div class="clear"></div>
161
+            </p>
162
+            <p>
163
+            <a href="https://www.zc10000.com/zc" target="_blank" style="display: block;float: left;font-size: 12px;background: none;color:red;">>>> 查看更多政策文件</a>
156
             </p>
164
             </p>
165
+            <div class="clear"></div>
157
         </div>
166
         </div>
158
     </div>
167
     </div>
159
 </div>
168
 </div>

+ 1
- 1
template/pc/components/goods/zc.htm View File

8
         <div class="a" title="{$temp_title}{$t_end}" >
8
         <div class="a" title="{$temp_title}{$t_end}" >
9
             <img src="https://www.zc10000.com/public/static/common/images/ico/{$field.ext}.png" alt="{$temp_title}{$t_end}" title="{$temp_title}{$t_end}">
9
             <img src="https://www.zc10000.com/public/static/common/images/ico/{$field.ext}.png" alt="{$temp_title}{$t_end}" title="{$temp_title}{$t_end}">
10
             <h3 style="margin-top:0px;">
10
             <h3 style="margin-top:0px;">
11
-                <a href="{$a_url}" target="_self">{$temp_title}</a>
11
+                <a href="{$a_url}" target="_blank">{$temp_title}</a>
12
                 {eyou:if condition='($ex === 1)'}
12
                 {eyou:if condition='($ex === 1)'}
13
                 <br/>【2024版政策文件下载】
13
                 <br/>【2024版政策文件下载】
14
                 {/eyou:if}
14
                 {/eyou:if}

+ 1
- 6
template/pc/components/list/style12/page/mod_3.htm View File

115
             <img src="https://www.zc10000.com/public/static/common/images/ico/{$field.ext}.png" alt="{$temp_title}{$t_end}" title="{$temp_title}{$t_end}">
115
             <img src="https://www.zc10000.com/public/static/common/images/ico/{$field.ext}.png" alt="{$temp_title}{$t_end}" title="{$temp_title}{$t_end}">
116
 
116
 
117
             <h3>
117
             <h3>
118
-                <a href="{$ar_url}" target="_self">{$temp_title}</a>
118
+                <a href="{$ar_url}" target="_blank">{$temp_title}</a>
119
                 {eyou:if condition='($ex === 1)'}
119
                 {eyou:if condition='($ex === 1)'}
120
                 <br/>【2024版政策文件下载】
120
                 <br/>【2024版政策文件下载】
121
                 {/eyou:if}
121
                 {/eyou:if}
133
 
133
 
134
 
134
 
135
 {/eyou:empty}
135
 {/eyou:empty}
136
-
137
-
138
-
139
-
140
-

+ 19
- 0
template/pc/css/extend.css View File

683
 
683
 
684
 .nav-item-t{
684
 .nav-item-t{
685
     height: 25px;
685
     height: 25px;
686
+}
687
+.art-tag span font {
688
+    color: #6b7386;
689
+    background: none;
690
+    text-align: left;
691
+    height: 22px;
692
+    line-height: 22px;
693
+    border-radius: 50px;
694
+    display: inline-block;
695
+    padding: 2px 6px;
696
+    font-size: 12px;
697
+    height: 24px;
698
+    line-height: 24px;
699
+    padding: 0px 8px;
700
+    margin-bottom:5px;
701
+    padding-left: 0px !important;
702
+}
703
+.art-tag a{
704
+    margin-bottom:5px;
686
 }
705
 }

Loading…
Cancel
Save