Browse Source

Merge branch 'release-sy-v1.0.0' into 'dev'

fix: 修改h5地址

See merge request project/water/shuili-vue!22
master_tdsql
潘裕艺 1 year ago
parent
commit
b6ba04552d
  1. 1
      src/views/dike/runManage/pestAnimalControl/governanceRecords/index.vue
  2. 25
      src/views/mobilePage/index.vue

1
src/views/dike/runManage/pestAnimalControl/governanceRecords/index.vue

@ -514,6 +514,7 @@ export default {
v-for="(item, index) in 12" v-for="(item, index) in 12"
:label="index + 1 + '月'" :label="index + 1 + '月'"
:value="item" :value="item"
:key="item"
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>

25
src/views/mobilePage/index.vue

@ -4,34 +4,35 @@
</div> </div>
</template> </template>
<script> <script>
import { getToken } from '@/utils/auth' import { getToken } from "@/utils/auth";
const isProDuction = process.env.NODE_ENV === "production" const isProDuction = process.env.NODE_ENV === "production";
// h5 // h5
const devSrc = 'http://172.16.34.83:8002/' const devSrc = "http://172.16.34.83:8002/";
// prod // prod
const proSrc = 'http://shuili-h5.product.dev.com:30115/' // const proSrc = 'http://shuili-h5.product.dev.com:30115/'
const proSrc = "http://sy.datametatech.com:60022/";
const h5Src = `${isProDuction?proSrc:devSrc}?t=${getToken()}` const h5Src = `${isProDuction ? proSrc : devSrc}?t=${getToken()}`;
export default { export default {
data() { data() {
return { return {
h5Src h5Src,
} };
} },
} };
</script> </script>
<style lang="scss"> <style lang="scss">
.mobile-page{ .mobile-page {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.iframe-page{ .iframe-page {
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 10px; border-radius: 10px;
width: 375px; width: 375px;
height: 720px; height: 720px;
} }
} }
</style> </style>

Loading…
Cancel
Save