line_dm_liff/index.html

49 lines
1.9 KiB
HTML
Raw Permalink Normal View History

2019-07-16 08:53:12 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style>
[v-cloak] {
display: none;
}
</style>
2019-07-18 03:40:14 +00:00
<title>LINE DM LIFF Demo</title>
2019-07-16 08:53:12 +00:00
</head>
<body>
<div id="app" v-cloak>
<div class="alert alert-danger" v-if="error">{{ error }}</div>
<div class="card w-75">
<div class="text-center">
<img v-bind:src="profile.pictureUrl" class="card-img-top">
</div>
<div class="card-body">
<h5 class="card-title">{{ profile.displayName }}</h5>
<p class="card-text">{{ profile.statusMessage }}</p>
<button class="btn btn-primary" onclick="toggle()">Transform!</button>
<button class="btn btn-primary" onclick="share()">Share</button>
2019-07-18 04:36:46 +00:00
<button class="btn btn-info" onclick="url()">URL</button>
2019-07-16 08:53:12 +00:00
</div>
</div>
</div>
<script src="https://d.line-scdn.net/liff/1.0/sdk.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
2019-07-18 04:36:46 +00:00
<script src="meetup-liff.js?a=8"></script>
2019-07-16 08:53:12 +00:00
</body>
</html>