修改图片的地址为本地文件
This commit is contained in:
@@ -144,5 +144,5 @@
|
||||
|
||||
<view class='share-btn-box'>
|
||||
<button open-type='share'></button>
|
||||
<image src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/9bc27242fd0c9f9f08d867dc027cc82b.png' style='width:100%; height: 100%'></image>
|
||||
<image src='../../images/10@3x.png' style='width:100%; height: 100%'></image>
|
||||
</view>
|
||||
@@ -50,5 +50,5 @@
|
||||
|
||||
<view class='share-btn-box'>
|
||||
<button open-type='share'></button>
|
||||
<image src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/9bc27242fd0c9f9f08d867dc027cc82b.png' style='width:100%; height: 100%'></image>
|
||||
<image src='../../images/10@3x.png' style='width:100%; height: 100%'></image>
|
||||
</view>
|
||||
@@ -93,5 +93,5 @@
|
||||
|
||||
<view class='share-btn-box'>
|
||||
<button open-type='share'></button>
|
||||
<image src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/9bc27242fd0c9f9f08d867dc027cc82b.png' style='width:100%; height: 100%'></image>
|
||||
<image src='../../images/10@3x.png' style='width:100%; height: 100%'></image>
|
||||
</view>
|
||||
@@ -92,5 +92,5 @@
|
||||
|
||||
<view class='share-btn-box'>
|
||||
<button open-type='share'></button>
|
||||
<image src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/9bc27242fd0c9f9f08d867dc027cc82b.png' style='width:100%; height: 100%'></image>
|
||||
<image src='../../images/10@3x.png' style='width:100%; height: 100%'></image>
|
||||
</view>
|
||||
@@ -203,6 +203,19 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
//扫描二维码
|
||||
sacnQRCode() {
|
||||
wx.scanCode({
|
||||
success (res) {
|
||||
wx.showToast({
|
||||
title: res.result,
|
||||
icon: 'none',
|
||||
duration: 5000
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
// 跳转个人中心
|
||||
pushMine() {
|
||||
if (this.data.unClickBtn) {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<view class='message'>{{item.content}}</view>
|
||||
</view>
|
||||
<view class='image-box'>
|
||||
<image class='shadow-image' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/f22e3c39e76db12d26bf7a086a2bf5e9.png'></image>
|
||||
<image class='shadow-image' src='../../images/f22e3c39e76db12d26bf7a086a2bf5e9.png'></image>
|
||||
<image class='show-image' src='{{item.image}}' mode='aspectFit'></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -65,7 +65,7 @@
|
||||
<cover-view class='message'>{{item.content}}</cover-view>
|
||||
</cover-view>
|
||||
<cover-view class='image-box'>
|
||||
<cover-image class='shadow-image' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/f22e3c39e76db12d26bf7a086a2bf5e9.png'></cover-image>
|
||||
<cover-image class='shadow-image' src='../../images/16@3x.png'></cover-image>
|
||||
<cover-image class='show-image' src='{{item.image}}' mode='aspectFit'></cover-image>
|
||||
</cover-view>
|
||||
</cover-view>
|
||||
@@ -75,33 +75,39 @@
|
||||
|
||||
<!-- 分享 -->
|
||||
<cover-view class='share-box' style=' left: 30rpx;'>
|
||||
<cover-image class='img' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/9bc27242fd0c9f9f08d867dc027cc82b.png'></cover-image>
|
||||
<cover-image class='img' src='../../images/10@3x.png'></cover-image>
|
||||
<cover-view class='title'>分享</cover-view>
|
||||
<button class='hide-btn' open-type='share'></button>
|
||||
</cover-view>
|
||||
|
||||
<!-- 详情列表 -->
|
||||
<cover-view class='share-box' style=' right: 30rpx;' bindtap='pushList'>
|
||||
<cover-image class='img' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/09cb141f016f2167f4ed21a6fc6d80d6.png'></cover-image>
|
||||
<cover-image class='img' src='../../images/9@3x.png'></cover-image>
|
||||
<cover-view class='title'>详情列表</cover-view>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
<!-- 电话 -->
|
||||
<cover-view class='phone-box' style='bottom: 170rpx' bindtap='callPhoen'>
|
||||
<cover-image class='img' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/27a9f473cfa3dd7f4ba1f1aceac60f94.png'></cover-image>
|
||||
<cover-image class='img' src='../../images/8@3x.png'></cover-image>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
<!-- 活动当前 -->
|
||||
<cover-view class='phone-box' bindtap='goFrist'>
|
||||
<cover-image class='img' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/c685ad2b119dbd985f55ee752d3559aa.png'></cover-image>
|
||||
<cover-image class='img' src='../../images/61.png'></cover-image>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
<!-- 扫码进场 -->
|
||||
<cover-view class='mine-box' style='bottom: 170rpx' bindtap='sacnQRCode'>
|
||||
<cover-image class='img' src='../../images/ok.png'></cover-image>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
<!-- 个人中心 -->
|
||||
<cover-view class='mine-box' bindtap='pushMine'>
|
||||
<cover-image class='img' src='https://yingdd.oss-cn-hangzhou.aliyuncs.com/74399db5cf4497532a253cb2542c1cf0.png'></cover-image>
|
||||
<cover-image class='img' src='../../images/7@3x.png'></cover-image>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user