Browse Source

增加反馈页面

Nnuo 8 years ago
parent
commit
5353a7bd32
1 changed files with 46 additions and 0 deletions
  1. 46 0
      resources/app/feedback.html

+ 46 - 0
resources/app/feedback.html

@@ -0,0 +1,46 @@
+<!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">
+    <title>反馈</title>
+    <link rel="stylesheet" href="./public/css/uform.css">
+    <link rel="stylesheet" href="./public/css/browser.css">
+</head>
+<body>
+<section style="-webkit-app-region: drag" class="bowerHeader">
+    <section style="-webkit-app-region: no-drag" class="bowerHeaderMenu clearfix">
+        <button type="button" class="icon-times newBrowserClose" style="font-size:16px"></button>
+    </section>
+    <div class="BrowserHistoryTitle">欢迎反馈</div>
+    <div class="CampusInfoBrowserFeedback"></div>
+</section>
+<script src="./public/js/uform.js"></script>
+<script>
+const electron = require('electron');
+var ipc=require('electron').ipcRenderer;
+var BrowserFeedback = $(".CampusInfoBrowserFeedback")[0];
+var FeedbackForm=$$("form", {
+        "className": "FeedbackForm"
+    }, BrowserFeedback);
+
+var FeedbackTitle=$$("input", {
+        "className": "FeedbackTitle"
+    }, FeedbackForm);
+var FeedbackBody=$$("textarea", {
+    "className": "FeedbackBody"
+}, FeedbackForm);
+var FeedbackSubmit=$$("button", {
+    "className": "FeedbackSubmit","type":"submit","value":"提交","innerText":"提交"
+}, FeedbackForm);
+
+
+
+
+$(".newBrowserClose")[0].onclick=function(){
+    ipc.send('BrowserFeedback-hide-window');
+}
+</script>
+</body>
+</html>