GPS-优化
parent
e087cd66b6
commit
74f93c5308
|
@ -4,7 +4,7 @@
|
|||
<status-nav :ifReturn="false" navBarTitle="GPS" :marginBottom="0"></status-nav>
|
||||
<!-- 二维码 -->
|
||||
<view class="gps-code">
|
||||
<view class="tips font26">长按识别二维码</view>
|
||||
<view class="tips font26">请长按识别</view>
|
||||
<image :show-menu-by-longpress="true" src="/static/public/gps-code.jpg" mode="widthFix" @click="previewImage"></image>
|
||||
</view>
|
||||
<!-- 尾部 -->
|
||||
|
@ -23,8 +23,7 @@
|
|||
|
||||
},
|
||||
methods: {
|
||||
previewImage(e) {
|
||||
console.log('e', e);
|
||||
previewImage() {
|
||||
uni.previewImage({
|
||||
// 需要预览的图片链接列表
|
||||
urls: [],
|
||||
|
@ -35,14 +34,11 @@
|
|||
// 是否可循环预览
|
||||
loop:false,
|
||||
// 长按图片显示操作菜单,如不填默认为保存相册
|
||||
// longPressActions:{
|
||||
// itemList:[this.l('发送给朋友'),this.l]
|
||||
// },
|
||||
success: res => {
|
||||
console.log('res', res);
|
||||
},
|
||||
fail: err => {
|
||||
onsole.log('err', err);
|
||||
console.log('err', err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -212,8 +212,7 @@ var _default =
|
|||
|
||||
},
|
||||
methods: {
|
||||
previewImage: function previewImage(e) {
|
||||
console.log('e', e);
|
||||
previewImage: function previewImage() {
|
||||
uni.previewImage({
|
||||
// 需要预览的图片链接列表
|
||||
urls: [],
|
||||
|
@ -224,14 +223,11 @@ var _default =
|
|||
// 是否可循环预览
|
||||
loop: false,
|
||||
// 长按图片显示操作菜单,如不填默认为保存相册
|
||||
// longPressActions:{
|
||||
// itemList:[this.l('发送给朋友'),this.l]
|
||||
// },
|
||||
success: function success(res) {
|
||||
console.log('res', res);
|
||||
},
|
||||
fail: function fail(err) {
|
||||
onsole.log('err', err);
|
||||
console.log('err', err);
|
||||
} });
|
||||
|
||||
} } };exports.default = _default;
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="data-v-774e46dc"><status-nav vue-id="727b15aa-1" ifReturn="{{false}}" navBarTitle="GPS" marginBottom="{{0}}" class="data-v-774e46dc" bind:__l="__l"></status-nav><view class="gps-code data-v-774e46dc"><view class="tips font26 data-v-774e46dc">长按识别二维码</view><image show-menu-by-longpress="{{true}}" src="/static/public/gps-code.jpg" mode="widthFix" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e" class="data-v-774e46dc"></image></view><foot-tab vue-id="727b15aa-2" current="{{2}}" class="data-v-774e46dc" bind:__l="__l"></foot-tab></view>
|
||||
<view class="data-v-774e46dc"><status-nav vue-id="727b15aa-1" ifReturn="{{false}}" navBarTitle="GPS" marginBottom="{{0}}" class="data-v-774e46dc" bind:__l="__l"></status-nav><view class="gps-code data-v-774e46dc"><view class="tips font26 data-v-774e46dc">请长按识别</view><image show-menu-by-longpress="{{true}}" src="/static/public/gps-code.jpg" mode="widthFix" data-event-opts="{{[['tap',[['previewImage',['$event']]]]]}}" bindtap="__e" class="data-v-774e46dc"></image></view><foot-tab vue-id="727b15aa-2" current="{{2}}" class="data-v-774e46dc" bind:__l="__l"></foot-tab></view>
|
Loading…
Reference in New Issue