pages/public-page/mapRoute/mapRoute.vue
@@ -15,7 +15,7 @@ <text>{{ duration || '' }}</text> </view> </view> <view class="open-button" @click="awaken"><button type="default">跳转</button></view> <view class="open-button" @click="awaken"><u-button type="primary">使用手机地图</u-button></view> </view> </template> @@ -253,7 +253,12 @@ } } .open-button { width: 200rpx; margin: 10rpx 0; width: 100%; margin: 40rpx 0; display: flex; justify-content: center; /deep/.u-button { width: 300rpx; } } </style>