| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <template>
- <view class="safe-area-inset-bottom">
- <my-bar title="发布活动" :transparent="transparent">
- <view slot="content" class="publish">
- <image src="@/static/del/del1.png" style="height: 380rpx;width: 100%;" ></image>
- </view>
- </my-bar>
- <view class="clock">
- <view class="cu-btn round sm" style="background-color: #dcdcdc;">
- <u-icon name="clock"></u-icon>
- <text class="margin-left-10">设置响应倒计时</text>
- </view>
- <view class="tips">
- <text>*</text>
- <text>如未在限定时间内响应,系统默认自动推送给旗下商户。</text>
- </view>
- </view>
-
- <view class="content">
- <text class="title" >消费新势能老品牌向新网红的跃迁之路一新消费品牌创造营广州食饮专场</text>
- <view class="data" style="margin-top: 30rpx;">
- <u-icon name="clock"></u-icon>
- <text class="margin-left-10">06/24 14:00 - 17:30</text>
- </view>
- <view class="data">
- <u-icon name="map"></u-icon>
- <text class="margin-left-10">仅限全天河区内报名</text>
- </view>
- <view class="data flex">
- <view class="flex">
- <u-icon name="grid"></u-icon>
- <text class="margin-left-10">餐饮类</text>
- </view>
- <view class="flex margin-left-50">
- <u-icon name="bag"></u-icon>
- <text class="margin-left-10">活动供应价80%</text>
- </view>
- </view>
- <view class="data">
- <u-icon name="coupon"></u-icon>
- <text class="margin-left-10">联营积分全场通用</text>
- </view>
- </view>
-
- <view class="intro">
- <view class="flex">
- <u-icon name="bookmark"></u-icon>
- <text class="margin-left-10">活动介绍</text>
- </view>
- <view class="desc">
- 2021年爆发生长了一大批新消费食饮品牌,食品饮料赛道也频频传出新品牌融资、上市的故事,新人群、新渠道、新营销崛起,让新品类、新产品得以迅速切入巿场。
- 那么经典品牌如何快速打入新人群、投入新渠道,玩转新营销.Topcamp新消费品牌创造营--广州食饮专场会给到你答案。
- </view>
- </view>
-
- <view class="attend">
- <view class="margin-bottom-20">
- <u-icon name="calendar-fill"></u-icon>
- <text class="margin-left-10">已参加</text>
- </view>
-
- <view class="flex">
- <view class="flex " style="width: 90%;">
- <view class="data" v-for="(item,index) in 3" :key="index">
- <view class="item">
- <image src="../../static/del/del2.png" mode=""></image>
- <view>
- <text>{{name | ellipsis}}</text>
- <text>0.5折</text>
- </view>
- </view>
- </view>
- </view>
- <view class="center" style="width: 10%;margin-right: 15rpx;">
- <u-icon name="more-circle" size="80" color="#ababab"></u-icon>
- </view>
- </view>
- </view>
-
- <view class="center" style="margin:50rpx 0rpx 20rpx;">
- <view class="cu-btn btn-bg-color" style="width: 90%;height: 86rpx;border-radius: 12rpx;">
- 已通过
- </view>
- </view>
- </view>
- </template>
- <script>
- import myBar from "@/components/my-bar.vue"
- export default {
- components: {
- myBar
- },
- onPageScroll(obj) {
- this.transparent = obj.scrollTop * 0.006;
- },
- filters: {
- // 名称超出显示省略号
- ellipsis(value) {
- if (!value) return '';
- if (value.length > 4) {
- return value.slice(0, 3) + '...'
- }
- return value
- }
- },
- data() {
- return {
- transparent:'',
- name:'星巴克'
- }
- },
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- .publish {
- overflow: hidden;
- border-radius: 10rpx;
- height: 380rpx;
- position: absolute;
- bottom: 20rpx;
- left: 0;
- right: 0;
- width: 92%;
- margin: 0 auto -120rpx;
- border-radius: 10rpx;
- box-shadow:0rpx 16rpx 8rpx -8rpx #a8a8a8;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- text {
- font-size: 26rpx;
- color: #797979;
- }
- }
-
- .clock {
- background-color: #FFFFFF;
- height: 240rpx;
- padding-bottom: 20rpx;
-
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- align-items: center;
-
- .tips {
- margin-top: 10rpx;
- font-size: 24rpx;
- color: #FF9447;
- }
- }
-
- .content{
- padding: 15rpx 30rpx;
- background-color: #FFFFFF;
-
- .title{
- line-height: 50rpx;
- font-weight: 800;
- font-size: 32rpx;
- }
-
- .data{
- margin: 20rpx 0;
- color: #787878;
- }
- }
-
- .intro{
- margin-top: 15rpx;
- padding: 15rpx 30rpx;
- background-color: #FFFFFF;
-
- .desc{
- color: #9a9a9a;
- margin-top: 20rpx;
- line-height: 46rpx;
- font-size: 28rpx;
- }
- }
-
- .attend{
- margin-top: 15rpx;
- padding: 15rpx 0 15rpx 30rpx;
- background-color: #FFFFFF;
-
- .data{
- margin: 10rpx 20rpx 10rpx 0;
- $width:80rpx;
- .item{
- width: 190rpx;
- height: $width;
- background-color: #eeeeee;
- border-radius: 50rpx;
- display: flex;
- image{
- width: $width;
- height: $width;
- }
- view{
- padding-left: 10rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- font-size: 22rpx;
-
- text:first-child{
- font-weight: 800;
- margin-bottom: 4rpx;
- }
- }
- }
- }
- }
- </style>
|