| | |
| | | </div>
|
| | |
|
| | | <div class="div_goodsLibraryList">
|
| | | <div class="div_item_goodsLibrary" v-for="(item, index) in goodsList"> |
| | | |
| | | <div class="div_goodsBG"> |
| | | <img v-bind:src="item.goods.picUrl" class="goodsimg" /> |
| | | <img v-if="item.goods.state==2" src="img/icon_send.png" class="topleftImg"> |
| | | <div class="div_item_goodsLibrary" v-for="(item, index) in goodsList">
|
| | |
|
| | | <div class="div_goodsBG">
|
| | | <img v-bind:src="item.goods.picUrl" class="goodsimg" />
|
| | | <img v-if="item.goods.state==2" src="img/icon_send.png" class="topleftImg">
|
| | | <img v-else-if="item.goods.state==1" src="img/icon_ydown.png" class="topleftImg">
|
| | | </div> |
| | | |
| | | </div>
|
| | |
|
| | | <div class="div_item_rightBg">
|
| | | <div class="div_goods_title_bg">
|
| | |
|
| | |
| | | <div v-if="item.goods.labels" class="div_goods_labels_bg">
|
| | | <div class="div_goods_label1"> {{item.goods.labels[0].content}} </div>
|
| | | <div class="div_goods_label2"> 夏季爆款 </div>
|
| | | </div> |
| | | |
| | | </div>
|
| | |
|
| | | <div class="div_store_bg">
|
| | | <img v-if="item.goods.shopInfo" src="img/icon_store.png">
|
| | | <div v-if="item.goods.shopInfo">{{item.goods.shopInfo.shopName}}</div>
|
| | |
| | | <script>
|
| | | // "http://api.flqapp.com";
|
| | | var host = "http://192.168.1.253:8080";
|
| | | var host1 = "http://192.168.1.114:8848";
|
| | | var h5Url = "http://192.168.1.114:8848";
|
| | |
|
| | | var check = null;
|
| | | var wId = null;
|
| | |
|
| | |
| | | custom: false, // 优先发送自选商品库
|
| | | official: false, // 自动采集官方推荐
|
| | | count: 0,
|
| | | goodsList: [
|
| | | // {
|
| | | // goods: {
|
| | | // shopInfo: {
|
| | | // shopName: null
|
| | | // }
|
| | | // }
|
| | | // },
|
| | | ]
|
| | | goodsList: []
|
| | | },
|
| | | watch: {
|
| | |
|
| | |
| | | if (type == 2) { //切换到发单商品库
|
| | | app.page = 1;
|
| | | app.fetchGoodsList();
|
| | |
|
| | | }
|
| | | },
|
| | |
|
| | |
| | | },
|
| | | // 开通云发单
|
| | | openCloudPushOrder: function() {
|
| | | yesApp.jumpWeb(host1 + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | yesApp.jumpWeb(h5Url + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | },
|
| | | // 登录微信
|
| | | loginWX: function() {
|
| | |
| | | app.fetchQrcodeMaclogin();
|
| | |
|
| | | } else {
|
| | | yesApp.jumpWeb(host1 + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | yesApp.jumpWeb(h5Url + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | }
|
| | | },
|
| | |
|
| | |
| | |
|
| | | pushOpenVip: function() {
|
| | | $('.dialogmask_notOpen').css('display', 'none')
|
| | | yesApp.jumpWeb(host1 + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | yesApp.jumpWeb(h5Url + '/flqFront/AppInside/cloudPushOrder/openCloudPushOrder.html', null);
|
| | | },
|
| | |
|
| | | commitAddTxRecord: function() {
|
| | |
| | | app.circle = result.data.circle;
|
| | | app.userInfo = result.data;
|
| | |
|
| | |
|
| | | } else {
|
| | | yesApp.toast(result.msg);
|
| | | }
|
| | |
| | | var list = app.goodsList.concat(result.data.list);
|
| | | app.goodsList = list;
|
| | |
|
| | | |
| | |
|
| | |
|
| | | if (app.count <= app.goodsList.length) {
|
| | | load.noMore();
|