✨ 无需迁移的组件,批量 review
parent
82b751e49c
commit
19d90f5df5
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 商品详情:cell 组件 -->
|
||||||
<template>
|
<template>
|
||||||
<view class="detail-cell-wrap ss-flex ss-col-center ss-row-between" @tap="onClick">
|
<view class="detail-cell-wrap ss-flex ss-col-center ss-row-between" @tap="onClick">
|
||||||
<view class="label-text">{{ label }}</view>
|
<view class="label-text">{{ label }}</view>
|
||||||
|
@ -13,7 +14,6 @@
|
||||||
* 详情 cell
|
* 详情 cell
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
label: {
|
label: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 商品详情:描述卡片 -->
|
||||||
<template>
|
<template>
|
||||||
<view class="detail-content-card bg-white ss-m-x-20 ss-p-t-20">
|
<view class="detail-content-card bg-white ss-m-x-20 ss-p-t-20">
|
||||||
<view class="card-header ss-flex ss-col-center ss-m-b-30 ss-m-l-20">
|
<view class="card-header ss-flex ss-col-center ss-m-b-30 ss-m-l-20">
|
||||||
|
@ -5,7 +6,7 @@
|
||||||
<view class="title ss-m-l-20 ss-m-r-20">详情</view>
|
<view class="title ss-m-l-20 ss-m-r-20">详情</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="card-content">
|
<view class="card-content">
|
||||||
<mp-html :content="content"></mp-html>
|
<mp-html :content="content" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 商品详情:商品/评价/详情的 nav -->
|
||||||
<template>
|
<template>
|
||||||
<su-fixed alway :bgStyles="{ background: '#fff' }" :val="0" noNav opacity :placeholder="false">
|
<su-fixed alway :bgStyles="{ background: '#fff' }" :val="0" noNav opacity :placeholder="false">
|
||||||
<su-status-bar />
|
<su-status-bar />
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 秒杀商品:抢购进度 -->
|
||||||
<template>
|
<template>
|
||||||
<view class="ss-flex ss-col-center">
|
<view class="ss-flex ss-col-center">
|
||||||
<view class="progress-title ss-m-r-10"> 已抢{{ percent }}% </view>
|
<view class="progress-title ss-m-r-10"> 已抢{{ percent }}% </view>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!-- 页面 -->
|
<!-- 页面;暂时没用到 -->
|
||||||
<template>
|
<template>
|
||||||
<view class="list-goods-card ss-flex-col" @tap="onClick">
|
<view class="list-goods-card ss-flex-col" @tap="onClick">
|
||||||
<view class="md-img-box">
|
<view class="md-img-box">
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 页面;暂时没用到 -->
|
||||||
<template>
|
<template>
|
||||||
<su-fixed
|
<su-fixed
|
||||||
alway
|
alway
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
<!-- 网页加载 -->
|
||||||
<template>
|
<template>
|
||||||
<view><web-view :src="url"></web-view></view>
|
<view>
|
||||||
|
<web-view :src="url" />
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 商品组 - 横向滚动商品(目前暂时没用到) -->
|
||||||
<template>
|
<template>
|
||||||
<view class="goods-scroll-box">
|
<view class="goods-scroll-box">
|
||||||
<scroll-view class="scroll-box" scroll-x scroll-anchoring>
|
<scroll-view class="scroll-box" scroll-x scroll-anchoring>
|
||||||
|
@ -8,7 +9,7 @@
|
||||||
size="sm"
|
size="sm"
|
||||||
:data="item"
|
:data="item"
|
||||||
:titleWidth="200 - marginLeft - marginRight"
|
:titleWidth="200 - marginLeft - marginRight"
|
||||||
></s-goods-column>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- 全局 - 快捷入口 -->
|
||||||
<template>
|
<template>
|
||||||
<su-popup :show="show" type="top" round="20" backgroundColor="#F0F0F0" @close="closeMenuTools">
|
<su-popup :show="show" type="top" round="20" backgroundColor="#F0F0F0" @close="closeMenuTools">
|
||||||
<su-status-bar />
|
<su-status-bar />
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
class="ss-reset-button list-image ss-flex ss-row-center ss-col-center"
|
class="ss-reset-button list-image ss-flex ss-row-center ss-col-center"
|
||||||
@tap="onClick(item)"
|
@tap="onClick(item)"
|
||||||
>
|
>
|
||||||
<image v-if="show" :src="sheep.$url.static(item.icon)" class="list-icon"></image>
|
<image v-if="show" :src="sheep.$url.static(item.icon)" class="list-icon" />
|
||||||
</button>
|
</button>
|
||||||
<view class="list-title ss-m-t-20">{{ item.title }}</view>
|
<view class="list-title ss-m-t-20">{{ item.title }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="status_bar"></view>
|
<view class="status_bar" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue