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

修改

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