合并分支 'yan' 到 'master'
Yan 查看合并请求 !19
正在显示
3 个修改的文件
包含
16 行增加
和
3 行删除
@@ -12,10 +12,10 @@ | @@ -12,10 +12,10 @@ | ||
12 | 12 | ||
13 | if (!openId && !e.query.code) { | 13 | if (!openId && !e.query.code) { |
14 | console.log('获取code'); | 14 | console.log('获取code'); |
15 | - // getApp().authorization() | 15 | + getApp().authorization() |
16 | } else if (e.query.code) { | 16 | } else if (e.query.code) { |
17 | console.log(2); | 17 | console.log(2); |
18 | - // getApp().getOpenid(e.query.code) | 18 | + getApp().getOpenid(e.query.code) |
19 | } | 19 | } |
20 | // else { | 20 | // else { |
21 | // uni.showModal({ | 21 | // uni.showModal({ |
@@ -135,6 +135,7 @@ | @@ -135,6 +135,7 @@ | ||
135 | </view> | 135 | </view> |
136 | </view> | 136 | </view> |
137 | </u-popup> | 137 | </u-popup> |
138 | + <image class="goTop" @click="goTop" src="/static/top.png" mode=""></image> | ||
138 | <image class="home" @click="goHome" src="/static/home.png" mode=""></image> | 139 | <image class="home" @click="goHome" src="/static/home.png" mode=""></image> |
139 | <view class="share" v-if="shareModel" @click="shareModel=false"> | 140 | <view class="share" v-if="shareModel" @click="shareModel=false"> |
140 | <image src="../../static/detailShare.png" mode=""></image> | 141 | <image src="../../static/detailShare.png" mode=""></image> |
@@ -201,6 +202,11 @@ | @@ -201,6 +202,11 @@ | ||
201 | this.report_list() | 202 | this.report_list() |
202 | }, | 203 | }, |
203 | methods: { | 204 | methods: { |
205 | + goTop(){ | ||
206 | + uni.pageScrollTo({ | ||
207 | + scrollTop: 0 | ||
208 | + }); | ||
209 | + }, | ||
204 | //复制 | 210 | //复制 |
205 | copy(it) { | 211 | copy(it) { |
206 | uni.setClipboardData({ | 212 | uni.setClipboardData({ |
@@ -723,6 +729,13 @@ | @@ -723,6 +729,13 @@ | ||
723 | height: 96rpx; | 729 | height: 96rpx; |
724 | position: fixed; | 730 | position: fixed; |
725 | right: 28rpx; | 731 | right: 28rpx; |
732 | + bottom: 320rpx; | ||
733 | + } | ||
734 | + .goTop { | ||
735 | + width: 96rpx; | ||
736 | + height: 96rpx; | ||
737 | + position: fixed; | ||
738 | + right: 28rpx; | ||
726 | bottom: 186rpx; | 739 | bottom: 186rpx; |
727 | } | 740 | } |
728 | </style> | 741 | </style> |
1 | <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>元届印象</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) | 1 | <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>元届印象</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) |
2 | - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f3bf79df.js></script><script src=/static/js/index.ce24accb.js></script></body></html> | ||
2 | + document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f3bf79df.js></script><script src=/static/js/index.077ea7e8.js></script></body></html> |
-
请 注册 或 登录 后发表评论