fixed line & term

このコミットが含まれているのは:
dragon1211 2022-01-17 00:56:33 -08:00
コミット 3d794f1e7c
2個のファイルの変更6行の追加6行の削除

ファイルの表示

@ -38236,7 +38236,7 @@ var ParentChildAdd = function ParentChildAdd() {
switch (response.data.status_code) {
case 200:
{
if (type == "invite") setSuccess('招待用URLをコピーしました。');else if (type == 'line') copyLineText();
if (type == "invite") setSuccess('招待用URLをコピーしました。');else if (type == 'line') sendLineMsg();
break;
}
@ -38270,11 +38270,11 @@ var ParentChildAdd = function ParentChildAdd() {
}
};
var copyLineText = function copyLineText() {
var sendLineMsg = function sendLineMsg() {
var inviteUrl = document.getElementById('inviteurl_html').value;
var siteUrl = document.getElementById('siteurl').value;
var lineText = "\u300CKIKI\u300D\u306E\u62DB\u5F85\u304C\u5C4A\u3044\u3066\u3044\u307E\u3059\u3002%0A\u307E\u305A\u306F\u4EE5\u4E0B\u3088\u308A\u4EEE\u767B\u9332\u3092\u884C\u3063\u3066\u304F\u3060\u3055\u3044\u3002%0A%0A\u203B\u30B9\u30DE\u30DB\u672C\u4F53\u3092\u6700\u65B0\u306E\u72B6\u614B\u306B\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u3057\u3066\u304B\u3089URL\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002%0A%0A".concat(inviteUrl, "%0A%0A\u25BC\u516C\u5F0F\u30B5\u30A4\u30C8\u306F\u3053\u3061\u3089%0A").concat(siteUrl);
window.location.href = 'http://line.me/R/msg/text/?' + lineText;
window.location.href = 'http://line.naver.jp/R/msg/text/?' + lineText;
};
var contactMailText = 'mailto:56@zotman.jp?subject=KIKIメンバー追加について&body=' + '名前%3A%0A電話番号%3A%0AログインID%3A%0Aログインパスワード%3A%0A追加したいメンバー数%3A%0A「その他お問合せ内容」';

ファイルの表示

@ -79,7 +79,7 @@ const ParentChildAdd = () => {
switch(response.data.status_code){
case 200: {
if(type == "invite") setSuccess('招待用URLをコピーしました。');
else if(type=='line') copyLineText();
else if(type=='line') sendLineMsg();
break;
}
case 400: set400Error(response.data.error_messages); break;
@ -111,11 +111,11 @@ const ParentChildAdd = () => {
}
const copyLineText = () => {
const sendLineMsg = () => {
const inviteUrl = document.getElementById('inviteurl_html').value;
const siteUrl = document.getElementById('siteurl').value;
const lineText = `「KIKI」の招待が届いています。%0Aまずは以下より仮登録を行ってください。%0A%0A※スマホ本体を最新の状態にアップデートしてからURLをクリックしてください。%0A%0A${inviteUrl}%0A%0A▼公式サイトはこちら%0A${siteUrl}`;
window.location.href = 'http://line.me/R/msg/text/?'+lineText;
window.location.href = 'http://line.naver.jp/R/msg/text/?'+lineText;
}