diff --git a/src/subpackage/party/components/popup-content/miniapp-change-name-certify.vue b/src/subpackage/party/components/popup-content/miniapp-change-name-certify.vue new file mode 100644 index 0000000..651ad96 --- /dev/null +++ b/src/subpackage/party/components/popup-content/miniapp-change-name-certify.vue @@ -0,0 +1,291 @@ + + + + + \ No newline at end of file diff --git a/src/subpackage/party/components/popup-content/miniapp-change-name-certify.zip b/src/subpackage/party/components/popup-content/miniapp-change-name-certify.zip new file mode 100644 index 0000000..7153311 Binary files /dev/null and b/src/subpackage/party/components/popup-content/miniapp-change-name-certify.zip differ diff --git a/src/subpackage/party/pages/index/index.vue b/src/subpackage/party/pages/index/index.vue index b32ae7c..df5d01b 100644 --- a/src/subpackage/party/pages/index/index.vue +++ b/src/subpackage/party/pages/index/index.vue @@ -23,6 +23,7 @@ 收银系统 + 访问手机端 @@ -37,7 +38,7 @@ 可在后台设置教练账户 - + 小程序管理 @@ -169,7 +170,7 @@ }, toMiniAppRegist(index){ let {miniapp_app_id,appid} = this - let {is_try_out} = this.brandInfo.brand.mini_wechat + let is_try_out = this.brandInfo.brand?.mini_wechat?.is_try_out; console.log('toMiniAppRegist',index,appid,is_try_out) console.log('miniapp_app信息:',this.brandInfo.brand.mini_wechat) if(!appid){ @@ -272,6 +273,8 @@ } .party-index-page{ + width: 750rpx; + // background-color: $b-color-gray-ddd; .p-main-view{ .p-box-title{ // width: 100%; @@ -289,7 +292,7 @@ font-size: 24rpx; color: #9A9A9D; margin-top: 25rpx; - margin-left: 60rpx; + padding-left: 60rpx; width: 100%; } .p-box-title-2{ @@ -300,6 +303,7 @@ } .p-box{ width: 670rpx; + overflow: hidden; >view{ width: 320rpx; height: 176rpx; diff --git a/src/subpackage/party/pages/miniapp/certify.vue b/src/subpackage/party/pages/miniapp/certify.vue index 140993e..9b0d648 100644 --- a/src/subpackage/party/pages/miniapp/certify.vue +++ b/src/subpackage/party/pages/miniapp/certify.vue @@ -5,9 +5,9 @@ - + 账号名称* - @@ -40,8 +40,8 @@ - - 名称涉及关键词(补充材料)* + + 名称涉及关键词(补充材料) - 主体资质其他证明材料* + 主体资质其他证明材料 + @@ -193,16 +198,19 @@ import util from '@/utils/util.js'; import { servers } from '@/js/server'; import party_api from '../../../party/js/api'; +import miniappChangeNameCertify from '../../components/popup-content/miniapp-change-name-certify.vue'; + import { mapState } from 'vuex' export default { components: { - // 'hoverCartList': hoverCartList , + "app-change-name-certify": miniappChangeNameCertify, }, data() { return { + showChangeNameModule:false, //小程序名称修改弹窗 brandInfo: {}, appid: "", localImg: { @@ -259,7 +267,8 @@ export default { "service_appid": "", "third_party_phone": "" - } + }, + checkNameRes: "", //名称检测结果 } }, @@ -282,6 +291,12 @@ export default { }, computed: { // ...mapState(['brandInfo',]) + show_hit_upload(){ + if(this.checkNameRes.data && this.checkNameRes.data.hit_condition){ + return true + } + return false + } }, watch: { cartList() { @@ -289,10 +304,19 @@ export default { }, }, methods: { + nameChange(e){ + console.log("nameChange",e) + this.form.account_name = e.name + this.checkNameRes = e.checkNameRes + this.showChangeNameModule = false + }, + clickNameInput(){ + + }, setInfo(){ - if(!this.form.account_name){ - this.form.account_name = this.brandInfo.brand.mini_wechat_app_name - } + // if(!this.form.account_name){ + // this.form.account_name = this.brandInfo.brand.mini_wechat_app_name + // } }, radioSelect(e){ console.log(e.detail)