Merge remote-tracking branch 'origin/master-vue3' into master-vue3
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<image
|
||||
class="auto-login-img"
|
||||
:src="sheep.$url.static('/static/img/shop/platform/wechat.png')"
|
||||
></image>
|
||||
/>
|
||||
</button>
|
||||
|
||||
<!-- iOS登录 -->
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修组件容器 -->
|
||||
<template>
|
||||
<view :style="[elStyles, elBackground]"><slot /></view>
|
||||
</template>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 优惠券组 -->
|
||||
<!-- 装修营销组件:优惠券 -->
|
||||
<template>
|
||||
<scroll-view class="scroll-box" scroll-x scroll-anchoring>
|
||||
<view class="coupon-box ss-flex">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修用户组件:用户卡券 -->
|
||||
<template>
|
||||
<view class="ss-coupon-menu-wrap ss-flex ss-col-center">
|
||||
<view class="menu-item ss-flex-col ss-row-center ss-col-center" v-for="item in props.list" :key="item.title"
|
||||
@@ -41,13 +42,13 @@
|
||||
path: '/pages/coupon/list',
|
||||
type: 'expired',
|
||||
},
|
||||
// {
|
||||
// title: '领券中心',
|
||||
// value: '0',
|
||||
// icon: '/static/img/shop/order/all_coupon.png',
|
||||
// path: '/pages/coupon/list',
|
||||
// type: 'all',
|
||||
// },
|
||||
{
|
||||
title: '领券中心',
|
||||
value: '0',
|
||||
icon: '/static/img/shop/order/all_coupon.png',
|
||||
path: '/pages/coupon/list',
|
||||
type: 'all',
|
||||
},
|
||||
];
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 顶部导航栏 -->
|
||||
<template>
|
||||
<navbar
|
||||
:alway="isAlway"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修基础组件:悬浮按钮 -->
|
||||
<template>
|
||||
<!-- 模态背景:展开时显示,点击后折叠 -->
|
||||
<view class="modal-bg" v-if="fabRef?.isShow" @click="handleCollapseFab"></view>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修商品组件:商品卡片 -->
|
||||
<template>
|
||||
<!-- 商品卡片 -->
|
||||
<view>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修商品组件:商品栏 -->
|
||||
<template>
|
||||
<view>
|
||||
<!-- 布局1. 两列商品,图片左文案右 -->
|
||||
@@ -27,7 +28,7 @@
|
||||
:bottomRadius="data.borderRadiusBottom"
|
||||
:titleWidth="(454 - marginRight * 2 - data.space * 2 - marginLeft * 2) / 2"
|
||||
@click="sheep.$router.go('/pages/goods/index', { id: item.id })"
|
||||
></s-goods-column>
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 布局. 三列商品:图片上文案下 -->
|
||||
@@ -56,7 +57,7 @@
|
||||
:topRadius="data.borderRadiusTop"
|
||||
:bottomRadius="data.borderRadiusBottom"
|
||||
@click="sheep.$router.go('/pages/goods/index', { id: item.id })"
|
||||
></s-goods-column>
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -79,7 +80,7 @@
|
||||
:titleColor="data.fields.name?.color"
|
||||
:titleWidth="(750 - marginRight * 2 - data.space * 4 - marginLeft * 2) / 3"
|
||||
@click="sheep.$router.go('/pages/goods/index', { id: item.id })"
|
||||
></s-goods-column>
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修图文组件:热区 -->
|
||||
<template>
|
||||
<view class="hotzone-wrap">
|
||||
<image :src="sheep.$url.cdn(data.imgUrl)" style="width: 100%" mode="widthFix"></image>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修图文组件:图片轮播 -->
|
||||
<template>
|
||||
<su-swiper
|
||||
:list="imgList"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!-- 装修图文组件:图片展示 -->
|
||||
<template>
|
||||
<view @tap="sheep.$router.go(data?.url)">
|
||||
<su-image :src="sheep.$url.cdn(data.imgUrl)" mode="widthFix"></su-image>
|
||||
<su-image :src="sheep.$url.cdn(data.imgUrl)" mode="widthFix" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修图文组件:广告魔方 -->
|
||||
<template>
|
||||
<view class="ss-cube-wrap" :style="[parseAdWrap]">
|
||||
<view v-for="(item, index) in data.list" :key="index">
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修基础组件:分割线 -->
|
||||
<template>
|
||||
<su-subline v-bind="data"></su-subline>
|
||||
</template>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修基础组件:菜单导航(金刚区) -->
|
||||
<template>
|
||||
<!-- 包裹层 -->
|
||||
<view
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修基础组件:宫格导航 -->
|
||||
<template>
|
||||
<uni-grid :showBorder="Boolean(data.border)" :column="data.column">
|
||||
<uni-grid-item
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修基础组件:列表导航 -->
|
||||
<template>
|
||||
<view class="menu-list-wrap">
|
||||
<uni-list :border="true">
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
:speed="50"
|
||||
:color="data.textColor"
|
||||
@tap="sheep.$router.go(data.contents[0].url)"
|
||||
></su-notice-bar>
|
||||
/>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修用户组件:用户订单 -->
|
||||
<template>
|
||||
<view class="ss-order-menu-wrap ss-flex ss-col-center">
|
||||
<view
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修营销组件:营销文章 -->
|
||||
<template>
|
||||
<view
|
||||
:style="[
|
||||
@@ -16,6 +17,7 @@
|
||||
<script setup>
|
||||
import { reactive, onMounted } from 'vue';
|
||||
import ArticleApi from '@/sheep/api/promotion/article';
|
||||
|
||||
const props = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
@@ -26,9 +28,11 @@
|
||||
default() {},
|
||||
},
|
||||
});
|
||||
|
||||
const state = reactive({
|
||||
content: '',
|
||||
});
|
||||
|
||||
onMounted(async () => {
|
||||
const { data } = await ArticleApi.getArticle(props.data.id);
|
||||
state.content = data.content;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 页面 -->
|
||||
<!-- 装修商品组件:标题栏 -->
|
||||
<template>
|
||||
<view
|
||||
class="ss-title-wrap ss-flex ss-col-center"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 页面 -->
|
||||
<!-- 装修用户组件:用户卡片 -->
|
||||
<template>
|
||||
<view class="ss-user-info-wrap ss-p-t-50">
|
||||
<view class="ss-flex ss-col-center ss-row-between ss-m-b-20">
|
||||
@@ -23,7 +23,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- TODO @芋艿:用户接入 -->
|
||||
<!-- 提示绑定手机号 先隐藏 yudao 需要再修改 -->
|
||||
<!-- <view
|
||||
class="bind-mobile-box ss-flex ss-row-between ss-col-center"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- -->
|
||||
<!-- 装修图文组件:视频播放 -->
|
||||
<template>
|
||||
<su-video
|
||||
class="sss"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- 装修用户组件:用户资产 -->
|
||||
<template>
|
||||
<!-- TODO @惠智造:代码合并有问题,可以看看 -->
|
||||
<view class="ss-wallet-menu-wrap ss-flex ss-col-center">
|
||||
|
||||
Reference in New Issue
Block a user