Authored by 邱骏

限定频道

... ... @@ -223,7 +223,7 @@ Page({
// 手机号码验证规则
let phoneRegx = {
'+86': /^1[35847]{1}[0-9]{9}$/,
'+86': /^1[358479]{1}[0-9]{9}$/,
'+852': /^[965]{1}[0-9]{7}$/,
'+853': /^[0-9]{8}$/,
'+886': /^[0-9]{10}$/,
... ...
... ... @@ -85,6 +85,7 @@ page {
width: 690rpx;
margin-top: 30rpx;
margin-bottom: 10rpx;
box-shadow: 0 0 10rpx #e0e0e0;
}
/* 列表item大图 */
... ...
... ... @@ -215,7 +215,7 @@ Page(Object.assign({
let defaultImage;
if (res.data.defaultUrl) {
defaultImage = formatImage.image(res.data.defaultUrl, 168, 232);
defaultImage = res.data.defaultUrl;
}
let productDesc = [];
... ... @@ -223,7 +223,7 @@ Page(Object.assign({
if (res.data.attachment) {
productDesc = res.data.attachment.map(a => {
return {
imageUrl: formatImage.image(a.attachUrl, 345, 216),
imageUrl: a.attachUrl,
intro: a.intro
};
});
... ...