Browse Source

域名配置修改

master
zq 1 month ago
parent
commit
3d9080c979
  1. 6
      main.js
  2. 3
      pages/home/index.vue

6
main.js

@ -152,8 +152,8 @@ try{
Vue.prototype.isMobile = isMobile(); Vue.prototype.isMobile = isMobile();
} }
const NODE_ENV = 'development'; // const NODE_ENV = 'development';
// const NODE_ENV = 'production'; const NODE_ENV = 'production';
Vue.prototype.cssUrl1 = '/static/images/' Vue.prototype.cssUrl1 = '/static/images/'
@ -162,7 +162,7 @@ if(Vue.prototype.provider == Vue.prototype.provider_weixin){
Vue.prototype.request_domain = 'http://coin.checkcopy.com/'; Vue.prototype.request_domain = 'http://coin.checkcopy.com/';
// Vue.prototype.request_domain = 'http://jasonyizherenxin.checkcopy.com/'; // Vue.prototype.request_domain = 'http://jasonyizherenxin.checkcopy.com/';
} else { } else {
Vue.prototype.request_domain = 'https://api.yizherenxin.cn/'; Vue.prototype.request_domain = 'https://coinapi.90616.com';
} }
// 暂时注释 // 暂时注释
Vue.prototype.cssUrl = Vue.prototype.request_domain + '/images/frontend/user/'; Vue.prototype.cssUrl = Vue.prototype.request_domain + '/images/frontend/user/';

3
pages/home/index.vue

@ -66,7 +66,6 @@
</view> </view>
</PopUpCommon> </PopUpCommon>
</view> </view>
</template> </template>
<script> <script>
import ListBox from '@/components/listBox.vue'; import ListBox from '@/components/listBox.vue';
@ -123,7 +122,7 @@ export default {
loading: false, loading: false,
noMore: false, noMore: false,
page: 1, page: 1,
pagesize: 7 pagesize: 10
} }
}, },

Loading…
Cancel
Save