fix(组件): 修补组件引用缺失

This commit is contained in:
2025-12-31 16:58:09 +08:00
parent 6a1bf3b5bc
commit d744e1c16d
34 changed files with 1151 additions and 716 deletions

View File

@@ -34,6 +34,14 @@
<script>
import nsAdv from '@/pages_tool/components/ns-adv/ns-adv.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
data() {
return {
@@ -41,7 +49,14 @@
};
},
components: {
nsAdv
nsAdv,
MescrollUni,
nsLogin,
loadingCover,
nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
onShow() {
this.setPublicShare();

View File

@@ -10,7 +10,7 @@
style="background: #1daa39;width: 100%;border-radius: 10rpx;">
<view class="bl bor" style="box-sizing: border-box;">
<image mode="heightFix" :src="$util.img('public/static/img/liuyan.png')"></image>
<view class="name bl line1" style="margin-top: 6rpx;">在线留言</view>
<view class="name bl line1" style="margin-top: 6rpx;">{{ $lang('onlineMessage') }}</view>
</view>
</view>
</view>
@@ -22,19 +22,20 @@
<button class="bl bor" hoverClass="none" openType="contact" sessionFrom="weapp"
showMessageCard="true" style="margin: 0;">
<image mode="heightFix" :src="$util.img('public/static/img/kefu.png')"></image>
<view class="name bl line1">专属客服</view>
<view class="name bl line1">{{ $lang('exclusiveCustomerService') }}</view>
</button>
</view>
<view @click="tapMessage" class="view_li w50_li text-center">
<view class="bl bor" style="box-sizing: border-box;">
<image mode="heightFix" :src="$util.img('public/static/img/liuyan.png')"></image>
<view class="name bl line1" style="margin-top: 6rpx;">在线留言</view>
<view class="name bl line1" style="margin-top: 6rpx;">{{ $lang('onlineMessage') }}</view>
</view>
</view>
</view>
<!-- #endif -->
<view class="view_ul_100" v-for="(item, index) in dataList" :key="index" style="margin-bottom: 20rpx;">
<view class="view_ul_100" v-for="(item, index) in dataList" :key="index"
style="margin-bottom: 20rpx;">
<view class="bl clearfix bor bg-white"
:style="{ backgroundImage: ' url(' + $util.img(personnel_bg) + ')', backgroundSize: '100% 100%' }">
@@ -50,10 +51,7 @@
<image mode="widthFix" :src="$util.img('public/static/img/boda.png')"
style="margin-top: 8rpx;margin-right: 10rpx;"></image>
<view style="flex: 1;">{{ item.mobile }}</view>
<view
style="margin-top: 0rpx;margin-left: 10rpx;font-size: 26rpx;color:rgba(71,71,71,.79)"
@click="Tel(item.mobile)"><span
style="background: #0054a5;color:#fff;padding: 10rpx 30rpx;font-size: 24rpx;border-radius: 50rpx;">一键拨打</span>
<view class="btn-container" @click="Tel(item.mobile)"><span class="contact-btn" style="background: #0054a5;">{{ $lang('call') }}</span>
</view>
</view>
<view class="contact_name"
@@ -61,10 +59,7 @@
<image mode="widthFix" :src="$util.img('public/static/img/emall.png')"
style="margin-top: 8rpx;margin-right: 10rpx;"></image>
<view style="flex: 1;">{{ item.email }}</view>
<view
style="margin-top: 0rpx;margin-left: 10rpx;font-size: 26rpx;color:rgba(71,71,71,.79)"
@click="tomap()"><span
style="background: #888;color:#fff;padding: 10rpx 30rpx;font-size: 24rpx;border-radius: 50rpx;">立即导航</span>
<view class="btn-container" @click="copy(item.email)"><span class="contact-btn" style="background: #888;">{{ $lang('copy') }}</span>
</view>
</view>
</view>
@@ -89,7 +84,7 @@
:longitude="shop.longitude" :latitude="shop.latitude" show-location>
<cover-view
style="position:absolute;right:10px;bottom:30rpx;z-index:9;background:#4d83ff;padding:5px 10px;wxcs_style_padding:10rpx 20rpx;border-radius:8rpx;color: #fff;"
@click="tomap"><cover-view style="font-size:24rpx">一键导航</cover-view>
@click="tomap"><cover-view style="font-size:24rpx">{{ $lang('oneClickNavigation') }}</cover-view>
</cover-view>
</map>
</view>
@@ -109,44 +104,41 @@
<uni-popup ref="informationPopup" type="bottom" @change="change">
<view class="liuyan-popup-layer popup-layer">
<view class="head-wrap" @click="closeinformationPopup()">
<text>在线留言</text>
<text>{{ $lang('onlineMessage') }}</text>
<text class="iconfont icon-close"></text>
</view>
<scroll-view scroll-y class="liuyan-body">
<view style="padding: 0 30rpx;">
<view class="fui-cell-group">
<view class="fui-cell ">
<view class="fui-cell-label ">姓名</view>
<view class="fui-cell-label ">{{ $lang('name') }}</view>
<view class="fui-cell-info">
<input v-model="Form.realname" class="fui-input" placeholder="请输入您的姓名"
value=""></input>
<input v-model="Form.realname" class="fui-input" :placeholder="$lang('pleaseEnterName')" value=""></input>
</view>
</view>
<view class="fui-cell ">
<view class="fui-cell-label">联系方式</view>
<view class="fui-cell-label">{{ $lang('contactInfo') }}</view>
<view class="fui-cell-info">
<input v-model="Form.mobile" class="fui-input" maxlength="11"
placeholder="请输入您的手机号" type="number"></input>
<input v-model="Form.mobile" class="fui-input" maxlength="11" :placeholder="$lang('pleaseEnterMobile')" type="number"></input>
</view>
</view>
<view class="fui-cell ">
<view class="fui-cell-label" style="position: absolute;top:10px">留言内容</view>
<view class="fui-cell-label" style="position: absolute;top:10px">{{ $lang('messageContent') }}</view>
<view class="fui-cell-info" style="margin-left: 160rpx;border: solid 2rpx #eee;">
<!-- <input v-model="Form.mailbox" class="fui-input" placeholder="请输入您的邮箱" type="text" ></input> -->
<textarea class="textarea" v-model="Form.remark" placeholder="请输入留言内容"
style="font-size: 28rpx;padding: 10rpx;"></textarea>
<textarea class="textarea" v-model="Form.remark" :placeholder="$lang('pleaseEnterMessage')" style="font-size: 28rpx;padding: 10rpx;"></textarea>
</view>
</view>
</view>
</view>
</scroll-view>
<view class="button-box"><button type="primary" @click="save()">提交</button></view>
<view class="button-box"><button type="primary" @click="save()">{{ $lang('submit') }}</button></view>
</view>
</uni-popup>
</view>
<to-top v-if="showTop" @toTop="scrollToTopNative()"></to-top>
<hover-nav></hover-nav>
<diy-bottom-nav></diy-bottom-nav>
<diy-bottom-nav></diy-bottom-nav>
</view>
</template>
@@ -272,18 +264,23 @@ export default {
copy(text) {
uni.setClipboardData({
data: text,
success: function () {
success: () => {
console.log('复制成功');
// 可以添加用户友好的提示例如使用uni.showToast提示复制成功
uni.showToast({
title: '复制成功',
title: this.$lang('copySuccess'),
icon: 'success',
duration: 2000
});
},
fail: function () {
fail: (err) => {
console.log('复制失败');
// 可以添加错误处理或用户友好的提示
uni.showToast({
title: err.message || err.errMsg || this.$lang('copyFailed'),
icon: 'none',
duration: 2000
});
}
});
},
@@ -291,7 +288,7 @@ export default {
uni.openLocation({
latitude: parseFloat(this.shop.latitude),
longitude: parseFloat(this.shop.longitude),
name: "一键导航",
name: this.$lang('oneClickNavigation'),
})
}
}
@@ -546,6 +543,27 @@ image {
padding-left: 0rpx;
}
.btn-container {
white-space: nowrap;
min-width: 140rpx;
width: max-content;
margin-top: 0rpx;
margin-left: 10rpx;
font-size: 26rpx;
color: rgba(71, 71, 71, .79);
text-align: center;
}
.contact-btn {
color: #fff;
padding: 6rpx 30rpx;
font-size: 24rpx;
border-radius: 50rpx;
min-width: 100rpx;
display: inline-block;
text-align: center;
}
.contact_name image {
opacity: .79;
width: 30rpx;
@@ -563,17 +581,16 @@ image {
width: 90rpx;
z-index: 9999;
}
</style>
<style lang="scss" scoped>
/deep/ .mescroll-totop {
right: 27rpx!important;
/* #ifdef H5 */
bottom: 120rpx!important;
/* #endif */
/* #ifdef MP-WEIXIN */
bottom: 180rpx!important;
/* #endif */
}
/deep/ .mescroll-totop {
right: 27rpx !important;
/* #ifdef H5 */
bottom: 120rpx !important;
/* #endif */
/* #ifdef MP-WEIXIN */
bottom: 180rpx !important;
/* #endif */
}
</style>

View File

@@ -27,11 +27,25 @@
import uniGrid from '@/components/uni-grid/uni-grid.vue';
import uniGridItem from '@/components/uni-grid-item/uni-grid-item.vue';
import nsAdv from '@/pages_tool/components/ns-adv/ns-adv.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
uniGrid,
uniGridItem,
nsAdv
nsAdv,
MescrollUni,
nsLogin,
loadingCover,
nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {

View File

@@ -70,7 +70,23 @@
</template>
<script>
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
MescrollUni,
nsLogin,
loadingCover,
nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {
list: [],

View File

@@ -1,7 +1,8 @@
<template>
<view class="goods-evaluate" :style="themeColor">
<view class="evaluate-tab">
<view v-for="(item, index) in evaluateList" :key="index" :class="evaluateTab == item.value ? 'active-tab' : ''" @click="onEvaluateTab(item.value)">
<view v-for="(item, index) in evaluateList" :key="index"
:class="evaluateTab == item.value ? 'active-tab' : ''" @click="onEvaluateTab(item.value)">
{{ item.name }}({{ item.count }})
</view>
</view>
@@ -11,26 +12,32 @@
<view class="evaluator">
<view>
<view class="evaluator-face">
<image v-if="item.member_headimg" :src="$util.img(item.member_headimg)" @error="imageError(index)" mode="aspectFill" />
<image v-if="item.member_headimg" :src="$util.img(item.member_headimg)"
@error="imageError(index)" mode="aspectFill" />
<image v-else :src="$util.getDefaultImage().head" mode="aspectFill" />
</view>
<view class="evaluator-info">
<view class="evaluator-info-left">
<view class="evaluator-name using-hidden" v-if="item.member_name.length > 2 && item.is_anonymous == 1">
<view class="evaluator-name using-hidden"
v-if="item.member_name.length > 2 && item.is_anonymous == 1">
{{ item.member_name[0] }}***{{ item.member_name[item.member_name.length - 1] }}
</view>
<text class="evaluator-name using-hidden" v-else>{{ item.member_name }}</text>
<view class="evaluator-time color-tip">{{ $util.timeStampTurnTime(item.create_time) }}</view>
<view class="evaluator-time color-tip">{{ $util.timeStampTurnTime(item.create_time)
}}</view>
</view>
<view class="evaluator-xing">
<xiaoStarComponent :starCount="item.scores * 2"></xiaoStarComponent>
</view>
<view class="evaluator-xing"><xiaoStarComponent :starCount="item.scores * 2"></xiaoStarComponent></view>
</view>
</view>
</view>
<view class="cont">{{ item.content }}</view>
<scroll-view scroll-x="true">
<view class="evaluate-img" v-if="item.images">
<view class="img-box" v-for="(img, img_index) in item.images" :key="img_index" @click="previewEvaluate(index, img_index, 'images')">
<view class="img-box" v-for="(img, img_index) in item.images" :key="img_index"
@click="previewEvaluate(index, img_index, 'images')">
<image :src="$util.img(img)" mode="aspectFill" />
</view>
</view>
@@ -46,12 +53,8 @@
<view class="cont">{{ item.again_content }}</view>
<scroll-view scroll-x="true">
<view class="evaluate-img" v-if="item.again_images.length > 0">
<view
class="img-box"
v-for="(again_img, again_index) in item.again_images"
:key="again_index"
@click="previewEvaluate(index, again_index, 'again_images')"
>
<view class="img-box" v-for="(again_img, again_index) in item.again_images"
:key="again_index" @click="previewEvaluate(index, again_index, 'again_images')">
<image :src="$util.img(again_img)" mode="aspectFill"></image>
</view>
</view>
@@ -71,9 +74,26 @@
</template>
<script>
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
import xiaoStarComponent from '@/components/xiao-star-component/xiao-star-component.vue';
export default {
components: { xiaoStarComponent },
components: {
xiaoStarComponent,
MescrollUni,
nsLogin,
loadingCover,
nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {
goodsId: 0,
@@ -198,11 +218,13 @@ export default {
padding: 8rpx 30rpx;
font-size: 24rpx;
}
.active-tab {
background-color: $base-color;
color: #fff;
}
}
.evaluate-item {
margin: $margin-updown $margin-both;
padding: $margin-both;
@@ -210,7 +232,7 @@ export default {
border-radius: 10rpx;
.evaluator {
& > view {
&>view {
display: flex;
align-items: center;
}
@@ -243,6 +265,7 @@ export default {
// margin-top: 14rpx;
line-height: 1;
}
.evaluator-info-left {
display: flex;
align-items: center;
@@ -318,7 +341,7 @@ export default {
float: right;
}
& + .cont {
&+.cont {
margin: 18rpx 0 0;
}
}
@@ -330,7 +353,7 @@ export default {
color: #000;
line-height: 1;
& + .cont {
&+.cont {
margin-top: 10rpx !important;
}
}

View File

@@ -65,12 +65,20 @@
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
MescrollUni,
nsLogin,
loadingCover
loadingCover,
nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {

File diff suppressed because it is too large Load Diff

View File

@@ -54,12 +54,18 @@
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
nsEmpty,
nsLogin,
loadingCover,
MescrollUni
MescrollUni,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
const currentDate = this.getDate({

View File

@@ -40,6 +40,9 @@ import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
import collection from './public/js/collection.js';
export default {
@@ -48,7 +51,10 @@ export default {
nsEmpty,
nsLogin,
loadingCover,
MescrollUni
MescrollUni,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
mixins: [collection],
data() {

View File

@@ -74,12 +74,18 @@ import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
nsEmpty,
nsLogin,
loadingCover,
MescrollUni
MescrollUni,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {

View File

@@ -68,13 +68,19 @@ import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
nsEmpty,
nsLogin,
loadingCover,
MescrollUni
MescrollUni,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {

View File

@@ -49,12 +49,18 @@ import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
nsEmpty,
nsLogin,
loadingCover,
MescrollUni
MescrollUni,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
const currentDate = this.getDate({

View File

@@ -34,12 +34,18 @@ import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
nsEmpty,
nsLogin,
loadingCover,
MescrollUni
MescrollUni,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {

View File

@@ -3,7 +3,8 @@
<mescroll-uni @getData="getData" ref="mescroll">
<block slot="list">
<view class="notice-list" v-if="dataList.length">
<view class="notice-item" @click="jumpDetail(item.id)" v-for="(item, index) in dataList" :key="index">
<view class="notice-item" @click="jumpDetail(item.id)" v-for="(item, index) in dataList"
:key="index">
<view class="title-info">
<view class="title">
<text v-if="item.is_top == 1" class="color-base-bg tag">置顶</text>
@@ -27,152 +28,167 @@
</template>
<script>
export default {
data() {
return {
dataList: []
};
},
onShow() {
this.setPublicShare();
},
methods: {
getData(mescroll) {
this.$api.sendRequest({
url: '/api/notice/page',
data: {
page_size: mescroll.size,
page: mescroll.num
},
success: res => {
let newArr = [];
let msg = res.message;
if (res.code == 0 && res.data) {
newArr = res.data.list;
} else {
this.$util.showToast({
title: msg
});
}
mescroll.endSuccess(newArr.length);
//设置列表数据
if (mescroll.num == 1) this.dataList = []; //如果是第一页需手动制空列表
this.dataList = this.dataList.concat(newArr); //追加新数据
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
},
fail: res => {
mescroll.endErr();
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
export default {
components: {
nsLogin,
MescrollUni,
nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
},
data() {
return {
dataList: []
};
},
onShow() {
this.setPublicShare();
},
methods: {
getData(mescroll) {
this.$api.sendRequest({
url: '/api/notice/page',
data: {
page_size: mescroll.size,
page: mescroll.num
},
success: res => {
let newArr = [];
let msg = res.message;
if (res.code == 0 && res.data) {
newArr = res.data.list;
} else {
this.$util.showToast({
title: msg
});
}
});
},
jumpDetail(e) {
this.$util.redirectTo('/pages_tool/notice/detail?notice_id=' + e);
},
// 设置公众号分享
setPublicShare() {
let shareUrl = this.$config.h5Domain + '/pages_tool/notice/list';
this.$util.setPublicShare({
title: '公告',
desc: '',
link: shareUrl,
imgUrl: this.siteInfo ? this.$util.img(this.siteInfo.logo_square) : ''
});
}
mescroll.endSuccess(newArr.length);
//设置列表数据
if (mescroll.num == 1) this.dataList = []; //如果是第一页需手动制空列表
this.dataList = this.dataList.concat(newArr); //追加新数据
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
},
fail: res => {
mescroll.endErr();
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
}
});
},
onShareAppMessage(res) {
var title = '公告';
var path = '/pages_tool/notice/list';
return {
title: title,
path: path,
success: res => {},
fail: res => {}
};
jumpDetail(e) {
this.$util.redirectTo('/pages_tool/notice/detail?notice_id=' + e);
},
// 设置公众号分享
setPublicShare() {
let shareUrl = this.$config.h5Domain + '/pages_tool/notice/list';
this.$util.setPublicShare({
title: '公告',
desc: '',
link: shareUrl,
imgUrl: this.siteInfo ? this.$util.img(this.siteInfo.logo_square) : ''
});
}
};
},
onShareAppMessage(res) {
var title = '公告';
var path = '/pages_tool/notice/list';
return {
title: title,
path: path,
success: res => { },
fail: res => { }
};
}
};
</script>
<style lang="scss" scoped>
/deep/ .fixed {
position: relative;
top: 0;
}
/deep/ .fixed {
position: relative;
top: 0;
}
.cart-empty {
padding-top: 308rpx;
}
.cart-empty {
padding-top: 308rpx;
}
.notice-list {
.notice-item {
margin: $margin-updown $margin-both;
background: #fff;
border-radius: 10rpx;
padding: 32rpx 34rpx;
box-sizing: border-box;
.notice-list {
.notice-item {
margin: $margin-updown $margin-both;
background: #fff;
border-radius: 10rpx;
padding: 32rpx 34rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
line-height: 1;
.title-info {
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
line-height: 1;
overflow: hidden;
.title-info {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
overflow: hidden;
.title {
flex: 6;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
align-items: center;
.txt {
color: #000;
font-size: $font-size-base;
}
.tag {
font-size: 22rpx;
color: #ffffff;
line-height: 28rpx;
border-radius: 6rpx;
padding: 2rpx 6rpx;
margin-right: 10rpx;
}
}
.release-time {
flex: 2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: 20rpx;
color: $color-tip;
text-align: right;
font-size: $font-size-tag;
}
.iconfont {
color: $color-tip;
font-size: $font-size-tag;
}
}
.content {
margin-top: 10rpx;
display: inline-block;
white-space: nowrap;
.title {
flex: 6;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
white-space: nowrap;
display: flex;
align-items: center;
.txt {
color: #000;
font-size: $font-size-base;
}
.tag {
font-size: 22rpx;
color: #ffffff;
line-height: 28rpx;
border-radius: 6rpx;
padding: 2rpx 6rpx;
margin-right: 10rpx;
}
}
.release-time {
flex: 2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: 20rpx;
color: $color-tip;
font-size: $font-size-goods-tag;
padding-bottom: 30rpx;
text-align: right;
font-size: $font-size-tag;
}
.iconfont {
color: $color-tip;
font-size: $font-size-tag;
}
}
.content {
margin-top: 10rpx;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
color: $color-tip;
font-size: $font-size-goods-tag;
padding-bottom: 30rpx;
}
}
}
</style>

View File

@@ -58,11 +58,15 @@
import refundMethod from './public/js/refundMethod.js';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
export default {
components: {
MescrollUni,
nsEmpty
nsEmpty,
nsLogin,
loadingCover
},
data() {
return {

View File

@@ -44,6 +44,7 @@ import nsLogin from '@/components/ns-login/ns-login.vue';
import loadingCover from '@/components/loading-cover/loading-cover.vue';
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
export default {
components: {
nsLogin,