This commit is contained in:
许允枞 2025-03-03 15:32:31 +08:00
parent 5ec63b9f84
commit 0ee566077f
10 changed files with 137 additions and 109 deletions

View File

@ -2,8 +2,8 @@
<view class="bottoms"> <view class="bottoms">
<view class="box" @click="getgogo(1)"> <view class="box" @click="getgogo(1)">
<view class="imgs"> <view class="imgs">
<image src="../../static/detection/sy.png" v-show="aindex == 1" ></image> <image src="../../static/tabBar/homex.png" v-show="aindex == 1" ></image>
<image src="../../static/detection/syw.png" v-show="aindex != 1" ></image> <image src="../../static/tabBar/home.png" v-show="aindex != 1" ></image>
</view> </view>
<view class="xzz" v-show="aindex == 1">首页</view> <view class="xzz" v-show="aindex == 1">首页</view>
<view class="wxz" v-show="aindex != 1">首页</view> <view class="wxz" v-show="aindex != 1">首页</view>
@ -14,8 +14,8 @@
<view class="hongdian" v-if=" chuan != 0"> <view class="hongdian" v-if=" chuan != 0">
{{chuan}} {{chuan}}
</view> </view>
<image src="../../static/detection/dd.png" v-show="aindex == 2"></image> <image src="../../static/tabBar/noticex.png" v-show="aindex == 2"></image>
<image src="../../static/detection/ddw.png" v-show="aindex != 2"></image> <image src="../../static/tabBar/notice.png" v-show="aindex != 2"></image>
</view> </view>
<view class="xzz" v-show="aindex == 2">通知</view> <view class="xzz" v-show="aindex == 2">通知</view>
<view class="wxz" v-show="aindex != 2">通知</view> <view class="wxz" v-show="aindex != 2">通知</view>
@ -24,8 +24,8 @@
<view class="box" @click="getgogo(3)"> <view class="box" @click="getgogo(3)">
<view class="imgs"> <view class="imgs">
<image src="../../static/detection/wd.png" v-show="aindex == 3"></image> <image src="../../static/tabBar/myx.png" v-show="aindex == 3"></image>
<image src="../../static/detection/wdw.png" v-show="aindex != 3"></image> <image src="../../static/tabBar/my.png" v-show="aindex != 3"></image>
</view> </view>
<view class="xzz" v-show="aindex == 3">我的</view> <view class="xzz" v-show="aindex == 3">我的</view>
<view class="wxz" v-show="aindex != 3">我的</view> <view class="wxz" v-show="aindex != 3">我的</view>
@ -199,8 +199,8 @@
.imgs{ .imgs{
margin: 0 auto; margin: 0 auto;
margin-top: 10px; margin-top: 10px;
width: 18px; width: 22px;
height: 16px; height: 20px;
image{ image{
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -360,7 +360,7 @@
margin: 0px auto; margin: 0px auto;
} }
.lan{ .lan{
color: #0D2E8D; color: black;
} }
.rbox{ .rbox{
width: 100%; width: 100%;
@ -416,7 +416,7 @@
.tb1{ .tb1{
font-size: 25px; font-size: 25px;
font-weight: 600; font-weight: 600;
color: #0D2E8D; color: black;
} }
.xhui{ .xhui{
font-size: 15px; font-size: 15px;

View File

@ -1,14 +1,17 @@
<template> <template>
<view class="content"> <view class="content">
<view class="top-heder"> <!-- <view class="top-heder">-->
<view class="t-left" @click="getback()"> <!-- <view class="t-left" @click="getback()">-->
<uni-icons type="left" size="18"></uni-icons> <!-- <uni-icons type="left" size="18"></uni-icons>-->
</view> <!-- </view>-->
<view class="t-title"> <!-- <view class="t-title">-->
<text>检测详情</text> <!-- <text>检测详情</text>-->
</view> <!-- </view>-->
<view class="t-you"></view> <!-- <view class="t-you"></view>-->
</view> <!-- </view>-->
<headersVue titles="检测详情" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="x-box"> <view class="x-box">
<view class="box-dis"> <view class="box-dis">
<view class="shop-img"> <view class="shop-img">
@ -216,7 +219,7 @@
</view> </view>
</view> </view>
<view class="bottomx" @click="submit()"> <view class="bottomx" @click="submit()">
<uni-icons type="compose" color="#0D2E8D" size="20"></uni-icons> <uni-icons type="compose" color="#0174F6" size="20"></uni-icons>
<text>提交</text> <text>提交</text>
</view> </view>
</view> </view>
@ -292,8 +295,10 @@
import config from '@/config' import config from '@/config'
import request from '../../utils/request'; import request from '../../utils/request';
import upload from '@/utils/upload.js' import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue";
export default { export default {
components: {headersVue},
data() { data() {
return { return {
baseImageUrl: this.$baseImageUrl, baseImageUrl: this.$baseImageUrl,
@ -708,6 +713,7 @@ export default {
}) })
if (bankRes.code == 200) { if (bankRes.code == 200) {
let tempList = [] let tempList = []
this.bankList = []
if (bankRes.data && bankRes.data.length > 0) { if (bankRes.data && bankRes.data.length > 0) {
bankRes.data.forEach(it => { bankRes.data.forEach(it => {
tempList.push((it.remark) + it.label) tempList.push((it.remark) + it.label)
@ -811,7 +817,7 @@ image {
} }
.lantong { .lantong {
background-color: #0D2E8D !important; background-color: #0174F6 !important;
color: white; color: white;
} }
@ -921,11 +927,11 @@ image {
height: 46px; height: 46px;
border-radius: 6px 6px 6px 6px; border-radius: 6px 6px 6px 6px;
opacity: 1; opacity: 1;
border: 1px solid #0D2E8D; border: 1px solid #0174F6;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #0D2E8D; //color: #0174F6;
} }
.bottomxx { .bottomxx {
@ -936,8 +942,8 @@ image {
height: 46px; height: 46px;
border-radius: 50%; border-radius: 50%;
opacity: 1; opacity: 1;
border: 1px solid #0D2E8D; border: 1px solid #0174F6;
background: #0D2E8D; background: #0174F6;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

View File

@ -1,17 +1,20 @@
<template> <template>
<view class="content"> <view class="content">
<view class="top-heder"> <!-- <view class="top-heder">-->
<view class="t-left" @click="getback()"> <!-- <view class="t-left" @click="getback()">-->
<uni-icons type="left" size="18"></uni-icons> <!-- <uni-icons type="left" size="18"></uni-icons>-->
</view> <!-- </view>-->
<view class="t-title"> <!-- <view class="t-title">-->
<text>我的钱包</text> <!-- <text>我的钱包</text>-->
</view> <!-- </view>-->
<view class="t-you"></view> <!-- <view class="t-you"></view>-->
</view> <!-- </view>-->
<headersVue titles="我的钱包" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="mubu"> <view class="mubu">
<view class="lan-box"> <view class="lan-box">
<view class="cont-box"> <view class="cont-box">
<view class="c-left"> <view class="c-left">
<view class="c-bt">总收益</view> <view class="c-bt">总收益</view>
@ -38,7 +41,7 @@
</view> </view>
</view> --> </view> -->
</view> </view>
<view class="bai-box" v-if="alist&&alist.length>0"> <view class="bai-box" v-if="alist&&alist.length>0">
<!-- <view class="hui">2023-08</view> --> <!-- <view class="hui">2023-08</view> -->
<view class="on-box" v-for="(item,index) in alist" :key="index"> <view class="on-box" v-for="(item,index) in alist" :key="index">
@ -58,19 +61,20 @@
<view class="ob-lv" v-if="item.type == 0">+{{item.changeAmount/100}}</view> <view class="ob-lv" v-if="item.type == 0">+{{item.changeAmount/100}}</view>
<view class="ob-hong" v-if="item.type == 1">-{{item.changeAmount/100}}</view> <view class="ob-hong" v-if="item.type == 1">-{{item.changeAmount/100}}</view>
</view> </view>
</view> </view>
<view class="" v-else> <view class="" v-else>
<image src="http://www.nuoyunr.com/lananRsc/detection/qs.png" mode=""></image> <image src="http://www.nuoyunr.com/lananRsc/detection/qs.png" mode=""></image>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
import config from '@/config' import config from '@/config'
import request from '../../utils/request'; import request from '../../utils/request';
import tabBar from'../../components/tabBar/tabBar.vue' import tabBar from'../../components/tabBar/tabBar.vue'
import headersVue from "@/components/header/headers.vue";
export default { export default {
data() { data() {
return { return {
@ -91,6 +95,7 @@
this.getshouru() this.getshouru()
}, },
components:{ components:{
headersVue,
tabBar, tabBar,
}, },
methods: { methods: {
@ -103,7 +108,7 @@
let ress = await request({ let ress = await request({
url:'/partnerOwn/partner/shopInfo', url:'/partnerOwn/partner/shopInfo',
method: 'get', method: 'get',
}) })
this.user = ress.data this.user = ress.data
}, },
async getshouru(){ async getshouru(){
@ -142,7 +147,7 @@
width: 100%; width: 100%;
height: calc(100vh); height: calc(100vh);
background: #F4F4F4; background: #F4F4F4;
padding-top: 45px; //padding-top: 45px;
} }
.top-heder{ .top-heder{
width: 100%; width: 100%;
@ -230,7 +235,7 @@
} }
.mubu{ .mubu{
width: 100%; width: 100%;
background: #F4F4F4; background: #F4F4F4;
box-sizing: border-box; box-sizing: border-box;
padding: 10px 15px; padding: 10px 15px;
@ -326,7 +331,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.c-left{ .c-left{
width: 50%; width: 50%;
@ -395,7 +400,7 @@
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
padding: 15px; padding: 15px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.dian-top{ .dian-top{
@ -429,4 +434,4 @@
padding-bottom: 10px; padding-bottom: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
</style> </style>

View File

@ -1,16 +1,20 @@
<!-- 店铺--> <!-- 店铺-->
<template> <template>
<view class="content"> <view class="content">
<view style="width: 100%; height: 44px;"></view> <!-- <view style="width: 100%; height: 44px;"></view>-->
<view class="top-heder"> <!-- <view class="top-heder">-->
<view class="t-left" @click="getback()"> <!-- <view class="t-left" @click="getback()">-->
<uni-icons type="left" size="18"></uni-icons> <!-- <uni-icons type="left" size="18"></uni-icons>-->
</view> <!-- </view>-->
<view class="t-title"> <!-- <view class="t-title">-->
<text>店铺管理</text> <!-- <text>店铺管理</text>-->
</view> <!-- </view>-->
<view class="t-you"></view> <!-- <view class="t-you"></view>-->
</view> <!-- </view>-->
<headersVue titles="店铺管理" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="mub"> <view class="mub">
<view class="top-ail"> <view class="top-ail">
@ -22,10 +26,10 @@
name="6" name="6"
multiple multiple
:maxCount="1" :maxCount="1"
width="355px" width="395px"
height="126px" height="126px"
> >
<image src="../../static/detection/dplogo.png" style="width: 344px;height: 126px;"></image> <image src="../../static/detection/dplogo.png" style="width: 395px;height: 126px;"></image>
</u-upload> </u-upload>
<view class="top"> <view class="top">
<!-- --> <!-- -->
@ -44,7 +48,7 @@
</view> </view>
</view> </view>
<view class="tb-right" @click="getmap()"> <view class="tb-right" @click="getmap()">
<uni-icons type="location-filled" color=" #0D2E8D" size="26"></uni-icons> <uni-icons type="location-filled" color=" #0174F6" size="26"></uni-icons>
<!-- <image src="../../static/dingwei.png" mode=""></image> --> <!-- <image src="../../static/dingwei.png" mode=""></image> -->
</view> </view>
</view> </view>
@ -124,7 +128,9 @@
import config from '@/config'; import config from '@/config';
import request from '../../utils/request'; import request from '../../utils/request';
import upload from '@/utils/upload.js' import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue";
export default { export default {
components: {headersVue},
data() { data() {
return { return {
baseUrl:this.$baseUrl, baseUrl:this.$baseUrl,
@ -645,7 +651,7 @@
.dlanniu{ .dlanniu{
width: 80%; width: 80%;
height: 45px; height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%); background: linear-gradient(180deg, #0174F6 0%, #0174F6 100%);
border-radius: 50px; border-radius: 50px;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -2,16 +2,19 @@
<template> <template>
<view class="content"> <view class="content">
<view style="width: 100%; height: 44px;"></view> <!-- <view style="width: 100%; height: 44px;"></view>-->
<view class="top-heder"> <!-- <view class="top-heder">-->
<view class="t-left" @click="getback()"> <!-- <view class="t-left" @click="getback()">-->
<uni-icons type="left" size="18"></uni-icons> <!-- <uni-icons type="left" size="18"></uni-icons>-->
</view> <!-- </view>-->
<view class="t-title"> <!-- <view class="t-title">-->
<text>编辑价格</text> <!-- <text>编辑价格</text>-->
</view> <!-- </view>-->
<view class="t-you"></view> <!-- <view class="t-you"></view>-->
</view> <!-- </view>-->
<headersVue titles="编辑价格" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<!-- <view class="top-heder"> <!-- <view class="top-heder">
<view class="t-left" @click="getback()"> <view class="t-left" @click="getback()">
<uni-icons type="left" size="18"></uni-icons> <uni-icons type="left" size="18"></uni-icons>
@ -21,7 +24,7 @@
</view> </view>
<view class="t-you"></view> <view class="t-you"></view>
</view> --> </view> -->
<u-collapse accordion :value="'0'" style="margin-top: 15px;"> <u-collapse accordion :value="'0'" style="margin-top: 15px;">
<u-collapse-item :name="index" :title="item.skuName" v-for="(item, index) in releasebox.skuList" :key="index"> <u-collapse-item :name="index" :title="item.skuName" v-for="(item, index) in releasebox.skuList" :key="index">
<view class="list-box"> <view class="list-box">
@ -43,11 +46,11 @@
</view> </view>
</view> </view>
</u-collapse-item> </u-collapse-item>
</u-collapse> </u-collapse>
<view class="dlanniu" @click="getgoods()" > <view class="dlanniu" @click="getgoods()" >
<text>提交</text> <text>提交</text>
</view> </view>
</view> </view>
</template> </template>
@ -55,7 +58,9 @@
import config from '@/config'; import config from '@/config';
import request from '../../utils/request'; import request from '../../utils/request';
import upload from '@/utils/upload.js' import upload from '@/utils/upload.js'
import headersVue from "@/components/header/headers.vue";
export default { export default {
components: {headersVue},
data() { data() {
return { return {
baseUrl:this.$baseUrl, baseUrl:this.$baseUrl,
@ -86,7 +91,7 @@
skuList:[ skuList:[
{skuName:'安检',price:''}, {skuName:'安检',price:''},
{skuName:'环检',price:''}, {skuName:'环检',price:''},
{skuName:'安检+环检',price:''}, {skuName:'安检+环检',price:''},
] ]
} }
} }
@ -97,9 +102,9 @@
mounted() { mounted() {
this.releasebox.partnerId = uni.getStorageSync('partnerId') this.releasebox.partnerId = uni.getStorageSync('partnerId')
this.getindex() this.getindex()
}, },
methods: { methods: {
async getindex(){ async getindex(){
// //
@ -107,7 +112,7 @@
url:'/partnerOwn/partner/goodsDetail?goodsId='+this.releasebox.id, url:'/partnerOwn/partner/goodsDetail?goodsId='+this.releasebox.id,
method: 'get', method: 'get',
}) })
console.log(resx); console.log(resx);
this.releasebox = resx.data this.releasebox = resx.data
this.releasebox.skuList.forEach(it=>{ this.releasebox.skuList.forEach(it=>{
@ -115,11 +120,11 @@
it.ygPrice = it.ygPrice/100 it.ygPrice = it.ygPrice/100
it.dwPrice = it.dwPrice/100 it.dwPrice = it.dwPrice/100
}) })
}, },
async getgoods(){ async getgoods(){
let reqData = JSON.parse(JSON.stringify(this.releasebox)) let reqData = JSON.parse(JSON.stringify(this.releasebox))
reqData.skuList.forEach(it=>{ reqData.skuList.forEach(it=>{
it.dbPrice = it.dbPrice*100 it.dbPrice = it.dbPrice*100
@ -139,14 +144,14 @@
uni.navigateBack() uni.navigateBack()
}, 1000); }, 1000);
} }
}, },
getback(){ getback(){
uni.navigateBack() uni.navigateBack()
}, },
} }
} }
</script> </script>
@ -164,7 +169,7 @@
height: calc(100vh); height: calc(100vh);
background: white; background: white;
} }
.top-heder{ .top-heder{
width: 100%; width: 100%;
height: 46px; height: 46px;
@ -197,7 +202,7 @@
padding: 0 15px; padding: 0 15px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.top-ail{ .top-ail{
width: 100%; width: 100%;
@ -219,7 +224,7 @@
height: 126px; height: 126px;
border-radius: 8px; border-radius: 8px;
box-sizing: border-box; box-sizing: border-box;
background-color: white; background-color: white;
image{ image{
width: 100%; width: 100%;
@ -278,7 +283,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin: 10px ; margin: 10px ;
} }
.hui-right{ .hui-right{
border-left:1px solid #DDDDDD; border-left:1px solid #DDDDDD;
@ -335,7 +340,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
} }
.ipt-kuang{ .ipt-kuang{
width: 70%; width: 70%;
@ -359,7 +364,7 @@
.dlanniu{ .dlanniu{
width: 80%; width: 80%;
height: 45px; height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%); background: #0174F6;
border-radius: 50px; border-radius: 50px;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -25,7 +25,7 @@
width="345px" width="345px"
height="126px" height="126px"
> >
<image src="../../static/detection/tjspfmt.png" style="width: 345px;height: 126px;"></image> <image src="../../static/detection/newtjspfmt.png" style="width: 395px;height: 126px;"></image>
</u-upload> </u-upload>
</view> </view>
@ -626,7 +626,7 @@ import code from '../../uni_modules/uview-ui/libs/config/props/code';
.dlanniu{ .dlanniu{
width: 80%; width: 80%;
height: 45px; height: 45px;
background: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%); background: #0174F6;
border-radius: 50px; border-radius: 50px;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -1,16 +1,20 @@
<!-- --> <!-- -->
<template> <template>
<view class="content"> <view class="content">
<view class="top-heder"> <!-- <view class="top-heder">-->
<view class="t-left" @click="getfan()"> <!-- <view class="t-left" @click="getfan()">-->
<uni-icons type="left" size="18"></uni-icons> <!-- <uni-icons type="left" size="18"></uni-icons>-->
</view> <!-- </view>-->
<view class="c-title">安全</view> <!-- <view class="c-title">安全</view>-->
<view style="width: 5%; height: 10px;"></view> <!-- <view style="width: 5%; height: 10px;"></view>-->
<!-- -->
</view> <!-- </view>-->
<headersVue titles="安全" style="position: static !important;">
<u-icon name="arrow-left" color="#fff" size="18"></u-icon>
</headersVue>
<view class="mub"> <view class="mub">
<view class="xnmbox" @click="gochangepassword()"> <view class="xnmbox" @click="gochangepassword()">
<view class="">修改密码</view> <view class="">修改密码</view>
@ -21,15 +25,17 @@
</view> </view>
<!-- 底部 --> <!-- 底部 -->
</view> </view>
</template> </template>
<script> <script>
import config from '@/config' import config from '@/config'
import request from '../../utils/request'; import request from '../../utils/request';
import headersVue from "@/components/header/headers.vue";
export default { export default {
components: {headersVue},
data() { data() {
return { return {
msg:'3', msg:'3',
@ -51,11 +57,11 @@
onLoad() { onLoad() {
}, },
onShow() { onShow() {
// this.baseUrl = this.$baseUrl // this.baseUrl = this.$baseUrl
this.partnerId = uni.getStorageSync('partnerId') this.partnerId = uni.getStorageSync('partnerId')
}, },
methods: { methods: {
getfan(){ getfan(){
@ -108,14 +114,14 @@
padding: 0 15px; padding: 0 15px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.top-ail{ .top-ail{
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 15px; padding: 15px;
background-color: #F4F4F4; background-color: #F4F4F4;
} }
.sou{ .sou{
width: 10%; width: 10%;
@ -148,7 +154,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.tap-box{ .tap-box{
width: 50%; width: 50%;
@ -205,7 +211,7 @@
font-size: 15px; font-size: 15px;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
} }
.s-ju{ .s-ju{
font-size: 18px; font-size: 18px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
static/imgs/newXiaooxi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB