Commit aa8ddf39 by 肖康

微信list

parent 9893cc6b
...@@ -10,17 +10,15 @@ import axios from 'axios' ...@@ -10,17 +10,15 @@ import axios from 'axios'
* urlMarketing marketing营销系统接口 * urlMarketing marketing营销系统接口
*/ */
var urlApi, url,urlMarketing; var urlApi, url;
switch (window.location.hostname) { switch (window.location.hostname) {
case "m.ichunt.com": case "m.ichunt.com":
url = 'https://m.ichunt.com/v3/'; url = 'https://m.ichunt.com/v3/';
urlApi = 'https://api.ichunt.com/'; urlApi = 'https://api.ichunt.com/';
urlMarketing='http://szmarketing.ichunt.net/';
break; break;
case "szm.ichunt.com": case "szm.ichunt.com":
urlApi = 'https://szapi.ichunt.com/'; urlApi = 'https://szapi.ichunt.com/';
url = 'https://szm.ichunt.com/v3/'; url = 'https://szm.ichunt.com/v3/';
urlMarketing='http://marketing.ichunt.net/';
break; break;
case "tm.ichunt.com": case "tm.ichunt.com":
url = 'https://tm.ichunt.com/v3/'; url = 'https://tm.ichunt.com/v3/';
...@@ -29,8 +27,6 @@ switch (window.location.hostname) { ...@@ -29,8 +27,6 @@ switch (window.location.hostname) {
case "m.liexin.com": case "m.liexin.com":
url = 'http://m.liexin.com/v3/'; url = 'http://m.liexin.com/v3/';
urlApi = 'http://api.liexin.com/'; urlApi = 'http://api.liexin.com/';
urlMarketing='http://szmarketing.ichunt.net/';
//urlMarketing='http://marketing.liexin.com/';
break; break;
default: default:
//本地proxy配置参考vue.config.js //本地proxy配置参考vue.config.js
...@@ -40,7 +36,6 @@ switch (window.location.hostname) { ...@@ -40,7 +36,6 @@ switch (window.location.hostname) {
export const productionUrl = url; export const productionUrl = url;
export const productionUrlApi = urlApi; export const productionUrlApi = urlApi;
export const productionUrlMarketing = urlMarketing;
export const apis = { export const apis = {
/** /**
* 首页 * 首页
...@@ -81,7 +76,7 @@ export const apis = { ...@@ -81,7 +76,7 @@ export const apis = {
/** /**
*微信菜单文章锦集api *微信菜单文章锦集api
*/ */
wechatArticle: productionUrlMarketing + 'wechatMenu/article' wechatArticle: productionUrlApi + 'Wechat/WechatArticleJinJi/article'
} }
export const services = { export const services = {
......
.wxlist{height:100%;background:#f8f8f8; }
.wxlist-content{}
.wxlist .wxlist-content .menu-title{color:#333;font-size: 18px;height:47px;line-height: 47px;padding-left:0.2rem;}
.wxlist .wxlist-content .wxlist-banner{padding:0 0.2rem;}
.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px;}
.banner-box{background: #fff;border-radius: 4px;min-height:275px;}
.banner-header .banner-title{font-size: 19px;color:#333;}
.banner-header .banner-img{width:0.8rem;height:0.8rem;margin-right: 10px;}
.banner-header .banner-img img{width:100%;height:100%;width:0.8rem;height:0.8rem;border-radius: 50%;display: block;}
.banner-body img{width:100%;height: 4.8rem;}
.banner-footer{font-size: 16px;line-height:20px;color:#666;padding:0.4rem 0.28rem;}
.banner-footer a{color:#666;}
.banner-footer span{color:#999;}
.wxlist-data{padding:10px;}
.wxlist-data-box{background: #fff;border-radius: 4px;}
.group-right{width: 2rem;height: 1.6rem;}
.group-left{width: 6.36rem;height: 1.6rem;font-size: 16px;color:#333;line-height: 0.8rem;border-bottom:1px solid #e5e5e5;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.data-group{padding:0.25rem;display: block;}
.wxlist{height:100%;background:#f8f8f8; } .wxlist{height:100%;background:#f8f8f8}.wxlist .wxlist-content .menu-title{color:#333;font-size:18px;height:47px;line-height:47px;padding-left:.2rem}.wxlist .wxlist-content .wxlist-banner{padding:0 .2rem}.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px}.banner-box{background:#fff;border-radius:4px;min-height:275px}.banner-header .banner-title{font-size:19px;color:#333}.banner-header .banner-img{width:.8rem;height:.8rem;margin-right:10px}.banner-header .banner-img img{width:100%;height:100%;width:.8rem;height:.8rem;border-radius:50%;display:block}.banner-body img{width:100%;height:4.8rem}.banner-footer{font-size:16px;line-height:20px;color:#666;padding:.4rem .28rem}.banner-footer a{color:#666}.banner-footer span{color:#999}.wxlist-data{padding:10px}.wxlist-data-box{background:#fff;border-radius:4px}.group-right{width:2rem;height:1.6rem}.group-left{width:6.36rem;height:1.6rem;font-size:16px;color:#333;line-height:.8rem;border-bottom:1px solid #e5e5e5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.data-group{padding:.25rem;display:block}/*# sourceMappingURL=wxlist.min.css.map */
.wxlist-content{} \ No newline at end of file
.wxlist .wxlist-content .menu-title{color:#333;font-size: 18px;height:47px;line-height: 47px;padding-left:0.2rem;}
.wxlist .wxlist-content .wxlist-banner{padding:0 0.2rem;}
.wxlist .wxlist-content .wxlist-banner .banner-header{padding:10px;}
.banner-box{background: #fff;border-radius: 4px;min-height:275px;}
.banner-header .banner-title{font-size: 19px;color:#333;}
.banner-header .banner-img{width:0.8rem;height:0.8rem;margin-right: 10px;}
.banner-header .banner-img img{width:100%;height:100%;width:0.8rem;height:0.8rem;border-radius: 50%;display: block;}
.banner-body img{width:100%;height: 4.8rem;}
.banner-footer{font-size: 16px;line-height:20px;color:#666;padding:0.4rem 0.28rem;}
.banner-footer a{color:#666;}
.banner-footer span{color:#999;}
.wxlist-data{padding:10px;}
.wxlist-data-box{background: #fff;border-radius: 4px;}
.group-right{width: 2rem;height: 1.6rem;}
.group-left{width: 6.36rem;height: 1.6rem;font-size: 16px;color:#333;line-height: 0.8rem;border-bottom:1px solid #e5e5e5;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.data-group{padding:0.25rem;display: block;}
{"version":3,"sources":["wxlist.less"],"names":[],"mappings":"AAAA,QAAQ,WAAA,CAAY,mBAEpB,OAAQ,gBAAgB,aAAY,UAAA,CAAW,cAAA,CAAgB,WAAA,CAAY,gBAAA,CAAkB,mBAC7F,OAAQ,gBAAgB,gBAAe,gBACvC,OAAQ,gBAAgB,eAAe,gBAAe,aACtD,YAAY,eAAA,CAAiB,iBAAA,CAAmB,iBAChD,cAAe,eAAc,cAAA,CAAgB,WAC7C,cAAe,aAAY,WAAA,CAAa,YAAA,CAAc,kBACtD,cAAe,YAAY,KAAI,UAAA,CAAW,WAAA,CAAY,WAAA,CAAa,YAAA,CAAc,iBAAA,CAAmB,cACpG,YAAa,KAAI,UAAA,CAAW,cAC5B,eAAe,cAAA,CAAgB,gBAAA,CAAiB,UAAA,CAAW,qBAC3D,cAAe,GAAE,WACjB,cAAe,MAAK,WACpB,aAAa,aACb,iBAAiB,eAAA,CAAiB,kBAClC,aAAa,UAAA,CAAY,cAEzB,YAAY,aAAA,CAAe,aAAA,CAAe,cAAA,CAAgB,UAAA,CAAW,iBAAA,CAAoB,+BAAA,CACvF,eAAA,CACA,sBAAA,CACA,mBAAA,CACA,oBAAA,CACA,4BAGF,YAAY,cAAA,CAAgB","file":"wxlist.min.css"}
\ No newline at end of file
.wxlist {
}
\ No newline at end of file
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</template> </template>
<script> <script>
import Vue from 'vue'; import Vue from 'vue';
import {mapState} from 'vuex' import {mapState} from 'vuex'
import {List} from 'vant'; import {List} from 'vant';
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
}) })
}, },
onLoad() { onLoad() {
setTimeout(() => { setTimeout(() => {
if (!this.loadStatus) { if (!this.loadStatus) {
this.loading = false; this.loading = false;
...@@ -93,6 +94,6 @@ ...@@ -93,6 +94,6 @@
</script> </script>
<style scoped lang="scss"> <style scoped >
@import "../../assets/css/wxlist/wxlist.min.css"; @import "../../assets/css/wxlist/wxlist.min.css";
</style> </style>
\ No newline at end of file
This diff could not be displayed because it is too large.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment