This commit is contained in:
weipengfei 2024-02-20 15:12:52 +08:00
parent c85dc6501d
commit 4904f810c4
4 changed files with 9 additions and 3 deletions

View File

@ -32,7 +32,7 @@
history history
} from '@/api/public.js' } from '@/api/public.js'
import Routine from './libs/routine.js'; import Routine from './libs/routine.js';
import { Toast } from "./libs/uniApi"; import { Toast } from "./libs/uniApi";
export default { export default {
data() { data() {

View File

@ -315,6 +315,7 @@
this.getCartNum(); this.getCartNum();
}, },
scanCode() { scanCode() {
// return this.addCartGoods('6944411605079');
const that = this const that = this
uni.scanCode({ uni.scanCode({
scanType: ["qrCode", "barCode", "datamatrix", "pdf417"], scanType: ["qrCode", "barCode", "datamatrix", "pdf417"],

View File

@ -1028,8 +1028,13 @@ import { Toast } from '../../libs/uniApi';
}, },
// //
logout() { logout() {
// #ifdef H5
this.$refs.popup1.open()
// #endif
// #ifndef H5
if(ENV=='prod') this.byset() if(ENV=='prod') this.byset()
else this.$refs.popup1.open() else this.$refs.popup1.open()
// #endif
}, },
// //

View File

@ -187,9 +187,9 @@
<button form-type="submit" @click="auth_token = ''" class="confirmBnt back">返回</button> <button form-type="submit" @click="auth_token = ''" class="confirmBnt back">返回</button>
</view> </view>
</form> </form>
<view class="copyright" @click="goCopyUrl"> <!-- <view class="copyright" @click="goCopyUrl">
{{ copyright.status == -1 ? `${copyright.year} ${copyright.url}` : copyright.Copyright }} {{ copyright.status == -1 ? `${copyright.year} ${copyright.url}` : copyright.Copyright }}
</view> </view> -->
<Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }" <Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }"
ref="verify"></Verify> ref="verify"></Verify>