吴树波 1 deň pred
rodič
commit
b79f46a7b0

+ 0 - 0
.gitignore


+ 8 - 0
.idea/.gitignore

@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml

+ 12 - 0
.idea/adH5.iml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$">
+      <excludeFolder url="file://$MODULE_DIR$/.tmp" />
+      <excludeFolder url="file://$MODULE_DIR$/temp" />
+      <excludeFolder url="file://$MODULE_DIR$/tmp" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>

+ 6 - 0
.idea/git_toolbox_blame.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="GitToolBoxBlameSettings">
+    <option name="version" value="2" />
+  </component>
+</project>

+ 8 - 0
.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/adH5.iml" filepath="$PROJECT_DIR$/.idea/adH5.iml" />
+    </modules>
+  </component>
+</project>

+ 6 - 0
.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="Git" />
+  </component>
+</project>

+ 4 - 0
pages/index/index.vue

@@ -75,6 +75,7 @@
 				getTemplateById(this.id).then(e => {
 					this.data = e.data;
 					this.site = e.site;
+					this.type = e.site.type;
 					this.json = JSON.parse(e.data.json)
 				})
 			}else if(this.no){
@@ -105,6 +106,7 @@
 				if(this.type == 0){
 					let data = {
 						accountId: this.accountId, 
+						id: this.id, 
 						url: window.location.href, 
 						no: this.no, 
 						bdVid: this.vid, 
@@ -120,6 +122,7 @@
 						accountId: this.accountId, 
 						deeplink_url: window.location.href, 
 						no: this.no, 
+						id: this.id, 
 						bd_vid: this.vid, 
 						aid: this.aid, 
 						click_id: this.click_id, 
@@ -135,6 +138,7 @@
 						accountId: this.accountId, 
 						url: window.location.href, 
 						no: this.no, 
+						id: this.id, 
 						order_plan_id: this.order_plan_id,
 						creative_id: this.creative_id,
 						impress_id: this.impress_id,

+ 6 - 6
vue.config.js

@@ -1,10 +1,10 @@
 // 示例从插件市场下载 mp-storage
 
 module.exports = {
-	chainWebpack: config => {
-		config.plugin('html-index').tap(args => {
-			args[0].template = "D:\\HBuilderX\\plugins\\uniapp-cli\\public\\index-baidu.html";
-			return args;
-		});
-	}
+	// chainWebpack: config => {
+	// 	config.plugin('html-index').tap(args => {
+	// 		args[0].template = "D:\\HBuilderX\\plugins\\uniapp-cli\\public\\index-baidu.html";
+	// 		return args;
+	// 	});
+	// }
 }