Commit c2120915 authored by mengcuiguang's avatar mengcuiguang

new pro

parent 809e16d7
......@@ -17,7 +17,7 @@ var systemInfoMixin = {
}
},
mounted() {
const systemInfo = tt.getSystemInfoSync();
const systemInfo = com.mingce.wxhelibookgetSystemInfoSync();
this.sdkVersion = systemInfo.hostSDKVersion;
this.windowWidth = this.dataCheck(systemInfo.windowWidth);
this.windowHeight = this.dataCheck(systemInfo.windowHeight);
......@@ -29,7 +29,7 @@ var systemInfoMixin = {
this.bottomSafeHeight = BOTTOM_SAFE_HEIGHT;
if (!NAVI_BAR_HEIGHT || !NAVI_HEIGHT) {
const custom = tt.getMenuButtonBoundingClientRect();
const custom = wx.getMenuButtonBoundingClientRect();
NAVI_BAR_HEIGHT = custom.height + (custom.top - this.statusBarHeight) * 2;
NAVI_HEIGHT = NAVI_BAR_HEIGHT + this.statusBarHeight;
......
......@@ -116,7 +116,7 @@
},
ttLoging() {
var that = this;
var obj = tt.getLaunchOptionsSync()
var obj = wx.getLaunchOptionsSync()
var bookId = '';
var thirdParam = '';
var tips2 = '';
......@@ -132,7 +132,7 @@
this.$refs.select.open('center');
}
tt.login({
wx.login({
force: true,
success(res) {
......
......@@ -20,7 +20,7 @@
props: {
title: {
type: String,
default: "幻墨小说阁"
default: "河狸小故事"
}
},
data() {
......
......@@ -115,7 +115,7 @@
let that = this;
this.$refs.coinPop.open('bottom');
if (tt.getSystemInfoSync().platform === 'ios') {
if (wx.getSystemInfoSync().platform === 'ios') {
this.os = 'ios';
}
......
......@@ -7,7 +7,7 @@
border-radius: 40rpx;border: 2px solid darkgray;" src="@/static/index/ic_quit_white.png" />
</view>
<text class="mt-10" style="font-size: 46rpx;">如何继续使用?</text>
<text class="m-10">找到“幻墨小说阁”小程序</text>
<text class="m-10">找到“河狸小故事”小程序</text>
<image class="mt-30" mode="widthFix" :src="maskImage1"></image>
<image :src="maskImage2" mode="widthFix"></image>
......
......@@ -37,7 +37,7 @@
},
tapMakePhoneCall() {
let that=this
tt.makePhoneCall({
wx.makePhoneCall({
phoneNumber: "4000969950",
success(res) {
// 调用成功 makePhoneCall:ok
......
......@@ -131,7 +131,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx5407709f87db948b",
"appid" : "wx17fe9416bd3f1244",
"setting" : {
"urlCheck" : false,
"es6" : false,
......@@ -164,7 +164,7 @@
"uniStatistics" : {
"enable" : false
},
"appid" : "tt8038f6851f0e1a7001"
"appid" : ""
},
"uniStatistics" : {
"enable" : false,
......
......@@ -39,7 +39,7 @@
return {
tips1: '',
slotParam: '',
appName: '幻墨小说阁'
appName: '河狸小故事'
}
},
onLoad(options) {
......@@ -51,7 +51,7 @@
methods: {
ttLoging() {
var that = this;
var obj = tt.getLaunchOptionsSync()
var obj = wx.getLaunchOptionsSync()
var tips2 = ''; // 投放测试
var thirdParam = "";
......@@ -73,15 +73,14 @@
});
}
tt.login({
force: true,
success(res) {
uni.login({
provider: 'weixin',
success: function(loginRes) {
that.post({
url: '/user/ttLogin',
url: '/user/wechatlogin',
data: {
vedioId: bookId,
code: res.code,
anonymousCode: res.anonymousCode,
code: loginRes.code,
thirdParam: thirdParam
},
showLoading: false,
......@@ -96,11 +95,13 @@
}
});
},
fail(res) {
console.log(`login 调用失败`);
},
fail: function(err) {
// 登录授权失败
uni.navigateTo({
url: `/pages/warehouse/warehousetemp`,
})
}
});
}
}
};
......
vedio/static/logo-about.png

19.4 KB | W: | H:

vedio/static/logo-about.png

13.9 KB | W: | H:

vedio/static/logo-about.png
vedio/static/logo-about.png
vedio/static/logo-about.png
vedio/static/logo-about.png
  • 2-up
  • Swipe
  • Onion skin
export const PAKEAGE_NAME = 'com.duben.dybookhm'
export const PAKEAGE_NAME = 'com.mingce.wxhelibook'
export const VERSION_CODE = '1.0.2'
// export const PAKEAGE_NAME = 'com.test.test'
......
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