<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="style.css">
		<link rel="stylesheet" href="https://uzi666.top/shopline_admin_statuc/css/layui/css/layui.css">
		<script src="app/js/echarts.min.js"></script>
		<title>Dashboard</title>
<pre><code>&lt;/head&gt;
&lt;body&gt;
	
	&lt;div class=&quot;Polaris-Stack Polaris-Stack--distributionEqualSpacing Polaris-Stack--alignmentCenter&quot; style=&quot;margin-top: 1px;border-bottom: 1px #c1c1c1 solid;padding: 5px;&quot;&gt;
		&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
			&lt;div class=&quot;Polaris-Stack Polaris-Stack--spacingTight Polaris-Stack--alignmentCenter&quot;&gt;
				&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
					&lt;div class=&quot;sc-1ibht3l-0 uqRZq&quot;&gt;

					&lt;/div&gt;
					&lt;div class=&quot;sc-1ibht3l-1 hIZedH&quot;&gt;
						&lt;div class=&quot;Polaris-ButtonGroup&quot;&gt;
							&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
								&lt;a data-polaris-unstyled=&quot;true&quot; class=&quot;Polaris-Button&quot; href=&quot;index.html&quot;&gt;
									&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
										&lt;span class=&quot;Polaris-Button__Text&quot;&gt;Dashboard&lt;/span&gt;
									&lt;/span&gt;
								&lt;/a&gt;
							&lt;/div&gt;

							&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
								&lt;a data-polaris-unstyled=&quot;true&quot; class=&quot;Polaris-Button&quot; href=&quot;zone.html&quot;&gt;
									&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
										&lt;span class=&quot;Polaris-Button__Text&quot;&gt;Checkout Zones&lt;/span&gt;
									&lt;/span&gt;
								&lt;/a&gt;
							&lt;/div&gt;
							&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
								&lt;a data-polaris-unstyled=&quot;true&quot; class=&quot;Polaris-Button&quot; href=&quot;funnel.html&quot;&gt;
									&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
										&lt;span class=&quot;Polaris-Button__Text&quot;&gt;Funnels&lt;/span&gt;
									&lt;/span&gt;
								&lt;/a&gt;
							&lt;/div&gt;
							&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
								&lt;a data-polaris-unstyled=&quot;true&quot; class=&quot;Polaris-Button&quot; href=&quot;help.html&quot;&gt;
									&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
										&lt;span class=&quot;Polaris-Button__Text&quot;&gt;Help Center&lt;/span&gt;
									&lt;/span&gt;
								&lt;/a&gt;
							&lt;/div&gt;
							&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
								&lt;div&gt;
									&lt;button type=&quot;button&quot; id=&quot;moreSeting&quot; class=&quot;Polaris-Button&quot; tabindex=&quot;0&quot; aria-controls=&quot;Popover486&quot; aria-owns=&quot;Popover486&quot; aria-haspopup=&quot;true&quot; aria-expanded=&quot;false&quot;&gt;
										&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
											&lt;span class=&quot;Polaris-Button__Text&quot;&gt;More&lt;/span&gt;
											&lt;span class=&quot;Polaris-Button__Icon&quot;&gt;
												&lt;span class=&quot;Polaris-Icon&quot;&gt;
													&lt;svg viewBox=&quot;0 0 20 20&quot; class=&quot;Polaris-Icon__Svg&quot; focusable=&quot;false&quot; aria-hidden=&quot;true&quot;&gt;
														&lt;path d=&quot;M5 8l5 5 5-5z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;
													&lt;/svg&gt;
												&lt;/span&gt;
											&lt;/span&gt;
										&lt;/span&gt;
										&lt;div id=&quot;dropdownContent&quot; class=&quot;dropdown-content&quot;&gt;
										  &lt;!-- 这里放下拉列表的内容 --&gt;
										  &lt;a href=&quot;javascript:void(0);&quot; class=&quot;loadContent&quot; data-url=&quot;payment.html&quot;&gt;Payment&lt;/a&gt;
										  &lt;a href=&quot;javascript:void(0);&quot; class=&quot;loadContent&quot; data-url=&quot;facebookPixel.html&quot;&gt;Pixel&lt;/a&gt;
										&lt;/div&gt;
									&lt;/button&gt;
									
								&lt;/div&gt;
							&lt;/div&gt;
							

							
						&lt;/div&gt;
					&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
			&lt;div class=&quot;Polaris-Stack Polaris-Stack--spacingTight&quot;&gt;
				&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
					&lt;div class=&quot;sc-1pokqsy-0 dqXEel&quot;&gt;
						&lt;div tabindex=&quot;-1&quot; aria-controls=&quot;Popover493&quot; aria-owns=&quot;Popover493&quot; aria-haspopup=&quot;true&quot; aria-expanded=&quot;false&quot;&gt;
							&lt;div class=&quot;sc-1pokqsy-1 fQGSrj&quot;&gt;
								&lt;div class=&quot;Polaris-Stack Polaris-Stack--spacingExtraTight Polaris-Stack--alignmentCenter&quot;&gt;
									&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
										&lt;p&gt;Status: &lt;/p&gt;
									&lt;/div&gt;
									&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
										&lt;span class=&quot;Polaris-Badge Polaris-Badge--statusSuccess&quot;&gt;
											&lt;span class=&quot;Polaris-VisuallyHidden&quot;&gt;Success&lt;/span&gt;Enabled
										&lt;/span&gt;
									&lt;/div&gt;
									&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
										&lt;span class=&quot;Polaris-Icon Polaris-Icon--colorInkLightest Polaris-Icon--isColored&quot;&gt;
											&lt;svg viewBox=&quot;0 0 20 20&quot; class=&quot;Polaris-Icon__Svg&quot; focusable=&quot;false&quot; aria-hidden=&quot;true&quot;&gt;
												&lt;path d=&quot;M5 8l5 5 5-5z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;
											&lt;/svg&gt;
										&lt;/span&gt;
									&lt;/div&gt;
								&lt;/div&gt;
							&lt;/div&gt;
						&lt;/div&gt;
						&lt;div class=&quot;ynsxbt-0 iqzcmc&quot; style=&quot;display: none;&quot;&gt;
							&lt;div class=&quot;ynsxbt-1 fHRVPN&quot;&gt;
								&lt;div class=&quot;Polaris-Card&quot;&gt;
									&lt;div class=&quot;Polaris-Card__Section&quot;&gt;
										&lt;div class=&quot;Polaris-Stack Polaris-Stack--distributionEqualSpacing&quot;&gt;
											&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
												&lt;h2 class=&quot;Polaris-Heading&quot;&gt;Disable PPFunnels?&lt;/h2&gt;
											&lt;/div&gt;
											&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
												&lt;div class=&quot;ynsxbt-2 gYaAIi&quot;&gt;
													&lt;span class=&quot;Polaris-Icon Polaris-Icon--colorInkLightest Polaris-Icon--isColored&quot;&gt;
														&lt;svg viewBox=&quot;0 0 20 20&quot; class=&quot;Polaris-Icon__Svg&quot; focusable=&quot;false&quot; aria-hidden=&quot;true&quot;&gt;
															&lt;path d=&quot;M11.414 10l6.293-6.293a.999.999 0 1 0-1.414-1.414L10 8.586 3.707 2.293a.999.999 0 1 0-1.414 1.414L8.586 10l-6.293 6.293a.999.999 0 1 0 1.414 1.414L10 11.414l6.293 6.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L11.414 10z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;
														&lt;/svg&gt;
													&lt;/span&gt;
												&lt;/div&gt;
											&lt;/div&gt;
										&lt;/div&gt;
									&lt;/div&gt;
									&lt;div class=&quot;ynsxbt-3 bZoarq&quot;&gt;
										&lt;div class=&quot;Polaris-Card&quot;&gt;
											&lt;div class=&quot;Polaris-Card__Section&quot;&gt;
												&lt;div class=&quot;Polaris-TextContainer&quot;&gt;
													&lt;p&gt;All PPFunnels features will be disabled.&lt;/p&gt;
													&lt;p&gt;Checkouts will be processed by Shopify.&lt;/p&gt;
												&lt;/div&gt;
											&lt;/div&gt;
										&lt;/div&gt;
									&lt;/div&gt;
									&lt;div class=&quot;Polaris-Card__Section&quot;&gt;
										&lt;div class=&quot;Polaris-Stack Polaris-Stack--distributionTrailing&quot;&gt;
											&lt;div class=&quot;Polaris-Stack__Item&quot;&gt;
												&lt;div class=&quot;Polaris-ButtonGroup&quot;&gt;
													&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
														&lt;button type=&quot;button&quot; class=&quot;Polaris-Button&quot;&gt;
															&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
																&lt;span class=&quot;Polaris-Button__Text&quot;&gt;Cancel&lt;/span&gt;
															&lt;/span&gt;
														&lt;/button&gt;
													&lt;/div&gt;
													&lt;div class=&quot;Polaris-ButtonGroup__Item&quot;&gt;
														&lt;button type=&quot;button&quot; class=&quot;Polaris-Button Polaris-Button--destructive&quot;&gt;
															&lt;span class=&quot;Polaris-Button__Content&quot;&gt;
																&lt;span class=&quot;Polaris-Button__Text&quot;&gt;Disable PPFunnels&lt;/span&gt;
															&lt;/span&gt;
														&lt;/button&gt;
													&lt;/div&gt;
												&lt;/div&gt;
											&lt;/div&gt;
										&lt;/div&gt;
								&lt;/div&gt;
							&lt;/div&gt;
						&lt;/div&gt;
					&lt;/div&gt;
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	


&lt;!-- 引入 jQuery 库 --&gt;
&lt;script src=&quot;https://code.jquery.com/jquery-3.6.0.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;app/js/index.js&quot;&gt;&lt;/script&gt;

&lt;!-- 在文档加载完成后执行以下脚本 --&gt;
&lt;script&gt;
</code></pre>
<p>// 点击按钮时触发事件
$(&quot;#moreSeting&quot;).click(function(e) {
e.stopPropagation(); // 阻止事件冒泡,防止立即隐藏下拉列表
var dropdown = $(&quot;#dropdownContent&quot;);
dropdown.toggle();
});</p>
<p>// 点击页面其他地方时隐藏下拉列表
$(document).click(function(e) {
var dropdown = $(&quot;#dropdownContent&quot;);
// 检查点击事件是否发生在下拉列表以外的区域
if (!dropdown.is(e.target) &amp;&amp; dropdown.has(e.target).length === 0) {
dropdown.hide();
}
});</p>
<p>// 为下拉列表中的链接添加点击事件
$(document).on('click', '.loadContent', function() {
var url = $(this).data('url');
// 使用 load() 方法将 HTML 文件加载到容器中
$(&quot;#container&quot;).load(url);
});
</script>
<script type="text/javascript" src="https://uzi666.top/shopline_admin_statuc/css/layui/layui.js" charset="utf-8"></script>
</body></p>
</html>

原文地址: https://www.cveoy.top/t/topic/p4N8 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录