bgAndNotice.vue
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<template>
<view>
<view class="topCardCss">
<view class="gasBodyCss">
<view class="textAreaCss">
<view class="gasTitleCss">
智慧用气
</view>
<view class="gasTipCss">
气瓶信息快捷溯源|一键订气
</view>
</view>
<view class="gasIconCss">
<u-image src="@/static/images/gas-icon/gasicon.png" width="100px" height="100px"></u-image>
</view>
</view>
<!-- 消息轮播 -->
<u-notice-bar :text="text" direction="column" color="#EB5C11" bgColor="#F1E4DB" speed="50"
url="/pages/componentsB/tag/tag"></u-notice-bar>
</view>
</view>
</template>
<script>
export default {
name: "bgAndNotice",
data() {
return {
text: [
'为了您和家人的安全,请不要使用过期的石油气钢瓶',
'温馨提示'
],
};
}
}
</script>
<style lang="scss">
.topCardCss {
background: linear-gradient(to bottom, #FBF4EF, #F3F4F2);
// padding-bottom: 10px;
}
.gasBodyCss {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
.textAreaCss {
.gasTitleCss {
font-size: 30px;
color: #EA5604;
font-weight: 600;
}
.gasTipCss {
margin-top: 10px;
color: #999999;
}
}
.gasIconCss {}
}
// .u-notice-bar {
// // margin:0 10px 10px 10px;
// border-radius: 10px;
// margin: 10px;
// }
</style>