| | |
| | | } |
| | | |
| | | .coupon___2SVZi { |
| | | margin-top: 6px; |
| | | margin-top: 3px; |
| | | height: .28rem; |
| | | background: linear-gradient( |
| | | 90deg, #ff8873, #ff4f4f); |
| | |
| | | -webkit-line-clamp: 2; |
| | | -webkit-box-orient: vertical; |
| | | } |
| | | .price_font |
| | | { |
| | | font-size: .26rem; |
| | | color: #787070; |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | |
| | | 清空 |
| | | </div> |
| | | <div class="content-txtarea"> |
| | | <textarea class="txtarea" v-model="txtareatxt" :placeholder='txtplaceholder'></textarea> |
| | | <textarea enterkeyhint="search" onkeydown="onTextareaKeyDown()" class="txtarea" v-model="txtareatxt" :placeholder='txtplaceholder'></textarea> |
| | | <span class="copytxt" v-on:click="fromcopy()">粘贴</span> |
| | | </div> |
| | | <div class="mid-button-content"> |
| | |
| | | <div class="coupon___2SVZi" style="background: #A429F3;"><span style="color: #A429F3;">返</span>{{g.fanli}}元</div> |
| | | |
| | | </div> |
| | | <div class="price___dfbCD">¥<span>{{g.actualPrice}}</span><u v-if="g.sourceType=='tb'||g.sourceType=='tm'" style="text-decoration:line-through">¥{{g.originalPrice}}</u></div> |
| | | <div class="price___dfbCD"><span class="price_font" style="font-size: .26rem; font-weight: 500;">到手价</span><span style="padding: 0;">¥</span><span style="padding: 0 .08rem 0 0;">{{(g.actualPrice-g.fanli).toFixed(2)}}</span><u v-if="g.sourceType=='tb'||g.sourceType=='tm'" style="text-decoration:line-through">¥{{g.originalPrice}}</u></div> |
| | | <!-- <div class="operation___3KazI"> |
| | | <button>立即购买</button> |
| | | </div> --> |
| | |
| | | function likeDataGet(data) |
| | | { |
| | | app.likeDataGet(data); |
| | | } |
| | | |
| | | function onTextareaKeyDown() |
| | | { |
| | | if (event.keyCode == 13) |
| | | { |
| | | app.search(); |
| | | document.activeElement.blur(); |
| | | } |
| | | |
| | | } |
| | | Vue.use(VueLazyload, { |
| | | preLoad: 1.3,// |
| | |
| | | case "tb": |
| | | case "tm": |
| | | uni.navigateTo({ |
| | | url: '/pages/goods/goodsDetail?id=' + item.goodsId+'&frompage=freebuy' |
| | | url: '/pages/goods/goodsDetail?id=' + item.goodsId+'&frompage=compareprice' |
| | | }); |
| | | break; |
| | | default: |