first commit
This commit is contained in:
41
test.html
Normal file
41
test.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>无标题文档</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="test">
|
||||
{{test}}
|
||||
|
||||
<div class="rect" --show="false">{{test}}</div>
|
||||
</div>
|
||||
|
||||
<template route="/" src="index.html"></template>
|
||||
</body>
|
||||
<script src="Pandora.min.js"></script>
|
||||
<script>
|
||||
const a = $('.test').Mush({
|
||||
data: {
|
||||
test: '测试',
|
||||
},
|
||||
})
|
||||
|
||||
console.log($('.test').text())
|
||||
$('.rect').css({
|
||||
width: '100px',
|
||||
height: '100px',
|
||||
background: 'red',
|
||||
})
|
||||
$('.rect').click(() => {
|
||||
console.log('click')
|
||||
})
|
||||
|
||||
$().wxSDK({
|
||||
apiUrl: 'https://api.pandorastudio.cn/common/wxShare?url=',
|
||||
shareIcon: `https://src.pandorastudio.cn/favicon.jpg`,
|
||||
debug: true,
|
||||
})
|
||||
</script>
|
||||
</html>
|
Reference in New Issue
Block a user