Commit 1341e71b authored by mengcuiguang's avatar mengcuiguang

new pro

parent 6100dccf
......@@ -20,7 +20,7 @@
props: {
title: {
type: String,
default: "幻墨小说阁"
default: "墨香小说阁"
}
},
data() {
......
......@@ -189,46 +189,10 @@
success: ({
data
}) => {
if(vipBean.trial==1){
// 签约
that.ttCreateSignOrder(data, vipBean.largeType);
}else{
that.ttPrePay(data, vipBean.largeType);
}
}
});
},
ttCreateSignOrder(ttData, largeType) {
if (!tt.canIUse('createSignOrder')) {
message.notify('请升级抖音APP版本.');
return
}
if (!tt.canIUse('sign')) {
message.notify('请升级抖音APP版本.');
return
}
let that = this;
tt.createSignOrder({
businessType: 2,
data: ttData.params.data,
byteAuthorization: ttData.params.byteAuthorization,
success: (res) => {
tt.sign({
businessType: 2,
orderId: res.authOrderId,
success: (res) => {
that.queryOrderStatus(largeType, ttData.tidStr);
}
})
},
fail: (res) => {
console.log('createSignOrdercreateSignOrder->:', JSON.stringify(res));
}
})
},
ttPrePay(ttData, largeType) {
if (!tt.canIUse('requestOrder')) {
message.notify('请升级抖音APP版本.');
......
......@@ -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>
......
......@@ -6,7 +6,7 @@
margin-bottom: 30rpx;" src="https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_close_white.png"></image>
<view class="content">
<button class="button1" type="default" size="default" @click="tapMakePhoneCall">客服电话</button>
<button class="button2" open-type="im" data-im-id="93264117800">客服在线</button>
<button v-if="false" class="button2" open-type="im" data-im-id="93264117800">客服在线</button>
</view>
</view>
</uni-popup>
......
{
"name" : "reader",
"appid" : "__UNI__F7F50FF",
"appid" : "__UNI__8D3D134",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : 1000,
......@@ -164,7 +164,7 @@
"uniStatistics" : {
"enable" : false
},
"appid" : "tt8038f6851f0e1a7001"
"appid" : "ttde52a8ef41652c7d01"
},
"uniStatistics" : {
"enable" : false,
......
......@@ -39,7 +39,7 @@
return {
tips1: '',
slotParam: '',
appName: '幻墨小说阁'
appName: '墨香小说阁'
}
},
onLoad(options) {
......
export const PAKEAGE_NAME = 'com.duben.dybookhm'
export const VERSION_CODE = '1.0.2'
export const PAKEAGE_NAME = 'com.duben.dybookmox'
export const VERSION_CODE = '1.0.0'
// export const PAKEAGE_NAME = 'com.test.test'
export function trim(str) {
......
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