Skip to content

Commit bd097d4

Browse files
committed
Update remote url
1 parent 40ed2d9 commit bd097d4

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

miniprogram/page/component/pages/editor/editor.js

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Page({
1919
const safeHeight = safeArea.bottom - safeArea.height;
2020
this._safeHeight = safeArea.bottom - safeArea.height;
2121
const isIOS = platform === 'ios'
22-
console.log(safeArea)
2322
this.setData({ isIOS, safeHeight, toolBarHeight: isIOS ? safeHeight + 50 : 50 })
2423
const that = this
2524
this.updatePosition(0)
@@ -46,7 +45,6 @@ Page({
4645
const toolbarHeight = 50
4746
const { windowHeight, platform } = wx.getSystemInfoSync()
4847
let editorHeight = keyboardHeight > 0 ? (windowHeight - keyboardHeight - toolbarHeight) : windowHeight
49-
console.log(editorHeight);
5048
if (keyboardHeight === 0) {
5149
this.setData({
5250
editorHeight, keyboardHeight,

miniprogram/page/weui/example/tabs/webview.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Page({
1111
// })
1212
},
1313
data: {
14-
src: 'https://developers.weixin.qq.com'
14+
src: 'https://developers.weixin.qq.com/community/business'
1515
},
1616

1717
/**

miniprogram/page/weui/example/vtabs/vtabs.js

+5
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ Page({
4848
onChange(e) {
4949
const index = e.detail.index
5050
console.log('change', index)
51+
},
52+
handleClick() {
53+
wx.navigateTo({
54+
url: '../tabs/webview',
55+
})
5156
}
5257

5358
})

miniprogram/page/weui/example/vtabs/vtabs.wxml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
>
88
<block wx:for="{{vtabs}}" wx:key="title" >
99
<mp-vtabs-content tabIndex="{{index}}">
10-
<view class="vtabs-content-item" style="margin-bottom: {{vtabs.length - 1 === index ? 600 : 0}}px">
10+
<view class="vtabs-content-item" style="margin-bottom: {{vtabs.length - 1 === index ? 600 : 0}}px" bindtap="handleClick">
1111
<image src="{{item.img}}" mode="widthFix"></image>
1212
<view class="item-title">
1313
{{item.title2}}

0 commit comments

Comments
 (0)