Commit 25cdaf8f authored by 不吃草的咩's avatar 不吃草的咩

修改

parent 56a813fa
......@@ -2,19 +2,20 @@
import ColorUISdk from '../mp-sdk/index'
export const colorUISdk = new ColorUISdk({
//当前环境,produce,dev,host
env: 'dev',
env: 'produce',
//实际项目版本
version: '1.0.0',
api: {
//生产环境
produce: {
url: 'http://jbzhang.censoft.com.cn/'
url: 'https://wxmn.hbyfb.com/',
// url:'http://jjliu.censoft.com.cn/'
},
//开发环境
dev: {
// url: 'http://101.42.222.235:8050/'
// url:'http://jbzhang.censoft.com.cn/'
url: 'http://jjliu.censoft.com.cn/'
// url: 'http://wxmn.yfb-hb.com:8050/'
url:'http://jbzhang.censoft.com.cn/'
// url: 'http://jjliu.censoft.com.cn/'
// url: 'http://192.168.15.249:8010/'
},
//本地环境
......
......@@ -14,52 +14,52 @@ Page({
onReady() {
listItem = [
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
}
......
......@@ -6,52 +6,52 @@ Page({
onLoad() {
let listItem = [
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
},
{
'image': 'http://101.42.222.235/static/img/big39000.jpg',
'image': 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
'title': '虚拟列表滚动,虚拟列表滚动,虚拟列表滚动.',
'passtime': '2021-02-02 10:00:51'
}
......
......@@ -9,7 +9,7 @@
<view style="{{'width:'+ (sys_capsule.width + 10)+'px; height:'+sys_capsule.height+'px'}}"/>
</view>
</ui-navbar>
<image src="http://101.42.222.235/static/img/Yw4LMx.png" mode="widthFix" class="w-100"/>
<image src="http://wxmn.yfb-hb.com/static/img/Yw4LMx.png" mode="widthFix" class="w-100"/>
<view class="ui-container">
<ui-title title="定制服务" depth="2" isIcon/>
......
......@@ -2,21 +2,21 @@ Page({
data: {
shop: [{
title: 'ColorUI-卡片',
imgUrl: 'http://101.42.222.235/static/img/big39000.jpg',
avatar: 'http://101.42.222.235/static/img/big39000.jpg',
imgUrl: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
avatar: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
name: '盒子芥末',
isFavor: false,
favor: 333
}, {
title: 'ColorUI-卡片,ColorUI-卡片',
imgUrl: 'http://101.42.222.235/static/img/big39000.jpg',
avatar: 'http://101.42.222.235/static/img/big39000.jpg',
imgUrl: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
avatar: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
name: '盒子芥末',
isFavor: true,
favor: 333
}],
list: [{
img: 'http://101.42.222.235/static/img/big39000.jpg',
img: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
title: 'ColorStore - 个人小店',
desc: '个人开店首选!有分类,有物流。包含多种活动,优惠券页面。',
price: '799',
......@@ -24,7 +24,7 @@ Page({
comment: 55
},
{
img: 'http://101.42.222.235/static/img/big39000.jpg',
img: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
title: 'ColorShop',
desc: '适配多语言,会员、商家多用户角色。对接国际物流,跨境电商立马搞定!',
price: '2799',
......@@ -32,7 +32,7 @@ Page({
comment: 24
},
{
img: 'http://101.42.222.235/static/img/big39000.jpg',
img: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
title: 'ColorTakeaway',
desc: '多商家,多用户,另有骑手端。可做区域配送。',
price: '4799',
......@@ -40,7 +40,7 @@ Page({
comment: 32
},
{
img: 'http://101.42.222.235/static/img/big39000.jpg',
img: 'http://wxmn.yfb-hb.com/static/img/big39000.jpg',
title: 'ColorFinance',
desc: ' ',
price: '4799',
......
......@@ -21,7 +21,8 @@ Page({
},
toSign(){
let openid = wx.getStorageSync('openid');
if(openid == ''){
let phone = wx.getStorageSync('phone');
if(openid == '' && phone == ''){
Toast('您还未登录,请先去登录');
setTimeout(()=>{
wx.switchTab({
......
......@@ -5,7 +5,7 @@
<block wx:if="{{isSlot}}">
<view class="flex-bar p-3" wx:if="{{scrollTop > sys_navBar}}">
<image src="http://101.42.222.235/static/img/hapm8.png" mode="aspectFill" style="width: 200rpx;height: 56rpx;"/>
<image src="http://wxmn.yfb-hb.com/static/img/hapm8.png" mode="aspectFill" style="width: 200rpx;height: 56rpx;"/>
</view>
<view class="p-3 flex-bar flex-sub" wx:if="{{scrollTop > sys_navBar}}">
<view url="/pages/search/search" class="flex-sub flex-bar">
......
......@@ -4,7 +4,7 @@
</ui-navbar>
<view class="box" wx:if="{{isShow == '0'}}">
<view class="im">
<image style="width: 200rpx; height: 200rpx;" mode="aspectFit" src="../../../static/logo.jpg"></image>
<image style="width: 200rpx; height: 200rpx;" mode="aspectFit" src="http://wxmn.yfb-hb.com/static/logo.jpg"></image>
</view>
<view class="title"><text>中国通信企业协会介绍</text></view>
......@@ -38,9 +38,9 @@
</view>
<ui-title title="招聘企业" depth="2" isIcon ui="ml-3"/>
<view class="zp">
<image fit="aspectFit" class="tu" src="../../../static/huasu.png"></image>
<image fit="aspectFit" class="tu" src="../../../static/nanjing.jpg"></image>
<image fit="aspectFit" class="tu" src="../../../static/zhongyou.png"></image>
<image fit="aspectFit" class="tu" src="http://wxmn.yfb-hb.com/static/huasu.png"></image>
<image fit="aspectFit" class="tu" src="http://wxmn.yfb-hb.com/static/nanjing.jpg"></image>
<image fit="aspectFit" class="tu" src="http://wxmn.yfb-hb.com/static/zhongyou.png"></image>
</view>
</view>
<view class="box" wx:elif="{{isShow == '1'}}">
......
......@@ -10,7 +10,7 @@ Page({
if (e.detail) {
title = '';
bg = 'bg-img';
bgImg = 'http://101.42.222.235/static/img/4put2.png';
bgImg = 'http://wxmn.yfb-hb.com/static/img/4put2.png';
}
this.setData({
isBg: e.detail,
......
......@@ -11,13 +11,18 @@ Page({
scrollTop: 0,
swiperList: [
{
img: "http://101.42.222.235/static/img/45fc.png",
url: '/pages/document/qyDetail/qyDetail?type=0',
img: 'http://wxmn.yfb-hb.com/static/banner01.jpg',
url: '',
type: 'navigateTo' //直接跳转类型
},
{
img: "http://101.42.222.235/static/img/d0f2.png" ,
url: '/pages/document/qyDetail/qyDetail?type=1',
img: "http://wxmn.yfb-hb.com/static/banner02.jpg" ,
url: '',
type: 'navigateTo' //直接跳转类型
},
{
img: "http://wxmn.yfb-hb.com/static/banner03.jpg" ,
url: '',
type: 'navigateTo' //直接跳转类型
},
],
......@@ -121,22 +126,23 @@ Page({
}
})
// console.log(e.detail);
app.colorUISdk.request({
url: `wx/gt?code=${e.detail.code}`,
method: 'POST'
}).then(({ data }) => {
// console.log(data);
if (data.errcode == 0) {
}).then((data) => {
console.log(data);
if (data.data.errcode == 0) {
// let random = this.randomWord(false, 43);
// let random = Math.random().toString(36).substr(2);
app.phone = data.phone_info.phoneNumber; //双保险
wx.setStorageSync('phone', data.phone_info.phoneNumber);
app.phone = data.data.phone_info.phoneNumber; //双保险
wx.setStorageSync('phone', data.data.phone_info.phoneNumber);
Toast.success('登录成功');
this.setData({
isLogin:false,
})
}else if(data.code == 500){
Toast.success(data.msg);
}
this.setData({ courseData: res.data.records })
}).catch(err => {
......
......@@ -12,3 +12,8 @@
margin-top: 30rpx;
font-size: 20rpx;
}
.radius{
image{
height: 100% !important;
}
}
\ No newline at end of file
<ui-sys img="http://101.42.222.235/static/img/4put2.png" tabbar>
<ui-sys img="http://wxmn.yfb-hb.com/static/img/4put2.png" tabbar>
<ui-navbar back="{{false}}" isSlot opacity scrollTop="{{scrollTop}}">
<view class="flex-bar p-3" wx:if="{{scrollTop > sys_navBar}}" style="padding-top:0px !important;">
......@@ -14,7 +14,7 @@
</view>
</ui-navbar>
<!-- 幻灯片 -->
<ui-swiper info="{{swiperList}}" height="48vw" dotStyle="line" dotCur="ui-BG-Main"/>
<ui-swiper info="{{swiperList}}" height="48vw" dotStyle='long' dotCur="bg-white"/>
<!-- 企业介绍 -->
......
<ui-sys img="http://101.42.222.235/static/img/4put2.png" tabbar>
<ui-sys img="http://wxmn.yfb-hb.com/static/img/4put2.png" tabbar>
<ui-navbar back="{{false}}" isSlot opacity scrollTop="{{scrollTop}}">
<view class="flex-center flex-sub" wx:if="{{scrollTop > sys_navBar}}">我的</view>
</ui-navbar>
......
......@@ -45,7 +45,8 @@ Page({
*/
onShow: function () {
let openid = wx.getStorageSync('openid');
if(openid == ''){
let phone = wx.getStorageSync('phone');
if(openid == '' && phone == ''){
wx.showToast({
title: '您还未登录,即将跳转登录',
icon: 'none'
......
......@@ -12,7 +12,8 @@ Page({
},
toSignup(e){
let openid = wx.getStorageSync('openid');
if(openid == ''){
let phone = wx.getStorageSync('phone');
if(openid == '' && phone == ''){
wx.showToast({
title: '您还未登录,请先去登录',
icon: 'none'
......@@ -46,7 +47,8 @@ Page({
*/
onReady: function () {
let openid = wx.getStorageSync('openid');
if(openid == ''){
let phone = wx.getStorageSync('phone');
if(openid == '' && phone == ''){
wx.showToast({
title: '您还未登录,即将跳转登录',
icon: 'none'
......
......@@ -16,7 +16,7 @@
<view style="{{'width:'+ (sys_capsule.width + 10)+'px; height:'+sys_capsule.height+'px'}}"/>
</view>
</ui-navbar>
<image src="http://101.42.222.235/static/img/uqlh4.png" mode="widthFix" class="w-100"/>
<image src="http://wxmn.yfb-hb.com/static/img/uqlh4.png" mode="widthFix" class="w-100"/>
<view class="ui-container">
<ui-title title="热门模板" depth="2" isIcon ui="ml-3"/>
......
......@@ -16,7 +16,7 @@
<view style="{{'width:'+ (sys_capsule.width + 10)+'px; height:'+sys_capsule.height+'px'}}"/>
</view>
</ui-navbar>
<image src="http://101.42.222.235/static/img/ukzmk.png" mode="widthFix" class="w-100"/>
<image src="http://wxmn.yfb-hb.com/static/img/ukzmk.png" mode="widthFix" class="w-100"/>
<view class="page-card-box">
<view class="bg-blue-gradient shadow-blur page-card-view">
......
......@@ -56,7 +56,7 @@ Page({
},
formData: {
file,
filePath: "D:/uploadFile/img"
filePath: "C:/ftp_wl/uploadFile/"
}
}).then((res) => {
let result = JSON.parse(res);
......@@ -245,7 +245,7 @@ Page({
// byzimgUrl:this.data.fileList.diploma[0].path
}
}).then((res) => {
console.log(res)
// console.log(res)
if (res.code == 0) {
toast.message ="订单创建成功,请稍候。。。"
let openid = wx.getStorageSync('openid');
......@@ -260,9 +260,9 @@ Page({
sign_info,
code
}) => {
console.log(prepay_info);
console.log(sign_info);
console.log(code);
// console.log(prepay_info);
// console.log(sign_info);
// console.log(code);
if(code == 0){
Toast.clear();
if (prepay_info !== undefined && sign_info !== undefined) {
......@@ -298,7 +298,7 @@ Page({
message: data.message
});
};
console.log(data);
// console.log(data);
})
},
// "complete":function(res){
......
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 to comment