From 518d99b6ae985eee4de994698c72bd4be54300e8 Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 09:58:00 +0800
Subject: [PATCH 01/73] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?mip-zhmsaskv2=20=E7=95=99=E8=A8=80=E9=9D=A2=E6=9D=BF=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sites/mip.zhms.cn/.editorconfig | 14 +
sites/mip.zhms.cn/.eslintignore | 2 +
sites/mip.zhms.cn/.eslintrc | 39 +++
sites/mip.zhms.cn/.gitignore | 8 +
sites/mip.zhms.cn/common/.gitkeep | 0
.../components/mip-zhmsaskv2/README.md | 31 +++
.../mip-zhmsaskv2/example/index.html | 73 ++++++
.../components/mip-zhmsaskv2/index.less | 66 +++++
.../components/mip-zhmsaskv2/mip-zhmsaskv2.js | 244 ++++++++++++++++++
sites/mip.zhms.cn/example/index.html | 26 ++
sites/mip.zhms.cn/mip.config.js | 31 +++
sites/mip.zhms.cn/package.json | 25 ++
sites/mip.zhms.cn/static/.gitkeep | 0
13 files changed, 559 insertions(+)
create mode 100644 sites/mip.zhms.cn/.editorconfig
create mode 100644 sites/mip.zhms.cn/.eslintignore
create mode 100644 sites/mip.zhms.cn/.eslintrc
create mode 100644 sites/mip.zhms.cn/.gitignore
create mode 100644 sites/mip.zhms.cn/common/.gitkeep
create mode 100644 sites/mip.zhms.cn/components/mip-zhmsaskv2/README.md
create mode 100644 sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
create mode 100644 sites/mip.zhms.cn/components/mip-zhmsaskv2/index.less
create mode 100644 sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
create mode 100644 sites/mip.zhms.cn/example/index.html
create mode 100644 sites/mip.zhms.cn/mip.config.js
create mode 100644 sites/mip.zhms.cn/package.json
create mode 100644 sites/mip.zhms.cn/static/.gitkeep
diff --git a/sites/mip.zhms.cn/.editorconfig b/sites/mip.zhms.cn/.editorconfig
new file mode 100644
index 000000000..cb530eac4
--- /dev/null
+++ b/sites/mip.zhms.cn/.editorconfig
@@ -0,0 +1,14 @@
+UTF-8
+# This file is for unifying the coding style for different editors and IDEs
+# editorconfig.org
+root = true
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+[*.{js,styl,html,json,vue}]
+indent_size = 2
+indent_style = space
+[*.md]
+trim_trailing_whitespace = false
diff --git a/sites/mip.zhms.cn/.eslintignore b/sites/mip.zhms.cn/.eslintignore
new file mode 100644
index 000000000..db4c6d9b6
--- /dev/null
+++ b/sites/mip.zhms.cn/.eslintignore
@@ -0,0 +1,2 @@
+dist
+node_modules
\ No newline at end of file
diff --git a/sites/mip.zhms.cn/.eslintrc b/sites/mip.zhms.cn/.eslintrc
new file mode 100644
index 000000000..84a3a2e9c
--- /dev/null
+++ b/sites/mip.zhms.cn/.eslintrc
@@ -0,0 +1,39 @@
+{
+ "parser": "vue-eslint-parser",
+ "parserOptions": {
+ "ecmaVersion": 8,
+ "sourceType": "module",
+ "allowImportExportEverywhere": false
+ },
+ "extends": [
+ "standard",
+ "plugin:vue/recommended"
+ ],
+ "plugins": [
+ "jsdoc"
+ ],
+ "globals": {
+ "MIP": true
+ },
+ "env": {
+ "browser": true
+ },
+ "rules": {
+ "jsdoc/check-param-names": 1,
+ "jsdoc/check-tag-names": 1,
+ "jsdoc/check-types": 1,
+ "jsdoc/newline-after-description": 1,
+ "jsdoc/no-undefined-types": 1,
+ "jsdoc/require-description-complete-sentence": 0,
+ "jsdoc/require-example": 0,
+ "jsdoc/require-hyphen-before-param-description": 0,
+ "jsdoc/require-param": 1,
+ "jsdoc/require-param-description": 1,
+ "jsdoc/require-param-name": 1,
+ "jsdoc/require-param-type": 1,
+ "jsdoc/require-returns-description": 1,
+ "jsdoc/require-returns-type": 1,
+ "jsdoc/valid-types": 1,
+ "no-var": 2
+ }
+}
diff --git a/sites/mip.zhms.cn/.gitignore b/sites/mip.zhms.cn/.gitignore
new file mode 100644
index 000000000..1207415d5
--- /dev/null
+++ b/sites/mip.zhms.cn/.gitignore
@@ -0,0 +1,8 @@
+node_modules/
+dist/
+.idea/
+*.log
+Thumbs.db
+.DS_Store
+*.swp
+*.gz
diff --git a/sites/mip.zhms.cn/common/.gitkeep b/sites/mip.zhms.cn/common/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/README.md b/sites/mip.zhms.cn/components/mip-zhmsaskv2/README.md
new file mode 100644
index 000000000..c840f7957
--- /dev/null
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/README.md
@@ -0,0 +1,31 @@
+# mip-zhmsaskv2
+
+标题|内容
+----|----
+类型|
+支持布局|
+所需脚本| [https://c.mipcdn.com/extensions/platform/v2/mip.zhms.cn/mip-zhmsaskv2/mip-zhmsaskv2.js](https://c.mipcdn.com/extensions/platform/v2/mip.zhms.cn/mip-zhmsaskv2/mip-zhmsaskv2.js)
+
+## 说明
+
+组件功能说明
+
+## 示例
+
+示例说明
+
+```
+// 代码示例
+```
+
+## 属性
+
+### 属性1
+
+**说明**:
+
+**必选项**:
+
+**单位**:
+
+**默认值**:
\ No newline at end of file
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html b/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
new file mode 100644
index 000000000..df1dbf637
--- /dev/null
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
@@ -0,0 +1,73 @@
+
+
+
+
+
+ MIP page
+
+
+
+
+
+
+
+
+
+
加盟咨询
+
温馨提示:如果你对本品牌感兴趣,并希望了解更多加盟信息,请填写下方表格,方便本品牌企业与你联系。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/index.less b/sites/mip.zhms.cn/components/mip-zhmsaskv2/index.less
new file mode 100644
index 000000000..fe8d6b4e3
--- /dev/null
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/index.less
@@ -0,0 +1,66 @@
+mip-zhmsaskv2 {
+ .wrapper {
+ margin: 0 auto;
+ text-align: center;
+ }
+ /* 2019-07-09 15:02:05 */
+.mip-zhmsask input::-webkit-input-placeholder,.mip-zhmsask textarea::-webkit-input-placeholder{color:#8c8c8c}
+.mip-zhmsask input:-moz-placeholder,.mip-zhmsask textarea:-moz-placeholder{color:#8c8c8c}
+.mip-zhmsask input::-moz-placeholder,.mip-zhmsask textarea::-moz-placeholder{color:#8c8c8c}
+.mip-zhmsask input:-ms-input-placeholder,.mip-zhmsask textarea:-ms-input-placeholder{color:#8c8c8c}
+@media only screen and (min-device-width:320px){.mip-zhmsask .mip-zhmsask-fz{font-size:17px !important}
+}
+@media only screen and (min-device-width:375px){.mip-zhmsask .mip-zhmsask-fz{font-size:20px !important}
+}
+@media only screen and (min-device-width:414px){.mip-zhmsask .mip-zhmsask-fz{font-size:22px !important}
+}
+.mip-zhmsask .mip-zhmsask-f12{font-size:.6rem}
+.mip-zhmsask .mip-zhmsask-f16{font-size:.8rem}
+.mip-zhmsask .mip-zhmsask-fw6{font-weight:600}
+.mip-zhmsask .mip-zhmsask-mt10{margin-top:.5rem}
+.mip-zhmsask .mip-zhmsask-mt15{margin-top:.75rem}
+.mip-zhmsask .mip-zhmsask-plr15{padding-left:.75rem;padding-right:.75rem}
+.mip-zhmsask .mip-zhmsask-ptb25{padding-top:1.25rem;padding-bottom:1.25rem}
+.mip-zhmsask .mip-zhmsask-bg-fff{background-color:#fff}
+.mip-zhmsask .mip-zhmsask-borb1{border-bottom:.05rem solid #e8e8e8}
+.mip-zhmsask .mip-zhmsask-s-c8c8{color:#8c8c8c}
+.mip-zhmsask .mip-zhmsask-s-c595{color:#595959}
+.mip-zhmsask .mip-zhmsask mip-form div{display:block}
+.mip-zhmsask .mip-zhmsask-from-list .mip-zhmsask-bor1{border:.05rem solid #e8e8e8;box-shadow:0 .05rem .15rem rgba(0,0,0,0.05);border-radius:.4rem}
+.mip-zhmsask .mip-zhmsask-from-list li{margin-bottom:.5rem;list-style:none}
+.mip-zhmsask .mip-zhmsask-from-list .mip-zhmsask-text{outline:none;border:none;background:none;-webkit-appearance:none;appearance:none;display:block;width:100%;padding:.55rem .75rem;height:2.1rem;line-height:1rem;font-size:.75rem;-webkit-box-sizing:border-box;box-sizing:border-box}
+.mip-zhmsask .mip-zhmsask-from-list .mip-zhmsask-div{outline:none;border:none;background:none;-webkit-appearance:none;appearance:none;display:block;width:100%;padding:.55rem .75rem;height:2.1rem;line-height:1rem;font-size:.75rem;-webkit-box-sizing:border-box;box-sizing:border-box}
+.mip-zhmsask .mip-zhmsask-from-list .mip-zhmsask-area{outline:none;border:none;background:none;-webkit-appearance:none;appearance:none;display:block;width:100%;padding:.55rem .75rem;height:5rem;line-height:1rem;font-size:.75rem;resize:none;-webkit-box-sizing:border-box;box-sizing:border-box}
+.mip-zhmsask .mip-zhmsask-from-list .mip-zhmsask-submit-btn{outline:none;border:none;background:none;-webkit-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%;height:2.2rem;line-height:2.2rem;font-size:.8rem;color:#fff;background-color:#ff552e;border-radius:.4rem;text-align:center}
+.mip-zhmsask .sex-radio-box .sex-lable{float:left;font-size:.7rem;margin-right:2rem;line-height:1.1rem;color:#262626;}
+.mip-zhmsask .sex-radio-box input[type=radio]{position:relative;float:left;width:1rem;height:1rem;border:.05rem solid #e8e8e8;box-shadow:0 .05rem .15rem rgba(0,0,0,0.05);border-radius:50%;margin-right:.5rem;}
+.mip-zhmsask .sex-radio-box input[type=radio]:checked{border-color:#ff552e;}
+.mip-zhmsask .sex-radio-box input[type=radio]:checked:before{position:absolute;top:50%;left:50%;content:'';margin:-0.2rem 0 0 -0.2rem;width:.4rem;height:.4rem;line-height:0;background-color:#ff552e;border-radius:50%}
+.mip-zhmsask .mip-zhmsask-select-btn{position:relative;width:100%;padding:.55rem 4rem .55rem .75rem;height:2.1rem;line-height:1rem;font-size:.75rem;color:#999;-webkit-box-sizing:border-box;box-sizing:border-box}
+.mip-zhmsask .mip-zhmsask-select-btn .mip-zhmsask-icon-xiala{position:absolute;top:.55rem;right:.6rem;color:#8c8c8c}
+.mip-zhmsask .mip-zhmsask-select-btn.mip-zhmsask-cur{color:#292929}
+
+/* 2019-07-02 add */
+.kuaijie { padding: 0 .75rem .55rem; }
+.kuaijie dt { font-size: .65rem; }
+.kuaijie dd { overflow: hidden; }
+.kuaijie dd span { float: left; margin: .5rem .5rem 0 0; padding: 0 .5rem; white-space: normal; height: 1.2rem; line-height: 1.2rem; border-radius: .6rem; background-color: #eee; color: #666; font-size: .6rem; }
+.kuaijie dd span.ct { background-color: #faede5; color: #ff552e; }
+
+/*2019-07-03*/
+.ml10 { margin-left: .5rem; }
+.s-caaa { color: #aaa; }
+.kd-btn { height: 1.5rem; line-height: 1.5rem; border: .05rem solid #ff552e; border-radius: .8rem; font-size: .6rem; color: #ff552e; padding: 0 .7rem; }
+
+/*2019-07-10*/
+.limit-width { width: 70%; margin: 0 auto; }
+.block { display: block !important; }
+.toast { margin: 0 auto; background: rgba(0, 0, 0, 0.8); border-radius: 0; color: #fff; text-align: center; white-space: nowrap; font-size: 10px; line-height: 100%; height: auto; display: inline-block; }
+.center { top: 33%; text-align: center; }
+.top { top: 10%; text-align: center; }
+.bottom { top: 90%; text-align: center; }
+.icon { margin-top: 12px; width: 60%; }
+p { display: inline-block; padding: 15px 15px; }
+
+}
+
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
new file mode 100644
index 000000000..0d5a477c0
--- /dev/null
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
@@ -0,0 +1,244 @@
+import './index.less';
+
+export default class MIPZhmsaskv2 extends MIP.CustomElement {
+ constructor(element) {
+ super(element);
+ this.IsSubmit = false;
+ this.show = true;
+ this.close = false;
+ this.isBlock = false;
+ this.hasPic = false;
+ this.showToastText = '';
+ this.showTime = 2500;
+ this.handleShow = this.handleShow.bind(this);
+ this.handleHide = this.handleHide.bind(this);
+ this.zhmsask = null;
+ }
+ build() {
+ this.render();
+ this.addEventAction('show', this.handleShow);
+ this.addEventAction('hidden', this.handleHide);
+ this.InitPage();
+ this.BindQuickBtn();
+ this.BindSubmit();
+ }
+
+ InitPage() {
+ this.zhmsask = document.getElementsByClassName("mip-zhmsask")[0];
+ let MaleRadios = this.zhmsask.getElementsByTagName("lable");
+ MIP.viewer.eventAction.execute('tap', MaleRadios[0]);
+ }
+ BindQuickBtn() {
+ let quickbtns = this.zhmsask.getElementsByClassName("quickquestion");
+ var $this = this;
+ for (let i = 0; i < quickbtns.length; i++) {
+ $this.tap(quickbtns[i], function (e) {
+ let question_area = document.getElementById("Question");
+ let question = question_area.value;
+ if (question.indexOf(e.target.innerText) > -1) {
+ question_area.value = question.replace(e.target.innerText, "");
+ quickbtns[i].classList.remove("ct");
+ }
+ else {
+ question_area.value = question + e.target.innerText;
+ quickbtns[i].classList.add("ct");
+ }
+
+ });
+ }
+ }
+ BindSubmit() {
+ var $this = this;
+ $this.tap($this.zhmsask.getElementsByClassName("mip-zhmsask-submit-btn")[0], function () {
+ if (!$this.IsSubmit) {
+ $this.IsSubmit = true;
+ let data = {};
+ data.NickName = document.getElementById("NickName").value;
+ if (!data.NickName || data.NickName.length <= 0) {
+ $this.Toast("请填写您的姓名");
+ $this.IsSubmit = false;
+ return false;
+ }
+ data.Sex = $this.GetRadioValue("sex-lable")
+ data.Tel = document.getElementById("Tel").value;
+ if (!data.Tel || data.Tel.length <= 0) {
+ $this.Toast("请填写您的联系电话");
+ $this.IsSubmit = false;
+ return false;
+ }
+
+ data.Question = document.getElementById("Question").value;
+ data.MerchantId = $this.element.getAttribute("MerchantId");
+ data.BrandId = $this.element.getAttribute("BrandId");
+ data.CategoryId = $this.element.getAttribute("CategoryId");
+ data.SourceUrl = $this.element.getAttribute("Source");
+ var a = {
+ method: "POST",
+ body: JSON.stringify(data)
+ };
+ fetch("http://mip.zhms.cn/brand/addconsultation/", a).then(function (response) {
+ $this.IsSubmit = false;
+ return response.json();
+ }).then(function (json) {
+ $this.IsSubmit = false;
+ //handleRes(json)
+ if (json.state !== 0) $this.Toast(json.msg || "咨询失败,请稍候重试!");
+ else {
+ if (json.state === 0) {
+ document.getElementById("NickName").value = "";
+ document.getElementById("Tel").value = "";
+ document.getElementById("Question").value = "";
+ let quickbtns = $this.zhmsask.getElementsByClassName("quickquestion");
+ for (let i = 0; i < quickbtns.length; i++) {
+ quickbtns[i].classList.remove("ct");
+ }
+ $this.Toast("咨询成功");
+ } else $this.Toast(json.msg || "咨询失败,请稍候重试!");
+
+ }
+
+
+
+ });
+ }
+
+
+ })
+ }
+
+ Toast(info) {
+ this.handleShow(null, info);
+ }
+ // tap事件封装
+ tap(obj, callBack) {
+ if (typeof obj !== 'object') return;
+ // 变量
+ var startTime = 0; // 记录触摸开始时间
+ var isMove = false; // 记录是否产生移动
+ obj.addEventListener('touchstart', function () {
+ startTime = Date.now();
+ });
+ obj.addEventListener('touchmove', function () {
+ isMove = true;
+ });
+ obj.addEventListener('touchend', function (e) {
+ if (Date.now() - startTime < 300 && !isMove) {
+ //触碰时间在300ms以内,不产生移动
+ callBack && callBack(e);
+ }
+ // 清零
+ startTime = 0;
+ isMove = false;
+ });
+ }
+ GetRadioValue(radioName) {
+ var radios = document.getElementsByClassName(radioName);
+ for (var i = 0; i < radios.length; i++) {
+ var radio = radios.item(i).firstChild;
+ if (radio.checked) {
+ if (!radio.value || radio.value.length <= 0) return undefined;
+ return radio.value;
+ }
+ }
+ return undefined;
+ }
+
+
+ //
+ update() {
+ const { closeTime, infoIconSrc } = this.props;
+
+ this.showTime = closeTime * 1000;
+
+ if (!infoIconSrc) {
+ this.show = false;
+ } else {
+ this.isBlock = true;
+ this.hasPic = true;
+ }
+ setTimeout(() => {
+ this.close = false;
+ this.render();
+ }, this.showTime);
+
+ this.render()
+ }
+ handleShow(event, info) {
+ const { infoText } = this.props;
+ this.close = true;
+ if (typeof info === 'string') {
+ this.showToastText = info;
+ } else {
+ this.showToastText = infoText;
+ }
+ this.update();
+ }
+
+ handleHide() {
+ this.close = false;
+ this.render();
+ }
+
+ render() {
+ const { station, infoIconSrc } = this.props;
+ const wrapper = document.createElement('div');
+ const fixed = document.createElement('mip-fixed');
+ const toastWrapper = document.createElement('div');
+ const toast = document.createElement('div');
+ const toastImg = document.createElement('img');
+ const toastText = document.createElement('p');
+
+ wrapper.classList.add('wrapper');
+ wrapper.appendChild(fixed);
+
+ fixed.setAttribute('type', 'top');
+ fixed.setAttribute('still', true);
+ fixed.classList.add(station);
+
+ if (!this.close) {
+ fixed.style.display = 'none';
+ }
+
+ fixed.appendChild(toastWrapper);
+
+ if (this.hasPic) {
+ toastWrapper.classList.add('limit-width');
+ }
+ toastWrapper.appendChild(toast);
+
+ toast.classList.add('toast');
+
+ if (this.show) {
+ toastImg.setAttribute('src', infoIconSrc);
+ toastImg.classList.add('icon');
+ toast.appendChild(toastImg);
+ }
+
+ toastText.innerText = this.showToastText;
+ if (this.isBlock) {
+ toastText.classList.add('block');
+ }
+ toast.appendChild(toastText);
+
+ document.getElementById("toast-bar").innerHTML = '';
+ document.getElementById("toast-bar").appendChild(wrapper);
+ }
+}
+MIPZhmsaskv2.props = {
+ infoIconSrc: {
+ type: String,
+ default: ''
+ },
+ infoText: {
+ type: String,
+ default: ''
+ },
+ closeTime: {
+ type: Number,
+ default: 3
+ },
+ station: {
+ type: String,
+ default: 'bottom'
+ }
+}
diff --git a/sites/mip.zhms.cn/example/index.html b/sites/mip.zhms.cn/example/index.html
new file mode 100644
index 000000000..a0ad2dec7
--- /dev/null
+++ b/sites/mip.zhms.cn/example/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ MIP page
+
+
+
+
+
+
+
First MIP page
+ Add MIP components here
+
+
+
+
+
+
diff --git a/sites/mip.zhms.cn/mip.config.js b/sites/mip.zhms.cn/mip.config.js
new file mode 100644
index 000000000..d5457bef4
--- /dev/null
+++ b/sites/mip.zhms.cn/mip.config.js
@@ -0,0 +1,31 @@
+/**
+ * @file mip页面项目配置项
+ * @author
+ */
+
+module.exports = {
+ dev: {
+ /**
+ * 启动mip server调试的端口号
+ *
+ * @type {number}
+ */
+ port: 8111,
+
+ /**
+ * 启用调试页面自动刷新
+ *
+ * @type {boolean}
+ */
+ livereload: true,
+
+ /**
+ * server 启动自动打开页面,false 为关闭
+ * 如:
+ * autoopen: '/example/index.html'
+ *
+ * @type {string|boolean}
+ */
+ autoopen: false
+ }
+}
diff --git a/sites/mip.zhms.cn/package.json b/sites/mip.zhms.cn/package.json
new file mode 100644
index 000000000..772f12714
--- /dev/null
+++ b/sites/mip.zhms.cn/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "mip.zhms.cn",
+ "version": "0.0.1",
+ "description": "mip webiste for zhms",
+ "scripts": {
+ "dev": "mip2 dev",
+ "build": "mip2 build",
+ "lint": "npm run lint:js",
+ "lint:js": "eslint --ext .vue,.js .",
+ "fix": "npm run fix:js",
+ "fix:js": "eslint --ext .vue,.js . --fix"
+ },
+ "author": "Mrchensama",
+ "dependencies": {},
+ "devDependencies": {
+ "eslint": "^4.19.1",
+ "eslint-config-standard": "^11.0.0",
+ "eslint-plugin-import": "^2.12.0",
+ "eslint-plugin-jsdoc": "^3.7.1",
+ "eslint-plugin-node": "^6.0.1",
+ "eslint-plugin-promise": "^3.8.0",
+ "eslint-plugin-standard": "^3.1.0",
+ "eslint-plugin-vue": "^4.5.0"
+ }
+}
diff --git a/sites/mip.zhms.cn/static/.gitkeep b/sites/mip.zhms.cn/static/.gitkeep
new file mode 100644
index 000000000..e69de29bb
From c053e0e829fda15faaf8a6802e834e8a3c8d2423 Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 10:31:25 +0800
Subject: [PATCH 02/73] =?UTF-8?q?doc:=E6=8C=89=E7=85=A7=E8=A7=84=E8=8C=83?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/mip-zhmsaskv2/mip-zhmsaskv2.js | 450 +++++++++---------
1 file changed, 219 insertions(+), 231 deletions(-)
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
index 0d5a477c0..a6298d611 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
@@ -1,244 +1,232 @@
-import './index.less';
+import './index.less'
export default class MIPZhmsaskv2 extends MIP.CustomElement {
- constructor(element) {
- super(element);
- this.IsSubmit = false;
- this.show = true;
- this.close = false;
- this.isBlock = false;
- this.hasPic = false;
- this.showToastText = '';
- this.showTime = 2500;
- this.handleShow = this.handleShow.bind(this);
- this.handleHide = this.handleHide.bind(this);
- this.zhmsask = null;
- }
- build() {
- this.render();
- this.addEventAction('show', this.handleShow);
- this.addEventAction('hidden', this.handleHide);
- this.InitPage();
- this.BindQuickBtn();
- this.BindSubmit();
- }
-
- InitPage() {
- this.zhmsask = document.getElementsByClassName("mip-zhmsask")[0];
- let MaleRadios = this.zhmsask.getElementsByTagName("lable");
- MIP.viewer.eventAction.execute('tap', MaleRadios[0]);
- }
- BindQuickBtn() {
- let quickbtns = this.zhmsask.getElementsByClassName("quickquestion");
- var $this = this;
- for (let i = 0; i < quickbtns.length; i++) {
- $this.tap(quickbtns[i], function (e) {
- let question_area = document.getElementById("Question");
- let question = question_area.value;
- if (question.indexOf(e.target.innerText) > -1) {
- question_area.value = question.replace(e.target.innerText, "");
- quickbtns[i].classList.remove("ct");
- }
- else {
- question_area.value = question + e.target.innerText;
- quickbtns[i].classList.add("ct");
- }
-
- });
- }
- }
- BindSubmit() {
- var $this = this;
- $this.tap($this.zhmsask.getElementsByClassName("mip-zhmsask-submit-btn")[0], function () {
- if (!$this.IsSubmit) {
- $this.IsSubmit = true;
- let data = {};
- data.NickName = document.getElementById("NickName").value;
- if (!data.NickName || data.NickName.length <= 0) {
- $this.Toast("请填写您的姓名");
- $this.IsSubmit = false;
- return false;
- }
- data.Sex = $this.GetRadioValue("sex-lable")
- data.Tel = document.getElementById("Tel").value;
- if (!data.Tel || data.Tel.length <= 0) {
- $this.Toast("请填写您的联系电话");
- $this.IsSubmit = false;
- return false;
- }
-
- data.Question = document.getElementById("Question").value;
- data.MerchantId = $this.element.getAttribute("MerchantId");
- data.BrandId = $this.element.getAttribute("BrandId");
- data.CategoryId = $this.element.getAttribute("CategoryId");
- data.SourceUrl = $this.element.getAttribute("Source");
- var a = {
- method: "POST",
- body: JSON.stringify(data)
- };
- fetch("http://mip.zhms.cn/brand/addconsultation/", a).then(function (response) {
- $this.IsSubmit = false;
- return response.json();
- }).then(function (json) {
- $this.IsSubmit = false;
- //handleRes(json)
- if (json.state !== 0) $this.Toast(json.msg || "咨询失败,请稍候重试!");
- else {
- if (json.state === 0) {
- document.getElementById("NickName").value = "";
- document.getElementById("Tel").value = "";
- document.getElementById("Question").value = "";
- let quickbtns = $this.zhmsask.getElementsByClassName("quickquestion");
- for (let i = 0; i < quickbtns.length; i++) {
- quickbtns[i].classList.remove("ct");
- }
- $this.Toast("咨询成功");
- } else $this.Toast(json.msg || "咨询失败,请稍候重试!");
-
- }
-
-
-
- });
- }
-
-
- })
- }
-
- Toast(info) {
- this.handleShow(null, info);
- }
- // tap事件封装
- tap(obj, callBack) {
- if (typeof obj !== 'object') return;
- // 变量
- var startTime = 0; // 记录触摸开始时间
- var isMove = false; // 记录是否产生移动
- obj.addEventListener('touchstart', function () {
- startTime = Date.now();
- });
- obj.addEventListener('touchmove', function () {
- isMove = true;
+ constructor ( element ) {
+ super(element);
+ this.IsSubmit = false;
+ this.show = true;
+ this.close = false;
+ this.isBlock = false;
+ this.hasPic = false;
+ this.showToastText = '';
+ this.showTime = 2500;
+ this.handleShow = this.handleShow.bind(this);
+ this.handleHide = this.handleHide.bind(this);
+ this.zhmsask = null;
+ }
+ build () {
+ this.render();
+ this.addEventAction('show', this.handleShow);
+ this.addEventAction('hidden', this.handleHide);
+ this.InitPage();
+ this.BindQuickBtn();
+ this.BindSubmit();
+ }
+
+ InitPage () {
+ this.zhmsask = document.getElementsByClassName("mip-zhmsask")[0];
+ let MaleRadios = this.zhmsask.getElementsByTagName("lable");
+ MIP.viewer.eventAction.execute('tap', MaleRadios[0]);
+ }
+ BindQuickBtn () {
+ let quickbtns = this.zhmsask.getElementsByClassName("quickquestion");
+ var $this = this;
+ for (let i = 0; i < quickbtns.length; i++) {
+ $this.tap(quickbtns[i], function (e) {
+ let question_area = document.getElementById("Question");
+ let question = question_area.value;
+ if (question.indexOf(e.target.innerText) > -1) {
+ question_area.value = question.replace(e.target.innerText, "");
+ quickbtns[i].classList.remove("ct");
+ }
+ else {
+ question_area.value = question + e.target.innerText;
+ quickbtns[i].classList.add("ct");
+ }
});
- obj.addEventListener('touchend', function (e) {
- if (Date.now() - startTime < 300 && !isMove) {
- //触碰时间在300ms以内,不产生移动
- callBack && callBack(e);
- }
- // 清零
- startTime = 0;
- isMove = false;
+ }
+ }
+ BindSubmit () {
+ var $this = this;
+ $this.tap($this.zhmsask.getElementsByClassName("mip-zhmsask-submit-btn")[0], function () {
+ if (!$this.IsSubmit) {
+ $this.IsSubmit = true;
+ let data = {};
+ data.NickName = document.getElementById("NickName").value;
+ if (!data.NickName || data.NickName.length <= 0) {
+ $this.Toast("请填写您的姓名");
+ $this.IsSubmit = false;
+ return false;
+ }
+ data.Sex = $this.GetRadioValue("sex-lable")
+ data.Tel = document.getElementById("Tel").value;
+ if (!data.Tel || data.Tel.length <= 0) {
+ $this.Toast("请填写您的联系电话");
+ $this.IsSubmit = false;
+ return false;
+ }
+ data.Question = document.getElementById("Question").value;
+ data.MerchantId = $this.element.getAttribute("MerchantId");
+ data.BrandId = $this.element.getAttribute("BrandId");
+ data.CategoryId = $this.element.getAttribute("CategoryId");
+ data.SourceUrl = $this.element.getAttribute("Source");
+ var a = {
+ method: "POST",
+ body: JSON.stringify(data)
+ };
+ fetch("http://mip.zhms.cn/brand/addconsultation/", a).then(function (response) {
+ $this.IsSubmit = false;
+ return response.json();
+ }).then(function (json) {
+ $this.IsSubmit = false;
+ //handleRes(json)
+ if (json.state !== 0) $this.Toast(json.msg || "咨询失败,请稍候重试!");
+ else {
+ if (json.state === 0) {
+ document.getElementById("NickName").value = "";
+ document.getElementById("Tel").value = "";
+ document.getElementById("Question").value = "";
+ let quickbtns = $this.zhmsask.getElementsByClassName("quickquestion");
+ for (let i = 0; i < quickbtns.length; i++) {
+ quickbtns[i].classList.remove("ct");
+ }
+ $this.Toast("咨询成功");
+ }
+ else
+ $this.Toast(json.msg || "咨询失败,请稍候重试!");
+ }
});
+ }
+ })
+ }
+
+ Toast ( info ) {
+ this.handleShow(null, info);
+ }
+ // tap事件封装
+ tap ( obj, callBack ) {
+ if (typeof obj !== 'object') return;
+ // 变量
+ var startTime = 0; // 记录触摸开始时间
+ var isMove = false; // 记录是否产生移动
+ obj.addEventListener('touchstart', function () {
+ startTime = Date.now();
+ });
+ obj.addEventListener('touchmove', function () {
+ isMove = true;
+ });
+ obj.addEventListener('touchend', function (e) {
+ if (Date.now() - startTime < 300 && !isMove) {
+ //触碰时间在300ms以内,不产生移动
+ callBack && callBack(e);
+ }
+ // 清零
+ startTime = 0;
+ isMove = false;
+ });
+ }
+ GetRadioValue ( radioName ) {
+ var radios = document.getElementsByClassName(radioName);
+ for (var i = 0; i < radios.length; i++) {
+ var radio = radios.item(i).firstChild;
+ if (radio.checked) {
+ if (!radio.value || radio.value.length <= 0) return undefined;
+ return radio.value;
+ }
}
- GetRadioValue(radioName) {
- var radios = document.getElementsByClassName(radioName);
- for (var i = 0; i < radios.length; i++) {
- var radio = radios.item(i).firstChild;
- if (radio.checked) {
- if (!radio.value || radio.value.length <= 0) return undefined;
- return radio.value;
- }
- }
- return undefined;
+ return undefined;
+ }
+ //
+ update () {
+ const { closeTime, infoIconSrc } = this.props;
+ this.showTime = closeTime * 1000;
+ if (!infoIconSrc) {
+ this.show = false;
+ } else {
+ this.isBlock = true;
+ this.hasPic = true;
}
-
-
- //
- update() {
- const { closeTime, infoIconSrc } = this.props;
-
- this.showTime = closeTime * 1000;
-
- if (!infoIconSrc) {
- this.show = false;
- } else {
- this.isBlock = true;
- this.hasPic = true;
- }
- setTimeout(() => {
- this.close = false;
- this.render();
- }, this.showTime);
-
- this.render()
+ setTimeout(() => {
+ this.close = false;
+ this.render();
+ }, this.showTime);
+ this.render()
+ }
+ handleShow ( event, info ) {
+ const { infoText } = this.props;
+ this.close = true;
+ if (typeof info === 'string') {
+ this.showToastText = info;
+ } else {
+ this.showToastText = infoText;
}
- handleShow(event, info) {
- const { infoText } = this.props;
- this.close = true;
- if (typeof info === 'string') {
- this.showToastText = info;
- } else {
- this.showToastText = infoText;
- }
- this.update();
+ this.update();
+ }
+
+ handleHide () {
+ this.close = false;
+ this.render();
+ }
+ render () {
+ const { station, infoIconSrc } = this.props;
+ const wrapper = document.createElement('div');
+ const fixed = document.createElement('mip-fixed');
+ const toastWrapper = document.createElement('div');
+ const toast = document.createElement('div');
+ const toastImg = document.createElement('img');
+ const toastText = document.createElement('p');
+
+ wrapper.classList.add('wrapper');
+ wrapper.appendChild(fixed);
+
+ fixed.setAttribute('type', 'top');
+ fixed.setAttribute('still', true);
+ fixed.classList.add(station);
+
+ if (!this.close) {
+ fixed.style.display = 'none';
}
-
- handleHide() {
- this.close = false;
- this.render();
+
+ fixed.appendChild(toastWrapper);
+
+ if (this.hasPic) {
+ toastWrapper.classList.add('limit-width');
}
-
- render() {
- const { station, infoIconSrc } = this.props;
- const wrapper = document.createElement('div');
- const fixed = document.createElement('mip-fixed');
- const toastWrapper = document.createElement('div');
- const toast = document.createElement('div');
- const toastImg = document.createElement('img');
- const toastText = document.createElement('p');
-
- wrapper.classList.add('wrapper');
- wrapper.appendChild(fixed);
-
- fixed.setAttribute('type', 'top');
- fixed.setAttribute('still', true);
- fixed.classList.add(station);
-
- if (!this.close) {
- fixed.style.display = 'none';
- }
-
- fixed.appendChild(toastWrapper);
-
- if (this.hasPic) {
- toastWrapper.classList.add('limit-width');
- }
- toastWrapper.appendChild(toast);
-
- toast.classList.add('toast');
-
- if (this.show) {
- toastImg.setAttribute('src', infoIconSrc);
- toastImg.classList.add('icon');
- toast.appendChild(toastImg);
- }
-
- toastText.innerText = this.showToastText;
- if (this.isBlock) {
- toastText.classList.add('block');
- }
- toast.appendChild(toastText);
-
- document.getElementById("toast-bar").innerHTML = '';
- document.getElementById("toast-bar").appendChild(wrapper);
+ toastWrapper.appendChild(toast);
+
+ toast.classList.add('toast');
+
+ if (this.show) {
+ toastImg.setAttribute('src', infoIconSrc);
+ toastImg.classList.add('icon');
+ toast.appendChild(toastImg);
}
+
+ toastText.innerText = this.showToastText;
+ if (this.isBlock) {
+ toastText.classList.add('block');
+ }
+ toast.appendChild(toastText);
+
+ document.getElementById("toast-bar").innerHTML = '';
+ document.getElementById("toast-bar").appendChild(wrapper);
+ }
}
MIPZhmsaskv2.props = {
- infoIconSrc: {
- type: String,
- default: ''
- },
- infoText: {
- type: String,
- default: ''
- },
- closeTime: {
- type: Number,
- default: 3
- },
- station: {
- type: String,
- default: 'bottom'
- }
+ infoIconSrc: {
+ type: String,
+ default: ''
+ },
+ infoText: {
+ type: String,
+ default: ''
+ },
+ closeTime: {
+ type: Number,
+ default: 3
+ },
+ station: {
+ type: String,
+ default: 'bottom'
+ }
}
From c02faf89494562adba9eaba2181b49fabe336917 Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 10:44:41 +0800
Subject: [PATCH 03/73] =?UTF-8?q?doc:=E8=A7=84=E8=8C=83=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/mip-zhmsaskv2/mip-zhmsaskv2.js | 249 +++++++++---------
1 file changed, 124 insertions(+), 125 deletions(-)
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
index a6298d611..0a4e1d227 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
@@ -2,214 +2,213 @@ import './index.less'
export default class MIPZhmsaskv2 extends MIP.CustomElement {
constructor ( element ) {
- super(element);
- this.IsSubmit = false;
- this.show = true;
- this.close = false;
- this.isBlock = false;
- this.hasPic = false;
- this.showToastText = '';
- this.showTime = 2500;
- this.handleShow = this.handleShow.bind(this);
- this.handleHide = this.handleHide.bind(this);
- this.zhmsask = null;
+ super(element)
+ this.IsSubmit = false
+ this.show = true
+ this.close = false
+ this.isBlock = false
+ this.hasPic = false
+ this.showToastText = ''
+ this.showTime = 2500
+ this.handleShow = this.handleShow.bind(this)
+ this.handleHide = this.handleHide.bind(this)
+ this.zhmsask = null
}
build () {
- this.render();
- this.addEventAction('show', this.handleShow);
- this.addEventAction('hidden', this.handleHide);
- this.InitPage();
- this.BindQuickBtn();
- this.BindSubmit();
+ this.render()
+ this.addEventAction('show', this.handleShow)
+ this.addEventAction('hidden', this.handleHide)
+ this.InitPage()
+ this.BindQuickBtn()
+ this.BindSubmit()
}
InitPage () {
- this.zhmsask = document.getElementsByClassName("mip-zhmsask")[0];
- let MaleRadios = this.zhmsask.getElementsByTagName("lable");
- MIP.viewer.eventAction.execute('tap', MaleRadios[0]);
+ this.zhmsask = document.getElementsByClassName('mip-zhmsask')[0]
+ let MaleRadios = this.zhmsask.getElementsByTagName('lable')
+ MIP.viewer.eventAction.execute('tap', MaleRadios[0])
}
BindQuickBtn () {
- let quickbtns = this.zhmsask.getElementsByClassName("quickquestion");
- var $this = this;
+ let quickbtns = this.zhmsask.getElementsByClassName('quickquestion')
+ let $this = this
for (let i = 0; i < quickbtns.length; i++) {
$this.tap(quickbtns[i], function (e) {
- let question_area = document.getElementById("Question");
- let question = question_area.value;
+ let questionArea = document.getElementById('Question')
+ let question = questionArea.value
if (question.indexOf(e.target.innerText) > -1) {
- question_area.value = question.replace(e.target.innerText, "");
- quickbtns[i].classList.remove("ct");
- }
- else {
- question_area.value = question + e.target.innerText;
- quickbtns[i].classList.add("ct");
+ questionArea.value = question.replace(e.target.innerText, '')
+ quickbtns[i].classList.remove('ct')
+ } else {
+ questionArea.value = question + e.target.innerText
+ quickbtns[i].classList.add('ct')
}
- });
+ })
}
}
BindSubmit () {
- var $this = this;
- $this.tap($this.zhmsask.getElementsByClassName("mip-zhmsask-submit-btn")[0], function () {
+ let $this = this
+ $this.tap($this.zhmsask.getElementsByClassName('mip-zhmsask-submit-btn')[0], function () {
if (!$this.IsSubmit) {
- $this.IsSubmit = true;
- let data = {};
- data.NickName = document.getElementById("NickName").value;
+ $this.IsSubmit = true
+ let data = {}
+ data.NickName = document.getElementById('NickName').value
if (!data.NickName || data.NickName.length <= 0) {
- $this.Toast("请填写您的姓名");
- $this.IsSubmit = false;
- return false;
+ $this.Toast('请填写您的姓名')
+ $this.IsSubmit = false
+ return false
}
- data.Sex = $this.GetRadioValue("sex-lable")
- data.Tel = document.getElementById("Tel").value;
+ data.Sex = $this.GetRadioValue('sex-lable')
+ data.Tel = document.getElementById('Tel').value
if (!data.Tel || data.Tel.length <= 0) {
- $this.Toast("请填写您的联系电话");
- $this.IsSubmit = false;
- return false;
+ $this.Toast('请填写您的联系电话')
+ $this.IsSubmit = false
+ return false
}
- data.Question = document.getElementById("Question").value;
- data.MerchantId = $this.element.getAttribute("MerchantId");
- data.BrandId = $this.element.getAttribute("BrandId");
- data.CategoryId = $this.element.getAttribute("CategoryId");
- data.SourceUrl = $this.element.getAttribute("Source");
- var a = {
- method: "POST",
+ data.Question = document.getElementById('Question').value
+ data.MerchantId = $this.element.getAttribute('MerchantId')
+ data.BrandId = $this.element.getAttribute('BrandId')
+ data.CategoryId = $this.element.getAttribute('CategoryId')
+ data.SourceUrl = $this.element.getAttribute('Source')
+ let a = {
+ method: 'POST',
body: JSON.stringify(data)
- };
- fetch("http://mip.zhms.cn/brand/addconsultation/", a).then(function (response) {
- $this.IsSubmit = false;
- return response.json();
+ }
+ fetch('http://mip.zhms.cn/brand/addconsultation/', a).then(function (response) {
+ $this.IsSubmit = false
+ return response.json()
}).then(function (json) {
- $this.IsSubmit = false;
- //handleRes(json)
- if (json.state !== 0) $this.Toast(json.msg || "咨询失败,请稍候重试!");
+ $this.IsSubmit = false
+ // handleRes(json)
+ if (json.state !== 0) $this.Toast(json.msg || '咨询失败,请稍候重试!')
else {
if (json.state === 0) {
- document.getElementById("NickName").value = "";
- document.getElementById("Tel").value = "";
- document.getElementById("Question").value = "";
- let quickbtns = $this.zhmsask.getElementsByClassName("quickquestion");
+ document.getElementById('NickName').value = ''
+ document.getElementById('Tel').value = ''
+ document.getElementById('Question').value = ''
+ let quickbtns = $this.zhmsask.getElementsByClassName('quickquestion')
for (let i = 0; i < quickbtns.length; i++) {
- quickbtns[i].classList.remove("ct");
+ quickbtns[i].classList.remove('ct')
}
- $this.Toast("咨询成功");
+ $this.Toast('咨询成功')
}
else
- $this.Toast(json.msg || "咨询失败,请稍候重试!");
+ $this.Toast(json.msg || '咨询失败,请稍候重试!')
}
- });
+ })
}
})
}
Toast ( info ) {
- this.handleShow(null, info);
+ this.handleShow(null, info)
}
// tap事件封装
tap ( obj, callBack ) {
- if (typeof obj !== 'object') return;
+ if (typeof obj !== 'object') return
// 变量
- var startTime = 0; // 记录触摸开始时间
- var isMove = false; // 记录是否产生移动
+ let startTime = 0 // 记录触摸开始时间
+ let isMove = false // 记录是否产生移动
obj.addEventListener('touchstart', function () {
- startTime = Date.now();
- });
+ startTime = Date.now()
+ })
obj.addEventListener('touchmove', function () {
- isMove = true;
- });
+ isMove = true
+ })
obj.addEventListener('touchend', function (e) {
if (Date.now() - startTime < 300 && !isMove) {
- //触碰时间在300ms以内,不产生移动
- callBack && callBack(e);
+ // 触碰时间在300ms以内,不产生移动
+ callBack && callBack(e)
}
// 清零
- startTime = 0;
- isMove = false;
- });
+ startTime = 0
+ isMove = false
+ })
}
GetRadioValue ( radioName ) {
- var radios = document.getElementsByClassName(radioName);
- for (var i = 0; i < radios.length; i++) {
- var radio = radios.item(i).firstChild;
+ let radios = document.getElementsByClassName(radioName)
+ for (let i = 0; i < radios.length; i++) {
+ let radio = radios.item(i).firstChild
if (radio.checked) {
- if (!radio.value || radio.value.length <= 0) return undefined;
- return radio.value;
+ if (!radio.value || radio.value.length <= 0) return undefined
+ return radio.value
}
}
- return undefined;
+ return undefined
}
//
update () {
- const { closeTime, infoIconSrc } = this.props;
- this.showTime = closeTime * 1000;
+ const { closeTime, infoIconSrc } = this.props
+ this.showTime = closeTime * 1000
if (!infoIconSrc) {
- this.show = false;
+ this.show = false
} else {
- this.isBlock = true;
- this.hasPic = true;
+ this.isBlock = true
+ this.hasPic = true
}
setTimeout(() => {
- this.close = false;
- this.render();
- }, this.showTime);
+ this.close = false
+ this.render()
+ }, this.showTime)
this.render()
}
handleShow ( event, info ) {
- const { infoText } = this.props;
- this.close = true;
+ const { infoText } = this.props
+ this.close = true
if (typeof info === 'string') {
- this.showToastText = info;
+ this.showToastText = info
} else {
- this.showToastText = infoText;
+ this.showToastText = infoText
}
- this.update();
+ this.update()
}
handleHide () {
- this.close = false;
- this.render();
+ this.close = false
+ this.render()
}
render () {
- const { station, infoIconSrc } = this.props;
- const wrapper = document.createElement('div');
- const fixed = document.createElement('mip-fixed');
- const toastWrapper = document.createElement('div');
- const toast = document.createElement('div');
- const toastImg = document.createElement('img');
- const toastText = document.createElement('p');
+ const { station, infoIconSrc } = this.props
+ const wrapper = document.createElement('div')
+ const fixed = document.createElement('mip-fixed')
+ const toastWrapper = document.createElement('div')
+ const toast = document.createElement('div')
+ const toastImg = document.createElement('img')
+ const toastText = document.createElement('p')
- wrapper.classList.add('wrapper');
- wrapper.appendChild(fixed);
+ wrapper.classList.add('wrapper')
+ wrapper.appendChild(fixed)
- fixed.setAttribute('type', 'top');
- fixed.setAttribute('still', true);
- fixed.classList.add(station);
+ fixed.setAttribute('type', 'top')
+ fixed.setAttribute('still', true)
+ fixed.classList.add(station)
if (!this.close) {
- fixed.style.display = 'none';
+ fixed.style.display = 'none'
}
- fixed.appendChild(toastWrapper);
+ fixed.appendChild(toastWrapper)
if (this.hasPic) {
- toastWrapper.classList.add('limit-width');
+ toastWrapper.classList.add('limit-width')
}
- toastWrapper.appendChild(toast);
+ toastWrapper.appendChild(toast)
- toast.classList.add('toast');
+ toast.classList.add('toast')
if (this.show) {
- toastImg.setAttribute('src', infoIconSrc);
- toastImg.classList.add('icon');
- toast.appendChild(toastImg);
+ toastImg.setAttribute('src', infoIconSrc)
+ toastImg.classList.add('icon')
+ toast.appendChild(toastImg)
}
- toastText.innerText = this.showToastText;
+ toastText.innerText = this.showToastText
if (this.isBlock) {
- toastText.classList.add('block');
+ toastText.classList.add('block')
}
- toast.appendChild(toastText);
+ toast.appendChild(toastText)
- document.getElementById("toast-bar").innerHTML = '';
- document.getElementById("toast-bar").appendChild(wrapper);
+ document.getElementById('toast-bar').innerHTML = ''
+ document.getElementById('toast-bar').appendChild(wrapper)
}
}
MIPZhmsaskv2.props = {
From 97df4af53e713284036aa2c5f2ee380f6041a533 Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 11:46:06 +0800
Subject: [PATCH 04/73] =?UTF-8?q?doc:=E8=A7=84=E8=8C=83=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/mip-zhmsaskv2/mip-zhmsaskv2.js | 67 ++++++++-----------
1 file changed, 29 insertions(+), 38 deletions(-)
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
index 0a4e1d227..4fccc93b5 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
@@ -1,7 +1,7 @@
import './index.less'
export default class MIPZhmsaskv2 extends MIP.CustomElement {
- constructor ( element ) {
+ constructor (element) {
super(element)
this.IsSubmit = false
this.show = true
@@ -25,26 +25,26 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
InitPage () {
this.zhmsask = document.getElementsByClassName('mip-zhmsask')[0]
- let MaleRadios = this.zhmsask.getElementsByTagName('lable')
- MIP.viewer.eventAction.execute('tap', MaleRadios[0])
+ let MaleRadios = this.zhmsask.getElementsByTagName('lable')
+ MIP.viewer.eventAction.execute('tap', MaleRadios[0])
}
BindQuickBtn () {
- let quickbtns = this.zhmsask.getElementsByClassName('quickquestion')
- let $this = this
- for (let i = 0; i < quickbtns.length; i++) {
- $this.tap(quickbtns[i], function (e) {
- let questionArea = document.getElementById('Question')
- let question = questionArea.value
- if (question.indexOf(e.target.innerText) > -1) {
- questionArea.value = question.replace(e.target.innerText, '')
- quickbtns[i].classList.remove('ct')
- } else {
- questionArea.value = question + e.target.innerText
- quickbtns[i].classList.add('ct')
- }
- })
- }
- }
+ let quickbtns = this.zhmsask.getElementsByClassName('quickquestion')
+ let $this = this
+ for (let i = 0; i < quickbtns.length; i++) {
+ $this.tap(quickbtns[i], function (e) {
+ let questionArea = document.getElementById('Question')
+ let question = questionArea.value
+ if (question.indexOf(e.target.innerText) > -1) {
+ questionArea.value = question.replace(e.target.innerText, '')
+ quickbtns[i].classList.remove('ct')
+ } else {
+ questionArea.value = question + e.target.innerText
+ quickbtns[i].classList.add('ct')
+ }
+ })
+ }
+ }
BindSubmit () {
let $this = this
$this.tap($this.zhmsask.getElementsByClassName('mip-zhmsask-submit-btn')[0], function () {
@@ -78,7 +78,7 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
return response.json()
}).then(function (json) {
$this.IsSubmit = false
- // handleRes(json)
+ // handleRes(json)
if (json.state !== 0) $this.Toast(json.msg || '咨询失败,请稍候重试!')
else {
if (json.state === 0) {
@@ -90,20 +90,20 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
quickbtns[i].classList.remove('ct')
}
$this.Toast('咨询成功')
- }
- else
- $this.Toast(json.msg || '咨询失败,请稍候重试!')
+ } else {
+ $this.Toast(json.msg || '咨询失败,请稍候重试!')
+ }
}
})
}
})
}
- Toast ( info ) {
+ Toast (info) {
this.handleShow(null, info)
}
// tap事件封装
- tap ( obj, callBack ) {
+ tap (obj, callBack) {
if (typeof obj !== 'object') return
// 变量
let startTime = 0 // 记录触摸开始时间
@@ -124,7 +124,7 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
isMove = false
})
}
- GetRadioValue ( radioName ) {
+ GetRadioValue (radioName) {
let radios = document.getElementsByClassName(radioName)
for (let i = 0; i < radios.length; i++) {
let radio = radios.item(i).firstChild
@@ -135,10 +135,10 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
}
return undefined
}
- //
+ // update
update () {
const { closeTime, infoIconSrc } = this.props
- this.showTime = closeTime * 1000
+ this.showTime = closeTime * 1000
if (!infoIconSrc) {
this.show = false
} else {
@@ -151,7 +151,7 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
}, this.showTime)
this.render()
}
- handleShow ( event, info ) {
+ handleShow (event, info) {
const { infoText } = this.props
this.close = true
if (typeof info === 'string') {
@@ -174,39 +174,30 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
const toast = document.createElement('div')
const toastImg = document.createElement('img')
const toastText = document.createElement('p')
-
wrapper.classList.add('wrapper')
wrapper.appendChild(fixed)
-
fixed.setAttribute('type', 'top')
fixed.setAttribute('still', true)
fixed.classList.add(station)
-
if (!this.close) {
fixed.style.display = 'none'
}
-
fixed.appendChild(toastWrapper)
-
if (this.hasPic) {
toastWrapper.classList.add('limit-width')
}
toastWrapper.appendChild(toast)
-
toast.classList.add('toast')
-
if (this.show) {
toastImg.setAttribute('src', infoIconSrc)
toastImg.classList.add('icon')
toast.appendChild(toastImg)
}
-
toastText.innerText = this.showToastText
if (this.isBlock) {
toastText.classList.add('block')
}
toast.appendChild(toastText)
-
document.getElementById('toast-bar').innerHTML = ''
document.getElementById('toast-bar').appendChild(wrapper)
}
From 94e5470aabd7b37da9b5035d32885397b294eeca Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 11:49:12 +0800
Subject: [PATCH 05/73] =?UTF-8?q?doc:=E8=A7=84=E8=8C=83=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
index 4fccc93b5..d2c534eed 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
@@ -91,7 +91,7 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
}
$this.Toast('咨询成功')
} else {
- $this.Toast(json.msg || '咨询失败,请稍候重试!')
+ $this.Toast(json.msg || '咨询失败,请稍候重试!')
}
}
})
From cdeb2a540408c9678ad27dee517d24e5a9257557 Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 12:37:44 +0800
Subject: [PATCH 06/73] =?UTF-8?q?doc:=E4=BF=AE=E6=94=B9=E8=AF=B7=E6=B1=82?=
=?UTF-8?q?=E8=BF=9E=E6=8E=A5=E4=B8=BA=E6=AD=A3=E5=BC=8F=E7=8E=AF=E5=A2=83?=
=?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84https=E5=8D=8F=E8=AE=AE=E8=BF=9E?=
=?UTF-8?q?=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html | 2 +-
sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html b/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
index df1dbf637..586146128 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
@@ -17,7 +17,7 @@
加盟咨询
温馨提示:如果你对本品牌感兴趣,并希望了解更多加盟信息,请填写下方表格,方便本品牌企业与你联系。
-
+
-
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
index d2c534eed..843356dcd 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
+++ b/sites/mip.zhms.cn/components/mip-zhmsaskv2/mip-zhmsaskv2.js
@@ -73,7 +73,7 @@ export default class MIPZhmsaskv2 extends MIP.CustomElement {
method: 'POST',
body: JSON.stringify(data)
}
- fetch('http://mip.zhms.cn/brand/addconsultation/', a).then(function (response) {
+ fetch('https://mip.zhms.cn/brand/addconsultation/', a).then(function (response) {
$this.IsSubmit = false
return response.json()
}).then(function (json) {
From 4f15a617a53b59a49b3a429a68f9641d1bfb6bc7 Mon Sep 17 00:00:00 2001
From: Mrchensama <1184556771@qq.com>
Date: Thu, 11 Jul 2019 17:25:50 +0800
Subject: [PATCH 07/73] =?UTF-8?q?doc:=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E5=90=8D=E7=A7=B0,=E5=AE=8C=E5=96=84RAEDME=E8=AF=B4=E6=98=8E?=
=?UTF-8?q?=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sites/mip.zhms.cn.rar | Bin 0 -> 25703 bytes
.../components/mip-zhmsask-new/README.md | 63 ++++++++++++++++++
.../example/index.html | 6 +-
.../index.less | 2 +-
.../mip-zhmsask-new.js} | 4 +-
.../components/mip-zhmsaskv2/README.md | 31 ---------
6 files changed, 69 insertions(+), 37 deletions(-)
create mode 100644 sites/mip.zhms.cn.rar
create mode 100644 sites/mip.zhms.cn/components/mip-zhmsask-new/README.md
rename sites/mip.zhms.cn/components/{mip-zhmsaskv2 => mip-zhmsask-new}/example/index.html (91%)
rename sites/mip.zhms.cn/components/{mip-zhmsaskv2 => mip-zhmsask-new}/index.less (99%)
rename sites/mip.zhms.cn/components/{mip-zhmsaskv2/mip-zhmsaskv2.js => mip-zhmsask-new/mip-zhmsask-new.js} (98%)
delete mode 100644 sites/mip.zhms.cn/components/mip-zhmsaskv2/README.md
diff --git a/sites/mip.zhms.cn.rar b/sites/mip.zhms.cn.rar
new file mode 100644
index 0000000000000000000000000000000000000000..bc90dceb9dc43933b5dae68ad6da8053369d72a6
GIT binary patch
literal 25703
zcma&NV~{S-_9fi5ZQHhO+qP|-wsqR(Y1_8DPusR_zWuxRor!z@GashniRVLBRA$89
zxmT^My_S-p6CoBjAV9bBun!C%C!gK?^vVN&qkb
zrmdv|otK5JGo7&=J)NnErH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8MCsHx67XFs|-J_?p{vDkNuV%jx&19SN|kX*b)84lyl2)LGFgN8dLSbU%FJkF}Wa
z!C9DyUQ)oYs8O(rUn$>BP64Shy1V(YJbQK08y}%_(q<{jZnF@94x93%wlX^LJsCrS
zsh?e&RIae7AOrY!x)e_tt|{ch1$MZ1EWjOH2L_P~Nkq0W6bIbF*ngrKzt9Uk6C)rH
zV`B~6RevKfBYDiAjD|u0eicYLx2}Mv6b$RE413SwyC&6C(2so2TBzXoyL&i!rT40iRjvl3=hHgpRd77glnPD(5ty)59R`C|*
zG|w?)gLI-a`WCL@BZ|z39b~-ZX5OhROX8RjrzQ;VUYu1!{)3PB7h~l;9Wcp-Z0=kx&IG-RwZAi}1khw?e5XQSdoSm(t(9&15)`?w&IZ05$w{gS{Bk5C7>1N6v&`
zlWtp~Ah-+^YM4s__auCM>)?e%c~E}G>tR?ox5nY(gEK9S$G$fdER<7~s&{U-
z{@SR7()&?~h}66^BVr4U?p`rF&nEK=**cAo{Ii{B0G$IyLbg?#mpMM)0Chzylw&;T
z8svcSbLMy2y~~{c-bmTOQP0uL;7=pvzpwZX%DVzH;8KA=f}j8$n15L?%l)}f{|1Hz
zxW40noxi%qUeFI!lXS)7qqy?A~AR^BJoc}
z{u6=pM=?DePvzRLb>9C|oj-~JD$Mfz?&t5<6>zm)D+v8lg@0A@M+q!|*KAe28Vd)2oeJ9=P;pl%3|JTy~
z-A8kzy_SD@=>M^_uO4`RUId^Jg89~84UwuLT=>7M{&(XB2K=p4T2S>w{#pnAkC_2S
z#y%>l>h($
literal 0
HcmV?d00001
diff --git a/sites/mip.zhms.cn/components/mip-zhmsask-new/README.md b/sites/mip.zhms.cn/components/mip-zhmsask-new/README.md
new file mode 100644
index 000000000..deecb5000
--- /dev/null
+++ b/sites/mip.zhms.cn/components/mip-zhmsask-new/README.md
@@ -0,0 +1,63 @@
+# mip-zhmsaskv2
+
+标题|内容
+----|----
+类型|js组件
+支持布局|支持 与页面视图结合使用
+所需脚本| [https://c.mipcdn.com/extensions/platform/v2/mip.zhms.cn/mip-zhmsaskv2/mip-zhmsaskv2.js](https://c.mipcdn.com/extensions/platform/v2/mip.zhms.cn/mip-zhmsaskv2/mip-zhmsaskv2.js)
+
+## 说明
+
+mip.zhms.cn站点留言面板组件,实现留言提交。
+
+## 示例
+
+示例说明
+
+```
+该组件只需要引用,页面存在即可使用
+
+
+```
+
+## 属性
+
+### MerchantId
+
+**说明**:商家编号
+
+**必选项**:非必选项
+
+**单位**:数字
+
+**默认值**:0
+
+### BrandId
+
+**说明**:品牌编号
+
+**必选项**:非必选项
+
+**单位**:数字
+
+**默认值**:0
+
+### CategoryId
+
+**说明**:分类编号
+
+**必选项**:非必选项
+
+**单位**:数字
+
+**默认值**:0
+
+### Source
+
+**说明**:来源信息
+
+**必选项**:必选项
+
+**单位**:json字符串
+
+**默认值**:""
\ No newline at end of file
diff --git a/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html b/sites/mip.zhms.cn/components/mip-zhmsask-new/example/index.html
similarity index 91%
rename from sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
rename to sites/mip.zhms.cn/components/mip-zhmsask-new/example/index.html
index 586146128..f9b7e312b 100644
--- a/sites/mip.zhms.cn/components/mip-zhmsaskv2/example/index.html
+++ b/sites/mip.zhms.cn/components/mip-zhmsask-new/example/index.html
@@ -12,7 +12,7 @@
-
+
加盟咨询
@@ -61,10 +61,10 @@ 加盟咨询
-
+
-
+