作者 芦瑞泽

bug

... ... @@ -19,8 +19,13 @@
"type" : "uniCloud"
},
{
"openVueDevtools" : true,
"playground" : "standard",
"type" : "uni-app:app-android"
},
{
"openVueDevtools" : true,
"type" : "uni-app:app-ios"
}
]
}
... ...
... ... @@ -2,8 +2,8 @@
"name" : "宠研兽医",
"appid" : "__UNI__AB7B27B",
"description" : "",
"versionName" : "1.0.3",
"versionCode" : 1030,
"versionName" : "1.0.5",
"versionCode" : 1050,
"transformPx" : false,
"extensions" : {
"uni-cloud-verify" : {} // 启用一键登录扩展,值为空对象即可
... ...
... ... @@ -13,11 +13,12 @@ import { ArticleType } from '../../types'
interface EventType {
title: string
type: string
name:string
}
onLoad(async (e: EventType) => {
console.log('====',e);
uni.setNavigationBarTitle({ title: e.title })
uni.setNavigationBarTitle({ title: e.name })
const { result }: { result: ArticleType } = await getarticle({ name: e.title })
... ...
... ... @@ -7,9 +7,9 @@
<image class="protocol-check flexC" v-else src="/static/images/checked.png" mode="aspectFill" @click="isConfirmProtocol = false"></image>
<text style="margin-left: 16rpx">
我已阅读并同意
<text class="bluetext" @click="proxy.$h.jumpUrl(`/pages/login/agreement?title=兽医端-用户协议&type=1`)">《用户协议》</text>
<text class="bluetext" @click="proxy.$h.jumpUrl(`/pages/login/agreement?name=用户协议&title=兽医端-用户协议&type=1`)">《用户协议》</text>
<text class="bluetext" @click="proxy.$h.jumpUrl(`/pages/login/agreement?title=兽医端-隐私政策&type=2`)">《隐私政策》</text>
<text class="bluetext" @click="proxy.$h.jumpUrl(`/pages/login/agreement?name=隐私政策&title=兽医端-隐私政策&type=2`)">《隐私政策》</text>
</text>
</view>
</view>
... ...
... ... @@ -91,9 +91,9 @@ const settingList1 = ref<SettingItemType[]>([
const settingList2 = ref<SettingItemType[]>([
{ title: '查看问诊价格', text: '', type: 'jump', url: '/pages2/order/consultationFee' },
{ title: '意见反馈', text: '', type: 'jump', url: '/pages/mine/feedback' },
{ title: '用户协议', text: '', type: 'jump', url: '/pages/login/agreement?title=兽医端-用户协议&type=1' },
{ title: '隐私政策', text: '', type: 'jump', url: '/pages/login/agreement?title=兽医端-隐私政策&type=2' },
{ title: '关于我们', text: '', value: '', type: 'jump', url: '/pages/login/agreement?title=关于我们&type=1' }
{ title: '用户协议', text: '', type: 'jump', url: '/pages/login/agreement?name=用户协议&title=兽医端-用户协议&type=1' },
{ title: '隐私政策', text: '', type: 'jump', url: '/pages/login/agreement?name=隐私政策&title=兽医端-隐私政策&type=2' },
{ title: '关于我们', text: '', value: '', type: 'jump', url: '/pages/login/agreement?name=关于我们&title=关于我们&type=1' }
])
const settingList3 = ref<SettingItemType[]>([{ title: '退出登录', text: '', type: 'SignOUT' }])
... ...
... ... @@ -293,48 +293,41 @@ function showViewDesc(permission) {
backgroundColor: 'rgba(0,0,0,0.2)',
//opacity: '.9'
})
// view.drawBitmap('/static/images/closeqrcode.png',{top:'40px',right:'8%',width:'16px',height:'16px'})
view.drawRect({
color: '#fff',
radius: '5px'
}, {
top: '70px',
top: '30px',
left: '5%',
width: '90%',
height: "220px",
})
view.drawText('x', {
top: '40px',
right: "8%",
width: "30px",
view.drawBitmap('/static/images/closeqrcode.png',{
top:'0px',
left:'0px',
width:'100%',
height:'100%',
},{
top:'40px',
right:'8%',
width:'24px',
height:'24px',
})
view.drawText(permissionMap[plat][permission]["title"], {
top: '65px',
left: "8%",
width:'75%',
height: "30px"
}, {
align: "right",
align: "left",
color: "#000",
}, {
onClick: function(e) {
console.log(e);
}
})
view.drawText(permissionMap[plat][permission]["title"], {
top: '80px',
left: "8%",
width:'75%',
height: "30px"
}, {
align: "left",
color: "#000",
}, {
onClick: function(e) {
console.log(e);
}
})
view.drawText(permissionMap[plat][permission]["content"], {
top: '65px',
top: '100px',
height: "135px",
left: "8%",
width: "84%"
... ... @@ -345,6 +338,10 @@ function showViewDesc(permission) {
color: "#656563"
})
view.show()
view.addEventListener("click", (e)=> {
console.log('哦哦哦',e);
view.close()
}, false);
}
function premissionCheck(permission) {
... ...