Browse Source

修改问题

master
396316021 1 year ago
parent
commit
83833b6ff5
  1. 29
      components/PetPage/index.vue
  2. 7
      pages/Coupons/components/index.scss
  3. 5
      pages/Coupons/index.vue
  4. 3
      pages/FeedLog/index.vue
  5. 6
      pages/Index/components/OrderPage/index.vue
  6. 2699
      pages/OrderConfirm/end.vue
  7. 183
      pages/OrderConfirm/start.vue
  8. 117
      pages/OrderDetail/components/fomItem.vue
  9. 975
      pages/OrderDetail/index.vue
  10. 17
      pages/OrderPage/index.vue
  11. 2
      pages/PetDetail/index.vue
  12. 12
      pages/UserCoupons/components/index.scss
  13. 4
      pages/UserCoupons/index.vue
  14. 7
      pages/UserOrderPage/index.vue
  15. 2
      uni_modules/mz-card/changelog.md
  16. 27
      uni_modules/mz-card/components/mz-card/mz-card.vue
  17. 83
      uni_modules/mz-card/package.json
  18. 3
      uni_modules/mz-card/readme.md

29
components/PetPage/index.vue

@ -228,7 +228,7 @@
</view>
<view class="item-content row">
<view class="item-content-text row">
<vu-upload
<uv-upload
width="160rpx"
height="160rpx"
:fileList="imagesList"
@ -239,7 +239,7 @@
uploadIcon="plus"
@afterRead="afterImgRead"
@delete="deleteImg"
></vu-upload>
></uv-upload>
</view>
</view>
</view>
@ -296,7 +296,7 @@
<view
@click="delPetCheck(index)"
class="close-icon"
style="position:absolute;right:0rpx;top:0rpx;z-index:2;background-color:#fff;border-radius: 50%;"
style="position:absolute;right:0;top:0;z-index:2;background-color:#fff;border-radius: 50%;"
>
<u-image :src="staticImage.closeIcon" mode="widthFix" width="40" height="40"></u-image>
</view>
@ -760,8 +760,8 @@
getDetail(id).then(res => {
this.data = res.data;
this.data.birthday = uni.$u.timeFormat(this.data.birthday,'yyyy-mm-dd');
this.data.last_vaccine_time = uni.$u.timeFormat(this.data.last_vaccine_time,'yyyy-mm');
this.data.last_insect_repellent_time = uni.$u.timeFormat(this.data.last_insect_repellent_time,'yyyy-mm');
this.data.last_vaccine_time = this.data.last_vaccine_time ? uni.$u.timeFormat(this.data.last_vaccine_time,'yyyy-mm'):'';
this.data.last_insect_repellent_time = this.data.last_insect_repellent_time?uni.$u.timeFormat(this.data.last_insect_repellent_time,'yyyy-mm'):'';
this.sexList.forEach(res=>{
if(res.value===this.data.sex){
this.data.sex_name = res.name;
@ -771,17 +771,24 @@
if(res.value===this.data.is_home){
this.data.is_home_name = res.name;
}
if(res.value===this.data.is_health){
this.data.is_health_name = res.name;
}
});
this.avatarList = res.data.avatar.split(',').map(item => {
return {url:item};
});
this.imagesList = res.data.images.map(item => {
this.avatarList = res.data.avatar && res.data.avatar.split(',').map(item => {
return {url:item};
});
this.videoList = res.data.video.split(',').map(item => {
if((res.data.images && res.data.images.length > 0)){
this.imagesList = res.data.images.map(item => {
return {url:item};
});
}
this.videoList = res.data.video && res.data.video.split(',').map(item => {
return {url:item};
});
this.backgroundList = res.data.background_image.split(',').map(item => {
this.backgroundList = res.data.background_image && res.data.background_image.split(',').map(item => {
return {url:item};
});
})

7
pages/Coupons/components/index.scss

@ -64,12 +64,7 @@
align-items: flex-end;
justify-content: center;
.coupons-big-title{
text-align: center;
font-size: 90rpx;
font-family: Source Han Sans CN;
font-weight: 800;
color: #FFFFFF;
line-height: 1;
text-shadow: 0rpx 0rpx 14rpx rgba(209,145,70,0.21);
}
.coupons-big-desc{

5
pages/Coupons/index.vue

@ -16,7 +16,10 @@
<view class="coupons-item row">
<view class="coupons-left ">
<view class="coupons-big-title-group row">
<view class="coupons-big-title">{{item.price}}</view>
<view class="coupons-big-title">
<u-text :text="item.price" :size="item.price>99?60:90" color="#ffffff" align="center" line-height="90" bold></u-text>
<!-- {{item.price}}-->
</view>
<view class="coupons-big-desc"></view>
</view>
<view class="coupons-cause">

3
pages/FeedLog/index.vue

@ -382,7 +382,7 @@
},
uploadSubmit(data,fileName = ''){
this.detail.feedlist[fileName] = data.map(item => {
return item.url;
return {url:item.url,type:item.type};
})
},
uploadShow(data,fileName = ''){
@ -416,6 +416,7 @@
message: '',
url: res.show_path,
thumb: res.show_path,
type:api.getFileType(res.show_path)
});
fileListLen++;
})

6
pages/Index/components/OrderPage/index.vue

@ -3,7 +3,7 @@
top:topStyle
}">
<view class="order-capsule-container row">
<view class="order-capsule col-4"
<view class="order-capsule col-3 "
v-for="(item,index) in screenMenu"
:class="{active:(item.value === screenCheck)}"
@click="selectScreen(item)"
@ -54,6 +54,7 @@
color="#131313"
size="32"
:lines="1"
line-height="32"
></u-text>
</view>
<view class="order-card-tag-container row">
@ -152,6 +153,9 @@
},{
name:'待服务',
value:'0',
},{
name:'服务中',
value:'1',
},{
name:'已完成',
value:'2',

2699
pages/OrderConfirm/end.vue

File diff suppressed because it is too large Load Diff

183
pages/OrderConfirm/start.vue

@ -22,61 +22,108 @@
prop="needTime"
:custom-style="{padding:'0',paddingBottom:'30rpx;'}"
>
<view class="form-label">
<u-text size="30" text="需要到达时间"></u-text>
</view>
<u-cell
:title="model.needTime"
custom-style="padding:0"
>
<mz-card>
<view class="form-label">
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
</u-cell>
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">需要到达时间</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="需要到达时间"></u-text>-->
</view>
<u-cell
:title="model.needTime"
custom-style="padding:0"
>
</u-cell>
</mz-card>
<uv-datetime-picker ref="needTime" v-model="model.needTime" model="datetime"></uv-datetime-picker>
</u-form-item>
<u-form-item
prop="arriveTime"
:custom-style="{padding:'0',paddingBottom:'30rpx;'}"
:custom-style="{padding:'0',paddingBottom:'30rpx'}"
>
<view class="form-label">
<u-text size="30" text="实际到达时间"></u-text>
</view>
<u-cell
:title="model.arrival_time || '请选择到达时间'"
is-link
@click="$refs.arriveTime.open();"
custom-style="padding:0"
>
<mz-card>
<view class="form-label">
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">实际到达时间</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="实际到达时间"></u-text>-->
</view>
<u-cell
:title="(shows.arrivalTime && $u.timeFormat(shows.arrivalTime,'yyyy年mm月dd日 hh时MM分')) || '请选择到达时间'"
is-link
@click="$refs.arriveTime.open();"
custom-style="padding:0"
>
</u-cell>
</u-cell>
</mz-card>
<!-- <u-text size="30" :text="model.arriveTime" @click="$refs.arriveTime.open();"></u-text>-->
<uv-datetime-picker ref="arriveTime" :value="model.arrival_time" mode="datetime" @confirm="timeConfirm"></uv-datetime-picker>
<uv-datetime-picker ref="arriveTime" :value="shows.arrivalTime" mode="datetime" @confirm="timeConfirm"></uv-datetime-picker>
</u-form-item>
<u-form-item
prop="userInfo.sex"
:custom-style="{padding:'34rpx 0'}"
:custom-style="{padding:'0',paddingBottom:'30rpx'}"
>
<view class="form-label">
<u-text size="30" text="宠托师身份确认"></u-text>
</view>
<uv-upload
accept="media"
width="160rpx"
height="160rpx"
:fileList="images.worker_confirm"
name="1"
multiple
:maxCount="10"
uploadIcon="plus"
@delete="(res) => {uploadDel(res,'worker_confirm')}"
@afterRead="(res) => {uploadPut(res,'worker_confirm')}"
></uv-upload>
<mz-card>
<view class="form-label">
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">宠托师身份确认</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="宠托师身份确认"></u-text>-->
</view>
<uv-upload
accept="media"
width="160rpx"
height="160rpx"
:fileList="images.worker_confirm"
name="1"
multiple
:maxCount="10"
uploadIcon="plus"
@delete="(res) => {uploadDel(res,'worker_confirm')}"
@afterRead="(res) => {uploadPut(res,'worker_confirm')}"
></uv-upload>
</mz-card>
</u-form-item>
<u-form-item
prop="userInfo.sex"
:custom-style="{padding:'34rpx 0'}"
:custom-style="{padding:'0',paddingBottom:'30rpx'}"
>
<mz-card>
<view class="form-label">
<u-text size="30" text="手部消毒"></u-text>
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">手部消毒</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="手部消毒"></u-text>-->
</view>
<uv-upload
accept="media"
@ -90,13 +137,25 @@
@delete="(res) => {uploadDel(res,'hand_disinfect')}"
@afterRead="(res) => {uploadPut(res,'hand_disinfect')}"
></uv-upload>
</mz-card>
</u-form-item>
<u-form-item
prop="userInfo.sex"
:custom-style="{padding:'34rpx 0'}"
:custom-style="{padding:'0',paddingBottom:'30rpx'}"
>
<mz-card>
<view class="form-label">
<u-text size="30" text="全身消毒"></u-text>
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">全身消毒</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="全身消毒"></u-text>-->
</view>
<uv-upload
accept="media"
@ -110,14 +169,25 @@
@delete="(res) => {uploadDel(res,'body_disinfect')}"
@afterRead="(res) => {uploadPut(res,'body_disinfect')}"
></uv-upload>
</mz-card>
</u-form-item>
<u-form-item
prop="userInfo.sex"
:custom-style="{padding:'34rpx 0'}"
:custom-style="{padding:'0',paddingBottom:'30rpx'}"
>
<mz-card>
<view class="form-label">
<u-text size="30" text="钥匙开启/收取"></u-text>
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">全身消毒</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="钥匙开启/收取"></u-text>-->
</view>
<uv-upload
accept="media"
@ -141,18 +211,31 @@
padding:'20rpx 20rpx'
}"
></u-textarea>
</mz-card>
</u-form-item>
<u-form-item
prop="remark"
:custom-style="{padding:'0'}"
>
<mz-card>
<view class="form-label">
<u-text size="30" text="服务工具"></u-text>
<view class="title row" style="position:relative;justify-content: flex-start;width:100%;top:0rpx;left:0;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:30rpx;display:inline-block;position: relative;z-index: 2;">服务工具</view>
<view class="background" style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
<!-- <u-text size="30" text="服务工具"></u-text>-->
</view>
<u-checkbox-group size="40" v-model="service_tools">
<u-checkbox name="汪汪行天下自备专业萌宠服务用品" label="汪汪行天下自备专业萌宠服务用品" labelSize="28" icon-size="28" active-color="#4EC2B7"></u-checkbox>
<u-checkbox name="宠主要求使用家中物品" label="宠主要求使用家中物品" labelSize="28" icon-size="28" active-color="#4EC2B7"></u-checkbox>
</u-checkbox-group>
</mz-card>
</u-form-item>
</u-form>
<view class="bottom-btn border-box" style="box-sizing: border-box;">
@ -212,6 +295,9 @@ export default {
key_info :'',
service_tools:'',
},
shows:{
arrivalTime :'',
},
images:{
worker_confirm:[],
hand_disinfect:[],
@ -224,7 +310,8 @@ export default {
onLoad(option) {
this.model.order_service_id = option.id;
this.getDetail(option.id);
// this.model.arrival_time = uni.$u.timeFormat(null,'yyyymmdd hhMM');
this.shows.arrivalTime = new Date().getTime();
// this.model.arrival_time = uni.$u.timeFormat(null,'yyyy-mm-dd hh:MM');
},
computed: {
api() {
@ -238,10 +325,16 @@ export default {
})
},
timeConfirm(e){
this.shows.arrivalTime = e.value;
// this.shows.arrivalTime = uni.$u.timeFormat(e.value,'yyyymmdd hhMM');
this.model.arrival_time = uni.$u.timeFormat(e.value,'yyyy-mm-dd hh:MM');
},
submit(){
let that = this;
if(this.model.arrival_time === ''){
api.error('请选择到达时间');
return;
}
let data = [
'worker_confirm',
'hand_disinfect',

117
pages/OrderDetail/components/fomItem.vue

@ -0,0 +1,117 @@
<script>
export default {
name: "fomItem",
props: {
data: {
type: Object
},
name: {
type: String
},
type: {
type: String,
default: 'media'
},
isShow: {
type: Boolean,
default: false
},
optionName: {
type: String,
default: 'default'
}
},
data() {
return {
imageUrl: '',
imageShow: false,
}
},
methods: {
showBigImage(imgUrl) {
this.imageUrl = imgUrl;
this.imageShow = true;
},
getString(value) {
let typeStr = typeof value;
if (typeStr === 'string') {
return value;
} else if (typeStr === 'object' || typeStr === 'array') {
return value.join(',');
}
},
getShowStatus(){
if(!this.isShow){
if(this.type === 'media' || this.type === 'text'){
return (Object.keys(this.data).length>0);
}else{
return (this.data.value || this.data.option || this.data.remark || (typeof this.data.upload === 'object' && Object.keys(this.data.upload).length > 0))
}
}else{
return true;
}
},
},
}
</script>
<template>
<view class="content-item service-end" v-if="getShowStatus()">
<view class="item-title">
<view class="title row"
style="position:relative;justify-content: flex-start;width:100%;top:0;left:0;margin-bottom:30rpx;">
<view class="value col" style="position: relative;text-align: left;">
<!-- <u-text text="协议内容" size="38" color="#191919"></u-text>-->
<view class="" style="position: relative;display:inline-block;">
<view style="color:#191919;font-size:32rpx;display:inline-block;position: relative;z-index: 2;">
{{ name }}
</view>
<view class="background"
style="width:100%;height:50%;position: absolute;bottom:0;left:0;background-color:rgba(227, 191, 119, 0.6);display:inline-block;z-index:1;"></view>
</view>
</view>
</view>
</view>
<view class="item-content" v-if="type !== 'text'">
<slot name="option">
<view v-if="type !== 'media'">
{{ getString(optionName !== 'value' ? data.option:(data.value?data.value +'次':'')) }}
</view>
</slot>
<slot name="remark">
<view v-if="type !== 'media'">
{{ data.remark }}
</view>
</slot>
<slot name="media">
<view class="row">
<view class="col-4" v-for="(item,index) in (this.type === 'media')?data:data.upload">
<view class="item-image" v-if="item.type === 'image'">
<u-image @click="showBigImage(item.url)" :src="item.url" mode="widthFix" width="100%"></u-image>
</view>
<view class="item-video" v-else>
<video mode="aspectFill" :src="item.url"
style="width:100%;height:200rpx;border-radius: 16rpx;border:2rpx solid #262626;"></video>
</view>
</view>
</view>
</slot>
</view>
<view class="item-content" v-else>
<view class="">
{{data}}
</view>
</view>
</view>
<u-overlay :show="imageShow" @click="imageShow = false">
<view class="" style="display:flex;align-items: center;justify-content:center;width:100%;height:100vh;">
<u-image mode="widthFix" :src="imageUrl" height="auto" width="100vw"></u-image>
</view>
</u-overlay>
</template>
<style scoped lang="scss">
</style>

975
pages/OrderDetail/index.vue

File diff suppressed because it is too large Load Diff

17
pages/OrderPage/index.vue

@ -414,7 +414,7 @@
list: ['未付款', '待评价', '已付款'],
addTimeLists: [
[
{label:'标准时长',value:0},
{label:'不加时',value:0},
{label:'1小时',value:1},
{label:'2小时',value:2},
{label:'3小时',value:3},
@ -491,6 +491,7 @@
is_worker:false,
sign:'',
timeLineList:[],
store_id:'',
}
},
onLoad(options) {
@ -520,7 +521,7 @@
},
methods: {
getTimeLine(){
getConfig({sign:'work_time'}).then(res => {
getConfig('work_time').then(res => {
this.timeLineList = res.data.map(item => {
item.checked = false;
return item;
@ -577,14 +578,15 @@
if(this.isPay){
return;
}
uni.showLoading('加载中');
uni.showLoading({title:'加载中'});
if(
this.address
&&this.timeList.length>0
&&this.petChecked.length>0
&&this.basicServiceChecked!==''
){
if(this.addServiceList[0].store_id){
if(!this.store_id){
uni.hideLoading();
api.error('所选位置没有店铺');
return;
}
@ -606,7 +608,7 @@
}),
basic_service:this.basicServiceChecked,
pet_ids: this.petChecked.map(res => res.id).join(','),
store_id:this.addServiceList[0].store_id,
store_id:this.store_id,
user_coupon_id: coupons || 0,
add_time:this.add_time || 0,
}).then(res => {
@ -670,7 +672,7 @@
}),
basic_service:this.basicServiceChecked,
pet_ids: this.petChecked.map(res => res.id).join(','),
store_id:this.addServiceList[0].store_id,
store_id:this.store_id,
user_coupon_id:coupons || 0,
add_time:this.add_time || 0,
}).then(res => {
@ -751,7 +753,8 @@
this.checkOrderData();
},
getStoreServiceList(){
getStoreService({address_id: this.address.id,order_type:1}).then(res => {
getStoreService({address_id: this.address.id,order_type:this.type}).then(res => {
this.store_id = res.data.store_id;
this.addServiceList = res.data.add_service.map(item => {
item.number = 0;
return item;

2
pages/PetDetail/index.vue

@ -159,7 +159,7 @@
</view>
<view class="video-content row" >
<view class="photo-item col-4" v-for="(item, index) in pet.images" >
<view class="photo-item-container">
<view class="photo-item-container" v-if="item !== ''">
<view class="photo-content">
<image class="img" mode="widthFix" :src="item ? item : staticImage.wallpaperBgImage"/>
</view>

12
pages/UserCoupons/components/index.scss

@ -64,12 +64,12 @@
align-items: flex-end;
justify-content: center;
.coupons-big-title{
text-align: center;
font-size: 90rpx;
font-family: Source Han Sans CN;
font-weight: 800;
color: #FFFFFF;
line-height: 1;
//text-align: center;
//font-size: 90rpx;
//font-family: Source Han Sans CN;
//font-weight: 800;
//color: #FFFFFF;
//line-height: 1;
text-shadow: 0rpx 0rpx 14rpx rgba(209,145,70,0.21);
}
.coupons-big-desc{

4
pages/UserCoupons/index.vue

@ -17,7 +17,9 @@
<view class="coupons-item row">
<view class="coupons-left ">
<view class="coupons-big-title-group row">
<view class="coupons-big-title">{{item.price}}</view>
<view class="coupons-big-title">
<u-text :text="item.price" :size="item.price>99?60:90" color="#ffffff" align="center" line-height="90" bold></u-text>
</view>
<view class="coupons-big-desc"></view>
</view>
<view class="coupons-cause">

7
pages/UserOrderPage/index.vue

@ -8,7 +8,7 @@
top:topStyle
}">
<view class="order-capsule-container row">
<view class="order-capsule col-4"
<view class="order-capsule col-3"
v-for="(item,index) in screenMenu"
:class="{active:(item.value === screenCheck || (item.value === ''&&screenCheck===''))}"
@click="selectScreen(item)"
@ -56,7 +56,7 @@
<view class="order-card-title" style="">
<u-text :text="item.addr"
color="#131313" size="32"
custom-style="display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;"></u-text>
:lines="1" line-height="32"></u-text>
</view>
<view class="order-card-tag-container row">
<view class="order-card-tag" v-for="(server, i) in item.services" wx:key="i">{{ server }}</view>
@ -154,6 +154,9 @@
},{
name:'待服务',
value:'0',
},{
name:'服务中',
value:'1',
},{
name:'已完成',
value:'2',

2
uni_modules/mz-card/changelog.md

@ -0,0 +1,2 @@
## 1.0.0
mz-sticky 吸顶

27
uni_modules/mz-card/components/mz-card/mz-card.vue

@ -0,0 +1,27 @@
<template>
<view class="" style="padding:26rpx;border-radius: 20rpx;background-color:#fff;box-shadow:0rpx 0rpx 30rpx #dfdfdf">
<slot></slot>
</view>
</template>
<script>
/**
* 卡片
* @description
*
* @property {String} title 显示的文字
*/
export default {
name: 'mz-card',
methods: {
},
mounted() {
},
}
</script>
<style lang="scss" scoped>
</style>

83
uni_modules/mz-card/package.json

@ -0,0 +1,83 @@
{
"id": "mz-card",
"displayName": "mz-card 卡片",
"version": "1.0.1",
"description": "mz-card",
"keywords": [
"卡片"
],
"repository": "",
"engines": {
"HBuilderX": "^3.1.0"
},
"dcloudext": {
"type": "component-vue",
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": ""
},
"declaration": {
"ads": "无",
"data": "插件不采集任何数据",
"permissions": "无"
},
"npmurl": ""
},
"uni_modules": {
"dependencies": [
],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
},
"client": {
"Vue": {
"vue2": "y",
"vue3": "y"
},
"App": {
"app-vue": "y",
"app-nvue": "y"
},
"H5-mobile": {
"Safari": "y",
"Android Browser": "y",
"微信浏览器(Android)": "y",
"QQ浏览器(Android)": "y"
},
"H5-pc": {
"Chrome": "y",
"IE": "y",
"Edge": "y",
"Firefox": "y",
"Safari": "y"
},
"小程序": {
"微信": "y",
"阿里": "y",
"百度": "y",
"字节跳动": "y",
"QQ": "y",
"钉钉": "u",
"快手": "u",
"飞书": "u",
"京东": "u"
},
"快应用": {
"华为": "u",
"联盟": "u"
}
}
}
}
}

3
uni_modules/mz-card/readme.md

@ -0,0 +1,3 @@
## Sticky 吸顶
> **组件名:mz-sticky**
Loading…
Cancel
Save