diff --git a/client/src/App.js b/client/src/App.js index e29d9072..7b6a1f51 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -9,6 +9,7 @@ import SetPay from './components/SetPay'; import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import RequestList from './components/RequestList'; import Information from './components/Information'; +import Reward from './components/Reward'; class App extends Component { @@ -48,6 +49,7 @@ class App extends Component { + ); diff --git a/client/src/components/Reward.js b/client/src/components/Reward.js new file mode 100644 index 00000000..6ed6577d --- /dev/null +++ b/client/src/components/Reward.js @@ -0,0 +1,98 @@ +import React, { Component } from 'react'; +import { GoogleApiWrapper, Map, Marker } from 'google-maps-react'; + +class Reward extends Component { + constructor(props) { + super(props) + + + this.containerStyle = { + position: "absolute", + width: "100%", + height: "100%" + }; + this.RewardStyle = { + position: "absolute", + zIndex: "2", + top: "5%", + left: "50%", + transform: "translateY(-50%) translateX(-50%)", + textAlign: "center", + padding: "0.1px 19px", + color: "#2c2c2f", + background: "#cde4ff", + borderTop: "solid 5px #5989cf", + borderBottom: "solid 5px #5989cf", + } + this.MoneyStyle = { + position: "absolute", + zIndex: "2", + bottom: "10%", + left: "50%", + transform: "translateY(-50%) translateX(-50%)", + textAlign: "center", + padding:" 0.5px 20px", + fontWeight: "bold", + // fontSize: "small", + width: "70%", + color: "#6091d3",/*文字色*/ + background: "#FFF", + border: "solid 3px #6091d3",/*線*/ + borderRadius: "10px",/*角の丸み*/ + }; + this.PayStile = { + position: "absolute", + zIndex: "2", + bottom: "0%", + left: "50%", + transform: "translateY(-50%) translateX(-50%)", + textAlign: "center", + padding: "0.1px 19px", + color: "#2c2c2f", + background: "#cde4ff", + borderTop: "solid 5px #5989cf", + borderBottom: "solid 5px #5989cf", + } + } + + transit = () => { + this.props.history.push('/request') + } + + render() { + return ( +
+
+

謝礼確認

+
+ +
+

合計:999Funey

+
+ +
+

支払い

+
+ + + + +
+ ); + } +} + +export default GoogleApiWrapper({ + apiKey: ("AIzaSyB0ftXJ-48aqJgBjfRney-Co4vmnd4yd6g") +})(Reward); \ No newline at end of file diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity new file mode 100644 index 00000000..1a3aded6 --- /dev/null +++ b/node_modules/.yarn-integrity @@ -0,0 +1,10 @@ +{ + "systemParams": "win32-x64-72", + "modulesFolders": [], + "flags": [], + "linkedModules": [], + "topLevelPatterns": [], + "lockfileEntries": {}, + "files": [], + "artifacts": {} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 00000000..fb57ccd1 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + +