将Launch 27脚本标签添加到React组件

时间:2019-06-18 19:22:47

标签: javascript reactjs

`` 我试图创建一条单人路线,但未成功。

这是我的index.js

这是我的预订部分

import React, { Component } from "react";

export default class Book extends Component {




  render() {
    const styles = {
      border: "none",
      width: "#100%",
      minheight: "32px",
      overflow: "hiddent"
  };
    return (
      <div>
        <div id="scriptTarget" />
        <div className="main">
          <script src="https://meandeepclean.launch27.com/jsbundle"></script><iframe id="booking-widget-iframe" src="https://meandeepclean.launch27.com/?w_cleaning" style={styles}></iframe>

        </div>
      </div>
    );
  }
}


0 个答案:

没有答案