@ -53,7 +53,7 @@ export interface Article {
// 账号
username?: string;
// 用户头像
userAvatar?: string;
avatar?: string;
// 所属门店ID
shopId?: number;
//
@ -63,7 +63,7 @@ export interface App {
// 续费金额
renewMoney?: string;
// 软件定价
price?: string;
price?: number;
// 评分
score?: string;
// 星级
@ -71,7 +71,7 @@ export interface OaApp {
// 业务员
salesman?: string;
// 划线价格
linePrice?: string;
@ -15,7 +15,7 @@ export interface OaAssetsCode {
// 仓库品牌
brand?: string;
// 价格
// 详情内容
content?: string;
// 购买时间
@ -17,7 +17,7 @@ export interface OaAssetsDomain {
// 初始密码
password?: string;
// ssl证书
@ -17,7 +17,7 @@ export interface OaAssetsEmail {
// 初始账号
system?: string;
@ -17,7 +17,7 @@ export interface OaAssetsSite {
@ -17,7 +17,7 @@ export interface OaAssetsVhost {
@ -27,9 +27,9 @@ export interface Product {
// 单位名称 (个)
unitName?: string;
// 进货价格
// 销售价格
salePrice?: string;
salePrice?: number;
// 库存计算方式(10下单减库存 20付款减库存)
deductStockType?: number;
// 轮播图
@ -15,7 +15,7 @@ export interface GoodsAttrValue {
// 销量
sales?: number;
// 属性金额
// 图片
image?: string;
// 唯一值
@ -13,9 +13,9 @@ export interface GoodsSku {
// 商品图片
// 商品价格
// 市场价格
// 成本价
cost?: string;
// 库存
@ -46,7 +46,7 @@ export interface Order {
// 实际付款
payPrice?: string;
// 用于统计
// 价钱,用于积分赠送
money?: string;
// 退款金额
@ -19,7 +19,7 @@ export interface OrderInfo {
// 预约时间段
dateTime?: string;
// 单价
// 儿童价
childrenPrice?: string;
// 成人人数
@ -4,7 +4,7 @@ import type { PageParam } from '@/api';
* 押金
*/
export interface WechatDeposit {
id?: number;
// 订单id
oid?: number;
@ -14,7 +14,7 @@ export interface WechatDeposit {
orderNum?: string;
// 付款订单号
wechatOrder?: string;
// 退款订单号
wechatReturn?: string;
// 场馆名称
siteName?: string;
@ -25,10 +25,10 @@ export interface WechatDeposit {
// 物品名称
name?: string;
// 押金金额
// 押金状态,1已付款,2未付款,已退押金
status?: string;
createTime?: number;
// 租户id
tenantId?: number;
@ -18,18 +18,18 @@
:src="`https://oss.wsdns.cn/20240925/e5e47100f4b6471395b3b81f834d2902.jpg?x-oss-process=image/resize,m_fixed,w_750/quality,Q_90`"
fit="fill" :lazy="true" class="w-full md:h-[150px] h-[199px] cursor-pointer"/>
<div class="flex-1 px-4 py-5 sm:p-6 !p-4">
<p class="text-gray-700 dark:text-white text-base font-semibold flex flex-col gap-1.5">
<div class="text-gray-700 dark:text-white text-base font-semibold flex flex-col gap-1.5">
<div class="flex-1 text-xl cursor-pointer">{{ item.title }}</div>
<div class="text-red-500">¥{{ item.price }}</div>
</p>
<p v-if="item.price > 0" class="flex items-center gap-1.5 py-2 text-gray-500 justify-between">
</div>
<div v-if="item.price && item.price > 0" class="flex items-center gap-1.5 py-2 text-gray-500 justify-between">
<div class="text-gray-500">{{ item.comments }}</div>
<div class="button-group flex justify-center mt-3">
<el-button class="w-full" :icon="ElIconView" @click="openSpmUrl('/item', item,item.goodsId,true)">
<el-button class="w-full" :icon="ElIconView" @click="openSpmUrl('/item', item,item.productId,true)">
查看详情
</el-button>
<el-button type="primary" v-if="item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买
<el-button type="primary" v-if="item.price && item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买
<el-button v-else class="w-full" :icon="ElIconShoppingCart">下载</el-button>
@ -6,13 +6,12 @@
<el-card shadow="hover" :body-style="{ padding: '0px' }" class="hover:bg-gray-50 cursor-pointer" @click="openSpmUrl(`/detail`,item,item.articleId,true)">
<el-image :src="item.image" fit="fill" :lazy="true" class="w-full h-[150px] cursor-pointer" />
<p class="text-gray-700 dark:text-white text-base font-semibold flex items-center gap-1.5">
<span class="flex-1 text-xl cursor-pointer max-h-[57px] overflow-hidden">{{ item.title }}</span>
<p class="flex items-center gap-1.5 py-2 text-gray-500">
<el-avatar :src="item.avatar" :size="20" />
<span>{{ item.nickname }} · {{ dayjs(item.createTime).format('MM-DD hh:mm') }}</span>
<div class="flex items-center gap-1.5 py-2 text-gray-500 justify-between">
</el-card>
</el-col>
@ -6,15 +6,15 @@
<el-image :src="item.image" fit="fill" :lazy="true" class="w-full md:h-[150px] h-[199px] cursor-pointer" />
<div class="text-gray-700 dark:text-white text-base font-semibold flex items-center gap-1.5">
<span class="flex-1 text-xl cursor-pointer max-h-[57px] overflow-hidden">
{{ item.title }}</span>
<div class="flex items-center gap-1.5 py-2 text-gray-500">
<el-icon v-if="item.permission > 0"><Lock /></el-icon>
<el-card shadow="hover" :body-style="{ padding: '0px' }" class="hover:bg-gray-50 cursor-pointer">
<el-image :src="item.appIcon" fit="contain" :lazy="true" class="w-full md:h-[150px] h-[199px] cursor-pointer" />
<span class="flex-1 text-xl cursor-pointer">{{ item.appName }}</span>
<p class="flex items-center gap-1.5 py-2 text-gray-500 justify-between">
<span class="text-gray-500">{{ item.comments }} </span>
<el-button class="w-full" :icon="ElIconView" @click="openSpmUrl(`/item`,item,item.appId,true)">查看详情</el-button>
<el-button v-if="item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买</el-button>
<el-button v-if="item.price && item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买</el-button>
<el-button v-else class="w-full" :icon="ElIconSetting" @click="openSpmUrl(`https://${item.tenantId}.websoft.top`,item,item.appId,true)">控制台</el-button>
@ -17,13 +17,13 @@
@click="openSpmUrl(`/detail`,item,item.articleId,true)">
<el-image :src="item.image" fit="fill" :lazy="true" class="w-full md:h-[150px] h-[199px] cursor-pointer"/>
<el-avatar :src="item.avatar" :size="20"/>
<el-button class="w-full" size="large" :icon="ElIconView" @click="openSpmUrl('/item', item,item.goodsId,true)">
<el-button type="primary" size="large" v-if="item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买
<el-button type="primary" size="large" v-if="item.price && item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买
<el-button v-else class="w-full" size="large" :icon="ElIconShoppingCart">下载</el-button>
@ -18,16 +18,16 @@
<div class="flex-1 text-xl cursor-pointer">{{ item.plugName }}</div>
<el-button class="w-full" size="large" :icon="ElIconView" @click="openSpmUrl(`/item`, item,item.plugId,true)">查看详情</el-button>
<el-button class="w-full" size="large" :icon="ElIconView" @click="openSpmUrl(`/item`, item,item.productId,true)">查看详情</el-button>
@ -18,13 +18,13 @@
:src="`${item.image}`"
<p v-if="item.price && item.price > 0" class="flex items-center gap-1.5 py-2 text-gray-500 justify-between">
<el-button class="w-full" size="large" :icon="ElIconView" @click="openSpmUrl('/item', item,item.productId,true)">
@ -11,13 +11,13 @@
</template>
<el-card shadow="hover" :body-style="{ padding: '0px' }" class="hover:bg-gray-50 cursor-pointer" @click="openSpmUrl(`/detail`,item,item.articleId)">
@ -6,12 +6,12 @@
<el-image :src="`${item.image}`" fit="contain" :lazy="true" class="w-full md:h-[150px] h-[199px] cursor-pointer" />
<el-button class="w-full" size="large" :icon="ElIconView" @click="openSpmUrl(`/item`, item, item.productId,true)">在线体验</el-button>
<el-button type="primary" size="large" class="w-full" :icon="ElIconShoppingCart">下载源码</el-button>
@ -8,16 +8,16 @@
:src="item.image"
fit="scale-down" :lazy="true" class="w-full md:h-[150px] h-[199px] cursor-pointer"/>
<span class="flex-1 text-xl cursor-pointer">{{ item.title }}</span>
<div class="text-red-500" v-if="item.price > 0">¥{{ item.price }}</div>
<div class="text-red-500" v-if="item.price && item.price > 0">¥{{ item.price }}</div>
<el-button class="w-full" size="large" @click.stop="openSpmUrl(`/item`, item, item.productId,true)">查看详情</el-button>
<el-button type="primary" v-if="item.price > 0" size="large" class="w-full" :icon="ElIconShoppingCart" @click.stop="openSpmUrl(`/item`, item, item.productId,true)">购买
<el-button type="primary" v-if="item.price && item.price > 0" size="large" class="w-full" :icon="ElIconShoppingCart" @click.stop="openSpmUrl(`/item`, item, item.productId,true)">购买
<el-button v-else class="w-full" size="large">下载插件</el-button>
@ -6,13 +6,13 @@
<div class="text-red-500">¥{{ item.price }} </div>
<el-button class="w-full" size="large" :icon="ElIconView" @click="openSpmUrl(`/item`, item, item.productId,true)">查看详情</el-button>
<el-button type="primary" size="large" v-if="item.price && item.price > 0" class="w-full" :icon="ElIconShoppingCart">购买</el-button>