123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975 |
- <template>
- <view class="center">
- <view class="transaction">
- <view style='padding-top:10px;' class="c-row">
- <view class="title">业务编号</view>
- <view class="con-list">
- <input v-model='purchaseOrder.businessNumber' disabled name="text"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">货名</view>
- <view class="con-list">
- <input v-model='purchaseOrder.goodsName' disabled name="text"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">收货方</view>
- <view class="con-list">
- <input v-model='purchaseOrder.consignee' disabled name="text"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">货物单价(元/吨)</view>
- <view class="con-list">
- <input v-model='purchaseOrder.goodsPrice' disabled name="text"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">运费单价(元/吨)</view>
- <view class="con-list">
- <input v-model='purchaseOrder.freightUnitPrice' disabled name="text"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">累计收发</view>
- <view class="con-list cumulative-style">
- <!-- <input v-model='purchaseOrder.transactionsNumber' disabled name="text"></input> -->
- <view>
- <text>{{ radTotal.receipt}}</text>
- <text class='type send'>发</text>
- </view>
- <view>
- <text>{{ radTotal.delivery}}</text>
- <text class='type send'>收</text>
- </view>
- </view>
- </view>
- <view class="c-row">
- <view class="title">收货地址</view>
- <view class="con-list">
- <input v-model='purchaseOrder.receivingAddress' disabled name="text"></input>
- </view>
- </view>
- </view>
- <view class="transaction" v-for="(item,index) in purchaseOrder.freightReceivingDispatchingCars">
- <view style='padding-top:10px;' class="c-row b-b justify-between">
- <view class="title">{{item.carNo}}</view>
- <view style='align-items: center;' class="flex">
- <text style='color:#878C9C;'>{{item.dispatchingDate}}</text>
- <text class='type send' v-if="item.statusFlag==1">发</text>
- <text class='type send' v-if="item.statusFlag==2">收</text>
- </view>
- </view>
- <view class="c-row justify-between">
- <view style='flex:1;' class="title-black">净重</view>
- <view style='align-items: center;flex:2;' class="flex">
- <view style='flex:1;text-align:right;'>
- <text>{{item.reciveNetWeight}}</text>
- <text class='type send'>发</text>
- <view class='weightnotes' @click="viewPoundList(0,item)">查看磅单</view>
- </view>
- <view style='flex:1;text-align:right;'>
- <text>{{item.dispatchNetWeight}}</text>
- <text class='type send'>收</text>
- <view class='weightnotes' @click="viewPoundList(1,item)">查看磅单</view>
- </view>
- </view>
- </view>
- <view class="c-row">
- <view class="title-black">应付贷款</view>
- <view class="con-list">
- ¥{{item.goodsIngPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">已付贷款</view>
- <view style='color:#22C572;' class="con-list">
- ¥{{item.goodsEdPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">贷款扣款</view>
- <view class="con-list">
- ¥{{item.goodsDeductionAmount}}
- </view>
- </view>
- <view class="c-row">
- <view class="title-black">应付运费</view>
- <view class="con-list">
- {{item.freightIngPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">已付运费</view>
- <view style='color:#22C572;' class="con-list">
- ¥{{item.freightEdPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">运费扣款</view>
- <view class="con-list">
- ¥{{item.freightDeductionAmount}}
- </view>
- </view>
- <view class="c-row flex justify-end">
- <view class='deductfreight' @click="freightDeduction(item)">扣运费</view>
- <view class='payfreight' @click="payDeduction(item)">付运费</view>
- </view>
- </view>
- <view class="freightAlert-model">
- <u-modal v-model="freightAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
- show-cancel-button=true @confirm="confirmFreight(0,dataList)">
- <view class="freightAlert-warp">
- <view class="freightAlert-row">
- <view class="title">扣运费</view>
- <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
- </view>
- <view class="freightAlert-row2 row">
- <view>运输损耗</view>
- <view>{{dataList.reciveNetWeight-dataList.dispatchNetWeight}}</view>
- </view>
- <view class="freightAlert-row3 row">
- 扣款金额
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="freightDeductionAmount" :type="type" :border="border"
- placeholder="请输入扣款金额" class="uview-border" @input="inputWatch" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip" v-show="isShowFreightTip">
- 扣款金额输入错误/扣款金额不能为空
- </view>
- </view>
- </u-modal>
- </view>
- <view class="freightAlert-model">
- <u-modal v-model="payAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
- show-cancel-button=true @confirm="confirmFreight(1,dataList)">
- <view class="freightAlert-warp payAlert">
- <view class="freightAlert-row">
- <view class="title">付运费</view>
- <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
- </view>
- <view class="freightAlert-row3 row">
- 应付
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="dataList.freightIngPayable" :type="type" :border="border"
- placeholder="请输入付款金额" class="uview-border" @input="paidInputWatch" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip paid-tip" v-show="isShowPaidTip">
- 应付金额不能为空/应付运费不能小于已付运费
- </view>
- <view class="paid">
- <view class="">
- 已付
- </view>
- <view>
- {{dataList.freightEdPayable}}元
- </view>
- </view>
- <view class="unpaid">
- <view class="">
- 未付
- </view>
- <view>
- {{dataList.freightIngPayable-dataList.freightEdPayable}}元
- </view>
- </view>
- <view class="freightAlert-row3 row">
- 付款金额
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="dataList.money" :type="type" :border="border" placeholder="请输入本次支付运费金额"
- class="uview-border" @input="payInputWatch($event,dataList)" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip pay-tip" v-show="isShowPayTip">
- 付款金额输入错误/付款金额不能超过未付金额/付款金额不能为空
- </view>
- </view>
- </u-modal>
- </view>
- <u-modal v-model="isShowFViewPoundList" title="磅单(发)" show-cancel-button=true>
- <view v-if="dataList.collectionScreenshot==''||dataList.collectionScreenshot==null" class="noimg">
- 暂未上传磅单</view>
- <view v-else><img :src="dataList.collectionScreenshot" alt="" class="img"></view>
- </u-modal>
- <u-modal v-model="isShowSViewPoundList" title="磅单(收)" show-cancel-button=true>
- <view v-if="dataList.reciveCollectionScreenshot==''||dataList.reciveCollectionScreenshot==null" class="noimg">
- 暂未上传磅单</view>
- <view v-else><img :src="dataList.reciveCollectionScreenshot" alt="" class="img"></view>
- </u-modal>
- <view class='footer'>
- <button class="btn" @click="commit()">添加发车信息</button>
- </view>
- </view>
- </template>
- <script>
- import {
- getDetail
- } from "./index";
- export default {
- name: "business",
- data() {
- return {
- isShowFViewPoundList: false,
- isShowSViewPoundList: false,
- purchaseOrder: {},
- freightDeductionAmount: 0,
- money: 0,
- carInfo: [],
- radTotal: {
- delivery: 0,
- receipt: 0
- },
- type: 'text',
- border: false,
- payValue: '',
- copePayValue: '',
- paidValue: '',
- freightAlert: false,
- payAlert: false,
- isShowFreightTip: false,
- isShowPaidTip: false,
- isShowPayTip: false,
- id: "",
- dataList:{
- reciveNetWeight:"",
- dispatchNetWeight:"",
- freightEdPayable:"",
- freightIngPayable:"",
- freightEdPayable:"",
- collectionScreenshot:"",
- reciveCollectionScreenshot:""
- }
- }
- },
- onShow() {
- },
- onLoad(options) {
- getDetail(options.id, this)
- this.id = options.id
- },
- onPageScroll(e) {
- },
- //下拉刷新
- onPullDownRefresh() {},
- onReachBottom() { //上拉触底函数
- },
- computed: {
- },
- methods: {
- commit() {
- var tranCarNo = ''
- if (this.purchaseOrder.freightReceivingDispatchingCars.length <= 9) {
- tranCarNo = 'C00' + (this.purchaseOrder.freightReceivingDispatchingCars.length + 1)
- } else if (this.purchaseOrder.freightReceivingDispatchingCars.length < 100 && this.purchaseOrder.freightReceivingDispatchingCars.length > 9) {
- tranCarNo = 'C0' + (this.purchaseOrder.freightReceivingDispatchingCars.length + 1)
- } else if (this.purchaseOrder.freightReceivingDispatchingCars.length < 1000 && this.purchaseOrder.freightReceivingDispatchingCars.length > 99) {
- tranCarNo = 'C' + (this.purchaseOrder.freightReceivingDispatchingCars.length + 1)
- }
- uni.navigateTo({
- url: '/pageA/freightTransport/contract_detail?id=' + this.id+'&batch='+this.purchaseOrder.batch+'&tranCarNo='+tranCarNo
- })
- },
- // 查看磅单
- viewPoundList(type,val) {
- if (type == 0) {
- this.dataList.collectionScreenshot=val.collectionScreenshot
- this.isShowFViewPoundList = true
- } else {
- this.dataList.reciveCollectionScreenshot=val.reciveCollectionScreenshot
- this.isShowSViewPoundList = true
- }
- },
- confirmFreight(flag,val) {
- if (flag == 1) {
- val.money = parseInt(val.money);
- val.freightIngPayable = parseInt(val.freightIngPayable);
- } else {
- val.freightDeductionAmount = parseInt(this.freightDeductionAmount);
- }
- val.flag = flag
- this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
- res => {
- if (res.data.code == 200) {
- window.location.reload()
- }
- }).catch(res => {
- })
- },
- inputWatch(e) {
- let _val = this.checkVal(e, "freight");
- if (_val) {
- this.isShowFreightTip = true
- } else {
- this.isShowFreightTip = false
- }
- },
- paidInputWatch(e) {
- let _val = this.checkVal(e, "paid");
- if (_val) {
- this.isShowPaidTip = true
- } else {
- this.isShowPaidTip = false
- }
- },
- payInputWatch(e, dataList) {
- let _val = this.checkVal(e, "pay", dataList);
- if (_val) {
- this.isShowPayTip = true
- } else {
- this.isShowPayTip = false
- }
- },
- // 扣运费
- freightDeduction(item) {
- this.freightAlert = true;
- this.dataList.freightDeductionAmount = ""
- this.dataList.reciveNetWeight=item.reciveNetWeight
- this.dataList.dispatchNetWeight=item.dispatchNetWeight
- console.log("扣运费")
- },
- // 付运费
- payDeduction(item) {
- console.log("付运费")
- this.payAlert = true
- this.dataList.id =item.id
- this.dataList.freightEdPayable=item.freightEdPayable
- this.dataList.freightIngPayable=item.freightIngPayable
- this.dataList.freightEdPayable=item.freightEdPayable
- },
- //判断输入值
- checkVal(e, state, item) {
- console.log(e)
- let _val;
- let _val1 = this.utils.isEmpty(e)
- let _val2 = this.utils.isTwoPoint(e)
- let _val3 = !this.utils.isNumber(e)
- _val = _val1 || _val2 || _val3
- switch (state) {
- //扣运费
- case "freight":
- break
- // 应付
- case "paid":
- break
- // 付款金额
- case "pay":
- if (parseInt(e) > item.freightIngPayable - item.freightEdPayable) {
- _val = true
- }
- break
- }
- return _val
- },
- closeModel() {
- this.freightAlert = false;
- this.payAlert = false;
- }
- }
- }
- </script>
- <style lang='scss'>
- page,
- .content {
- background: #F5F6FA;
- }
- .c-row {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- padding: 10rpx 30rpx;
- position: relative;
- .title {
- /* color: #9698A2; */
- }
- .title-black {
- color: #333;
- }
- }
- .con-list {
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- flex: 1;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- flex-direction: column;
- color: #303133;
- line-height: 40rpx;
- text-align: right;
- padding-right: 20rpx;
- font-size: 12px;
- }
- .transaction {
- background-color: #FFFFFF;
- margin: 10px;
- padding-bottom: 10px;
- border-radius: 20px;
- .type {
- display: inline-block;
- font-size: 10px;
- padding: 1px 3px;
- border-radius: 50%;
- width: 19px;
- height: 19px;
- line-height: 19px;
- }
- .type.send {
- color: #22C572;
- background: #E9F8F0;
- }
- .type.put {
- color: #22C572;
- background: #E9F8F0;
- }
- .weightnotes {
- display: inline-block;
- border: 1px solid #CDCDCD;
- padding: 5px;
- font-size: 10px;
- margin-left: 3px;
- }
- .deductfreight,
- .payfreight {
- width: 75px;
- height: 33px;
- line-height: 33px;
- font-size: 14px;
- background: #fff;
- border: 1px solid #CDCDCD;
- border-radius: 30px;
- text-align: center;
- margin: 0 10px;
- }
- .payfreight {
- margin-right: 0;
- }
- }
- .line {
- display: inline-block;
- padding: 5px;
- position: relative;
- font-size: 17px;
- }
- .line.active {
- font-size: 19px;
- font-weight: 900;
- }
- .line.active:after {
- content: '';
- display: block;
- position: absolute;
- width: 38px;
- left: 50%;
- transform: translateX(-50%);
- bottom: 0;
- border-bottom: 1px solid #22C572;
- }
- .cu-tag.badge {
- right: 26rpx;
- }
- .cu-item {
- height: 80rpx;
- display: inline-block;
- line-height: 80rpx;
- }
- .search-form {
- background: #F5F6F9;
- padding-left: 20rpx;
- }
- .title-tip {
- color: #E63113;
- text-align: right;
- }
- .tag1 {
- background: #F5F6F9;
- padding: 5px;
- color: #333333;
- display: inline-flex;
- font-size: 22rpx;
- border-radius: 3px;
- margin: 3px;
- }
- .tag {
- background: #F5F6F9;
- padding: 7px 12px;
- color: #333333;
- display: inline-flex;
- font-size: 22rpx;
- border-radius: 15px;
- margin: 3px;
- }
- .tag-bule {
- background: #EBEEFA;
- color: #5C76DF;
- }
- .tag-green {
- background: #C6F7BC;
- color: #065112;
- }
- .tag-yellow {
- background: #F9F2EA;
- color: #BE9C69;
- }
- .tag-red {
- background: #FEECE6;
- color: #FE6430;
- }
- .text-white {
- color: #fff;
- }
- .text-white text {
- position: relative;
- z-index: 2;
- background: linear-gradient(45deg, #3DC146, #B2D612);
- padding: 5px 10px;
- border-radius: 38rpx;
- }
- .center {
- margin-bottom: 100px;
- }
- .guess-section {
- padding-bottom: 100upx;
- display: flex;
- flex-wrap: wrap;
- padding: 30upx;
- background: #fff;
- margin: 10px;
- border-radius: 6px;
- .type {
- border-radius: 10px;
- padding: 5px;
- wdith: 22px;
- height: 22px;
- line-height: 14px;
- font-size: 12px;
- }
- .type.send {
- background: #22C572;
- color: #fff;
- }
- .type.put {
- background: #FD714F;
- color: #fff;
- }
- .businessnumber {
- font-size: 16px;
- font-weight: 600;
- }
- .consigner {
- font-size: 12px;
- }
- .time {
- color: #878C9C;
- }
- .goods {
- font-size: 12px;
- }
- .goodsstatus {
- background: #F9F9FA;
- color: #9698A2;
- padding: 10px 0;
- padding-left: 47px;
- margin: 10px 0;
- }
- .del {
- width: 60px;
- height: 33px;
- line-height: 33px;
- font-size: 14px;
- background: #fff;
- border: 1px solid #CDCDCD;
- border-radius: 30px;
- text-align: center;
- }
- }
- .navbar {
- position: fixed;
- left: 0;
- top: var(--window-top);
- display: flex;
- width: 100%;
- height: 80upx;
- background: #fff;
- box-shadow: 0 2upx 10upx rgba(0, 0, 0, .06);
- z-index: 10;
- .nav-item {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- font-size: 30upx;
- color: $font-color-dark;
- position: relative;
- &.current {
- color: $base-color;
- &:after {
- content: '';
- position: absolute;
- left: 50%;
- bottom: 0;
- transform: translateX(-50%);
- width: 120upx;
- height: 0;
- border-bottom: 4upx solid $base-color;
- }
- }
- }
- .p-box {
- display: flex;
- flex-direction: column;
- .yticon {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 30upx;
- height: 14upx;
- line-height: 1;
- margin-left: 4upx;
- font-size: 26upx;
- color: #888;
- &.active {
- color: $base-color;
- }
- }
- .xia {
- transform: scaleY(-1);
- }
- }
- .cate-item {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- width: 80upx;
- position: relative;
- font-size: 44upx;
- &:after {
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- border-left: 1px solid #ddd;
- width: 0;
- height: 36upx;
- }
- }
- }
- /* 分类 */
- .cate-mask {
- position: fixed;
- left: 0;
- top: var(--window-top);
- bottom: 0;
- width: 100%;
- background: rgba(0, 0, 0, 0);
- z-index: 95;
- transition: .3s;
- .cate-content {
- width: 630upx;
- height: 100%;
- background: #fff;
- float: right;
- transform: translateX(100%);
- transition: .3s;
- }
- &.none {
- display: none;
- }
- &.show {
- background: rgba(0, 0, 0, .4);
- .cate-content {
- transform: translateX(0);
- }
- }
- }
- .cate-list {
- display: flex;
- flex-direction: column;
- height: 100%;
- .cate-item {
- display: flex;
- align-items: center;
- height: 90upx;
- padding-left: 30upx;
- font-size: 28upx;
- color: #555;
- position: relative;
- }
- .two {
- height: 64upx;
- color: #303133;
- font-size: 30upx;
- background: #f8f8f8;
- }
- .active {
- color: $base-color;
- }
- }
- .introduce-section .title {
- font-size: 17px;
- font-weight: bold;
- height: 40px;
- line-height: 40px;
- flex: 2.5;
- border-bottom: 1px solid #EEEEEE;
- }
- .introduce-section .address {
- color: #878C9C;
- font-size: 12px;
- padding: 10px 0 10px;
- }
- .introduce-section .price {
- padding: 10px 0 10px;
- color: #FD714F;
- font-size: 19px;
- font-weight: 700;
- }
- .introduce-section .guess-item {
- border-radius: 10px;
- background: #fff;
- padding: 0upx 30upx 20upx;
- margin: 8px;
- border-bottom: 1px solid #ccc;
- }
- /* 销售信息 */
- .introduce-section {
- .title-tip {
- flex: 1;
- }
- .price-box {
- display: flex;
- align-items: baseline;
- font-size: 26upx;
- }
- .price {
- font-size: $font-lg + 2upx;
- }
- .m-price {
- margin: 0 12upx;
- color: $font-color-light;
- text-decoration: line-through;
- }
- .coupon-tip {
- align-items: center;
- padding: 4upx 10upx;
- background: $uni-color-primary;
- font-size: $font-sm;
- color: #fff;
- border-radius: 6upx;
- line-height: 1;
- transform: translateY(-4upx);
- }
- .bot-row {
- display: flex;
- align-items: center;
- height: 50upx;
- font-size: $font-sm;
- color: $font-color-light;
- view {
- flex: 1;
- }
- }
- }
- .footer {
- position: fixed;
- bottom: 0;
- width: 100%;
- padding: 20px 0;
- }
- .btn {
- width: 90%;
- background: #22C572;
- color: #fff;
- border-radius: 30px;
- }
- .btn:after {
- border: none;
- }
- .freightAlert-warp {
- padding: 0 60rpx 80rpx 60rpx;
- font-size: 26rpx;
- /* height: 400rpx; */
- }
- .row {
- margin: 26rpx 0;
- }
- .uview-border {
- border-bottom: 1px solid #E8E9ED;
- }
- .freightAlert-model {
- .freightAlert-row {
- display: flex;
- justify-content: center;
- position: relative;
- .close {
- position: absolute;
- right: 20rpx;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- .title {
- font-size: 34rpx;
- font-weight: 500;
- color: #333333;
- line-height: 48px;
- }
- }
- .red-tip {
- color: red;
- margin-top: 20rpx;
- }
- .freightAlert-row2,
- .freightAlert-row4 {
- display: flex;
- justify-content: space-between;
- .text {
- display: flex;
- align-items: center;
- }
- }
- }
- .payAlert {
- /* height: 800rpx; */
- }
- .unpaid,
- .paid {
- display: flex;
- justify-content: space-between;
- margin: 20rpx 0;
- }
- .cumulative-style {
- justify-content: flex-end;
- align-items: center;
- display: flex;
- flex-direction: row;
- }
- .noimg {
- margin-top: 20rpx;
- text-align: center;
- }
- .img {
- width: 300px;
- height: 300px;
- }
- </style>
|