Commit f8c7a0db authored by linwenqing's avatar linwenqing

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

parent db79b6c6
......@@ -19,7 +19,7 @@
<view class="jf-line u-margin-right-30 u-margin-top-60">去查看</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>
<view class="class1" style="position: relative;" @click="goToDocument">
<image class="jf-img" :src="anzhuangwenjianImage" mode=""></image>
......@@ -239,8 +239,8 @@ var json = {
sectionId: "",
},
{
title: "学习-我的模块",
desc: "学习-我的模块",
title: "小程序使用指南",
desc: "小程序使用指南",
pic: process.uniEnv.qn_base_url + "cdz-3x-v2.png",
percent: 0,
status: "",
......@@ -277,8 +277,8 @@ var json = {
sectionId: "",
},
{
title: "学习-我的模块",
desc: "学习-我的模块",
title: "小程序使用指南",
desc: "小程序使用指南",
pic: process.uniEnv.qn_base_url + "yaodiantishi.png",
percent: 0,
status: "",
......@@ -577,14 +577,8 @@ export default {
},
//取文本第一张图片
imgUrlFun(str) {
var data = "";
str.replace(
/<img [^>]*src=['"]([^'"]+)[^>]*>/,
function (match, capture) {
data = capture;
}
);
return data;
var data = /http[a-zA-z]+:\/\/[^\"]*/.exec(str);
return data?data[0]:'';
},
//取文本信息
getText(str) {
......@@ -1161,4 +1155,8 @@ swiper {
padding-top: 50rpx;
padding-bottom: 200rpx;
}
.u-margin-top-100 {
margin-top: 100rpx;
}
</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