zhaojs
2023-07-18 e6444de0c88fc82f433d81d13f53e826b1e873de
public/html/compareprice.html
@@ -203,7 +203,7 @@
    }
    .coupon___2SVZi {
        margin-top: 6px;
        margin-top: 3px;
        height: .28rem;
        background: linear-gradient(
                90deg, #ff8873, #ff4f4f);
@@ -321,6 +321,11 @@
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .price_font
        {
            font-size: .26rem;
            color: #787070;
        }
    </style>
</head>
@@ -335,7 +340,7 @@
                        清空
                    </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">
@@ -368,7 +373,7 @@
                                        <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> -->
@@ -403,6 +408,16 @@
    function likeDataGet(data)
    {
        app.likeDataGet(data);
    }
    function onTextareaKeyDown()
    {
        if (event.keyCode == 13)
        {
            app.search();
            document.activeElement.blur();
        }
    }
    Vue.use(VueLazyload, {
        preLoad: 1.3,//
@@ -466,7 +481,7 @@
                    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: