init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,88 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<!--[1.5.52]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>公众号授权</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_1952305_yagwiqchus.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vue/element-ui.css?v=2.13.2">
|
||||
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/vue/js/vue2.5.16.js"></script>
|
||||
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/vue/element-ui.js?v=2.13.2"></script>
|
||||
<style>
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body, html {
|
||||
margin: 0;
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 50px 0 30px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.success-icon {
|
||||
font-size: 80px;
|
||||
color: #19ad19;
|
||||
}
|
||||
|
||||
.success-text {
|
||||
font-size: 18px;
|
||||
color: #333;
|
||||
margin: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app" v-cloak>
|
||||
<div class="flex">
|
||||
<i class="iconfont iconzhucechenggong success-icon"></i>
|
||||
<span class="success-text">公众号授权成功</span>
|
||||
<el-button @click="backMini" size="small" type="success" plain>返回小程序</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
page: "/{$page}",
|
||||
tabBar: ['/pages/store/store', '/pages/newClassify/newClassify', '/pages/shoppingCar/shoppingCar', '/pages/myOrder/myOrder', '/pages/my/my'],
|
||||
},
|
||||
methods: {
|
||||
backMini() {
|
||||
wx.ready(() => {
|
||||
if (this.tabBar.indexOf(this.page) >= 0) {
|
||||
wx.miniProgram.switchTab({url: this.page})
|
||||
} else {
|
||||
// wx.miniProgram.redirectTo({url: this.page})
|
||||
wx.miniProgram.navigateBack({delta: 1})
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
wx.config({
|
||||
debug: false,
|
||||
appId: "{$signPackage.appId}",
|
||||
timestamp: "{$signPackage.timestamp}",
|
||||
nonceStr: "{$signPackage.nonceStr}",
|
||||
signature: "{$signPackage.signature}",
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
|
||||
在新工单中引用
屏蔽一个用户