BUG 25368
This commit is contained in:
@@ -28,17 +28,16 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapActions} from 'vuex'
|
||||
import {mapActions} from 'vuex'
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: 'Result',
|
||||
|
||||
props: ['params'],
|
||||
|
||||
mounted () {
|
||||
mounted() {
|
||||
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact'])
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin', 'wxInvoke']),
|
||||
|
||||
@@ -52,7 +51,7 @@
|
||||
oInput.remove()
|
||||
},
|
||||
|
||||
share () {
|
||||
share() {
|
||||
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
|
||||
this.wxInvoke(['shareAppMessage', {
|
||||
title: this.params.title,
|
||||
@@ -63,7 +62,7 @@
|
||||
})
|
||||
},
|
||||
|
||||
shareWechat () {
|
||||
shareWechat() {
|
||||
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
|
||||
this.wxInvoke(['shareWechatMessage', {
|
||||
title: this.params.title,
|
||||
@@ -74,17 +73,20 @@
|
||||
})
|
||||
},
|
||||
|
||||
confirm () {
|
||||
confirm() {
|
||||
this.$emit('change', {
|
||||
type: 'Tabbar'
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
wx.hideOptionMenu();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.result {
|
||||
.result {
|
||||
min-height: 100vh;
|
||||
padding: 96px 96px 0;
|
||||
text-align: center;
|
||||
@@ -146,7 +148,7 @@
|
||||
font-size: 36px;
|
||||
color: #fff;
|
||||
background: #197DF0;
|
||||
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.02);
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.02);
|
||||
border-radius: 4px;
|
||||
|
||||
&:active {
|
||||
@@ -159,5 +161,5 @@
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user