@ -20,7 +20,7 @@
// #ifdef APP-PLUS
// 锁定屏幕方向
plus.screen.lockOrientation('portrait-primary'); //锁定
plus.screen.lockOrientation('portrait-primary'); //锁定11
// #endif
},
onShow: function() {
@ -334,7 +334,7 @@ export default {
{
var _this = this;
var post = {page:_this.page,limit:10};
_this.$api.post(url, post, function(res) {
_this.$api.get(url, post, function(res) {
//console.log(res);
var d = res;
_this.dataList = _this.dataList.concat(d.data);
@ -308,7 +308,7 @@
_this.$api.post('/api/portrait/check',check_image,function(rs){
uni.hideLoading();
console.log('-------------',rs);
if(rs.status == 0){
if(rs.status == 1){
//验证成功
_this.uploadFiles = uni.getStorageSync('ai_face_success');
if (!_this.uploadFiles) {
@ -18,7 +18,7 @@
<text v-if="from != 'face'">生成结果</text>
</view>
<view class="photo_success_4">
<view class="photo_success_4" @click="backIndex">
<image src="/static/img/common/photo_c2.png"/>
@ -65,8 +65,12 @@
getNavHeight(e) {
this.margin_top += e;
}
backIndex(){
uni.switchTab({
url:'/pages/index/index'
})