Commit 198272db authored by 罗超's avatar 罗超

修改订单预览页面

parent e224e3d0
# VUE_APP_API_URL = 'http://192.168.5.87/api/common/post'
# VUE_APP_UPLOADURLAPI_URL = 'http://192.168.10.214:8120'
# VUE_APP_SHARE_URL = 'http://127.0.0.1:8080'
VUE_APP_API_URL = 'https://reborn.oytour.com/api/common/post'
VUE_APP_UPLOADURLAPI_URL = 'https://upload.oytour.com'
VUE_APP_SHARE_URL = 'http://vitto.com'
\ No newline at end of file
VUE_APP_API_URL = 'http://192.168.5.87/api/common/post'
VUE_APP_UPLOADURLAPI_URL = 'http://192.168.10.214:8120'
VUE_APP_SHARE_URL = 'http://127.0.0.1:8080'
# VUE_APP_API_URL = 'https://reborn.oytour.com/api/common/post'
# VUE_APP_UPLOADURLAPI_URL = 'https://upload.oytour.com'
# VUE_APP_SHARE_URL = 'http://vitto.com'
\ No newline at end of file
......@@ -5,8 +5,9 @@
<IconClose size="0.83vw"></IconClose>
</div>
<div class="tabs-version-box row">
<div class="item col magrig" :class="{'active':activeVersion==1}" @click="changeVersionHandler(1)" v-if="showPerson">个人版</div>
<div class="item col magrig" :class="{'active':activeVersion==1}" @click="changeVersionHandler(1)" v-if="showPerson && !userInfo.it">个人版</div>
<div class="item col" :class="{'active':activeVersion==2}" @click="changeVersionHandler(2)" v-if="showEnterprise">企业版</div>
<div class="col" v-if="!showPerson || !showEnterprise"></div>
</div>
<div class="pre-order row">
<div class="item column">
......@@ -66,7 +67,7 @@
</template>
<div v-else>
<div class="text-small text-info" style="margin-bottom: 1.5vw">定制版本需要联系客服进行沟通,我们将会根据你的需求为你进行量身打造</div>
<el-button type="primary" size="large" class="full-width">开始定制</el-button>
<el-button type="primary" size="large" class="full-width" @click="redicetTo('https://work.weixin.qq.com/kfid/kfc378aada578ca8b0e')">开始定制</el-button>
</div>
</div>
</div>
......@@ -80,7 +81,9 @@ import { ApiResult, VipType } from '@/configs/axios'
import { EntMemberRight, FreeMemberRight, PersonMemberRight } from '@/configs/customer'
import OrderService from '@/services/OrderService'
import UserServices from '@/services/UserService'
import { query } from '@/utils/common'
import { useUserStore } from '@/store'
import { openNewBlank, query } from '@/utils/common'
import { storeToRefs } from 'pinia'
import { ref,PropType, onMounted } from 'vue'
const props = defineProps({
......@@ -102,6 +105,7 @@ const emit = defineEmits<{
(event: 'close'): void
}>()
const {userInfo} = storeToRefs(useUserStore())
const activeVersion = ref(props.defaultType)
const rights = ref(PersonMemberRight)
const loading = ref(false)
......@@ -197,6 +201,7 @@ const close = ()=>{
emit('close')
}
const redicetTo = (url:string)=>openNewBlank(url)
onMounted(()=>{
if(OrderReviewRef.value){
OrderReviewRef.value.click()
......
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