diff --git a/pages/scan/Barcode.nvue b/pages/scan/Barcode.nvue
index 408b2aa..283ed41 100644
--- a/pages/scan/Barcode.nvue
+++ b/pages/scan/Barcode.nvue
@@ -46,18 +46,18 @@
-->
- {{ barcodeInfo.message }}
+ {{ barcodeInfo.message }}
-
+
Web Search
-
+
Share
@@ -85,19 +85,6 @@
Feedback & Suggestion
-
@@ -141,7 +128,7 @@
barcodeInfo:{},
tableName: 'scan_code',
textImgUrl: '',
- bgColor: '',
+ bgColor: '#1F222B',
nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
@@ -391,106 +378,6 @@
justify-content: center;
background-color: #1F222B;
height:650vh;
-
- // .listView{
- // z-index: 0;
- // position: relative;
- // width: 660rpx;
- // height:1300rpx;
- // margin-top: 100rpx;
- // background-color: #1F222B;
-
- // .listItem-1{
- // margin-top: 220rpx;
- // background-color: #1F222B;
- // //color: #fff;
- // //border: 2px solid yellow;
- // height: 160rpx;
- // text-align: center;
- // }
-
- // .listItem{
- // border: 2px solid yellow;
- // /* #ifndef APP-PLUS-NVUE */
- // height: auto;
- // /* #endif */
- // height: 160rpx;
- // //margin-top: 30px;
- // //padding-top: 30px;
- // background-color: #1F222B;
- // color: #fff;
-
- // .toolItem{
- // border: 2px solid red;
- // background-color: #1F222B;
- // font-size: 60rpx;
- // color: #8f8f94;
- // height: 120rpx;
- // text-align: center;
-
- // .toolText{
- // font-size: 24rpx;
- // color: #8f8f94;
- // }
- // }
-
- // }
-
- // .listItem-ad{
- // background-color: #1F222B;
- // text-align: center;
- // color: #fff;
- // border: 2px solid blue;
- // height: 160rpx;
- // }
-
- // .listItemBottom{
- // height: 400rpx;
- // margin-top: 20rpx;
- // background-color: #1F222B;
- // color: #fff;
- // display: flex;
- // flex-direction: column;
- // align-items: center;
- // justify-content: center;
-
- // .buttomImg{
- // width: 300rpx;
- // height: 300rpx;
- // }
-
- // }
- // }
- // // .icon{
- // // z-index: 1;
- // // position: absolute;
- // // margin-top: -620rpx;
- // // background-color: #3e444d;
- // // font-size: 120rpx;
- // // color: #fff;
- // // text-align: center;
- // // }
-
-
- // .bottomText{
- // color: #fff;
- // text-align: center;
- // font-size: 24rpx;
- // //margin-top: 40rpx;
- // margin-bottom: 240rpx;
- // }
- // .cutline{
- // border: 1px solid #8f8f94;
- // }
-
- // .starTipText{
- // color: #fff;
- // font-size: 48rpx;
- // }
-
- // .startTipContent{
- // margin-bottom: 30rpx;
- // }
}
.listView{
@@ -510,7 +397,7 @@
text-align: center;
}
- .listItem-1-text{
+ .listItemText{
font-size: 36rpx;
text-align: center;
background-color: #1F222B;
@@ -556,6 +443,8 @@
.listItemBottom{
height: 400rpx;
margin-top: 20rpx;
+ width: 700rpx;
+ //border: 2px solid blue;
background-color: #1F222B;
color: #fff;
display: flex;
diff --git a/pages/scan/Calendar.nvue b/pages/scan/Calendar.nvue
index 6038094..0eedd55 100644
--- a/pages/scan/Calendar.nvue
+++ b/pages/scan/Calendar.nvue
@@ -1,7 +1,7 @@
-
+
-
+
-
+
+
+
+
+ Subject: {{ calendarInfo.Theme }}
+ Start: {{ calendarInfo.startTime }}
+ End: {{ calendarInfo.closeTime }}
+ Note: {{ calendarInfo.AbstractInfo }}
+ Address: {{ calendarInfo.PlaceInfo }}
+
+
+
+
+
+
+ Add to events
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -67,11 +131,11 @@
calendarInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -101,10 +165,11 @@
let that = this;
//判断评分弹窗条件是否达到要求
let starTipStatus = that.getStarTipStatus();
- console.log('starTipStatus',starTipStatus)
+ console.log('starTipStatus',JSON.stringify(starTipStatus))
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -113,6 +178,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -127,14 +221,11 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
+ message: 'Thanks for feedback!',
duration: 3000
})
- that.showStarTip = false;
- //更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -333,110 +424,230 @@
diff --git a/pages/scan/Contacts.nvue b/pages/scan/Contacts.nvue
index 6fdc366..ab9c9e9 100644
--- a/pages/scan/Contacts.nvue
+++ b/pages/scan/Contacts.nvue
@@ -1,7 +1,7 @@
-
+
-
+
+
+
+
+ Name: {{ contactsInfo.peopleName }}
+ Tel: {{ contactsInfo.telPhoneNumber }}
+ E-mail: {{ contactsInfo.email }}
+ Address: {{ contactsInfo.address }}
+ Note: {{ contactsInfo.title }}
+ Org: {{ contactsInfo.company }}
+
+
+
+
+
+ Add to contacts
+
+
+
+ Send email
+
+
+
+ Call
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66,11 +132,10 @@
contactsInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
+ bgColor: '#1F222B'
}
},
async onLoad(option) {
@@ -103,7 +168,8 @@
console.log('starTipStatus',JSON.stringify(starTipStatus));
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
//更改starTipStatus状态
that.setStarTipStatus(false);
return true;
@@ -113,6 +179,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -127,14 +222,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
+ message: 'Thanks for feedback!',
duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -309,107 +403,227 @@
diff --git a/pages/scan/Email.nvue b/pages/scan/Email.nvue
index e407bd5..05f018c 100644
--- a/pages/scan/Email.nvue
+++ b/pages/scan/Email.nvue
@@ -1,7 +1,7 @@
-
+
-
+
+
+
+
+ To: {{ emailInfo.addressInfo }}
+ Subject: {{ emailInfo.SubjectInfo }}
+ Content: {{ emailInfo.BodyInfo }}
+
+
+
+
+
+
+ Send email
+
+
+
+
+ Add to contacts
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
@@ -63,11 +129,11 @@
emailInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -96,11 +162,12 @@
onBackPress(e){
let that = this;
//判断评分弹窗条件是否达到要求
- let starTipStatus = that.getStarTipStatus();
- console.log('starTipStatus',starTipStatus)
+ const starTipStatus = that.getStarTipStatus();
+ console.log('starTipStatus',JSON.stringify(starTipStatus))
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -109,6 +176,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -123,14 +219,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
- duration: 3000
+ message: 'Thanks for feedback!',
+ duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -308,110 +403,330 @@
diff --git a/pages/scan/Location.nvue b/pages/scan/Location.nvue
index 2309a91..5b2d740 100644
--- a/pages/scan/Location.nvue
+++ b/pages/scan/Location.nvue
@@ -1,14 +1,14 @@
-
+
-
+
-
+
-
+
+
+
+
+ Lng: {{ locationInfo.Longitude }}
+ Lat: {{ locationInfo.Latitude }}
+
+
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
@@ -58,15 +114,15 @@
export default {
data() {
return {
- col: 4,
+ col: 2,
locationInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -99,7 +155,8 @@
console.log('starTipStatus',starTipStatus)
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -108,6 +165,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -122,14 +208,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
- duration: 3000
+ message: 'Thanks for feedback!',
+ duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -169,7 +254,7 @@
//copy结果值
copyValue(){
let that = this;
- //console.log('点击复制关键词事件')
+ //console.log('点击复制关键词事件',that.locationInfo)
uni.setClipboardData({
data: that.locationInfo,
success() {
@@ -276,109 +361,228 @@
diff --git a/pages/scan/Product.nvue b/pages/scan/Product.nvue
index 6753a8e..931386e 100644
--- a/pages/scan/Product.nvue
+++ b/pages/scan/Product.nvue
@@ -1,7 +1,7 @@
-
+
-
+
+
+
+
+ {{ productInfo.message }}
+
+
+
+
+
+
+ Shopping
+
+
+
+
+ Web Search
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -61,11 +126,11 @@
productInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -98,7 +163,8 @@
console.log('starTipStatus',starTipStatus)
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -107,6 +173,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -121,14 +216,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
- duration: 3000
+ message: 'Thanks for feedback!',
+ duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -283,115 +377,236 @@
diff --git a/pages/scan/Sms.nvue b/pages/scan/Sms.nvue
index 0e2a821..94a7f83 100644
--- a/pages/scan/Sms.nvue
+++ b/pages/scan/Sms.nvue
@@ -1,7 +1,7 @@
-
+
-
+
+
+
+
+ Tel: {{ smsInfo.destPhoneNumber }}
+ Content: {{ smsInfo.msgContent }}
+
+
+
+
+
+
+ Send SMS
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -58,11 +119,11 @@
smsInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -92,7 +153,8 @@
console.log('starTipStatus',starTipStatus)
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -101,6 +163,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -115,14 +206,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
- duration: 3000
+ message: 'Thanks for feedback!',
+ duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//发送短信
@@ -266,106 +356,226 @@
diff --git a/pages/scan/Tel.nvue b/pages/scan/Tel.nvue
index 7176080..d6f2635 100644
--- a/pages/scan/Tel.nvue
+++ b/pages/scan/Tel.nvue
@@ -1,7 +1,7 @@
-
+
-
+
+
+
+
+ {{ telInfo.TelPhoneNumber }}
+
+
+
+
+
+
+ Add to contacts
+
+
+
+
+ Call
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -62,11 +127,11 @@
telInfo:{},
tableName: 'scan_code',
textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -99,7 +164,8 @@
console.log('starTipStatus',starTipStatus)
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -109,6 +175,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -123,14 +218,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
- duration: 3000
+ message: 'Thanks for feedback!',
+ duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -297,104 +391,224 @@
diff --git a/pages/scan/Text.nvue b/pages/scan/Text.nvue
index fb6c275..a5b6616 100644
--- a/pages/scan/Text.nvue
+++ b/pages/scan/Text.nvue
@@ -1,12 +1,11 @@
-
+
@@ -25,10 +24,10 @@
-
+ -->
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web Search
+
+
+
+
+ Share
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Feedback & Suggestion
+
+
+
+
+
+ Do you like this app?
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -59,7 +120,6 @@
col: 3,
textInfo:{},
tableName: 'scan_code',
- textImgUrl: '',
shdowStyle: {
paddingTop: "300rpx",
marginTop: "-300rpx"
@@ -67,10 +127,12 @@
// openFont: 'More',
// closeFont: 'Close',
+ textImgUrl: '',
+ bgColor: '#1F222B',
+
+ nativeAdId:'ca-app-pub-3940256099942544/2247696110', //原生广告id
+
starRateValue: 0, //评分星星数量
- showStarTip: false, //评分展示开关
- startTipColor: '#706F6F', //评分弹窗背景色
- startTipFontColor: '#fff' //评分文字色
}
},
async onLoad(option) {
@@ -107,8 +169,8 @@
console.log('starTipStatus',starTipStatus)
if(starTipStatus === null || starTipStatus === ""){
//达到要求
- that.showStarTip = true;
- //更改starTipStatus状态
+ //that.showStarTip = true;
+ that.starTipOpen();
that.setStarTipStatus(false);
return true;
}else{
@@ -118,6 +180,35 @@
},
methods: {
+ starTipOpen(){
+ let that = this;
+ that.$refs.showStarTip.open();
+ },
+
+ onAdLoaded() {
+ console.log('BarcodeNative广告加载成功');
+ },
+
+ onAdClicked() {
+ console.log('点击BarcodeNative广告');
+ },
+
+ onAdFailedToLoad(fail) {
+ console.log('native广告加载失败', fail.detail);
+ console.log('error code: ' + fail.detail.errorCode);
+ console.log('error message: ' + fail.detail.errorMessage);
+ this.showToast('ad load error!');
+ },
+
+ showToast(title = '', duration = 1500) {
+ uni.showToast({
+ title: title,
+ mask: true,
+ duration: duration,
+ icon: 'none'
+ });
+ },
+
//获取弹窗状态结果
getStarTipStatus(){
return uni.getStorageSync('starTipStatus');
@@ -132,14 +223,13 @@
starTipSubmit(){
let that = this;
that.$refs.toast.show({
- title: 'Success',
- content: 'Thanks for feedback!',
- icon: 'success',
- duration: 3000
+ message: 'Thanks for feedback!',
+ duration: 3000
})
- that.showStarTip = false;
+ //that.showStarTip = false;
//更改starTipStatus状态
- that.setStarTipStatus(false);
+ that.setStarTipStatus(true);
+ that.$refs.showStarTip.close();
},
//跳转到反馈页面
@@ -285,111 +375,231 @@
diff --git a/static/favicon.ico b/static/favicon.ico
deleted file mode 100644
index 7bf9037..0000000
Binary files a/static/favicon.ico and /dev/null differ
diff --git a/static/logo.png b/static/logo.png
deleted file mode 100644
index b5771e2..0000000
Binary files a/static/logo.png and /dev/null differ