Commit f8c7a0db authored by linwenqing's avatar linwenqing

update:学习模块-样式调整-标题修改-消息通知列表图片不显示fix

parent db79b6c6
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<view class="jf-line u-margin-right-30 u-margin-top-60">去查看</view> <view class="jf-line u-margin-right-30 u-margin-top-60">去查看</view>
</view> </view>
</view> </view>
<view class="jf-currency-class"> <view class="jf-currency-class u-margin-top-100">
<image :src="jianbianImage" mode="" class="current-img"></image> <image :src="jianbianImage" mode="" class="current-img"></image>
<view class="class1" style="position: relative;" @click="goToDocument"> <view class="class1" style="position: relative;" @click="goToDocument">
<image class="jf-img" :src="anzhuangwenjianImage" mode=""></image> <image class="jf-img" :src="anzhuangwenjianImage" mode=""></image>
...@@ -239,8 +239,8 @@ var json = { ...@@ -239,8 +239,8 @@ var json = {
sectionId: "", sectionId: "",
}, },
{ {
title: "学习-我的模块", title: "小程序使用指南",
desc: "学习-我的模块", desc: "小程序使用指南",
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png", pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
percent: 0, percent: 0,
status: "", status: "",
...@@ -277,8 +277,8 @@ var json = { ...@@ -277,8 +277,8 @@ var json = {
sectionId: "", sectionId: "",
}, },
{ {
title: "学习-我的模块", title: "小程序使用指南",
desc: "学习-我的模块", desc: "小程序使用指南",
pic: process.uniEnv.qn_base_url + "yaodiantishi.png", pic: process.uniEnv.qn_base_url + "yaodiantishi.png",
percent: 0, percent: 0,
status: "", status: "",
...@@ -577,14 +577,8 @@ export default { ...@@ -577,14 +577,8 @@ export default {
}, },
//取文本第一张图片 //取文本第一张图片
imgUrlFun(str) { imgUrlFun(str) {
var data = ""; var data = /http[a-zA-z]+:\/\/[^\"]*/.exec(str);
str.replace( return data?data[0]:'';
/<img [^>]*src=['"]([^'"]+)[^>]*>/,
function (match, capture) {
data = capture;
}
);
return data;
}, },
//取文本信息 //取文本信息
getText(str) { getText(str) {
...@@ -1161,4 +1155,8 @@ swiper { ...@@ -1161,4 +1155,8 @@ swiper {
padding-top: 50rpx; padding-top: 50rpx;
padding-bottom: 200rpx; padding-bottom: 200rpx;
} }
.u-margin-top-100 {
margin-top: 100rpx;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment