[200~1.兼容中国台湾、中国香港手机号码
This commit is contained in:
@@ -129,6 +129,105 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 限时秒杀 -->
|
||||
<view class="seckillBox" v-if="seckillList.length > 0">
|
||||
<view class="hightLightTitleBox">
|
||||
<text>限时秒杀</text>
|
||||
</view>
|
||||
<view class="seckill">
|
||||
<view class="borderbb">
|
||||
<view class="main">
|
||||
<view class="ftitle">
|
||||
<text>天天秒杀 时时返积分</text>
|
||||
</view>
|
||||
<scroll-view
|
||||
class="scroll-view_H"
|
||||
scroll-x="true"
|
||||
style="
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
"
|
||||
>
|
||||
<!-- <view class=""> -->
|
||||
<view
|
||||
class="item"
|
||||
v-for="(item, index) in seckillList"
|
||||
:key="index"
|
||||
@click="goGoodsDetail(item, 1)"
|
||||
>
|
||||
<view class="imgcontainer" style="position: relative">
|
||||
|
||||
|
||||
<view v-if="item.isVipPrice==1&&item.vipPrice!=0&&item.vipPrice!=null"
|
||||
style="z-index: 10;position: absolute;top: 10rpx;left: 10px;text-align: center;font-size: 22rpx;background-color: #f94f04;color: #fff;font-weight: bold;border-radius:4px;width: 120rpx; padding:4rpx;box-sizing: border-box;">
|
||||
VIP优惠</view>
|
||||
<image :src="item.productImages" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="name">
|
||||
{{ item.productName }}
|
||||
</view>
|
||||
<view>
|
||||
<text
|
||||
class="price"
|
||||
v-if="
|
||||
item.isVipPrice == 1 &&
|
||||
item.vipPrice != 0 &&
|
||||
item.vipPrice != null
|
||||
"
|
||||
>
|
||||
<text
|
||||
style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
>¥{{ item.vipPrice }}</text
|
||||
>
|
||||
|
||||
<text
|
||||
style="
|
||||
color: #8a8a8a;
|
||||
font-size: 10px;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
text-decoration: line-through;
|
||||
"
|
||||
>¥{{ Number(item.price) }}</text
|
||||
>
|
||||
</text>
|
||||
|
||||
<text
|
||||
v-else-if="item.activityPrice && item.activityPrice > 0"
|
||||
class="price"
|
||||
>
|
||||
<text
|
||||
style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
>¥{{ item.activityPrice }}</text
|
||||
>
|
||||
|
||||
<text
|
||||
style="
|
||||
color: #8a8a8a;
|
||||
font-size: 10px;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
text-decoration: line-through;
|
||||
"
|
||||
>¥{{ Number(item.price) }}</text
|
||||
>
|
||||
</text>
|
||||
|
||||
<text v-else class="price" style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
>¥{{ Number(item.price) }}</text
|
||||
>
|
||||
<view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 正在学习 -->
|
||||
<view class="" style="padding: 0 5px" v-if="learnList.length > 0">
|
||||
<view class="learnBox">
|
||||
@@ -211,17 +310,6 @@
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<!-- <swiper-item v-for="(item, index) in classList" :key="index">
|
||||
<view class="classItem flex_box" @click="onPageJump('/pages/miniClass/classInfo',item.id)">
|
||||
<view class="img" style="overflow: hidden;">
|
||||
<image v-if="item.icon && item.icon != ''" :src="item.icon" mode="aspectFit"></image>
|
||||
<image v-else src="@/static/my_04.png" mode="widthFix"></image>
|
||||
</view>
|
||||
<view class="txt555">
|
||||
{{item.title}}
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item> -->
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
@@ -293,122 +381,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 限时秒杀 -->
|
||||
<view class="seckillBox" v-if="seckillList.length > 0">
|
||||
<view class="hightLightTitleBox">
|
||||
<text>限时秒杀</text>
|
||||
</view>
|
||||
<view class="seckill">
|
||||
<view class="borderbb">
|
||||
<view class="main">
|
||||
<view class="ftitle">
|
||||
<text>天天秒杀 时时返积分</text>
|
||||
</view>
|
||||
<scroll-view
|
||||
class="scroll-view_H"
|
||||
scroll-x="true"
|
||||
style="
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
"
|
||||
>
|
||||
<!-- <view class=""> -->
|
||||
<view
|
||||
class="item"
|
||||
v-for="(item, index) in seckillList"
|
||||
:key="index"
|
||||
@click="goGoodsDetail(item, 1)"
|
||||
>
|
||||
<view class="imgcontainer" style="position: relative">
|
||||
|
||||
|
||||
<view v-if="item.isVipPrice==1&&item.vipPrice!=0&&item.vipPrice!=null"
|
||||
style="z-index: 10;position: absolute;top: 10rpx;left: 10px;text-align: center;font-size: 22rpx;background-color: #f94f04;color: #fff;font-weight: bold;border-radius:4px;width: 120rpx; padding:4rpx;box-sizing: border-box;">
|
||||
VIP优惠</view>
|
||||
<image :src="item.productImages" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="name">
|
||||
{{ item.productName }}
|
||||
</view>
|
||||
<view>
|
||||
<!-- v-if="
|
||||
item.isVipPrice == 1 &&
|
||||
item.vipPrice != 0 &&
|
||||
item.vipPrice != null
|
||||
" -->
|
||||
<text
|
||||
class="price"
|
||||
v-if="
|
||||
item.isVipPrice == 1 &&
|
||||
item.vipPrice != 0 &&
|
||||
item.vipPrice != null
|
||||
"
|
||||
>
|
||||
<text
|
||||
style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
>¥{{ item.vipPrice }}</text
|
||||
>
|
||||
|
||||
<text
|
||||
style="
|
||||
color: #8a8a8a;
|
||||
font-size: 10px;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
text-decoration: line-through;
|
||||
"
|
||||
>¥{{ Number(item.price) }}</text
|
||||
>
|
||||
</text>
|
||||
|
||||
<text
|
||||
v-else-if="item.activityPrice && item.activityPrice > 0"
|
||||
class="price"
|
||||
>
|
||||
<text
|
||||
style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
>¥{{ item.activityPrice }}</text
|
||||
>
|
||||
|
||||
<text
|
||||
style="
|
||||
color: #8a8a8a;
|
||||
font-size: 10px;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
text-decoration: line-through;
|
||||
"
|
||||
>¥{{ Number(item.price) }}</text
|
||||
>
|
||||
</text>
|
||||
|
||||
<text v-else class="price" style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
>¥{{ Number(item.price) }}</text
|
||||
>
|
||||
<view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<!-- <view class="fall">
|
||||
<text class="mprice"
|
||||
>¥{{
|
||||
item.activityPrice && item.activityPrice > 0
|
||||
? item.activityPrice
|
||||
: item.price
|
||||
}}</text
|
||||
>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<!-- </view> -->
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 新闻播报 -->
|
||||
<view class="fourBox" v-if="newsList.length > 0">
|
||||
<view class="newsBox flexbox">
|
||||
|
||||
Reference in New Issue
Block a user