123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- <template>
- <view class="topic">
- <view class="tit-box">
- <text class="tit-tit">咸蛋黄酱,这是什么神仙食物</text>
- <view class="author">
- <van-icon class='icon' name="/static/imgs/zz.png" size="26rpx" />
- <text class="tit-author">幸福天使  {{new Date().toJSON().slice(0,10)}}</text>
- </view>
- <swiper class="swiper-box" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" circular>
- <swiper-item v-for="(item,index) in 3" :key='index'>
- <image class="swiper-image" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg"
- mode="aspectFit" :draggable="false" />
- </swiper-item>
- </swiper>
- <text class="tit-text">\t    不管什么零食,沾上了“咸蛋黄”三个字就让人无法自拔,总是舔完手指还觉得不满足。最近集市上了款咸蛋黄酱,可以一勺一勺挖着吃,吃过的人都表示,这是什么神仙食物啊!同事告诉我,这一罐等于12颗咸蛋黄,只用正宗高邮咸鸭蛋,腌制30天以上的,所以吃起来才这么油亮粉沙、咸香浓郁。咸蛋黄酱是百搭食材,炒什么都好吃,还可以当做各种蘸料。甚至搭配米饭,不用其他多余的东西,一勺就能干掉半碗饭。自从这么吃过一回后,它的地位已经和我最爱的韩式拌饭不相上下了。好吃不贵,记得多买两罐,以免吃完还想吃。
-     最近集市上了款咸蛋黄酱,可以一勺一勺挖着吃,吃过的人都表示,这是什么神仙食物啊!同事告诉我,这一罐等于12颗咸蛋黄,只用正宗高邮咸鸭蛋,腌制30天以上的,所以吃起来才这么油亮粉沙、咸香浓郁。咸蛋黄酱是百搭食材,炒什么都好吃,还可以当做各种蘸料。甚至搭配米饭,不用其他多余的东西,一勺就能干掉半碗饭。自从这么吃过一回后,它的地位已经和我最爱的韩式拌饭不相上下了。好吃不贵,记得多买两罐,以免吃完还想吃。`</text>
- </view>
- <view class="productList">
- <view v-for="(item,index) in 3" :key='index' class="productItem">
- <image class="productList-image" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg"
- mode="aspectFit" :draggable="false" />
- <view class="productList-right">
- <text class="tit">流水咸蛋黄酱210克</text>
- <text class="des">细腻流沙,香浓咸鲜</text>
- <text class="price">¥19.00 </text>
- <button class="btn">去购买</button>
- </view>
- </view>
- </view>
- <view class="share">
- <button class="btn">
- <van-icon class='icon' name="/static/imgs/share.png" size="26px" />
- 分享给好友</button>
- </view>
- <view class="comment">
- <view class="comment-tit">
- <text class="tit-left">精选评论</text>
- <text class="tit-right">全部评论 ></text>
- </view>
- <view v-for="(item,index) in 3" :key='index' class="comment-list">
- <view class="comment-user">
- <image class="user-ava" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg"
- mode=""></image>
- <view class="user-right">
- <text class="user-name">终极吃货</text>
- <view class="user-des">
- <text class="time">{{new Date().toJSON()}}</text>
- <text class="up">100点赞</text>
- </view>
- </view>
- </view>
- <view class="comment-des">
- <text>咸蛋黄酱是百搭食材,炒什么都好吃,还可以当做各种蘸料。自从这么吃过一回后,它的地位已经和我最爱的韩式拌饭不相上下了。</text>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- </script>
- <style lang="scss" scoped>
- .topic {
- background: #F5F5F5;
- }
- .tit-box {
- display: flex;
- flex-direction: column;
- background: #FFFFFF;
- padding: 30rpx;
- .tit-tit {
- height: 46rpx;
- font-size: 44rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #000000;
- margin-bottom: 24rpx;
- }
- .author {
- display: flex;
- align-items: center;
- margin-bottom: 43rpx;
- .tit-author {
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #666666;
- margin-left: 5rpx;
- }
- }
- .swiper-box {
- width: 680rpx;
- height: 382.5rpx;
- margin-bottom: 30rpx;
- background-color: #000000;
- .swiper-image {
- width: 100%;
- height: 100%;
- }
- }
- .tit-text {
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #0F0404;
- line-height: 48rpx;
- }
- }
- .productList {
- margin-top: 20rpx;
- background: #FFFFFF;
- margin-bottom: 30rpx;
- padding: 0 30rpx;
- .productItem {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- padding: 30rpx 0;
- border-bottom: 1rpx solid #E8E8E8;
- &:last-child {
- border-bottom: none !important;
- }
- .productList-image {
- flex-shrink: 0;
- width: 220rpx;
- height: 220rpx;
- border-radius: 10rpx;
- background-color: #C8C7CC;
- }
- .productList-right {
- box-sizing: border-box;
- padding: 20rpx;
- width: 470rpx;
- display: flex;
- flex-direction: column;
- .tit {
- height: 30rpx;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #0F0404;
- margin-bottom: 18rpx;
- }
- .des {
- height: 27rpx;
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #666666;
- margin-bottom: 20rpx;
- }
- .price {
- height: 34rpx;
- font-size: 26rpx;
- font-family: Adobe Heiti Std;
- font-weight: normal;
- color: #E31818;
- margin-bottom: 31rpx;
- }
- .btn {
- width: 138rpx;
- height: 50rpx;
- background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
- border-radius: 25rpx;
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 20rpx;
- margin: 0;
- display: flex;
- align-items: center;
- }
- }
- }
- }
- .share {
- margin-bottom: 30rpx;
- padding: 0 30rpx 10rpx;
- .btn {
- height: 100rpx;
- background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
- border-radius: 100rpx;
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0rpx 5rpx 10rpx #E31818;
- .icon {
- margin-right: 22rpx;
- }
- }
- }
- .comment {
- padding: 30rpx;
- background-color: #FFFFFF;
- .comment-tit {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-bottom: 15rpx;
- .tit-left {
- border-left: 8rpx solid #E31818;
- font-size: 30rpx;
- line-height: 58rpx;
- padding: 0 11rpx;
- color: #0F0404;
- }
- .tit-right {
- font-size: 26rpx;
- color: #999999;
- line-height: 58rpx;
- padding: 11rpx;
- }
- }
- .comment-list {
- border-top: 1rpx solid #e8e8e8;
- padding-top: 32rpx;
- .comment-user {
- display: flex;
- align-items: center;
- .user-ava {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- margin-right: 21rpx;
- }
- .user-right {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- height: 70rpx;
- .user-name {
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #0F0404;
- line-height: 20rpx;
- }
- .user-des {
- display: flex;
- justify-content: space-between;
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #999999;
- }
- }
- }
- .comment-des {
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 39rpx;
- padding: 23rpx 0;
- }
- }
- }
- </style>
|