Initial commit: MSH System\n\n- msh_single_uniapp: Vue 2 + UniApp 前端(微信小程序/H5/App/支付宝小程序)\n- msh_crmeb_22: Spring Boot 2.2 后端(C端API/管理端/业务逻辑)\n- models-integration: AI服务集成(Coze/KieAI/腾讯ASR)\n- docs: 产品文档与设计稿
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
<template>
|
||||
<view :style="{ backgroundImage: `url(${productInfo.activityStyle})` }" class='nav acea-row row-between-wrapper '>
|
||||
<view class='money skeleton-rect'>
|
||||
<view class="price-box">
|
||||
<view class="price">
|
||||
<span class="price-icon">¥</span>{{productInfo.price}}
|
||||
</view>
|
||||
<view class="vip-price" v-if="productInfo.vipPrice">
|
||||
<image :src="urlDomain+'crmebimage/perset/staticImg/vip_badge.png'" class="vip_icon"></image>
|
||||
<view
|
||||
class='vip_money skeleton-rect'>¥{{productInfo.vipPrice}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class='acea-row row-middle skeleton-rect'>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
productInfo: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
urlDomain: this.$Cache.get("imgHost"),
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.nav {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
padding: 0 24px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.money {
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.num {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.y-money {
|
||||
font-size: 26rpx;
|
||||
margin-left: 10rpx;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
}
|
||||
.price-box{
|
||||
display: flex;
|
||||
font-size: 48rpx;
|
||||
font-weight: 700;
|
||||
@include price_color(theme);
|
||||
.price-icon{
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.vip-price{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 20rpx;
|
||||
margin-top: 8rpx;
|
||||
.vip_icon {
|
||||
width: 44rpx;
|
||||
height: 28rpx;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.vip_money {
|
||||
background: #FFE7B9;
|
||||
border-radius: 4px;
|
||||
font-size: 22rpx;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
padding: 0 4rpx;
|
||||
box-sizing: border-box;
|
||||
margin-left: -7rpx;
|
||||
height: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
2537
msh_single_uniapp/pages/goods/goods_details/index.vue
Normal file
2537
msh_single_uniapp/pages/goods/goods_details/index.vue
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user