|
@@ -8,20 +8,23 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import { funWxShare } from './utils/wxShareConfig'
|
|
|
+import { funWxShare } from './utils/wxShareConfig'
|
|
|
+import { platform } from './utils/platform'
|
|
|
|
|
|
- export default {
|
|
|
- name: 'App',
|
|
|
- mounted () {
|
|
|
+export default {
|
|
|
+ name: 'App',
|
|
|
+ mounted () {
|
|
|
+ if (platform.isWeixin) {
|
|
|
funWxShare('驼驼银服', '家里用钱,就找驼驼银服,省心,省力,妥妥的!', location.href, location.protocol + '//api.tuotuoyinfu.com/img/logo.jpg')
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
- @import "./assets/styles/reset";
|
|
|
+@import "./assets/styles/reset";
|
|
|
|
|
|
- body {
|
|
|
- background: #F2F2F2;
|
|
|
- }
|
|
|
+body {
|
|
|
+ background: #F2F2F2;
|
|
|
+}
|
|
|
</style>
|