Browse Source

上传

master
前端-胡立永 2 months ago
parent
commit
cba4456c5c
4 changed files with 31 additions and 49 deletions
  1. +28
    -6
      components/work/WorkOrderitem.vue
  2. +1
    -1
      pages_order/order/WorkOrders.vue
  3. +1
    -1
      pages_order/order/Worknotice.vue
  4. +1
    -41
      pages_order/product/productDetail.vue

+ 28
- 6
components/work/WorkOrderitem.vue View File

@ -47,18 +47,33 @@
</view>
</view>
<view class="Work-List"
<!-- <view class="Work-List"
v-if="isShowCollect">
<view class="modi"
<view class="modi a"
v-if="obj.collectonFlag"
@click.stop="addCollection">
收藏
取消收藏
</view>
<view class="modi a"
<view class="modi"
v-else
@click.stop="addCollection">
取消收藏
收藏
</view>
</view> -->
<view class="collect"
v-if="isShowCollect"
@click.stop="addCollection">
<uv-icon
size="60rpx"
v-if="obj.collectonFlag"
color="#169bd5"
name="star-fill"></uv-icon>
<uv-icon
size="60rpx"
v-else
name="star"></uv-icon>
</view>
</view>
</template>
@ -89,7 +104,7 @@
this.$emit('getData')
if(res.code == 200){
uni.showToast({
title: this.obj.collectonFlag ? '收藏成功' : '取消成功',
title: res.message,
icon: 'none'
})
this.obj.collectonFlag = !this.obj.collectonFlag
@ -107,6 +122,13 @@
padding: 15rpx;
background-color: #fff;
font-size: 28rpx;
position: relative;
.collect{
position: absolute;
right: 20rpx;
top: 20rpx;
z-index: 9;
}
.Work-List{
display: flex;
padding: 20rpx 0rpx;


+ 1
- 1
pages_order/order/WorkOrders.vue View File

@ -168,7 +168,7 @@
this.queryTemplateById()
if(res.code == 200){
uni.showToast({
title: this.TemplateById.collectonFlag ? '收藏成功' : '取消成功',
title: res.message,
icon: 'none'
})
this.TemplateById.collectonFlag = !this.TemplateById.collectonFlag


+ 1
- 1
pages_order/order/Worknotice.vue View File

@ -1,7 +1,7 @@
<template>
<!-- 公告 -->
<view class="page">
<navbar title="告" leftClick @leftClick="$utils.navigateBack" />
<navbar title="告" leftClick @leftClick="$utils.navigateBack" />
<view style="padding: 20rpx;">
<uv-parse :content="NewsById.content"></uv-parse>


+ 1
- 41
pages_order/product/productDetail.vue View File

@ -17,50 +17,10 @@
<view class="price">
<text>45.9</text>
</view>
<view class="num">
已售1000+
<image src="../static/product/like.png" mode=""></image>
</view>
</view>
<view class="tips">
<view class="tip">
专业设备
</view>
<view class="tip">
科学流程
</view>
<view class="tip">
质量保证
</view>
</view>
</view>
<view class="info-unit">
<uv-cell title="是否有桌布" isLink>
<template #icon>
<text class="text">桌布</text>
</template>
</uv-cell>
<uv-cell title="请选择规格" isLink>
<template #icon>
<text class="text">规格</text>
</template>
</uv-cell>
<uv-cell>
<template #icon>
<text>上门取件·送货上门</text>
</template>
</uv-cell>
</view>
<view class="content">
<view class="title">
商品详情
</view>
<uv-parse :content="productDetail.content"></uv-parse>
</view>
<uv-parse :content="productDetail.content"></uv-parse>
<!-- 分享和租赁按钮 -->
<submit


Loading…
Cancel
Save