@@ -76,13 +76,13 @@ | |||
request(getOpenidApi, options).then((res) => { | |||
const result = stringToJson(res.bizContent); | |||
console.log("获取微信小程序openid", result); | |||
state.openid = res.data.openid; | |||
state.openid = result.data.openid; | |||
setItem("QYorder", state); | |||
console.log(res); | |||
var data = { | |||
orderId: state.orderId, | |||
subOpenId: res.data.openid, | |||
subOpenId: result.data.openid, | |||
}; | |||
const options = { | |||
type: 2, |
@@ -158,7 +158,7 @@ | |||
<view class="span">{{item.copywriting}}</view> | |||
</view> | |||
<view class="image-box"> | |||
<image :src="fileURL + item.imgUrl" mode="aspectFill"></image> | |||
<image :src="fileURLList + item.imgUrl" mode="aspectFill"></image> | |||
</view> | |||
</view> | |||
<view v-if="state.highMsgData.length!=0" class="more" |
@@ -5,14 +5,14 @@ | |||
<div class="description">{{item.title}}</div> | |||
<div class="mark">{{item.copywriting}}</div> | |||
</div> | |||
<image :src="fileURL + item.imgUrl"></image> | |||
<image :src="fileURLList + item.imgUrl"></image> | |||
</div> | |||
<view style="text-align: center;margin: 20rpx;" v-if="state.flags">我是有底线的</view> | |||
</div> | |||
</template> | |||
<script setup lang="ts"> | |||
import { fileURL } from "@/datas/fileURL.js"; | |||
import { fileURL, fileURLList } from "@/datas/fileURL.js"; | |||
import { onPageScroll, onLoad, onPullDownRefresh, onReachBottom } from "@dcloudio/uni-app"; | |||
import { queryHighMsg } from "@/utils/network/api.js"; | |||
import { reactive } from "vue"; |
@@ -6,7 +6,7 @@ | |||
<view class="span">{{item.copywriting}}</view> | |||
</view> | |||
<view class="image-box"> | |||
<image :src="fileURL + item.imgUrl"></image> | |||
<image :src="fileURLList + item.imgUrl"></image> | |||
</view> | |||
</view> | |||
</template> | |||
@@ -14,7 +14,7 @@ | |||
<script setup lang="ts"> | |||
import { reactive } from "vue"; | |||
import { onLoad } from "@dcloudio/uni-app"; | |||
import { fileURL } from "@/datas/fileURL.js"; | |||
import { fileURL, fileURLList } from "@/datas/fileURL.js"; | |||
const state = reactive({ | |||
data: [] | |||
}) |
@@ -7,9 +7,9 @@ export const URL = "trial.etcjz.cn"; | |||
export const envs = { | |||
//开发环境配置 | |||
development: { | |||
baseUrl: "https://qtzl.etcjz.cn", | |||
// baseUrl: "https://qtzl.etcjz.cn", | |||
// baseUrl: "http://192.168.124.6:8087", | |||
// baseUrl: "https://trial.etcjz.cn", | |||
baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "http://192.168.100.158:8085", | |||
}, | |||
//生产环境配置 | |||
@@ -17,8 +17,8 @@ export const envs = { | |||
// baseUrl: "http://192.168.124.6:8087", | |||
// baseUrl: "http://222.85.144.89:19002", | |||
// baseUrl: "http://192.168.100.158:8085/html/", | |||
baseUrl: "https://qtzl.etcjz.cn", | |||
// baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "https://qtzl.etcjz.cn", | |||
baseUrl: "https://trial.etcjz.cn", | |||
// baseUrl: "http://192.168.100.158:8085", | |||
}, | |||
} |