zhaojs
2023-07-18 11c38d9f8c8cac85bdd8a2cb62ab7bd083bead29
public/html/compareprice.html
@@ -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 onkeydown="onTextareaKeyDown()" 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> -->
@@ -409,7 +414,8 @@
    {
        if (event.keyCode == 13)
        {
            app.onTextareaKeyDown();
            app.search();
            document.activeElement.blur();
        }
       
    }
@@ -432,10 +438,6 @@
          txtplaceholder:'1、支持淘宝、天猫、京东、抖音、拼多多等平台\r\n2、请粘贴您需要转换的分享文案/链接和口令/商品链接;不支持券链接'
        },
        methods:{
            onTextareaKeyDown:function(event)
            {
                alert('你点击了回车键')
            },
            //查询
            search:function()
            {