zhaojs
2023-07-13 a13599131e2495519de4fcfe538d6af07d041824
public/html/compareprice.html
@@ -38,7 +38,7 @@
            background: #fff;
            border-radius: .2rem;
            margin-bottom: 0.2rem;
            padding-top:.4rem;
            padding-top:.2rem;
        }
        .mid-content-list
        {
@@ -55,12 +55,23 @@
            margin-bottom: 0.2rem;
            font-weight: 500;
            color: #958d8d;
            text-align: right;
            padding-right: 0.1rem;
        }
        .copytxt
        {
            font-size: 13px;
        position: absolute;
        bottom: 0.1rem;
        right: 0.1rem;
        color: #958d8d;
        }
        .content-txtarea
        {
            width: 88%;
            margin: 0 auto;
            height: 2.2rem;
            position: relative;
        }
        .txtarea{
            width: 100%;
@@ -98,8 +109,9 @@
        }
        .ulist > a {
        display: block;
        text-decoration: none;
            display: block;
            text-decoration: none;
            margin-bottom: 0.15rem;
        }
        .ulist {
@@ -294,26 +306,22 @@
          
            <div class="mid-content">
                <div class="mid-content-con">
                    <div class="content-tip">
                        支持淘宝、天猫、京东、抖音、拼多多等多家电商
                    <div class="content-tip" v-on:click="clear()">
                        清空
                    </div>
                    <div class="content-txtarea">
                        <textarea class="txtarea"></textarea>
                        <textarea class="txtarea" v-model="txtareatxt" :placeholder='txtplaceholder'></textarea>
                        <span class="copytxt" v-on:click="fromcopy()">粘贴</span>
                    </div>
                    <div class="mid-button-content">
                        <div class="mid-button-content-img">
                            <image style="width: 100%;" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/compareprice_search.png"></image>
                        </div>
                        <!-- <div class="mid-button-content-img">
                            <image style="width: 100%;" src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/compareprice_clear.png"></image>
                        </div> -->
                    </div>
                </div>
                <div class="cont-title">
                    查询排行
                </div>
                    <div v-if="goodsItem.length==0" class="mid-content-none">
                        暂无数据~
                    </div>
@@ -371,8 +379,20 @@
          posturl:'http://appapitest.ushopvip.com',
          //posturl:'http://dfgapp.ushopvip.com',
          goodsItem:[],
          txtareatxt:'',
          txtplaceholder:'1、支持淘宝、天猫、京东、抖音、拼多多等多家电商 \r\n 2、请粘贴您需要转换的分享文案/链接和口令/商品链接;不支持券链接'
        },
        methods:{
            clear:function()
            {
                this.txtareatxt='';
            },
            fromcopy:function()
            {
                navigator.clipboard.readText().then(function(clipText){
                alert(clipText);
               })
            },
            getCmsUrl:function(){
                var _this = this;
                _this.loading=true;